1 2011-05-12 Tom Tromey <tromey@redhat.com>
3 * gdb.dwarf2/typeddwarf.S: New file.
4 * gdb.dwarf2/typeddwarf.c: New file.
5 * gdb.dwarf2/typeddwarf.exp: New file.
7 2011-05-12 Marek Polacek <mpolacek@redhat.com>
9 * gdb.mi/mi-basics.exp: Fix races. Honour the
10 `test_exec_and_symbol_mi_operatons' return value.
11 (test_mi_interpreter_selection): Use mi_gdb_test instead of
13 (test_exec_and_symbol_mi_operatons): Likewise.
14 (test_path_specification): Likewise.
16 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
19 (gdb_touch_execfile): Remove catch wrappers. New variable time.
20 Replace `file copy' and `file rename' by `file mtime'. Twice.
22 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
24 * gdb.base/readline-ask.c: New file.
25 * gdb.base/readline-ask.exp: New file.
26 * gdb.base/readline-ask.inputrc: New file.
28 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
30 * gdb.cell/bt.exp: Delete breakpoints before running to signal
31 to avoid race condition.
32 * gdb.cell/coremaker.c: Use small stack size.
33 * gdb.cell/ea-standalone.exp: Use file name without path as
35 * gdb.cell/fork.exp: Allow other output when continuing to end.
37 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
39 * gdb.threads/corethreads.c: New file.
40 * gdb.threads/corethreads.exp: New file.
42 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
44 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
45 Try to compile the test using -Wl,-z,norelro first.
46 (load_core): New variable libthread_db_seen, initialize it.
47 (zeroed-threads cannot be listed): Protect it by XFAIL on
50 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
53 * gdb.dwarf2/dw2-skip-prologue.S: New file.
54 * gdb.dwarf2/dw2-skip-prologue.c: New file.
55 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
57 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
59 * gdb.cp/psymtab-parameter.cc: New file.
60 * gdb.cp/psymtab-parameter.exp: New file.
62 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
65 * gdb.cp/static-print-quit.exp (print c): Split to ...
66 (print c - <return>, print c - q <return>, print c - to quit):
67 ... these. Make the testfile untested on gdb-7.1.
69 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
71 * lib/gdb.exp (exec_target_file, exec_symbol_file,
72 gdb_rename_execfile, gdb_touch_execfile): New.
73 * gdb.base/reread.exp: Use new procs to handle multiple
76 2011-05-05 Yao Qi <yao@codesourcery.com>
78 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
79 (test_adr_32bit, test_pop_pc): New.
80 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
81 (test_adr_32bit, test_pop_pc): New.
83 2011-05-04 Joseph Myers <joseph@codesourcery.com>
85 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
86 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
88 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
91 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
93 * gdb.base/completion.exp (complete help info wat): Rename to ...
94 (complete 'help info wat'): ... here.
95 Remove all `-re ".*' and `-re "^.*' redundant regexes.
96 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
98 2011-05-04 Pedro Alves <pedro@codesourcery.com>
100 * gdb.base/completion.exp: Use gdb_test_multiple instead of
101 gdb_test and explicit $gdb_prompt/timeout matches.
103 2011-05-04 Yao Qi <yao@codesourcery.com>
105 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
108 2011-05-03 Marek Polacek <mpolacek@redhat.com>
110 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
111 in place of `gdb_test "delete breakpoints"'. This eliminates two
114 2011-05-02 Pedro Alves <pedro@codesourcery.com>
119 * gdb.base/completion.exp: Remove all sleep calls. Remove
120 unnecessary regexs. Don't explicitly expect anything after the
121 prompt. Eat the prompt if necessary.
123 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
125 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
126 accept to show the caller line again as well as the line after.
128 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
132 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
134 * gdb.python/py-prettyprint.exp: Add C++ object for
135 CPLUS_FAKE_CHILD test.
137 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
139 * gdb.base/signest.exp: New file.
140 * gdb.base/signest.c: Likewise.
142 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
144 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
145 thread and breakpoint notifications.
147 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
149 * gdb.base/fortran-sym-case.c: New file.
150 * gdb.base/fortran-sym-case.exp: New file.
151 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
152 * gdb.dwarf2/dw2-case-insensitive.c: New file.
153 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
155 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
157 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
158 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
159 false #1', `if true else false #2' and `if true else false #3'.
161 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
163 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
164 while delivering signal.
166 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
168 MI breakpoint notifications.
170 * testsuite/gdb.mi/mi-cli.exp: Adust.
171 * testsuite/gdb.mi/mi2-cli.exp: Adust.
172 * testsuite/gdb.mi/mi-watch.exp: Adust.
173 * testsuite/gdb.mi/mi2-watch.exp: Adust.
174 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
177 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
179 * gdb.base/gdbindex-stabs-dwarf.c: New file.
180 * gdb.base/gdbindex-stabs.c: New file.
181 * gdb.base/gdbindex-stabs.exp: New file.
183 2011-04-25 Yao Qi <yao@codesourcery.com>
185 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
187 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
189 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
191 * gdb.python/py-value.exp (test_objfiles): Name the first test
192 `py-value in file.filename'.
194 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
196 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
197 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
198 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
199 !gdbserver_reconnect_p..
200 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
202 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
204 * gdb.cp/cpcompletion.exp (complete class methods)
205 (complete class methods beginning with F): Move them above runto. New
206 comment about the runto delimiter.
208 2011-04-20 Pedro Alves <pedro@codesourcery.com>
210 * gdb.base/maint.exp: Test that "maint print registers" works
211 without a running program.
213 2011-04-20 Marek Polacek <mpolacek@redhat.com>
215 * gdb.base/setshow.exp: Fix racy tests.
216 ($old_gdb_prompt): New variable.
218 2011-04-19 Tom Tromey <tromey@redhat.com>
220 * gdb.mi/mi-nsmoribund.exp:
221 * gdb.hp/gdb.objdbg/objdbg01.exp:
222 * gdb.base/structs.exp (test_struct_returns):
223 * gdb.base/call-sc.exp (test_scalar_returns):
224 * gdb.base/bigcore.exp: Remove duplicate words.
226 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
228 * gdb.base/break-interp-lib.c (v, vptr): New variables.
229 * gdb.base/break-interp.exp (test_attach): New comment.
231 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
233 * gdb.threads/gcore-thread.exp ($core0file): New variable.
234 (clear __stack_user.next, clear stack_used.next)
235 (save a zeroed-threads corefile): New test.
236 Call core_load for $core0file.
237 (zeroed-threads cannot be listed): New test.
239 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
241 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
243 ($srcfile): Preserve the original value.
244 ($testfile): Match it the .exp filename.
245 ($corefile): New variable. Substitute it around.
247 ($prev_timeout): Remove.
248 (load_core): Move core loading into this proc.
249 Fix restore of $timeout if load_core fails.
251 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
253 * gdb.base/eu-strip-infcall.c: New file.
254 * gdb.base/eu-strip-infcall.exp: New file.
256 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
258 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
259 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
261 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
263 Fix Python access to inlined frames.
264 * gdb.python/py-frame-inline.c: New file.
265 * gdb.python/py-frame-inline.exp: New file.
267 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
269 * gdb.base/gdb1090.exp: Change breakpoint location to read the
270 content of 's24' correctly (avoiding "optimized out").
271 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
273 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
275 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
277 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
279 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
280 expect a colon in watch -location output.
282 2011-04-13 Marek Polacek <mpolacek@redhat.com>
284 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
285 New testcase `expect response to define backtrace'. Also remove
286 redundant `default' block.
288 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
290 * gdb.python/py-prettyprint.c (struct hint_error): New.
291 (main): New variable hint_error.
292 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
294 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
295 (register_pretty_printers): Register it.
297 2011-04-04 Tom Tromey <tromey@redhat.com>
299 * gdb.cp/maint.exp (test_help): Update.
300 (test_namespace): Likewise.
302 2011-04-01 Joel Brobecker <brobecker@adacore.com>
304 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
305 * gdb.ada/arrayptr.exp: Add new tests.
307 2011-04-01 Joel Brobecker <brobecker@adacore.com>
309 * gdb.ada/mi_catch_ex: New testcase.
311 2011-04-01 Pedro Alves <pedro@codesourcery.com>
313 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
314 base::overload(void) method without specifying "const".
316 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
318 * gdb.arch/thumb-singlestep.S: New file.
319 * gdb.arch/thumb-singlestep.exp: Likewise.
321 2011-03-31 Tom Tromey <tromey@redhat.com>
323 * gdb.python/py-prettyprint.py (exception_flag): New global.
324 (NoStringContainerPrinter._iterator.next): Check it.
325 * gdb.python/py-prettyprint.c (main): New variable nstype2.
326 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
328 2011-03-29 Tom Tromey <tromey@redhat.com>
330 * gdb.cp/anon-struct.cc: New file.
331 * gdb.cp/anon-struct.exp: New file.
333 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
335 Test STT_GNU_IFUNC support.
336 * gdb.base/gnu-ifunc-lib.c: New file.
337 * gdb.base/gnu-ifunc.c: New file.
338 * gdb.base/gnu-ifunc.exp: New file.
340 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
342 Support a ring of related breakpoints.
343 * gdb.base/watchpoint-delete.c: New file.
344 * gdb.base/watchpoint-delete.exp: New file.
346 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
348 * gdb.ada/arrayparam.exp (print first after function call): Use
349 explicit package name. Add a comment
350 (print lasta after function call): Rename ...
351 (print last after function call): ... it and use explicit package
353 (print length after function call): Use explicit package name.
354 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
355 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
356 (multiple matches for symbol i): Rename ...
357 (multiple matches for symbol integervar): ... it.
358 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
359 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
361 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
363 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
364 environment variable to make grep output more predictable. Move
365 all the environment setup into gdb_init so it's done once per test
366 case rather than each time we start gdb.
368 2011-03-24 Tom Tromey <tromey@redhat.com>
370 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
373 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
375 * gdb.dwarf2/dw2-entry-value-main.c: New file.
376 * gdb.dwarf2/dw2-entry-value.S: New file.
377 * gdb.dwarf2/dw2-entry-value.exp: New file.
379 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
383 * gdb.python/py-function.exp: Add GdbError tests.
385 2011-03-18 Pedro Alves <pedro@codesourcery.com>
387 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
388 (reglocal_test_func, statlocal_test_func): New functions.
389 (globals_test_func): Call new functions.
390 * gdb.trace/unavailable.exp (gdb_collect_args_test)
391 (gdb_collect_locals_test): New procedure.
392 (gdb_trace_collection_test): Call new procedures.
394 2011-03-18 Pedro Alves <pedro@codesourcery.com>
396 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
397 (test_register, test_register_unavailable): New procedures.
398 (gdb_unavailable_registers_test): New procedure.
399 (gdb_trace_collection_test): Call it.
401 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
405 * gdb.python/python.exp: Add gdb.write tests.
407 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
409 * gdb.python/Makefile.in: Add py-objfile.
410 * gdb.python/py-objfile.exp: New file.
411 * gdb.python/py-objfile.c: New file.
412 * gdb.python/py-block.exp: Add is_valid tests.
413 * gdb.python/py-inferior.exp: Ditto.
414 * gdb.python/py-infthread.exp: Ditto.
415 * gdb.python/py-symbol.exp: Ditto.
416 * gdb.python/py-symtab.exp: Ditto.
418 2011-03-16 Keith Seitz <keiths@redhat.com>
421 * gdb.cp/cmpd-minsyms.exp: New test.
422 * gdb.cp/cmpd-minsyms.cc: New file.
425 * gdb.cp/ovsrch.exp: New test.
426 * gdb.cp/ovsrch.h: New file.
427 * gdb.cp/ovsrch1.cc: New file.
428 * gdb.cp/ovsrch2.cc: New file.
429 * gdb.cp/ovsrch3.cc: New file.
430 * gdb.cp/ovsrch4.cc: New file.
432 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
435 * gdb.base/Makefile.in: Adjust EXECUTABLES.
436 * gdb.base/break-on-linker-gcd-function.exp: New test.
437 * gdb.base/break-on-linker-gcd-function.cc: New file.
439 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
441 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
443 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
445 * lib/gdb.exp (gdb_unload): Add another termination case.
447 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
449 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
450 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
451 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
452 Provide a stub byte there.
453 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
455 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
457 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
459 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
460 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
462 (altivec_abi_tests): Accept vectors returned by reference.
464 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
466 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
468 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
470 * gdb.python/py-section-script.exp: Skip test if no Python support.
472 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
474 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
476 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
478 * gdb.python/py-parameter.exp: Update tests to the new Python
479 parameter API. Add "no documentation" test. Add deprecated API
480 backward compatibility test.
482 2011-03-09 Tom Tromey <tromey@redhat.com>
484 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
487 2011-03-09 Mark Kettenis <kettenis@gnu.org>
489 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
492 2011-03-09 Tom Tromey <tromey@redhat.com>
494 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
496 (gdb_continue_to_end): Add "allow_extra" parameter. Use
498 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
499 argument to gdb_continue_to_end.
500 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
501 argument to gdb_continue_to_end.
502 * gdb.cp/annota3.exp: Fix regex.
503 * gdb.cp/annota2.exp: Fix regex.
504 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
506 * gdb.base/call-signal-resume.exp: Revert earlier patch.
507 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
510 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
512 * gdb.server/ext-run.exp
513 (load new file without any gdbserver inferior): New test.
515 2011-03-07 Tom Tromey <tromey@redhat.com>
517 * Makefile.in (TAGS): Rewrite.
519 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
521 * gdb.trace/report.exp (12.1: trace report #1): New match for the
522 initial commands echo. New match for `Found trace'. Anchor all the
523 other matches. Anchor and match for `No trace frame found' the final
526 2011-03-07 Tom Tromey <tromey@redhat.com>
528 * Makefile.in (TAGS): New target.
530 2011-03-07 Tom Tromey <tromey@redhat.com>
532 * lib/opencl.exp (skip_opencl_tests): Update for exit message
534 * lib/mi-support.exp (mi_gdb_test): Update for exit message
536 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
538 (skip_altivec_tests): Update for exit message change.
539 (skip_vsx_tests): Likewise.
540 (gdb_continue_to_end): Likewise. Add 'command' argument.
541 * lib/cell.exp (skip_cell_tests): Update for exit message change.
542 * gdb.threads/tls.exp: Update for exit message change.
543 * gdb.threads/thread-unwindonsignal.exp: Use
545 * gdb.threads/step.exp (step_it): Update for exit message change.
546 (continue_all): Likewise.
547 * gdb.threads/print-threads.exp (test_all_threads): Update for
549 * gdb.threads/interrupted-hand-call.exp: Use
551 * gdb.threads/execl.exp: Use gdb_continue_to_end.
552 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
554 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
555 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
556 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
557 * gdb.cp/method.exp: Update for exit message change.
558 * gdb.cp/mb-templates.exp: Update for exit message change.
559 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
560 * gdb.cp/annota3.exp: Update for exit message change.
561 * gdb.cp/annota2.exp: Update for exit message change.
562 * gdb.cell/fork.exp: Use gdb_continue_to_end.
563 * gdb.base/term.exp: Update for exit message change.
564 * gdb.base/step-test.exp (test_i): Update for exit message change.
565 * gdb.base/sigstep.exp (advance): Update for exit message change.
566 (advancei): Likewise.
567 * gdb.base/siginfo.exp: Update for exit message change.
568 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
569 * gdb.base/reread.exp: Use gdb_continue_to_end.
570 * gdb.base/langs.exp: Use gdb_continue_to_end.
571 * gdb.base/interrupt.exp: Update for exit message change.
572 * gdb.base/gdb1555.exp: Update for exit message change.
573 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
574 * gdb.base/ending-run.exp: Update for exit message change.
575 * gdb.base/chng-syms.exp: Update for exit message change.
576 * gdb.base/checkpoint.exp: Update for exit message change.
577 * gdb.base/catch-syscall.exp (check_for_program_end): Use
579 (test_catch_syscall_with_wrong_args): Likewise.
580 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
581 * gdb.base/break-interp.exp (test_ld): Update for exit message
583 * gdb.base/bang.exp: Update for exit message change.
584 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
585 (do_call_attach_tests): Likewise.
586 * gdb.base/a2-run.exp: Update for exit message change.
587 * gdb.arch/ppc-dfp.exp: Update for exit message change.
588 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
589 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
591 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
593 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
595 2011-03-03 Tom Tromey <tromey@redhat.com>
597 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
598 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
599 * gdb.hp/gdb.aCC/configure.ac: Remove.
600 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
601 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
602 * gdb.hp/gdb.base-hp/configure.ac: Remove.
603 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
604 * gdb.hp/gdb.compat/configure (Makefile): Remove.
605 * gdb.hp/gdb.compat/configure.ac: Remove.
606 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
607 * gdb.hp/gdb.defects/configure (Makefile): Remove.
608 * gdb.hp/gdb.defects/configure.ac: Remove.
609 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
610 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
611 * gdb.hp/gdb.objdbg/configure.ac: Remove.
612 * gdb.hp/configure.ac: Remove.
613 * gdb.hp/configure: Remove.
614 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
616 (Makefile): Remove rule.
617 * gdb.cell/configure.ac: Remove.
618 * gdb.cell/configure: Remove.
619 * gdb.stabs/Makefile.in (Makefile): Remove.
620 (distclean): Don't remove config.status or config.log.
621 * gdb.stabs/configure (Makefile): Remove.
622 * gdb.stabs/configure.ac: Remove.
623 * configure: Rebuild.
624 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
625 Remove stabs- and cell-specific logic. Test for existence of
626 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
627 subdirectories, gdb.cell, and and gdb.stabs.
628 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
630 2011-03-03 Joel Brobecker <brobecker@adacore.com>
632 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
635 2011-03-02 Joel Brobecker <brobecker@adacore.com>
637 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
638 gdb_test when running a test where we expected no output back.
640 2011-02-28 Michael Snyder <msnyder@vmware.com>
642 * gdb.cp/overload.cc: Change initializer value to integer.
644 2011-02-27 Michael Snyder <msnyder@vmware.com>
646 * gdb.multi/base.exp: Add test for remove-inferiors.
648 2011-02-26 Joel Brobecker <brobecker@adacore.com>
650 * gdb.python/py-frame.exp: Simplify the initialization phase
651 using prepare_for_testing.
653 2011-02-25 Michael Snyder <msnyder@vmware.com>
655 * gdb.multi/base.exp: Add tests for info inferiors with args.
657 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
659 * gdb.dwarf2/dw2-ranges.S: Rename to ...
660 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
661 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
662 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
663 asmfile3. Comment the STABS (#3) file compilation. Compile
664 everything through assembler. Provide KFAIL for symtab/12497.
665 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
666 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
667 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
668 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
670 2011-02-24 Michael Snyder <msnyder@vmware.com>
672 * gdb.base/break.exp: Add tests for delete breakpoints using
673 convenience variables and value history references.
675 2011-02-24 Michael Snyder <msnyder@vmware.com>
677 * gdb.base/break.exp: Remove debugging 'printf' accidentally
678 left behind in previous check-in.
680 2011-02-23 Michael Snyder <msnyder@vmware.com>
682 * gdb.base/break.exp: Add tests for "info break" with arguments.
683 * gdb.trace/infotrace.exp: Update patterns for error and help.
684 * gdb.base/completion.exp: Update pattern.
685 * gdb.base/ena-dis-br.exp: Update pattern.
686 * gdb.base/help.exp: Update patterns.
688 2011-02-23 Michael Snyder <msnyder@vmware.com>
690 * gdb.base/memattr.exp: New test.
691 * gdb.base/memattr.c: Test load for memattr.exp.
693 2011-02-22 Doug Evans <dje@google.com>
695 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
697 2011-02-22 Michael Snyder <msnyder@vmware.com>
699 * Makefile.in: Make more clean.
700 * gdb.ada/Makefile.in: Ditto.
701 * gdb.arch/Makefile.in: Ditto.
702 * gdb.asm/Makefile.in: Ditto.
703 * gdb.base/Makefile.in: Ditto.
704 * gdb.cp/Makefile.in: Ditto.
705 * gdb.dwarf2/Makefile.in: Ditto.
706 * gdb.java/Makefile.in: Ditto.
707 * gdb.mi/Makefile.in: Ditto.
708 * gdb.modula2/Makefile.in: Ditto.
709 * gdb.python/Makefile.in: Ditto.
710 * gdb.server/Makefile.in: Ditto.
711 * gdb.stabs/Makefile.in: Ditto.
712 * gdb.threads/Makefile.in: Ditto.
713 * gdb.trace/Makefile.in: Ditto.
715 2011-02-22 Michael Snyder <msnyder@vmware.com>
717 * gdb.threads/thread-find.exp: Add tests for bad input to
720 2011-02-22 Joel Brobecker <brobecker@adacore.com>
722 * gdb.python/py-breakpoint.exp: Fix the expected output of
723 one of the "maint info breakpoints" tests to accept the output
724 generated on platforms that do not have hardware watchpoints.
726 2011-02-22 Joel Brobecker <brobecker@adacore.com>
728 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
729 clean_restart. Be a little stricter in the expected output
730 for one of the tests. Fix a typo in one of the comments.
732 2011-02-22 Joel Brobecker <brobecker@adacore.com>
734 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
735 Delete variable binfile, no longer use. Add or modify test
736 comments to make them unique.
738 2011-02-21 Michael Snyder <msnyder@vmware.com>
740 * Makefile.in: Update for make clean.
741 * gdb.ada/Makefile.in: Ditto.
742 * gdb.arch/Makefile.in: Ditto.
743 * gdb.asm/Makefile.in: Ditto.
744 * gdb.base/Makefile.in: Ditto.
745 * gdb.cp/Makefile.in: Ditto.
746 * gdb.dwarf2/Makefile.in: Ditto.
747 * gdb.java/Makefile.in: Ditto.
748 * gdb.mi/Makefile.in: Ditto.
749 * gdb.modula2/Makefile.in: Ditto.
750 * gdb.python/Makefile.in: Ditto.
751 * gdb.server/Makefile.in: Ditto.
752 * gdb.stabs/Makefile.in: Ditto.
753 * gdb.threads/Makefile.in: Ditto.
754 * gdb.trace/Makefile.in: Ditto.
756 2011-02-21 Michael Snyder <msnyder@vmware.com>
758 * gdb.threads/thread-find.exp: Update patterns for changes in
759 output of "info threads" command.
761 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
762 Ulrich Weigand <uweigand@de.ibm.com>
764 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
765 (skip_hw_watchpoint_tests): Likewise.
766 (skip_hw_watchpoint_multi_tests): Likewise.
768 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
770 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
771 (skip_hw_watchpoint_tests): Likewise.
772 (skip_hw_watchpoint_multi_tests): Likewise.
773 (skip_hw_watchpoint_access_tests): Likewise.
775 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
776 * gdb.base/pr11022.exp: Likewise.
777 * gdb.base/watch-read.exp: Likewise.
778 * gdb.base/watch_thread_num.exp: Likewise.
779 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
780 * gdb.base/watchpoint-hw.exp: Likewise.
781 * gdb.base/watchpoint.exp: Likewise.
782 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
783 * gdb.threads/watchthreads-reorder.exp: Likewise.
784 * gdb.threads/watchthreads.exp: Likewise.
785 * gdb.threads/watchthreads2.exp: Likewise.
787 2011-02-21 Joel Brobecker <brobecker@adacore.com>
789 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
790 the debugger is unable to find the array bounds.
792 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
794 * gdb.cp/typedef-operator.exp: New file.
795 * gdb.cp/typedef-operator.cc: New file.
797 2011-02-17 Michael Snyder <msnyder@vmware.com>
799 * gdb.threads/thread-find.exp: Fix regular expressions.
801 2011-02-17 Joel Brobecker <brobecker@adacore.com>
803 * gdb.ada/packed_array: Expand testcase to test printing of
804 unconstrained packed array.
806 2011-02-17 Joel Brobecker <brobecker@adacore.com>
808 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
810 2011-02-16 Pedro Alves <pedro@codesourcery.com>
812 * gdb.trace/collection.c (globalarr3): New global.
813 (main): Initialize it before collecting, and and clear it
815 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
816 collecting with '{type} addr', where the addr expression is not an
819 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
821 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
822 a bool variable. Expect correct OpenCL names for vector types. Use the
823 uc3 variable name instead of referring to the uchar3 built-in type.
824 Escape the asterisk at the half pointer test.
826 2011-02-16 Pedro Alves <pedro@codesourcery.com>
828 * gdb.trace/collection.c (globalarr2): New global.
829 (main): Initialize it before collecting, and and clear it
831 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
832 collecting overlapping memory ranges.
834 2011-02-15 Michael Snyder <msnyder@vmware.com>
836 * gdb.base/default.exp: Add tests for thread commands.
837 * gdb.base/help.exp: Add tests for thread commands.
838 * gdb.threads/thread-find.exp: New test for thread find command.
840 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
842 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
844 2011-02-15 Yao Qi <yao@codesourcery.com>
847 * gdb.arch/arm-disp-step.S : New test for str instruction.
848 * gdb.arch/arm-disp-step.exp : Likewise.
850 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
852 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
853 "vector_register2_vr" test strings. Test the extended floating
854 point registers (F32~F63).
855 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
856 IBM XL C compiler. Make the test program use a register provided
857 by the compiler for the lxvd2x instruction.
859 2011-02-14 Pedro Alves <pedro@codesourcery.com>
861 * gdb.trace/unavailable.cc (class Base, class Middle, class
863 (derived_unavail, derived_partial, derived_whole): New globals.
864 (virtual_partial): New global.
865 (virtualp): Point at virtual_partial.
866 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
867 related to unavailable vptr.
869 2011-02-14 Pedro Alves <pedro@codesourcery.com>
871 * gdb.trace/unavailable.cc (a, b, c): New globals.
872 (main): Set and clear them.
873 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
874 `a' and `c', and check that `b' isn't collected, although `a' and
877 2011-02-14 Pedro Alves <pedro@codesourcery.com>
879 * gdb.trace/unavailable.cc (struct Virtual): New.
880 (virtualp): New global pointer.
881 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
882 printing a pointer to an object whose type has a vtable, with
885 2011-02-14 Pedro Alves <pedro@codesourcery.com>
887 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
888 value repeat handles unavailableness.
890 2011-02-14 Pedro Alves <pedro@codesourcery.com>
892 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
893 tests for building arrays from unavailable values, subscripting
894 non-memory rvalue unvailable arrays, and accessing fields or
895 baseclasses of non-lazy unavailable values,
896 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
898 (g_smallstruct, g_smallstruct_b): New globals.
900 2011-02-14 Pedro Alves <pedro@codesourcery.com>
902 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
904 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
906 Fix const/volatile qualifiers of C++ types, PR c++/12328.
907 * gdb.cp/overload-const.exp: New file.
908 * gdb.cp/overload-const.cc: New file.
910 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
912 * gdb.opencl/callfuncs.cl: New file.
913 * gdb.opencl/callfuncs.exp: New test.
914 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
916 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
918 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
919 when computing result.
920 * gdb.arch/altivec-abi.exp: Update expected results.
922 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
924 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
925 * gdb.base/jit.exp: Likewise.
926 * gdb.base/pie-execl.exp: Likewise.
927 * gdb.base/solib-nodir.exp: Likewise.
928 * gdb.base/solib-overlap.exp: Likewise.
930 2011-02-07 Pedro Alves <pedro@codesourcery.com>
932 * gdb.trace/collection.c (global_pieces): New.
933 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
935 (gdb_trace_collection_test): Call it.
937 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
939 * gdb.python/py-evthreads.c: New file.
940 * gdb.python/py-evthreads.exp: New file.
941 * gdb.python/py-events.py: New file.
942 * gdb.python/py-events.exp: New file.
943 * gdb.python/py-events.c: New file.
945 2011-02-04 David Daney <ddaney@caviumnetworks.com>
947 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
949 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
951 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
952 gdb.base/disasm-end-cu.exp: New test for disassembling over the
953 boundary between two compilation units.
955 2011-02-02 Pedro Alves <pedro@codesourcery.com>
957 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
958 (Virtual): New structs.
959 (virtual_o, virtual_middle_b): New globals.
960 * gdb.cp/virtbase.exp: New tests.
962 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
964 * gdb.base/jit.exp: New file.
965 * gdb.base/jit-main.c: New file.
966 * gdb.base/jit-solib.c: New file.
968 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
970 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
971 proceed to initial kernel entry point.
972 * gdb.opencl/datatypes.exp: Likewise.
973 * gdb.opencl/operators.exp: Likewise.
974 * gdb.opencl/vec_comps.exp: Likewise.
976 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
978 * gdb.cp/nsnested.cc: New.
979 * gdb.cp/nsnested.exp: New.
980 * gdb.cp/nsnoimports.exp: New.
981 * gdb.cp/nsnoimports.cc: New.
983 2011-01-31 Joel Brobecker <brobecker@adacore.com>
985 * gdb.base/interact.exp: Add extra tests that verify that
986 the value of the interactive-mode setting does not change
987 after the script is sourced.
989 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
991 * gdb.cp/noparam.exp: New file.
992 * gdb.cp/noparam.cc: New file.
994 2011-01-28 Pedro Alves <pedro@codesourcery.com>
996 * gdb.trace/tfile.exp: Test that with no traceframe selected,
997 there's no stack or registers.
999 2011-01-26 Tom Tromey <tromey@redhat.com>
1001 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1002 space before string output. Add test for "set print pretty off"
1005 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1007 * gdb.base/frame-args.exp: Adjust.
1008 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1009 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1010 * gdb.dwarf2/pieces.exp: Adjust.
1011 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1012 * gdb.opt/inline-locals.exp: Adjust.
1013 * gdb.threads/fork-child-threads.exp: Adjust.
1015 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1017 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1018 OpenCL kernel function. Add a comment as marker. Add address space
1019 qualifiers for the remaining program scope variables.
1020 * gdb.opencl/datatypes.cl: Likewise.
1021 * gdb.opencl/operators.cl: Likewise.
1022 * gdb.opencl/vec_comps.cl: Likewise.
1023 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1024 Add breakpoint at the marker comment.
1025 * gdb.opencl/datatypes.exp: Likewise.
1026 * gdb.opencl/operators.exp: Likewise.
1027 * gdb.opencl/vec_comps.exp: Likewise.
1029 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1031 * gdb.base/printcmds.c (some_struct): New struct and instance.
1032 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1034 <global scope>: Call it.
1036 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1038 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1039 argument to the gdb_compile_opencl_hostapp call.
1041 2011-01-19 Yao Qi <yao@codesourcery.com>
1043 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1046 2011-01-19 Yao Qi <yao@codesourcery.com>
1048 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1051 * gdb.xml/tdesc-regs.exp: Likewise.
1052 * gdb.python/py-section-script.exp: Replace ARM target triplet
1053 with canonical form.
1054 Match arm*-*-symbianelf*.
1055 * gdb.base/dup-sect.exp: Likewise.
1056 * lib/dwarf.exp: New.
1057 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1059 * gdb.dwarf2/dup-psym.exp: Likewise.
1060 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1061 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1062 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1063 * gdb.dwarf2/dw2-basic.exp: Likewise.
1064 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1065 * gdb.dwarf2/dw2-const.exp: Likewise.
1066 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1067 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1068 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1069 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1070 * gdb.dwarf2/dw2-filename.exp: Likewise.
1071 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1072 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1073 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1074 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1075 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1076 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1077 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1078 * gdb.dwarf2/dw2-producer.exp: Likewise.
1079 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1080 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1081 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1082 * gdb.dwarf2/dw2-strp.exp: Likewise.
1083 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1084 * gdb.dwarf2/implptr.exp: Likewise.
1085 * gdb.dwarf2/mac-fileno.exp: Likewise.
1086 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1087 * gdb.dwarf2/pieces.exp: Likewise.
1088 * gdb.dwarf2/pr11465.exp: Likewise.
1089 * gdb.dwarf2/valop.exp: Likewise.
1090 * gdb.dwarf2/watch-notconst.exp: Likewise.
1091 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1093 2011-01-19 Tom Tromey <tromey@redhat.com>
1095 * gdb.python/py-infthread.exp: Add thread tests.
1097 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1099 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1101 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1103 * gdb.ada/widewide: New testcase.
1105 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1107 * gdb.base/interact.exp: New testcase.
1109 2011-01-12 Tom Tromey <tromey@redhat.com>
1111 * gdb.mi/gdb2549.exp: Update for error message changes.
1112 * gdb.mi/mi-cli.exp: Likewise.
1113 * gdb.mi/mi-disassemble.exp: Likewise.
1114 * gdb.mi/mi-pthreads.exp: Likewise.
1115 * gdb.mi/mi-regs.exp: Likewise.
1116 * gdb.mi/mi-stack.exp: Likewise.
1117 * gdb.mi/mi-var-block.exp: Likewise.
1118 * gdb.mi/mi-var-cmd.exp: Likewise.
1119 * gdb.mi/mi2-cli.exp: Likewise.
1120 * gdb.mi/mi2-disassemble.exp: Likewise.
1121 * gdb.mi/mi2-pthreads.exp: Likewise.
1122 * gdb.mi/mi2-regs.exp: Likewise.
1123 * gdb.mi/mi2-stack.exp: Likewise.
1124 * gdb.mi/mi2-var-block.exp: Likewise.
1125 * gdb.mi/mi2-var-cmd.exp: Likewise.
1127 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1128 Jan Kratochvil <jan.kratochvil@redhat.com>
1130 PR fortran/11104 and DWARF unbound arrays detection.
1131 * gdb.fortran/multi-dim.exp: New file.
1132 * gdb.fortran/multi-dim.f90: New file.
1134 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1136 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1137 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1138 add new tests for opcode dumping.
1140 2011-01-11 Tom Tromey <tromey@redhat.com>
1142 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1144 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1146 Convert hardware watchpoints to use breakpoint_ops.
1147 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1148 type is not supported.
1149 * gdb.base/foll-fork.exp: Likewise.
1150 * gdb.base/foll-vfork.exp: Likewise.
1152 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1154 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1155 Use load_lib gdb-python.exp.
1156 * gdb.python/python.exp: Ditto.
1157 * gdb.python/py-function.exp: Ditto.
1159 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1161 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1163 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1165 * configure: Regenerate.
1167 2011-01-06 Tom Tromey <tromey@redhat.com>
1169 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1171 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1173 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1174 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1175 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1176 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1177 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1178 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1179 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1180 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1181 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1182 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1183 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1184 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1185 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1186 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1187 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1188 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1189 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1190 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1191 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1192 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1193 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1194 gdb.ada/uninitialized_vars.exp,
1195 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1196 Simplify by using clean_restart.
1198 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1200 Add marker to be used as anchor for inserting breakpoints.
1201 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1202 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1205 Remove uses of gdb_start_cmd.
1206 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1207 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1209 Do not run testcase if testing with GDBserver.
1210 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1211 if testing with GDBserver.
1213 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1215 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1216 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1219 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1221 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1222 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1223 testsuite/gdb.fortran/complex.f,
1224 testsuite/gdb.fortran/derived-type.f90,
1225 testsuite/gdb.fortran/library-module-lib.f90,
1226 testsuite/gdb.fortran/library-module-main.f90,
1227 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1228 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1229 Copyright year update.
1231 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1233 * gdb.base/langs1.f: Add copyright header.
1235 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1237 * gdb.base/morestack.exp: New file.
1238 * gdb.base/morestack.c: New file.
1240 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1242 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1244 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1246 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1247 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1249 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1251 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1253 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1255 * gdb.threads/tls.exp: Fix typo.
1257 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1258 * gdb.threads/execl.exp: Update.
1260 2010-12-23 Yao Qi <yao@codesourcery.com>
1262 * gdb.arch/arm-disp-step.exp: New.
1263 * gdb.arch/arm-disp-step.S: New.
1265 2010-12-21 Tom Tromey <tromey@redhat.com>
1267 * gdb.threads/execl.exp: Update.
1268 * gdb.threads/linux-dp.exp: Update.
1269 * gdb.threads/manythreads.exp: Update.
1270 * gdb.threads/tls.exp: Update.
1272 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1274 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1275 (NextOverThrowDerivates) <resumebpt>: New.
1276 (resumebpt_test): New.
1277 (main): Call resumebpt_test.
1278 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1280 2010-12-12 Stan Shebs <stan@codesourcery.com>
1282 * gdb.trace/tsv.exp: Test print command on trace state variables.
1284 2010-12-09 Tom Tromey <tromey@redhat.com>
1286 * gdb.base/interp.exp: Add regression test.
1288 2010-12-09 Tom Tromey <tromey@redhat.com>
1290 * gdb.java/jnpe.java: New file.
1291 * gdb.java/jnpe.exp: New file.
1292 * gdb.cp/nextoverthrow.exp: New file.
1293 * gdb.cp/nextoverthrow.cc: New file.
1295 2010-12-07 Doug Evans <dje@google.com>
1297 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1299 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1301 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1303 2010-11-29 Michael Snyder <msnyder@vmware.com>
1305 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1306 * gdb.base/call-sc.exp: Ditto.
1307 * gdb.base/finish.exp: Ditto.
1308 * gdb.base/return.exp: Ditto.
1309 * gdb.base/return2.exp: Ditto.
1311 2010-11-30 Doug Evans <dje@google.com>
1313 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1314 (gdb_expect_list): Fix spelling errors in comments.
1315 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1316 send_gdb/gdb_expect_list where applicable.
1317 * gdb.base/call-ar-st.exp: Ditto.
1318 * gdb.base/funcargs.exp: Ditto.
1319 * gdb.base/gcore.exp: Ditto.
1320 * gdb.base/page.exp: Ditto.
1321 * gdb.base/sigaltstack.exp: Ditto.
1322 * gdb.base/siginfo.exp: Ditto.
1323 * gdb.base/sigstep.exp: Ditto.
1324 * gdb.base/trace-commands.exp: Ditto.
1326 2010-11-29 Doug Evans <dje@google.com>
1328 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1329 printer-name;subprinter-name.
1331 2010-11-29 Tom Tromey <tromey@redhat.com>
1333 * gdb.dwarf2/implptr.exp: New file.
1334 * gdb.dwarf2/implptr.c: New file.
1335 * gdb.dwarf2/implptr.S: New file.
1337 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1341 * gdb.python/py-breakpoint.exp: Test the delete method.
1343 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1345 Fix step_resume_breakpoint unsaved during an infcall.
1346 * gdb.base/step-resume-infcall.exp: New file.
1347 * gdb.base/step-resume-infcall.c: New file.
1349 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1351 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1353 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1355 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1356 on ppc64's symbols; "finish" and "return" commands must accept to
1357 show the caller line again as well as the line after.
1358 * gdb.asm/powerpc64.inc: New file.
1360 2010-11-23 Doug Evans <dje@google.com>
1362 * lib/gdb.exp (gdb_test_sequence): New function.
1363 (gdb_expect_list): Add verbose -log call for each pattern.
1364 * gdb.base/signals.exp (test_handle_all_print): Call it.
1365 Reduce timeout increment from 6 minutes to 1 minute.
1366 * gdb.server/ext-run.exp: Call it.
1368 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1372 * gdb.python/python.exp: Check that selected_thread raises an
1373 error when no inferior is loaded.
1375 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1377 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1378 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1380 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1382 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1383 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1385 2010-11-18 Doug Evans <dje@google.com>
1387 * gdb.server/ext-run.exp: Fix intermittent failures.
1389 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1391 * gdb.stabs/gdb11479.exp: Use runto_main.
1393 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1395 * gdb.base/break-entry.exp: Skip if using a stub.
1397 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1399 * gdb.python/py-inferior.exp: Pack values in target endianness.
1401 2010-11-12 Tom Tromey <tromey@redhat.com>
1403 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1404 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1406 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1408 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1410 (test_subscript_regression): Update exception type.
1412 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1414 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1417 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1419 * gdb.base/watchpoint.exp: Test "watch -location" with an
1420 innacessible location.
1422 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1423 Luis Machado <luisgpm@br.ibm.com>
1425 * gdb.base/maint.exp: Expect "." prefix.
1426 * gdb.base/nodebug.exp: Expect "." Likewise.
1427 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1428 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1429 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1430 POWER server processors.
1432 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1433 Luis Machado <luisgpm@br.ibm.com>
1435 * gdb.base/break-entry.exp: convert entry point for
1436 ppc64 and expect leading `.' on ppc64's symbols
1438 2010-11-05 Doug Evans <dje@google.com>
1440 * gdb.base/help.exp: Update expected output.
1441 * gdb.python/py-param.exp: Delete, contents moved to ...
1442 * gdb.python/py-parameter.exp: ... here. New file.
1443 Add test for gdb.parameter ("directories").
1445 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1447 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1448 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1449 * configure: Regenerate.
1450 * gdb.opencl/Makefile.in: New File.
1451 * gdb.opencl/datatypes.exp: Likewise.
1452 * gdb.opencl/datatypes.cl: Likewise.
1453 * gdb.opencl/operators.exp: Likewise.
1454 * gdb.opencl/operators.cl: Likewise.
1455 * gdb.opencl/vec_comps.exp: Likewise.
1456 * gdb.opencl/vec_comps.cl: Likewise.
1457 * gdb.opencl/convs_casts.exp: Likewise.
1458 * gdb.opencl/convs_casts.cl: Likewise.
1459 * lib/opencl.exp: Likewise.
1460 * lib/opencl_hostapp.c: Likewise.
1461 * lib/opencl_kernel.cl: Likewise.
1462 * lib/cl_util.c: Likewise.
1463 * lib/cl_util.c: Likewise.
1464 * gdb.base/default.exp (set language): Add "opencl" to the list of
1467 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1469 * gdb.cp/overload.exp: Added test for inheritance overload.
1470 * gdb.cp/overload.cc: Ditto.
1471 * gdb.cp/oranking.exp: Removed releveant kfails.
1473 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1474 Joel Brobecker <brobecker@adacore.com>
1476 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1477 check test_compiler_info.
1479 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1481 * gdb.base/gnu_vector.exp: Adjust expect messages.
1483 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1485 * gdb.base/gnu_vector.exp: Add unary operator tests.
1487 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1489 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1491 2010-11-02 Doug Evans <dje@google.com>
1493 * gdb.python/py-pp-maint.c: New file.
1494 * gdb.python/py-pp-maint.exp: New file.
1495 * gdb.python/py-pp-maint.py: New file.
1497 2010-11-02 Tom Tromey <tromey@redhat.com>
1499 * gdb.base/default.exp: Remove "scheme" from language list.
1501 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1504 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1505 * gdb.threads/sigstep-threads.exp: New file.
1506 * gdb.threads/sigstep-threads.c: New file.
1508 2010-10-20 Michael Snyder <msnyder@vmware.com>
1510 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1512 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1514 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1515 Skip test completely if gdb,no_hardware_watchpoints.
1517 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1519 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1520 strict, but do not check for any particular function name within libc.
1522 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1524 * gdb.cp/smartp.exp: New test.
1525 * gdb.cp/smartp.cc : New test.
1527 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1529 * gdb.cp/converts.exp: Test pointer to bool conversion.
1530 Test pointer to long conversion.
1531 * gdb.cp/oranking.exp: Removed relevant kfail.
1533 2010-10-18 Tom Tromey <tromey@redhat.com>
1535 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1536 argument to lazy_string.
1537 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1538 (pp_ls.to_string): Use it.
1539 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1540 Add "estring2" local.
1542 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1544 Fix s390x compatibility.
1545 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1546 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1548 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1550 * gdb.threads/sigstep-threads.exp: New file.
1551 * gdb.threads/sigstep-threads.c: New file.
1553 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1555 * gdb.base/pie-execl.exp: New file.
1556 * gdb.base/pie-execl.c: New file.
1558 2010-10-13 Doug Evans <dje@google.com>
1559 Jan Kratochvil <jan.kratochvil@redhat.com>
1562 * gdb.cp/ptype-cv-cp.cc: New file.
1563 * gdb.cp/ptype-cv-cp.exp: New file.
1565 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1567 * gdb.cp/converts.cc: New test program.
1568 * gdb.cp/converts.exp: New test.
1569 * gdb.cp/overload.exp: Added test for void* vs int*.
1570 * gdb.cp/overload.exp: Ditto.
1571 * gdb.cp/oranking.exp: Removed related kfail.
1573 2010-10-13 Doug Evans <dje@google.com>
1575 * lib/gdb-python.exp (gdb_check_python_config): New function.
1576 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1577 * gdb.python/lib-types.cc: New file.
1578 * gdb.python/lib-types.exp: New file.
1580 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1582 * gdb.python/py-error.exp: New file.
1583 * gdb.python/py-error.py: New file.
1585 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1587 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1590 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1592 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1593 * gdb.base/prelink.exp: Likewise.
1594 * gdb.base/solib-nodir.exp: Likewise.
1595 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1596 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1597 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1599 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1601 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1602 for the "info files" test to avoid timeouts on slow machines.
1604 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1606 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1607 (main): Make openlib dummy call.
1609 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1611 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1612 * break-interp.exp (reach): Move the core body ...
1613 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1614 (test_ld): Provide always real argument, even to the linker. Replace
1615 dl_main by _dl_debug_state.
1617 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1619 Fix results of prelinked PIEs on ppc*.
1620 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1621 Accept also DISPLACEMENT "PRESENT".
1622 (main): Replace "ZERO" displacements by "PRESENT".
1624 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1626 * gdb.cp/oranking.exp: New test.
1627 * gdb.cp/oranking.cc: New test program.
1629 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1631 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1632 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1634 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1636 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1637 lush, lynx) New constant.
1638 * gdb.base/constvars.exp: Test const array types.
1639 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1641 2010-10-06 Doug Evans <dje@google.com>
1643 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1644 of syscall staging area.
1646 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1648 * gdb.base/gnu_vector.c: Add variable c4.
1649 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1650 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1652 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1654 * gdb.arch/altivec-abi.exp: Fix a typo.
1656 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1658 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1659 to match a thread ID.
1661 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1663 Fix s390x testcase compatibility.
1664 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1666 2010-10-01 Doug Evans <dje@google.com>
1668 * lib/gdb-python.exp: New file.
1669 * gdb.python/py-block.exp: Use it.
1670 * gdb.python/py-breakpoint.exp: Ditto.
1671 * gdb.python/py-frame.exp: Ditto.
1672 * gdb.python/py-inferior.exp: Ditto.
1673 * gdb.python/py-param.exp: Ditto.
1674 * gdb.python/py-prettyprint.exp: Ditto.
1675 * gdb.python/py-shared.exp: Ditto.
1676 * gdb.python/py-symbol.exp: Ditto.
1677 * gdb.python/py-symtab.exp: Ditto.
1678 * gdb.python/py-type.exp: Ditto.
1679 * gdb.python/py-value.exp: Ditto.
1680 * gdb.python/python.exp: Ditto.
1682 2010-09-30 Tom Tromey <tromey@redhat.com>
1684 * gdb.base/anon.exp: New file.
1685 * gdb.base/anon.c: New file.
1687 2010-09-30 Tom Tromey <tromey@redhat.com>
1689 * gdb.base/completion.exp: Test completion through anonymous
1691 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1693 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1695 Fix printing parameters of inlined functions.
1696 * gdb.dwarf2/dw2-inline-param.exp: New file.
1697 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1698 * gdb.dwarf2/dw2-inline-param.S: New file.
1700 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1703 * gdb.base/corefile.exp (quit with a process, no question: load core)
1704 (quit with a core file): New tests.
1706 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1708 Fix GDB crash on inferior calls with self-referencing classes.
1709 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1710 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1711 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1713 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1715 Fix lost siginfo_t for inferior calls.
1716 * gdb.base/siginfo-infcall.exp: New file.
1717 * gdb.base/siginfo-infcall.c: New file.
1719 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1721 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1723 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1725 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1727 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1729 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1731 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1732 type of our const type.
1734 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1736 * gdb.cp/pr12028.cc: New.
1737 * gdb.cp/pr12028.exp: New.
1739 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1741 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1743 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1744 Jan Kratochvil <jan.kratochvil@redhat.com>
1747 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1748 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1749 * gdb.mi/dw2-ref-missing-frame.S New File.
1750 * gdb.mi/dw2-ref-missing-frame.exp New File.
1752 2010-09-14 Tom Tromey <tromey@redhat.com>
1755 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1757 2010-09-14 Tom Tromey <tromey@redhat.com>
1760 * gdb.threads/tls.exp: Use C++.
1761 (check_thread_local): Use K::another_thread_local.
1762 * gdb.threads/tls.c (class K): New.
1763 (another_thread_local): Now a member of K.
1764 (spin): Update. No longer K&R C.
1766 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1768 * gdb.cp/koenig.cc: created class for testing member lookup.
1769 * gdb.cp/koenig.exp: Added test for member lookup.
1771 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1773 Fix false FAILs on sourcetree topdir directory containing "kill".
1774 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1775 source line matching regexp.
1777 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1779 * gdb.python/python.exp (set height 0, collect help from uiout)
1780 (verify help to uiout): New tests.
1782 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1784 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1785 is_lp64_target to check 64bit target.
1787 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1789 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1790 (test_ld) <powerpc64-*>: New.
1792 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1794 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1796 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1798 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1799 (FunctionArg::method): New function.
1800 (empty, arg): New variables.
1801 (main): Call arg.method.
1802 * gdb.cp/templates.exp (test_template_args): New function.
1803 (do_tests): Call it.
1805 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1807 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1808 of "next" to proceed over pthread_exit call.
1810 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1812 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1813 "maint print statistics" output to prevent expect timeouts.
1815 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1817 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1818 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1819 (test_float_rejected): ... here.
1820 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1821 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1822 (test_float_rejected): ... here.
1823 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1824 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1825 (test_float_rejected): ... here.
1826 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1827 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1828 (test_float_rejected): ... here.
1830 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1832 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1833 before disabling hardware watchpoints.
1834 (test_inaccessible_watchpoint): Check that hardware watchpoints
1835 are used. Test for watchpoints on a constant address.
1837 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1839 * gdb.base/ui-redirect.exp: New file.
1841 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1842 Joel Brobecker <brobecker@adacore.com>
1844 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1846 2010-08-31 Doug Evans <dje@google.com>
1848 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1850 2010-08-30 Tom Tromey <tromey@redhat.com>
1853 * gdb.python/py-value.exp (test_subscript_regression): Add
1856 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1858 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1859 instead of running to main. Do not test the main function.
1860 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1863 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1865 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1868 2010-08-24 Doug Evans <dje@google.com>
1871 * gdb.dwarf2/dw4-sig-types.cc: New file.
1872 * gdb.dwarf2/dw4-sig-types.h: New file.
1873 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1874 * gdb.dwarf2/dw4-sig-types.exp: New file.
1876 2010-08-23 Tom Tromey <tromey@redhat.com>
1879 * gdb.python/py-value.c (Base, Derived): New types.
1881 * gdb.python/py-value.exp (test_subscript_regression): Add
1884 2010-08-23 Tom Tromey <tromey@redhat.com>
1887 * gdb.python/py-type.exp (test_fields): Add tests for type
1890 2010-08-23 Tom Tromey <tromey@redhat.com>
1893 * gdb.python/py-type.exp (test_fields): Add tests for array.
1895 2010-08-23 Keith Seitz <keiths@redhat.com>
1897 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1898 have any children. Create a new abbrev for it.
1899 Add missing terminal sequence to .debug_abbrev.
1901 2010-08-20 Keith Seitz <keiths@redhat.com>
1904 * gdb.dwarf2/pr11465.exp: New test.
1905 * gdb.dwarf2/pr11465.S: New file.
1906 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1907 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1909 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1911 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1912 registers. Update data sets with the new v2_double element in the
1913 VSX register union. Add vector_register3_vr data set for the AltiVec
1914 registers. Use gdb_test_no_output instead of send_gdb.
1916 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1918 * gdb.python/py-shared.exp: New file, factored out from
1920 * gdb.python/py-shared.c: New file.
1921 * gdb.python/py-shared-sl.c: New file.
1922 * gdb.python/python-1.c: New file.
1923 * gdb.python/python-sl.c: Delete.
1924 * gdb.python/python.c: Mention python-1.c.
1925 * gdb.python/python.exp: Move shared library tests to
1927 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1928 (MISCELLANEOUS): New.
1929 (clean mostlyclean): Also remove $MISCELLANEOUS.
1931 2010-08-19 Doug Evans <dje@google.com>
1934 * gdb.base/printcmds.exp (test_float_accepted): New function.
1935 Move existing float tests there. Add tests for floats with suffixes.
1936 (test_float_rejected): New function.
1937 * gdb.java/jv-print.exp (test_float_accepted): New function.
1938 (test_float_rejected): New function.
1939 * gdb.objc/print.exp: New file.
1940 * gdb.pascal/print.exp: New file.
1941 * lib/objc.exp: New file.
1943 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1945 * gdb.base/default.exp (info set): Avoid full buffer error and force
1946 reading up to final gdb prompt.
1949 2010-08-18 Tom Tromey <tromey@redhat.com>
1952 * gdb.base/completion.exp: Add test.
1954 2010-08-18 Doug Evans <dje@google.com>
1956 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1957 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1958 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1959 Simplify, early exit if runto_main fails.
1960 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1961 (set_lang_fortran): Moved to lib/fortran.exp.
1962 * gdb.fortran/types.exp: load_lib fortran.exp.
1963 (set_lang_fortran): Moved to lib/fortran.exp.
1964 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1965 * gdb.java/jprint.exp (set_lang_java): Ditto.
1966 * gdb.java/jv-exp.exp: load_lib java.exp.
1967 If set_lang_java fails, issue a warning instead of failure to be
1968 consistent with other set_lang_foo uses.
1969 (set_lang_java): Moved to lib/java.exp.
1970 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1971 If set_lang_java fails, issue a warning instead of failure to be
1972 consistent with other set_lang_foo uses.
1973 * gdb.pascal/types.exp: load_lib pascal.exp.
1974 (set_lang_pascal): Moved to lib/pascal.exp.
1975 * lib/fortran.exp: New file.
1976 * lib/java.exp (set_lang_java): New function.
1977 * lib/pascal.exp (set_lang_pascal): New function.
1979 2010-08-18 Yao Qi <yao@codesourcery.com
1981 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1982 func_nofb_start and func_loopfb_start, so that address of functions
1983 is equal to these labels on Thumb.
1985 2010-08-18 Yao Qi <yao@codesourcery.com>
1987 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1988 to reflect latest c source file.
1990 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1992 * gdb.cp/infcall-dlopen.exp: New file.
1993 * gdb.cp/infcall-dlopen.cc: New file.
1994 * gdb.cp/infcall-dlopen-lib.cc: New file.
1996 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1997 Pedro Alves <pedro@codesourcery.com>
1999 PR breakpoints/11371
2001 * gdb.base/watch-cond-infcall.exp: New file.
2002 * gdb.base/watch-cond-infcall.c: New file.
2004 2010-08-16 Tom Tromey <tromey@redhat.com>
2006 * gdb.base/help.exp: Update.
2007 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2009 (test_watch_location): New proc.
2010 (test_watchpoint_in_big_blob): Delete watchpoint.
2011 * gdb.base/watchpoint.c (func5): New function.
2014 2010-08-16 Doug Evans <dje@google.com>
2016 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2018 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2020 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2023 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2025 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2026 * gdb.base/gnu_vector.c: New File.
2027 * gdb.base/gnu_vector.exp: Likewise.
2029 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2031 * gdb.python/python.c: New File.
2032 * gdb.python/python-sl.c: New File.
2033 * gdb.python/python.exp: Test solib_address and decode_line
2036 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2038 * gdb.python/python.exp (show height, set height 10)
2039 (verify pagination beforehand, verify pagination beforehand: q)
2040 (gdb.execute does not page, verify pagination afterwards)
2041 (verify pagination afterwards: q): New.
2043 2010-08-02 Doug Evans <dje@google.com>
2045 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2046 because of an older gcc, change test2
2047 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2050 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2052 * gdb.base/break-always.exp: Do not expect full paths to file
2054 * gdb.base/commands.exp: Likewise.
2056 2010-07-30 Doug Evans <dje@google.com>
2058 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2059 xfail them when run with older gccs.
2061 * lib/gdb.exp (build_executable): Forward "c++" option to
2064 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2065 "python print ttype.template_argument(1)" and
2066 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2067 if using gcc 4.4 or earlier.
2069 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2070 attach-to-debugger handling.
2072 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2074 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2075 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2076 (main): Use copyreloc.
2077 * gdb.base/prelink.exp (split debug of executable)
2078 (.dynbss vs. .bss address shift): New tests.
2080 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2082 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2083 in gdb_test_multiple.
2085 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2087 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2090 2010-07-28 Tom Tromey <tromey@redhat.com>
2093 * gdb.python/py-type.c (Temargs): New template.
2094 (temvar): New variable.
2095 * gdb.python/py-type.exp (test_template): New proc.
2097 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2099 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2100 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2102 2010-07-28 Tom Tromey <tromey@redhat.com>
2105 * gdb.cp/temargs.exp: New file.
2106 * gdb.cp/temargs.cc: New file.
2108 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2110 * gdb.base/help.exp (help disassemble): Update the content.
2112 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2114 * gdb.threads/ia64-sigill.exp: New file.
2115 * gdb.threads/ia64-sigill.c: New file.
2117 2010-07-27 Tom Tromey <tromey@redhat.com>
2119 * gdb.opt/inline-cmds.c (ATTR): New define.
2123 (outer_inline1): Likewise.
2124 (outer_inline2): Likewise.
2125 * gdb.opt/inline-bt.c (ATTR): New define.
2128 * gdb.opt/inline-locals.c (ATTR): New define.
2132 2010-07-27 Tom Tromey <tromey@redhat.com>
2134 * gdb.stabs/gdb11479.c (hack): New function.
2137 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2138 (int32_search_buf, int64_search_buf): No longer static.
2140 * gdb.base/relocate.c (hack): New function.
2142 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2144 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2145 * gdb.python/py-value.c (func1): New function.
2148 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2150 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2151 as not to clash with .data section.
2153 2010-07-26 Jerome Guitton <guitton@adacore.com>
2155 * gdb.base/code_elim.exp: New file.
2156 * gdb.base/code_elim1.c: New file.
2157 * gdb.base/code_elim2.c: New file.
2159 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2163 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2164 (some_volatile_enum): New variable.
2165 * gdb.base/printcmds.exp (test_print_enums): New.
2166 <top level>: Call it.
2168 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2170 * gdb.cp/fpointer.cc: New test.
2171 * gdb.cp/fpointer.exp: New test.
2173 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2175 * gdb.base/solib-nodir.exp: New file.
2176 * lib/gdb.exp (runto): New case for a GDB internal error.
2178 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2179 Ulrich Weigand <uweigand@de.ibm.com>
2180 Tom Tromey <tromey@redhat.com>
2182 * gdb.base/charset-malloc.c: New file.
2183 * gdb.base/charset.c (malloc_stub): New prototype.
2184 (main): Call it instead of malloc itself.
2185 * gdb.base/charset.exp: Use only prepare_for_testing.
2186 (binfile): Remove the variable.
2188 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2190 Make core files the process_stratum.
2191 * gdb.base/corefile.exp (run: load core again)
2192 (run: sanity check we see the core file, run: with core)
2193 (run: core file is cleared, attach: load core again)
2194 (attach: sanity check we see the core file, attach: with core)
2195 (attach: core file is cleared): New tests.
2196 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2198 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2200 * gdb.arch/altivec-abi.exp: New tests.
2202 2010-07-13 Tom Tromey <tromey@redhat.com>
2204 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2206 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2208 2010-07-13 Tom Tromey <tromey@redhat.com>
2210 * gdb.base/label.exp: New file.
2211 * gdb.base/label.c: New file.
2213 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2214 H.J. Lu <hongjiu.lu@intel.com>
2216 * lib/gdb.exp (is_ilp32_target): New.
2217 (is_lp64_target): Likewise.
2219 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2221 * gdb.arch/amd64-disp-step.exp: Likewise.
2222 * gdb.arch/amd64-dword.exp: Likewise.
2223 * gdb.arch/amd64-i386-address.exp: Likewise.
2224 * gdb.arch/amd64-word.exp: Likewise.
2226 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2228 * gdb.arch/i386-bp_permanent.exp: Likewise.
2229 * gdb.arch/i386-byte.exp: Likewise.
2230 * gdb.arch/i386-disp-step.exp: Likewise.
2231 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2232 * gdb.arch/i386-prologue.exp: Likewise.
2233 * gdb.arch/i386-size-overlap.exp: Likewise.
2234 * gdb.arch/i386-size.exp: Likewise.
2235 * gdb.arch/i386-sse.exp: Likewise.
2236 * gdb.arch/i386-unwind.exp: Likewise.
2237 * gdb.arch/i386-word.exp: Likewise.
2239 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2240 test only when building 64-bit executables. Do not hard-code
2243 2010-07-07 Doug Evans <dje@google.com>
2245 * lib/gdb.exp (gdb_test_list_exact): New function.
2246 * gdb.base/default.exp (show convenience): Call it, add tests for
2247 $_sdata = void, $_thread = 0.
2249 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2250 Joel Brobecker <brobecker@adacore.com>
2252 Fix re-run of PIE executable, PR shlibs/11776.
2253 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2254 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2255 and re-"run" of the inferior.
2257 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2258 Joel Brobecker <brobecker@adacore.com>
2260 Cope with missing /usr/sbin/prelink.
2261 * lib/prelink-support.exp (prelink_no):
2262 <result == 1 && $output is "no such file or directory">: New.
2263 (prelink_yes): Likewise. Return on failed prelink_no.
2265 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2266 Joel Brobecker <brobecker@adacore.com>
2268 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2269 build_executable by build_executable_own_libs. Replace "prelink -R"
2270 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2272 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2273 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2274 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2275 Replace build_executable by build_executable_own_libs's function
2276 build_executable_own_libs.
2277 (prelinkNO): Create new stub to call prelink_no.
2278 (prelinkYES): Create new stub to call prelink_yes.
2279 (test_attach): Rename calls of copy to file_copy.
2280 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2282 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2283 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2284 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2285 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2286 special flags by gdb_compile_shlib. Replace second gdb_compile by
2287 build_executable_own_libs. Replace "prelink -R" execution by a call of
2288 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2289 a second call of prelink_yes. Replace restart commands by
2291 (prelink): Rename to ...
2292 (seen displacement message): ... this test. Extend its expectation
2295 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2297 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2298 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2299 displacement message exactly once.
2301 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2302 Joel Brobecker <brobecker@adacore.com>
2304 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2305 its restore after the <$relink_args != ""> loop. new comment.
2307 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2308 Joel Brobecker <brobecker@adacore.com>
2310 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2311 code for it. New variable relink_args.
2312 (prelinkYES): Call prelinkNO.
2313 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2314 in such case. Move the core code to ...
2315 (test_attach_gdb): ... a new function. Send GDB command "file".
2316 Extend expected "Attaching to " string.
2318 2010-07-02 Tom Tromey <tromey@redhat.com>
2320 * gdb.base/bitops.exp: Remove extraneous "pass".
2322 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2324 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2326 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2328 * gdb.base/help.exp: Adjust expected output.
2330 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2332 * gdb.base/help.exp: Adjust expected output.
2334 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2336 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2337 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2340 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2341 Doug Evans <dje@google.com>
2343 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2344 add .dynamic entry'.
2346 2010-06-29 Doug Evans <dje@google.com>
2349 * gdb.cp/m-static.exp: Add testcase.
2350 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2352 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2353 Tom Tromey <tromey@redhat.com>
2354 Thiago Jung Bauermann <bauerman@br.ibm.com>
2356 * gdb.python/py-inferior.c: New File.
2357 * gdb.python/py-infthread.c: New File.
2358 * gdb.python/py-inferior.exp: New File.
2359 * gdb.python/py-infthread.exp: New File.
2361 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2363 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2364 (ptype ::C::OtherFileClass typedefs): New.
2365 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2366 (C::OtherFileClass::cOtherFileClassVar2): New.
2367 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2368 cOtherFileClassVar2.
2369 (C::cOtherFileType2, C::cOtherFileVar2): New.
2370 (C::cOtherFileVar_use): use also cOtherFileVar2.
2371 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2373 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2375 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2376 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2377 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2378 (print ::C::cOtherFileVar)
2379 (whatis C::OtherFileClass::cOtherFileClassType)
2380 (whatis ::C::OtherFileClass::cOtherFileClassType)
2381 (print C::OtherFileClass::cOtherFileClassVar)
2382 (print ::cOtherFileClassVar)
2383 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2384 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2386 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2387 (C::OtherFileClass::cOtherFileClassVar)
2388 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2389 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2391 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2393 Test PR c++/11703 and PR gdb/1448.
2394 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2397 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2399 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2400 (main) <rtti_data>: New.
2401 * gdb.cp/virtbase.exp (print rtti_data): New.
2403 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 Joel Brobecker <brobecker@adacore.com>
2406 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2408 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2410 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2412 2010-06-28 Doug Evans <dje@google.com>
2414 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2416 2010-06-27 Doug Evans <dje@google.com>
2418 * gdb.cp/m-static.exp: Update expected test output.
2420 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2422 * gdb.gdb/selftest.exp: Adjust expected message for
2423 capturing start-up runtime.
2425 2010-06-25 Tom Tromey <tromey@redhat.com>
2428 * gdb.python/python.exp: Add new tests.
2430 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2432 * gdb.cp/operator.cc: Created an import loop.
2433 * gdb.cp/operator.exp: Added testcase for import loop.
2435 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2437 Test PR python/11407.
2438 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2439 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2440 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2441 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2442 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2443 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2444 binfile. Call gdb_compile with clean_restart twice.
2445 (func_nofb print, func_nofb backtrace, func_loopfb print)
2446 (func_loopfb backtrace): New.
2448 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2450 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2451 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2453 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2454 i?86 requirement. Remove variables srcfile and binfile. New variable
2455 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2457 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2459 * gdb.cell/dwarfaddr.exp: New file.
2460 * gdb.cell/dwarfaddr.S: New file.
2462 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2465 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2467 2010-06-24 Hui Zhu <teawater@gmail.com>
2469 * gdb.base/eval.exp: New file.
2471 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2473 * gdb.cell/fork.exp: New file.
2474 * gdb.cell/fork.c: Likewise.
2475 * gdb.cell/fork-spu.c: Likewise.
2477 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2479 * lib/gdb.exp (banned_variables_traced): New global variable.
2480 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2481 (gdb_init): Use `trace add variable' instead of obsolete
2484 2010-06-21 Doug Evans <dje@google.com>
2486 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2488 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2490 * gdb.arch/spu-ls.exp: New file.
2491 * gdb.arch/spu-ls.c: Likewise.
2493 2010-06-18 Stan Shebs <stan@codesourcery.com>
2495 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2497 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2499 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2500 * gdb.base/watch-cond.exp: Likewise.
2501 * gdb.python/py-breakpoint.exp: Likewise.
2503 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2505 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2506 clean_restart, make sure every test has a distinct message, and
2507 that messages don't include the executable' full path.
2509 2010-06-17 Doug Evans <dje@google.com>
2511 * gdb.arch/i386-size.exp: Updated expected output for
2512 DISASSEMBLY_OMIT_FNAME.
2514 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2515 Sergio Durigan Junior <sergiodj@redhat.com>
2517 * gdb.base/watch-notconst.c: New file.
2518 * gdb.base/watch-notconst.S: New file.
2519 * gdb.base/watch-notconst2.c: New file.
2520 * gdb.base/watch-notconst2.S: New file.
2521 * gdb.base/watch-notconst.exp: New file.
2522 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2523 (func4): Add operations on `global_ptr_ptr'.
2524 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2525 routine to test watchpoints created with a constant expression.
2526 (test_inaccessible_watchpoint): Include tests for watchpoints
2527 created with a constant expression.
2529 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2531 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2532 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2533 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2534 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2535 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2536 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2537 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2540 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2542 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2543 not supported on the target.
2544 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2545 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2546 * gdb.mi/mi-nsintrall.exp: Likewise.
2547 * gdb.mi/mi-nsmoribund.exp: Likewise.
2548 * gdb.mi/mi-nsthrexec.exp: Likewise.
2550 2010-06-11 Stan Shebs <stan@codesourcery.com>
2552 * gdb.base/permissions.exp: New file.
2554 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2556 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2557 does not support ELF executable class.
2559 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2561 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2563 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2565 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2566 (runto): Catch "The target does not support running in non-stop mode.".
2568 2010-06-11 Michael Snyder <msnyder@vmware.com>
2570 * gdb.base/setshow.exp (set language asm): Don't use
2571 gdb_test_no_output, fails on some targets.
2573 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2575 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2576 * gdb.cp/pr9167.exp: Likewise.
2578 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2580 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2582 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2584 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2586 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2588 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2590 2010-06-11 Tom Tromey <tromey@redhat.com>
2592 PR gdb/9977, PR exp/11636::
2593 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2594 (pieces_test_f6): Update expected output.
2596 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2598 * gdb.base/moribund-step.exp: New.
2600 2010-06-08 Michael Snyder <msnyder@vmware.com>
2602 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2603 * gdb.ada/boolean_expr.exp:
2604 * gdb.ada/frame_args.exp: Ditto.
2605 * gdb.ada/lang_switch.exp: Ditto.
2606 * gdb.ada/ptype_arith_binop.exp: Ditto.
2607 * gdb.ada/ref_param.exp: Ditto.
2608 * gdb.ada/type_coercion.exp:Ditto.
2610 * gdb.asm/asm-source.exp: Ditto.
2612 * gdb.base/attach.exp: Ditto.
2613 * gdb.base/bitfields2.exp: Ditto.
2614 * gdb.base/call-signal-resume.exp: Ditto.
2615 * gdb.base/callfuncs.exp: Ditto.
2616 * gdb.base/commands.exp: Ditto.
2617 * gdb.base/dbx.exp: Ditto.
2618 * gdb.base/default.exp: Ditto.
2619 * gdb.base/dump.exp: Ditto.
2620 * gdb.base/exprs.exp: Ditto.
2621 * gdb.base/freebpcmd.exp: Ditto.
2622 * gdb.base/interrupt.exp: Ditto.
2623 * gdb.base/list.exp: Ditto.
2624 * gdb.base/long_long.exp: Ditto.
2625 * gdb.base/maint.exp: Ditto.
2626 * gdb.base/ptype.exp: Ditto.
2627 * gdb.base/return.exp: Ditto.
2628 * gdb.base/setshow.exp: Ditto.
2629 * gdb.base/sigbpt.exp: Ditto.
2630 * gdb.base/sigrepeat.exp: Ditto.
2632 * gdb.cp/classes.exp: Ditto.
2634 * gdb.dwarf2/dw2-restore.exp: Ditto.
2636 * gdb.gdb/selftest.exp: Ditto.
2638 * gdb.multi/base.exp: Ditto.
2639 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2641 * gdb.python/py-block.exp: Ditto.
2642 * gdb.python/py-prettyprint.exp: Ditto.
2643 * gdb.python/py-template.exp: Ditto.
2645 * gdb.server/ext-attach.exp: Ditto.
2646 * gdb.server/ext-run.exp: Ditto.
2647 * gdb.server/server-mon.exp: Ditto.
2649 * gdb.threads/fork-thread-pending.exp: Ditto.
2650 * gdb.threads/hand-call-in-threads.exp: Ditto.
2651 * gdb.threads/interrupted-hand-call.exp: Ditto.
2652 * gdb.threads/linux-dp.exp: Ditto.
2653 * gdb.threads/manythreads.exp: Ditto.
2654 * gdb.threads/print-threads.exp: Ditto.
2655 * gdb.threads/pthreads.exp: Ditto.
2656 * gdb.threads/schedlock.exp: Ditto.
2657 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2658 * gdb.threads/threadapply.exp: Ditto.
2660 2010-06-08 Michael Snyder <msnyder@vmware.com>
2662 * gdb.ada/exec_changed.exp:
2663 Use ".*" instead of "" as wildcard regexp.
2665 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2666 * gdb.base/call-ar-st.exp: Ditto.
2667 * gdb.base/checkpoint.exp: Ditto.
2668 * gdb.base/default.exp: Ditto.
2669 * gdb.base/dump.exp: Ditto.
2670 * gdb.base/ending-run.exp: Ditto.
2671 * gdb.base/fileio.exp: Ditto.
2672 * gdb.base/miscexprs.exp: Ditto.
2673 * gdb.base/pointers.exp: Ditto.
2674 * gdb.base/readline.exp: Ditto.
2675 * gdb.base/reread.exp: Ditto.
2676 * gdb.base/restore.exp: Ditto.
2677 * gdb.base/shlib-call.exp: Ditto.
2678 * gdb.base/valgrind-db-attach.exp: Ditto.
2679 * gdb.base/volatile.exp: Ditto.
2680 * gdb.base/watchpoints.exp: Ditto.
2682 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2684 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2685 * gdb.python/py-value.exp: Ditto.
2687 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2688 * gdb.trace/circ.exp: Ditto.
2689 * gdb.trace/collection.exp: Ditto.
2690 * gdb.trace/packetlen.exp: Ditto.
2691 * gdb.trace/passc-dyn.exp: Ditto.
2692 * gdb.trace/report.exp: Ditto.
2693 * gdb.trace/tfile.exp: Ditto.
2694 * gdb.trace/tfind.exp: Ditto.
2695 * gdb.trace/while-dyn.exp: Ditto.
2697 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2699 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2701 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2704 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2706 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2708 * gdb.cp/koenig.exp: Test for ADL operators.
2709 * gdb.cp/koenig.cc: Added ADL operators.
2710 * gdb.cp/operator.exp: New test.
2711 * gdb.cp/operator.cc: New test.
2713 2010-06-04 Michael Snyder <msnyder@vmware.com>
2715 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2716 * gdb.base/pending.exp: Ditto.
2718 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2720 2010-06-04 Doug Evans <dje@google.com>
2722 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2724 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2725 (enable_lookup_function): New function.
2727 2010-06-04 Tom Tromey <tromey@redhat.com>
2729 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2732 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2734 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2736 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2737 (empty verbose non-noisy clear, empty verbose noisy clear)
2738 (empty non-verbose noisy clear): Likewise.
2740 2010-06-03 Michael Snyder <msnyder@vmware.com>
2742 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2743 * gdb.base/display.exp: Ditto.
2744 * gdb.base/find.exp: Ditto.
2745 * gdb.base/ifelse.exp: Ditto.
2746 * gdb.base/multi-forks.exp: Ditto.
2747 * gdb.base/recurse.exp: Ditto.
2748 * gdb.base/setshow.exp: Ditto.
2749 * gdb.base/value-double-free.exp: Ditto.
2750 * gdb.base/watch-vfork.exp: Ditto.
2751 * gdb.base/watch_thread_num.exp: Ditto.
2752 * gdb.base/watchpoint-solib.exp: Ditto.
2753 * gdb.base/watchpoint.exp: Ditto.
2754 * gdb.base/watchpoints.exp: Ditto.
2756 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2757 * gdb.cp/overload.exp: Ditto.
2758 * gdb.cp/virtfunc.exp: Ditto.
2760 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2762 * gdb.reverse/watch-precsave.exp:
2763 Replace gdb_test with gdb_test_no_output.
2765 * gdb.threads/attach-into-signal.exp:
2766 Replace gdb_test with gdb_test_no_output.
2767 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2768 * gdb.threads/watchthreads.exp: Ditto.
2769 * gdb.threads/watchthreads2.exp: Ditto.
2771 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2772 * gdb.trace/tfind.exp: Ditto.
2774 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2776 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2777 successful test if message is the empty string.
2779 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2781 * gdb.fortran/module.exp (stopped language detection): New test.
2783 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2785 Support DW_TAG_module as separate namespaces.
2786 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2787 gdb.fortran/library-module-lib.f90: New.
2788 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2790 (continue to breakpoint: i-is-1, print var_i value 1)
2791 (continue to breakpoint: i-is-2, print var_i value 2)
2792 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2793 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2794 (complete `modmany, complete `modmany`, complete `modmany`var)
2795 (show language, setting breakpoint at module): New tests.
2796 * gdb.fortran/module.f90 (module mod): Remove.
2797 (module mod1, module mod2, module modmany, subroutine sub1)
2798 (subroutine sub2, program module): New.
2800 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2802 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2803 (print value of rUC, print value of rI, print value of UI): ... here.
2804 * gdb.cp/anon-union.exp (pass): Rename to ...
2805 (print z 2): ... here.
2807 2010-06-02 Michael Snyder <msnyder@vmware.com>
2809 * gdb.trace/actions.exp: Use gdb_test_no_output.
2810 * gdb.trace/circ.exp: Ditto.
2811 * gdb.trace/packetlen.exp: Ditto.
2812 * gdb.trace/save-trace.exp: Ditto.
2813 * gdb.trace/tracecmd.exp: Ditto.
2814 * gdb.trace/tsv.exp: Ditto.
2816 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2817 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2818 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2819 * gdb.threads/manythreads.exp: Ditto.
2820 * gdb.threads/print-threads.exp: Ditto.
2821 * gdb.threads/pthreads.exp: Ditto.
2822 * gdb.threads/schedlock.exp: Ditto.
2823 * gdb.threads/staticthreads.exp: Ditto.
2824 * gdb.threads/thread-specific.exp: Ditto.
2825 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2826 * gdb.threads/threadapply.exp: Ditto.
2827 * gdb.threads/watchthreads.exp: Ditto.
2828 * gdb.threads/watchthreads2.exp: Ditto.
2830 * gdb.python/py-block.exp: Use gdb_test_no_output.
2831 * gdb.python/py-prettyprint.exp: Ditto.
2832 * gdb.python/py-template.exp: Ditto.
2833 * gdb.python/py-value.exp: Ditto.
2835 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2836 * gdb.reverse/watch-reverse.exp: Ditto.
2838 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2839 * gdb.server/ext-run.exp: Ditto.
2841 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2842 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2843 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2844 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2845 * gdb.dwarf2/dw2-producer.exp: Ditto.
2846 * gdb.dwarf2/mac-fileno.exp: Ditto.
2848 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2849 * gdb.gdb/selftest.exp: Ditto.
2851 * gdb.multi/base.exp: Use gdb_test_no_output.
2853 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2855 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2857 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2859 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2861 * gdb.cp/class2.exp: Use gdb_test_no_output.
2862 * gdb.cp/classes.exp: Ditto.
2863 * gdb.cp/extern-c.exp: Ditto.
2864 * gdb.cp/inherit.exp: Ditto.
2865 * gdb.cp/maint.exp: Ditto.
2866 * gdb.cp/mb-inline.exp: Ditto.
2867 * gdb.cp/mb-templates.exp: Ditto.
2868 * gdb.cp/method2.exp: Ditto.
2869 * gdb.cp/misc.exp: Ditto.
2870 * gdb.cp/ovldbreak.exp: Ditto.
2871 * gdb.cp/punctuator.exp: Ditto.
2872 * gdb.cp/templates.exp: Ditto.
2873 * gdb.cp/virtbase.exp: Ditto.
2875 * gdb.threads/attach-stopped.exp:
2876 Replace uses of send_gdb / gdb_expect.
2877 * gdb.threads/attachstop-mt.exp:
2878 Replace uses of send_gdb / gdb_expect.
2879 * gdb.threads/gcore-thread.exp:
2880 Replace uses of send_gdb / gdb_expect.
2881 * gdb.threads/hand-call-in-threads.exp:
2882 Replace uses of send_gdb / gdb_expect.
2883 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2884 * gdb.threads/print-threads.exp:
2885 Replace uses of send_gdb / gdb_expect.
2886 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2887 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2888 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2890 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2891 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2892 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2893 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2894 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2895 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2896 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2897 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2898 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2899 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2900 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2902 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2904 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2906 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2908 * gdb.cp/koenig.exp: Added new test case.
2909 * gdb.cp/koenig.cc: Ditto.
2911 2010-06-01 Michael Snyder <msnyder@vmware.com>
2913 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2914 * gdb.base/arrayidx.exp: Ditto.
2915 * gdb.base/attach.exp: Ditto.
2916 * gdb.base/auxv.exp: Ditto.
2917 * gdb.base/bigcre.exp: Ditto.
2918 * gdb.base/break-always.exp: Ditto.
2919 * gdb.base/break-interp.exp: Ditto.
2920 * gdb.base/break.exp: Ditto.
2921 * gdb.base/breakpoint-shadow.exp: Ditto.
2922 * gdb.base/call-ar-st.exp: Ditto.
2923 * gdb.base/call-sc.exp: Ditto.
2924 * gdb.base/call-signal-resume.exp: Ditto.
2925 * gdb.base/callfuncs.exp: Ditto.
2926 * gdb.base/catch-syscall.exp: Ditto.
2927 * gdb.base/charset.exp: Ditto.
2928 * gdb.base/code-expr.exp: Ditto.
2929 * gdb.base/commands.exp: Ditto.
2930 * gdb.base/cond-expr.exp: Ditto.
2931 * gdb.base/condbreak.exp: Ditto.
2932 * gdb.base/cursal.exp: Ditto.
2933 * gdb.base/cvexpr.exp: Ditto.
2934 * gdb.base/default.exp: Ditto.
2935 * gdb.base/del.exp: Ditto.
2936 * gdb.base/detach.exp: Ditto.
2937 * gdb.base/display.exp: Ditto.
2938 * gdb.base/ena-dis-br.exp: Ditto.
2939 * gdb.base/eval-skip.exp: Ditto.
2940 * gdb.base/foll-fork.exp: Ditto.
2941 * gdb.base/foll-vfork.exp: Ditto.
2942 * gdb.base/frame-args.exp: Ditto.
2943 * gdb.base/funcargs.exp: Ditto.
2944 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2945 * gdb.base/gdbvars.exp: Ditto.
2946 * gdb.base/help.exp: Ditto.
2947 * gdb.base/ifelse.exp: Ditto.
2948 * gdb.base/included.exp: Ditto.
2949 * gdb.base/list.exp: Ditto.
2950 * gdb.base/macscp.exp: Ditto.
2951 * gdb.base/maint.exp: Ditto.
2952 * gdb.base/multi-fork.exp: Ditto.
2953 * gdb.base/overlays.exp: Ditto.
2954 * gdb.base/page.exp: Ditto.
2955 * gdb.base/pending.exp: Ditto.
2956 * gdb.base/pointers.exp: Ditto.
2957 * gdb.base/pr11022.exp: Ditto.
2958 * gdb.base/prelink.exp: Ditto.
2959 * gdb.base/printcmds.exp: Ditto.
2960 * gdb.base/psymtab.exp: Ditto.
2961 * gdb.base/randomize.exp: Ditto.
2962 * gdb.base/relational.exp: Ditto.
2963 * gdb.base/relocate.exp: Ditto.
2964 * gdb.base/remote.exp: Ditto.
2965 * gdb.base/sepdebug.exp: Ditto.
2966 * gdb.base/set-lang-auto.exp: Ditto.
2967 * gdb.base/setshow.exp: Ditto.
2968 * gdb.base/setvar.exp: Ditto.
2969 * gdb.base/signals.exp: Ditto.
2970 * gdb.base/signull.exp: Ditto.
2971 * gdb.base/sigstep.exp: Ditto.
2972 * gdb.base/sizeof.exp: Ditto.
2973 * gdb.base/solib-disc.exp: Ditto.
2974 * gdb.base/store.exp: Ditto.
2975 * gdb.base/structs.exp: Ditto.
2976 * gdb.base/structs2.exp: Ditto.
2977 * gdb.base/subst.exp: Ditto.
2978 * gdb.base/term.exp: Ditto.
2979 * gdb.base/trace-commands.exp: Ditto.
2980 * gdb.base/unwindonsignal.exp: Ditto.
2981 * gdb.base/valgrind-db-attach.exp: Ditto.
2982 * gdb.base/varargs.exp: Ditto.
2983 * gdb.base/watch-cond.exp: Ditto.
2984 * gdb.base/watch_thread_num.exp: Ditto.
2985 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2986 * gdb.base/watchpoint.exp: Ditto.
2987 * gdb.base/whatis-exp.exp: Ditto.
2989 2010-06-01 Michael Snyder <msnyder@vmware.com>
2991 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2992 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2993 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2994 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2995 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2996 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2997 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2998 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2999 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3000 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3001 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3002 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3003 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3004 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3005 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3007 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3009 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3011 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3012 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3013 (p *args): ... here and remove excessive trailing newline.
3015 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3017 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3019 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3021 Accept the new Linux kernel "t (tracing stop)" string.
3022 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3024 (state_wait) <T (tracing stop)>: New.
3025 (main): Update the state_wait expect string.
3027 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3029 * limits.c, limits.exp: Delete files.
3030 * Makefile.in (clean mostlyclean): Adjust.
3031 * tracecmd.exp: Adjust.
3033 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3035 * gdb.base/tui-layout.exp: New.
3037 2010-05-28 Michael Snyder <msnyder@vmware.com>
3039 * gdb.reverse/break-precsave.exp:
3040 Replace uses of send_gdb / gdb_expect.
3041 * gdb.reverse/break-reverse.exp:
3042 Replace uses of send_gdb / gdb_expect.
3043 * gdb.reverse/consecutive-precsave.exp:
3044 Replace uses of send_gdb / gdb_expect.
3045 * gdb.reverse/consecutive-reverse.exp:
3046 Replace uses of send_gdb / gdb_expect.
3047 * gdb.reverse/finish-precsave.exp:
3048 Replace uses of send_gdb / gdb_expect.
3049 * gdb.reverse/finish-reverse.exp:
3050 Replace uses of send_gdb / gdb_expect.
3051 * gdb.reverse/i386-precsave.exp:
3052 Replace uses of send_gdb / gdb_expect.
3053 * gdb.reverse/i386-reverse.exp:
3054 Replace uses of send_gdb / gdb_expect.
3055 * gdb.reverse/i386-sse-reverse.exp:
3056 Replace uses of send_gdb / gdb_expect.
3057 * gdb.reverse/i387-env-reverse.exp:
3058 Replace uses of send_gdb / gdb_expect.
3059 * gdb.reverse/i387-stack-reverse.exp:
3060 Replace uses of send_gdb / gdb_expect.
3061 * gdb.reverse/machinestate-precsave.exp:
3062 Replace uses of send_gdb / gdb_expect.
3063 * gdb.reverse/machinestate.exp:
3064 Replace uses of send_gdb / gdb_expect.
3065 * gdb.reverse/sigall-precsave.exp:
3066 Replace uses of send_gdb / gdb_expect.
3067 * gdb.reverse/sigall-reverse.exp:
3068 Replace uses of send_gdb / gdb_expect.
3069 * gdb.reverse/solib-precsave.exp:
3070 Replace uses of send_gdb / gdb_expect.
3071 * gdb.reverse/solib-reverse.exp:
3072 Replace uses of send_gdb / gdb_expect.
3073 * gdb.reverse/step-precsave.exp:
3074 Replace uses of send_gdb / gdb_expect.
3075 * gdb.reverse/step-reverse.exp:
3076 Replace uses of send_gdb / gdb_expect.
3077 * gdb.reverse/until-precsave.exp:
3078 Replace uses of send_gdb / gdb_expect.
3079 * gdb.reverse/until-reverse.exp:
3080 Replace uses of send_gdb / gdb_expect.
3081 * gdb.reverse/watch-precsave.exp:
3082 Replace uses of send_gdb / gdb_expect.
3083 * gdb.reverse/watch-reverse.exp:
3084 Replace uses of send_gdb / gdb_expect.
3086 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3088 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3091 2010-05-27 Michael Snyder <msnyder@vmware.com>
3093 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3094 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3095 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3096 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3097 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3098 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3099 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3100 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3101 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3102 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3103 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3104 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3105 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3106 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3107 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3108 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3109 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3110 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3111 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3113 2010-05-26 Michael Snyder <msnyder@vmware.com>
3115 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3116 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3118 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3119 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3120 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3122 * gdb.reverse/consecutive-reverse.exp:
3123 Replace uses of send_gdb / gdb_expect.
3124 * gdb.reverse/consecutive-precsave.exp:
3125 Replace uses of send_gdb / gdb_expect.
3127 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3128 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3129 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3130 * gdb.mi/mi-ns-stale-regcache.exp:
3131 Replace uses of send_gdb / gdb_expect.
3132 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3133 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3134 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3135 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3136 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3137 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3138 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3139 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3140 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3142 2010-05-26 Michael Snyder <msnyder@vmware.com>
3144 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3146 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3148 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3149 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3150 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3151 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3152 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3153 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3154 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3155 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3156 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3158 2010-05-25 Tom Tromey <tromey@redhat.com>
3160 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3162 2010-05-25 Tom Tromey <tromey@redhat.com>
3164 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3166 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3167 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3169 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3171 * gdb.base/call-sc.exp (setup_kfails): Remove.
3172 (setup_compiler_kfails): Remove.
3173 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3175 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3176 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3177 (advancei): Fix setup_kfail argument order.
3178 * gdb.base/radix.exp: Fix setup_kfail argument order.
3179 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3181 * gdb.base/structs.exp (setup_kfails): Remove.
3182 (setup_compiler_kfails): Fix setup_kfail argument order.
3183 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3185 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3186 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3187 setup_kfail argument order.
3188 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3190 2010-05-25 Tom Tromey <tromey@redhat.com>
3192 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3194 2010-05-25 Michael Snyder <msnyder@vmware.com>
3196 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3197 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3198 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3199 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3200 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3201 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3202 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3203 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3204 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3205 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3206 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3207 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3208 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3209 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3210 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3211 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3212 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3213 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3214 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3215 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3216 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3217 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3218 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3219 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3220 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3221 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3222 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3223 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3224 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3225 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3226 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3227 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3228 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3229 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3230 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3231 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3232 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3233 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3234 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3235 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3236 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3237 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3238 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3239 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3240 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3241 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3242 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3243 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3245 2010-05-25 Doug Evans <dje@google.com>
3247 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3250 2010-05-21 Tom Tromey <tromey@redhat.com>
3252 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3254 * gdb.dwarf2/pieces.S: Update.
3255 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3257 2010-05-21 Tom Tromey <tromey@redhat.com>
3259 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3261 * gdb.dwarf2/pieces.c (struct C): New.
3263 * gdb.dwarf2/pieces.S: Replace.
3265 2010-05-21 Tom Tromey <tromey@redhat.com>
3267 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3270 2010-05-21 Tom Tromey <tromey@redhat.com>
3272 * gdb.dwarf2.pieces.exp: New file.
3273 * gdb.dwarf2.pieces.S: New file.
3274 * gdb.dwarf2.pieces.c: New file.
3276 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3277 Joel Brobecker <brobecker@adacore.com>
3279 * lib/gdb.exp (gdb_test_no_output): New function.
3280 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3281 when testing commands that should produce no output.
3283 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3285 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3286 parameter that we want to watch being a constant.
3288 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3290 * gdb.ada/cond_lang: New testcase.
3292 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3294 * lib/gdb.exp (banned_variables): New variable/constant.
3295 (gdb_init): Add write trace on variables listed in banned_variables.
3296 (gdb_finish): Remove write traces on variables listed in
3299 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3301 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3302 * gdb.cp/koenig.exp: Likewise.
3304 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3308 * gdb.python/py-value.exp (test_value_hash): New function.
3310 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3313 * gdb.base/gdb11530.c: New file.
3314 * gdb.base/gdb11530.exp: New file.
3316 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3318 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3319 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3321 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3323 * gdb.cp/koenig.exp: New test.
3324 * gdb.cp/koenig.cc: New test program.
3326 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3328 Remove the use of prms_id and bug_id throughout the testsuite.
3330 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3333 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3334 use a reference local variable.
3336 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3338 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3339 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3340 variable different_dir. Move debugfile into a full directory pathname
3341 under DIFFERENT_DIR.
3342 * lib/gdb.exp (separate_debug_filename): Remove.
3343 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3344 variable debug_dir and mkdir of it. Update function comments.
3346 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3350 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3353 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3355 * gdb.python/py-param.exp: New File.
3357 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3359 * gdb.base/default.exp: Fix "set language" test.
3361 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3363 PR breakpoints/11531.
3364 * gdb.base/gdb11531.c: New file.
3365 * gdb.base/gdb11531.exp: New file.
3367 2010-04-26 Tom Tromey <tromey@redhat.com>
3369 * gdb.base/completion.exp: Add tests for completion and deprecated
3372 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3374 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3375 (print /x char_array): Escape curly brackets.
3377 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3379 Fix deadlock on looped list of loaded shared objects.
3380 * gdb.base/solib-corrupted.exp: New.
3382 2010-04-23 Doug Evans <dje@google.com>
3384 * gdb.python/py-section-script.c: New file.
3385 * gdb.python/py-section-script.exp: New file.
3386 * gdb.python/py-section-script.py: New file.
3388 2010-04-20 Chris Moller <cmoller@redhat.com>
3392 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3393 * gdb.base/pr10179-a.c:
3394 * gdb.base/pr10179-b.c:
3395 * gdb.base/pr10179.exp: New files.
3397 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3399 Fix crashes on dangling display expressions.
3400 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3402 (lib_flags): Remove the "debug" keyword.
3403 (libsepdebug): New variable for iterating new loop.
3404 (save_pf_prefix): New variable wrapping the loop.
3405 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3406 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3408 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3410 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3412 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3415 * gdb.stabs/gdb11479.exp: New file.
3416 * gdb.stabs/gdb11479.c: New file.
3418 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3420 * gdb.base/charset.c (Strin16, String32): New variables.
3421 * gdb.base/charset.exp (gdb_test): Test correct display
3422 of 16 or 32 bit strings.
3424 2010-04-21 Chris Moller <cmoller@redhat.com>
3427 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3428 * gdb.cp/pr9167.cc: New file.
3429 * gdb.cp/pr9167.exp: New file.
3432 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3435 * gdb.pascal/gdb11492.pas: New file.
3436 * gdb.pascal/gdb11492.exp: New file.
3438 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3440 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3442 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3444 * gdb.ada/dyn_loc: New testcase.
3446 2010-04-20 Chris Moller <cmoller@redhat.com>
3450 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3451 * gdb.cp/pr10687.cc: New file.
3452 * gdb.cp/pr10687.exp: New file.
3455 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3456 Sergio Durigan Junior <sergiodj@redhat.com>
3458 * gdb.fortran/logical.exp: New testcase.
3459 * gdb.fortran/logical.f90: New file.
3461 2010-04-19 Doug Evans <dje@google.com>
3463 * gdb.base/help.exp (help source): Update expected output.
3465 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3467 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3468 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3469 gdb_exit and return.
3470 (executable): New variable.
3473 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3475 PR breakpoints/8554.
3477 * gdb.trace/save-trace.exp: Adjust.
3479 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3482 * gdb.arch/system-gcore.exp: New.
3483 * gdb.arch/gcore.c: Likewise.
3485 2010-04-15 Doug Evans <dje@google.com>
3487 * gdb.python/py-progspace.c: New file.
3488 * gdb.python/py-progspace.exp: New file.
3490 * gdb.base/source.exp: Add tests for "source -s".
3492 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3494 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3495 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3496 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3497 * gdb.python/py-mi.exp: New test for to_string returning None.
3499 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3501 * gdb.python/py-breakpoint.c: Make result global.
3503 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3505 Fix non-GNU make compatibility.
3506 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3508 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3510 * gdb.python/py-breakpoint.exp: New File.
3511 * gdb.python/py-breakpoint.C: Ditto.
3513 2010-04-08 Stan Shebs <stan@codesourcery.com>
3515 * gdb.trace/actions.exp: Clear default-collect.
3516 * gdb.trace/save-trace.exp: Clear default-collect.
3518 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3520 * gdb.python/py-value: Add null string variable.
3521 (test_lazy_string): Test zero length, NULL address lazy
3524 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3526 * gdb.arch/i386-avx.c: New.
3527 * gdb.arch/i386-avx.exp: Likewise.
3529 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3531 2010-04-06 Doug Evans <dje@google.com>
3533 * gdb.base/source-test.gdb: New file.
3534 * gdb.base/source.exp: Test source -v.
3536 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3538 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3540 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3542 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3543 within one line, unless it is followed by a double quote.
3544 * gdb.stabs/hppa.sed: Idem.
3545 * gdb.stabs/weird.def: Add char and String constants
3546 * gdb.stabs/weird.exp: Check for correct parsing of
3547 char and string constants.
3548 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3549 in .stabs to .stabx substitution.
3551 2010-04-05 Stan Shebs <stan@codesourcery.com>
3553 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3555 * gdb.trace/tfile.exp: Try to print them.
3557 2010-04-04 Stan Shebs <stan@codesourcery.com>
3559 * gdb.base/completion.exp: Update for new "info watchpoints".
3560 * gdb.base/default.exp: Ditto.
3561 * gdb.base/help.exp: Ditto.
3562 * gdb.base/watchpoint.exp: Ditto.
3563 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3565 2010-04-04 Stan Shebs <stan@codesourcery.com>
3567 * gdb.trace/tfile.exp: Sharpen tfind test.
3569 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3571 * gdb.base/break-entry.exp: New.
3573 2010-04-02 Hui Zhu <teawater@gmail.com>
3574 Michael Snyder <msnyder@vmware.com>
3576 * gdb.reverse/i386-sse-reverse.exp: New file.
3577 * gdb.reverse/i386-sse-reverse.c: New file.
3579 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3581 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3583 2010-04-01 Stan Shebs <stan@codesourcery.com>
3585 * gdb.trace/actions.exp: Tweak expected output.
3586 * gdb.trace/while-stepping.exp: Tweak expected output.
3588 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3590 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3592 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3594 * gdb.base/commands.exp: Adjust.
3595 * gdb.cp/extern-c.exp: Adjust.
3597 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3599 * gdb.trace/collection.c (local_test_func): Define a local struct,
3602 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3604 * gdb.trace/collection.exp (gdb_collect_args_test)
3605 (gdb_collect_argarray_test): XFAIL the tests that assume the
3606 argarray argument's elements are collected.
3608 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3610 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3611 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3613 2010-03-31 Stan Shebs <stan@codesourcery.com>
3615 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3616 and tracepoint conditionals.
3617 (gdb_verify_tracepoints): Delete unused return.
3619 2010-03-26 Keith Seitz <keiths@redhat.com>
3621 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3622 appear in the output before main.
3623 Remove KFAIL for gdb/2215 aka bz 9320.
3625 2010-03-30 Doug Evans <dje@google.com>
3627 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3629 * gdb.arch/amd64-dword.exp: Ditto.
3631 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3633 (break printf): Ditto.
3635 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3637 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3639 * gdb.cp/shadow.exp: Ditto.
3641 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3643 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3646 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3648 * gdb.trace/collection.exp (executable): New.
3650 (fpreg, spreg, pcreg): New.
3651 (test_register): Use gdb_test_multiple. Pass /x to print.
3652 (prepare_for_trace_test): New.
3653 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3654 (gdb_collect_args_test, gdb_collect_argstruct_test)
3655 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3656 prepare_for_trace_test.
3657 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3658 fpreg, spreg and pcreg.
3659 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3660 prepare_for_trace_test.
3661 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3662 try to detect tracing support here. Don't set breakpoints at
3663 `begin' or `end' here.
3664 <global scope>: Use clean_restart. Run to main before checking
3665 for tracing support. Check for for tracing support here.
3667 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3669 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3670 " as $displacement" to "seen displacement message".
3672 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3674 * gdb.trace/while-dyn.exp (executable): New variable.
3676 (test_while_stepping): New function. Move most tests here. Call
3677 it once for each of the while-stepping, stepping and ws aliases.
3679 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3681 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3682 that do not provide the tagless_struct type name at all.
3683 (test_print_anon_union): Do not check value of uninitialized
3684 union member. Do not use cp_test_ptype_class, so we can accept
3685 "long" as well as "long int".
3687 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3689 * gdb.trace/tfile.c (tohex, bin2hex): New.
3690 (write_error_trace_file): Hexify error description.
3692 2010-03-25 Stan Shebs <stan@codesourcery.com>
3694 * gdb.trace/tfile.c: Generate an additional trace file, improve
3696 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3697 files in a better way.
3699 2010-03-25 Keith Seitz <keiths@redhat.com>
3701 * gdb.java/jprint.exp: XFAIL printing of static class members
3702 because of GCC debuginfo problem.
3704 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3706 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3708 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3710 * gdb.base/completion.exp: Allow long instead of long int.
3711 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3712 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3714 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3715 * gdb.base/pointers.exp: Allow long instead of long int.
3716 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3717 * gdb.base/step-line.exp: Allow a directory before the source file name.
3719 2010-03-24 Tom Tromey <tromey@redhat.com>
3721 PR breakpoints/9352:
3722 * gdb.base/default.exp: Update.
3723 * gdb.base/commands.exp: Update.
3724 * gdb.cp/extern-c.exp: Test setting commands on multiple
3725 breakpoints at once.
3727 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3729 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3731 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3732 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3735 2010-03-24 Stan Shebs <stan@codesourcery.com>
3737 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3739 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3741 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3742 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3743 argument. Handle "short" and "long".
3744 (Top level): Pass overprototyped output for old_fptr and xptr.
3746 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3748 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3749 format strings and add casts to avoid compiler warnings.
3751 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3753 * lib/trace-support.exp (gdb_trace_setactions):
3754 Don't expect whitespace after ">" prompt.
3755 * gdb.trace/actions.exp: Adjust for output changes.
3756 * gdb.trace/while-stepping.exp: Likewise.
3758 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3760 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3763 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3765 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3768 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3770 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3771 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3773 2010-03-19 Stan Shebs <stan@codesourcery.com>
3775 * gdb.trace/ax.exp: New file.
3777 2010-03-19 Doug Evans <dje@google.com>
3779 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3782 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3783 named /usr/sbin/prelink<foo>.
3785 2010-03-18 Stan Shebs <stan@codesourcery.com>
3787 * gdb.trace/circ.exp: Test circular-trace-buffer.
3788 * gdb.trace/tfile.exp: Update tstatus test.
3790 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3792 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3793 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3795 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3797 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3799 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3801 * gdb.base/default.exp: Adjust the expected output of the finish
3802 and until commands when the inferior is not being run.
3804 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3806 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3807 * gdb.cp/nsusing.exp: Ditto.
3809 2010-03-15 Tom Tromey <tromey@redhat.com>
3811 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3812 * gdb.cp/userdef.cc (operator==): New function.
3813 (main): New locals mem1, mem2.
3815 2010-03-15 Jie Zhang <jie@codesourcery.com>
3817 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3818 Declare and use new loadtimeout variable.
3820 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3822 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3825 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3827 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3828 literal. Add missing endlines to prints to stderr.
3830 2010-03-12 Tom Tromey <tromey@redhat.com>
3833 * gdb.cp/m-static.exp: Add regression test.
3834 * gdb.cp/m-static.cc (method): New method.
3837 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3839 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3840 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3842 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3844 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3846 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3848 * lib/gdb.exp (skip_stl_tests): New.
3849 (gdb_compile): Symbian needs -ldl.
3850 (shlib_target_file): New.
3851 (shlib_symbol_file): New.
3852 (gdb_load_shlibs): Use shlib_target_file.
3853 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3854 * gdb.cp/exception.exp: Use skip_stl_tests.
3855 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3856 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3857 * gdb.cp/mb-templates.exp: Ditto.
3858 * gdb.base/commands.exp: Relax regexes.
3859 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3860 shlib_target_file and shlib_symbol_file.
3861 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3863 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3864 * gdb.base/solib-disc.exp: Use
3865 shlib_target_file and shlib_symbol_file.
3866 * gdb.base/unload.exp: Don't skip on symbian. Use
3867 shlib_target_file and shlib_symbol_file.
3868 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3870 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3872 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3873 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3874 Issue a tfind end before looking for a tracepoint frame.
3875 * gdb.trace/tfind.exp: Adjust tstatus output.
3876 Adjust disassembly output.
3877 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3879 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3881 * gdb.base/break-interp.exp: Create new displacement parameter value
3882 for the test_ld calls.
3883 (reach): New parameter displacement, verify its content. New push of
3884 pf_prefix "reach-$func:". Import global expect_out.
3885 (test_core): New parameter displacement, verify its content. New push
3886 of pf_prefix "core:". New command "set verbose on". Import global
3888 (test_attach): New parameter displacement, verify its content. New
3889 push of pf_prefix "attach:". New command "set verbose on". Import
3891 (test_ld): New parameter displacement, pass it to the reach, test_core
3892 and test_attach calls and verify its content in the "ld.so exit" test.
3893 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3894 (prelink): Update expected text, use gdb_test.
3896 2010-03-10 Doug Evans <dje@google.com>
3898 * gdb.base/checkpoint.exp: Fix comment.
3899 Lengthen timeout while doing >600 checkpoints test.
3900 Rename duplicate "kill all one" test to keep test names unique.
3902 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3904 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3906 2010-03-08 Keith Seitz <keiths@redhat.com>
3908 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3909 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3910 (dm_type_long): New function.
3911 (dm_type_unsigned_short): New function.
3912 (dm_type_unsigned_long): New function.
3913 (myint): New typedef.
3914 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3915 long, unsigned shor and long, operator char*, and typedef.
3916 (test_lookup_operator_functions): Add operator char* test.
3917 (test_paddr_operator_functions): Likewise.
3918 (test_paddr_overloaded_functions): Use probe values for
3919 short, long, and unsigned short and long.
3920 (test_paddr_hairy_functions): If the demangler probe detected
3921 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3923 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3924 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3925 and "print null_pmf".
3926 Add test "ptype a.*pmf".
3927 * gdb.cp/overload.exp: Allow optional "int" to appear with
3929 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3930 long expect value for men_overload1arg.
3931 Allow "int" to appear with "short" and "long".
3932 When testing "info break", add argument for main (void).
3933 Also allow "int" to appear with "short" and "long".
3934 Ditto with "unsigned" and "long long".
3935 * gdb.java/jmain.exp: Do not enclose methods names in single
3937 * gdb.java/jmisc.exp: Likewise.
3938 * gdb.java/jprint.exp: Likewise.
3939 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3941 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3942 * gdb.cp/exception.exp (backtrace after first throw)
3943 (backtrace after second throw): Allow a namespace before __cxa_throw.
3944 (backtrace after first catch, backtrace after second catch): Allow
3945 a namespace before __cxa_begin_catch.
3947 * gdb.cp/cpexprs.exp: New file.
3948 * gdb.cp/cpexprs.cc: New file.
3950 From Daniel Jacobowitz <dan@codesourcery.com>
3951 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3952 to use string_to_regexp.
3953 (ctor, dtor): New functions. Use them to match constructor
3954 and destructor function types.
3955 (Top level): Use runto_main.
3957 2010-03-05 Tom Tromey <tromey@redhat.com>
3959 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3961 (pp_ns.to_string): Likewise.
3963 2010-03-04 Keith Seitz <keiths@redhat.com>
3965 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3966 can be quoted. Test that both the filename and function/line
3967 portions can be quoted at the same time.
3969 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3971 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3973 2010-03-03 Doug Evans <dje@google.com>
3975 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3976 libc contains libpthread.
3978 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3979 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3980 of gdb_compile. Add another pattern to match android backtrace.
3982 2010-03-03 Tom Tromey <tromey@redhat.com>
3985 * gdb.base/printcmds.exp (test_printf): Add test.
3987 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3989 * gdb.arch/amd64-byte.exp: New.
3990 * gdb.arch/amd64-dword.exp: Likewise.
3991 * gdb.arch/amd64-pseudo.c: Likewise.
3992 * gdb.arch/amd64-word.exp: Likewise.
3993 * gdb.arch/i386-byte.exp: Likewise.
3994 * gdb.arch/i386-pseudo.c: Likewise.
3995 * gdb.arch/i386-word.exp: Likewise.
3997 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3999 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4000 types. Add structreg, bitfields, and flags registers.
4001 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4004 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4006 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4007 (load_description): Set architecture if defined.
4009 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4011 * gdb.python/py-frame.exp: Add read_var block tests.
4012 * gdb.python/py-frame.c (block): New function.
4014 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4015 Daniel Jacobowitz <dan@codesourcery.com>
4017 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4019 2010-02-25 David S. Miller <davem@davemloft.net>
4021 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4022 fix logic for setting all_syscalls_numbers.
4024 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4026 * Makefile.in: Add py-block and py-symbol.
4027 * gdb.python/py-symbol.exp: New File.
4028 * gdb.python/py-symtab.exp: New File.
4029 * gdb.python/py-block.exp: New File.
4030 * gdb.python/py-symbol.c: New File.
4031 * gdb.python/py-block.c: New File.
4033 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4036 * lib/gdb.exp (skip_python_tests): New function.
4037 * gdb.python/py-cmd.exp: Use skip_python_tests.
4038 * gdb.python/py-frame.exp: Likewise.
4039 * gdb.python/py-function.exp: Likewise.
4040 * gdb.python/py-prettyprint.exp: Likewise.
4041 * gdb.python/py-template.exp: Likewise.
4042 * gdb.python/py-type.exp: Likewise.
4043 * gdb.python/py-value.exp: Likewise.
4045 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4049 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4051 2010-02-19 Tom Tromey <tromey@redhat.com>
4053 PR c++/8693, PR c++/9496:
4054 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4057 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4059 Fix compatibility with m68k as.
4060 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4061 Use only /* comments */.
4063 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4065 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4066 * configure: Regenerate.
4068 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4070 * gdb.python/py-type.exp: Check for Python support.
4072 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4074 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4075 `regsub' syntax available.
4077 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4079 * gdb.base/shmain.c (main): Remove printf call.
4080 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4081 * gdb.base/unload.c (main): Make format of fprintf a string
4082 literal. Add missing endlines to prints to stderr.
4083 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4085 2010-02-17 Tom Tromey <tromey@redhat.com>
4087 * gdb.java/jprint.java (jprint.props): New field.
4088 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4090 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4092 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4095 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4097 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4098 creation to support remote host testing.
4100 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4102 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4103 Recognize "command not found".
4105 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4107 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4110 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4112 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4113 if arguments are not supported.
4115 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4117 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4118 be const or non-const.
4120 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4122 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4123 mi_send_resuming_command to send -exec-continue.
4125 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4127 * gdb.base/list.exp (test_list_filename_and_function): Add test
4129 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4131 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4132 Add KFAIL'd tests for PR gdb/11289.
4134 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4136 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4138 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4140 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4141 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4142 a temporary directory.
4144 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4146 * gdb.base/charset.exp: Use a single regular expression to match
4147 show host-charset and show target-charset output.
4149 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4151 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4152 "Illegal process-id" expect string more exact.
4153 (attach to digits-starting nonsense is prohibited): New.
4155 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4157 * gdb.base/prelink.exp (set verbose on): New.
4159 2010-02-12 Tomas Holmberg <th@virtutech.com>
4161 * mi-reverse.exp: New file. Test for reverse option to the
4162 following MI commands: exec-continue, exec-finish, exec-next,
4163 exec-step, exec-next-instruction, exec-step-instruction.
4165 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4167 * gdb.ada/ptype_tagged_param: New testcase.
4169 2010-02-08 Tom Tromey <tromey@redhat.com>
4172 * gdb.cp/overload.exp: Add tests.
4173 * gdb.cp/overload.cc (struct K): New.
4175 (main): Call new functions.
4176 (K::staticoverload): Define.
4178 2010-02-08 Chris Moller <moller@mollerware.com>
4181 * gdb.cp/pr10728-x.h: New file.
4182 * gdb.cp/pr10728-x.cc: New file.
4183 * gdb.cp/pr10728-y.cc: New file.
4184 * gdb.cp/pr10728.exp: New file.
4185 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4187 2010-02-08 Chris Moller <moller@mollerware.com>
4190 * gdb.cp/pr9067.exp: New
4191 * gdb.cp/pr9067.cc: New
4192 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4194 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4196 * lib/gdb.exp (gdb_test_timeout): New global variable.
4197 Set it to timeout if not already set.
4198 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4200 2010-02-05 Doug Evans <dje@google.com>
4202 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4205 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4208 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4210 2010-02-04 Tom Tromey <tromey@redhat.com>
4212 * gdb.cp/virtbase.exp: Make test case names unique.
4214 2010-02-02 Tom Tromey <tromey@redhat.com>
4216 * gdb.cp/virtbase.exp: Add regression tests.
4217 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4218 (main): Instantiate RHC.
4220 2010-02-02 Tom Tromey <tromey@redhat.com>
4222 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4223 type-printing change.
4225 2010-02-02 Tom Tromey <tromey@redhat.com>
4227 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4228 * gdb.cp/virtbase.cc: New file.
4229 * gdb.cp/virtbase.exp: New file.
4230 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4232 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4235 * gdb.threads/current-lwp-dead.c: Include features.h.
4237 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4239 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4241 * gdb.base/symbol-without-target_section.exp,
4242 gdb.base/symbol-without-target_section.c: New.
4244 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4246 * gdb.base/bigcore.exp: Reset increased timeout.
4247 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4249 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4251 * gdb.base/gcore.exp (capture_command_output): Use
4254 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4256 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4257 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4258 (Top level): Call it.
4260 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4262 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4264 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4266 * gdb.base/call-strs.exp, gdb.base/default.exp,
4267 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4268 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4269 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4270 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4271 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4272 * gdb.base/ending-run.exp: Correct restore of timeout.
4273 * gdb.base/page.exp: Remove unnecessary timeout setting.
4275 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4277 * gdb.ada/rec_return: New testcase.
4279 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4281 * gdb.ada/call_pn: New testcase.
4283 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4285 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4286 (Top level): Use it to resume.
4287 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4288 the Thumb mode displaced stepping error as unsupported.
4290 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4292 * gdb.cp/nsusing.exp: Added more tests.
4293 * gdb.cp/nsrecurs.exp: Ditto.
4294 * gdb.cp/nsusing.cc: Added test functions.
4295 * gdb.cp/nsrecurs.cc: Ditto.
4297 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4299 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4300 absolute directory pathnames in gdb.sum file.
4302 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4304 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4305 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4307 2010-01-26 Tom Tromey <tromey@redhat.com>
4310 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4313 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4315 * gdb.cp/nsrecurs.exp: New test.
4316 * gdb.cp/nsrecurs.cc: New test program.
4317 * gdb.cp/nsstress.exp: New test.
4318 * gdb.cp/nsstress.cc: New test program.
4319 * gdb.cp/nsdecl.exp: New test.
4320 * gdb.cp/nsdecl.cc: New test program.
4322 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4324 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4325 imported into file scope.
4326 Marked test as xfail.
4327 * gdb.cp/namespace-using.cc (marker5): New function.
4328 * gdb.cp/shadow.exp: New test.
4329 * gdb.cp/shadow.cc: New test program.
4330 * gdb.cp/nsimport.exp: New test.
4331 * gdb.cp/nsimport.cc: New test program.
4333 2010-01-25 Tom Tromey <tromey@redhat.com>
4336 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4337 with "set print null-stop on".
4339 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4341 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4342 Adjust it for DISASSEMBLY_OMIT_FNAME.
4344 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4347 * gdb.dwarf2/member-ptr-forwardref.exp,
4348 gdb.dwarf2/member-ptr-forwardref.S: New.
4350 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4352 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4353 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4354 thread1_tid_mutex. Remove gdbstop_mutex handling.
4355 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4356 thread2_tid_mutex. Remove gdbstop_mutex handling.
4357 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4358 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4359 pthread_cond_wait conditionalizations by while loops.
4361 2010-01-20 Tom Tromey <tromey@redhat.com>
4364 * gdb.dwarf2/pr10770.exp: New file.
4365 * gdb.dwarf2/pr10770.c: New file.
4366 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4368 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4370 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4371 that target was removed, and the test always runs native anyway.
4373 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4375 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4376 gdb.base/watchpoint-cond-gone-stripped.c: New.
4378 2010-01-19 Tom Tromey <tromey@redhat.com>
4381 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4383 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4384 (main): Use AAA::SomeEnum.
4386 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4388 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4389 (test_ignore_count): Declare line_callme_body global.
4390 (run to breakpoint with ignore count): Use line_callme_body.
4391 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4392 (set line_main_hello, set line_main_return): Reindent.
4393 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4395 (continue to callee4): Use line_callee4_body.
4396 (check *stopped from CLI command): Use line_callee4_next.
4397 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4398 (set line_main_hello, set line_main_return): Reindent.
4399 (set line_callee4_head, set line_callee4_body): New.
4400 (continue to callee4): Use line_callee4_body.
4402 2010-01-18 Tom Tromey <tromey@redhat.com>
4405 * gdb.cp/casts.cc: Add new classes and variables.
4406 * gdb.cp/casts.exp: Test new operators.
4408 2010-01-18 Tom Tromey <tromey@redhat.com>
4409 Thiago Jung Bauermann <bauerman@br.ibm.com>
4411 * gdb.python/source2.py: New file.
4412 * gdb.python/source1: New file.
4413 * gdb.python/python.exp: Test "source" command.
4415 2010-01-15 Stan Shebs <stan@codesourcery.com>
4417 * gdb.trace/tfile.c: New file.
4418 * gdb.trace/tfile.exp: New file.
4420 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4422 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4424 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4426 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4428 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4430 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4431 (libfunc): New parameter action. Implement also selectable "sleep".
4432 * gdb.base/break-interp-main.c: Include assert.h.
4433 (libfunc): New parameter action.
4434 (main): New parameters argc and argv. Assert argc. Pass argv.
4435 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4436 (test_attach): New proc.
4437 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4438 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4440 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4442 * gdb.base/break-interp.exp (test_core): New proc.
4445 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4447 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4448 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4449 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4450 and gdb_compile_shlib. Use new -Wl compiler options.
4451 (dl bt, main bt): New tests.
4453 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4455 Support PIEs with no symfile_objfile.
4456 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4457 (test_ld): New parameter trynosym.
4458 (test_ld <$trynosym>): New block.
4460 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4462 * gdb.base/break-interp.exp: New file.
4464 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4466 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4467 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4468 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4470 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4471 * gdb.python/py-mi.exp: Add lazy string test.
4473 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4475 * lib/mi-support.exp (mi_check_thread_states): Handle
4476 core number in thread listing.
4478 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4480 * gdb.base/maint.exp: Adjust the expected output for the
4481 "maint print type" test. Use gdb_test_multiple instead of
4482 gdb_sent/gdb_expect.
4484 2010-01-11 Doug Evans <dje@google.com>
4486 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4487 from gdbserver_download. All callers updated.
4489 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4491 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4493 Implement binary numbers parsing.
4494 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4495 (test_integer_literals_rejected): New binary tests.
4497 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4499 * gdb.cell/configure: Regenerate.
4501 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4503 * gdb.base/corefile.exp: Move the core finding block out and call it as
4504 core_find, new variable $corefile, replace corefile by $corefile and
4505 [file tail $corefile] for usage vs. test names resp.
4506 * lib/gdb.exp (core_find): Move it as a new function here. New
4507 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4508 $destcore. Return "" on error.
4510 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4512 Workaround PR binutils/10802.
4513 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4516 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4518 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4520 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4522 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4523 call, to avoid interruption.
4525 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4527 * gdb.stabs/weird.def (args93): New.
4529 2010-01-07 Doug Evans <dje@google.com>
4531 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4533 2010-01-07 Tom Tromey <tromey@redhat.com>
4535 * gdb.base/source.exp: Use correct line number.
4537 2010-01-05 Stan Shebs <stan@codesourcery.com>
4539 * gdb.trace/tracecmd.exp: Test ftrace.
4541 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4543 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4545 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4547 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4548 "uint_for_mi_testing".
4550 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4552 Test indented comment in file being sourced.
4553 * gdb.base/commands.exp: Test indented comment in file being sourced.
4555 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4557 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4558 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4559 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4562 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4564 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4567 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4569 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4570 missing $after_stopped and comma (,) expectation.
4572 2009-12-31 Stan Shebs <stan@codesourcery.com>
4574 * gdb.trace/actions.exp: Test teval action.
4576 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4578 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4579 (top level): Call test_watchpoint_in_big_blob.
4580 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4582 (func3): Write to buf.
4584 2009-12-29 Stan Shebs <stan@codesourcery.com>
4586 * gdb.trace/actions.exp: Test default-collect.
4588 2009-12-28 Stan Shebs <stan@codesourcery.com>
4590 * gdb.trace/tsv.exp: New file.
4591 * gdb.base/completion.exp: Update ambiguous info output.
4593 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4595 * gdb.base/find.c (main): Reference search buffers.
4596 * gdb.base/included.c (main): Reference integer.
4597 * gdb.base/ptype.c (charfoo): Declare.
4598 (intfoo): Call charfoo.
4599 * gdb.base/scope0.c (useitp): New function.
4600 (usestatics): Use useitp.
4601 (useit): Add a type for val.
4602 * gdb.base/scope1.c (useit1): Take a pointer argument.
4603 (usestatics1): Update calls to useit1.
4604 * gdb.cp/call-c.cc: Declare foo.
4606 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4607 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4608 (main): Call C::ensureRefs and ensureOtherRefs.
4609 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4611 (ensureOtherRefs): New function.
4612 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4613 * gdb.cp/templates.cc (main): Call t5i.value.
4615 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4617 Fix compatibility with G++-4.5.
4618 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4619 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4620 (uncaught return): Remove.
4622 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4623 Phil Muldoon <pmuldoon@redhat.com>
4625 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4626 (bp_location13, bp_location14, bp_location17, bp_location18)
4627 (marker3_proto, marker4_proto): New variables.
4628 (breakpoint info): Update output.
4629 (run until breakpoint at marker3, run until breakpoint at marker4): New
4632 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4634 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4635 Replace the printf call of Y by provided "y-set-1" label. New block
4636 for the second shared library.
4637 * gdb.base/unload.exp: Compile also the second library, call
4638 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4639 (single pending breakpoint info): Rename to ...
4640 (pending breakpoint info before run): ... this extended test.
4641 (libfile2, libname2, libsrcfile2, libsrc2)
4642 (lib_sl2): New variables.
4643 (exec_opts): Set also SHLIB_NAME2.
4644 (pending breakpoint info on first run at shrfunc1)
4645 (pending breakpoint info on second run at shrfunc1)
4646 (pending breakpoint info on second run at shrfunc2)
4647 (print y from libfile, print y from libfile2): New tests.
4648 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4649 * gdb.base/unloadshr2.c: New.
4651 2009-12-22 Hui Zhu <teawater@gmail.com>
4653 * gdb.reverse/sigall-reverse.exp: Adjust.
4655 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4659 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4660 (main): Call do_bitfield_tests.
4661 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4663 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4665 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4666 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4667 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4668 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4669 gdb.modula2/unbounded1.c: Update copyright header.
4671 2009-12-10 Chris Moller <moller@mollerware.com>
4674 * gdb.cp/virtfunc2.exp: New tests
4675 * gdb.cp/virtfunc2.cc: New tests
4676 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4678 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4680 * gdb.reverse/i387-env-reverse.c: New file.
4681 * gdb.reverse/i387-env-reverse.exp: New file.
4682 * gdb.reverse/i387-stack-reverse.c: New file.
4683 * gdb.reverse/i387-stack-reverse.exp: New file.
4685 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4687 * gdb.python/py-type.exp (test_range): New test.
4689 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4693 * gdb.python/py-type.exp: New file.
4694 * gdb.python/py-type.c: New file.
4695 * Makefile.in: Add py-type.
4697 2009-12-03 Tom Tromey <tromey@redhat.com>
4699 * gdb.python/py-value.exp (test_parse_and_eval): New
4702 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4706 * gdb.base/pr11022.exp: New test.
4707 * gdb.base/pr11022.c: New test.
4709 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4711 Fix spurious false FAILs.
4712 * gdb.base/structs.c (chartest): New.
4713 (main): Fill-in chartest.
4714 * gdb.base/structs.exp (anychar_re, first): New.
4715 (start_structs_test): Import global anychar_re and first.
4716 New gdb_test call "set print elements 300; ${testfile}"
4717 (start_structs_test <$first>): New block.
4718 (any): Import global anychar_re. New variable ac. Use ${ac}.
4720 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4722 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4724 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4726 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4727 Force $srcfile file.
4728 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4730 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4732 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4733 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4734 * gdb.threads/watchthreads-reorder.exp: Likewise.
4736 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4740 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4741 "if", and "thread". Correct matching in the previous test.
4743 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4745 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4747 2009-11-23 Michael Snyder <msnyder@vmware.com>
4749 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4750 * gdb.reverse-watch-precsave.exp: Ditto.
4752 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4754 * gdb.asm/asm-source.exp: Adjust.
4755 * gdb.base/help.exp: Adjust.
4757 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4759 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4760 (do_syscall_tests_without_xml): Set data-directory to
4761 /the/path/to/nowhere.
4763 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4765 * gdb.threads/local-watch-wrong-thread.c,
4766 gdb.threads/local-watch-wrong-thread.exp: New files.
4768 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4770 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4771 assume new `regsub' syntax available.
4773 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4775 * gdb.base/watchpoint-hw-hit-once.exp,
4776 gdb.base/watchpoint-hw-hit-once.c: New.
4778 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4780 * gdb.threads/watchthreads-reorder.exp,
4781 gdb.threads/watchthreads-reorder.c: New.
4783 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4785 * gdb.xml/tdesc-regs.exp: Use for m68k.
4787 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4789 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4791 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4793 * lib/gdb.exp (current_target_name): New procedure.
4794 (gdb_wrapper_target): New variable.
4795 (gdb_wrapper_init): Set gdb_wrapper_target.
4796 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4799 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4801 * gdb.base/remote.exp: Delete the slowest load test.
4802 Do not load with fixed packet sizes.
4804 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4806 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4808 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4810 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4811 srcfile when setting a breakpoint.
4813 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4815 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4818 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4820 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4822 * gdb.base/display.c (force_mem): New.
4823 (do_loops): Use it. Add breakpoint comments.
4824 (do_vars): Add a breakpoint comment.
4825 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4828 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4830 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4831 instead of a bare "run".
4833 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4835 * gdb.python/py-prettyprint.exp: Adjust.
4837 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4839 * lib/cell.exp (skip_cell_tests): Clean up test files before
4842 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4844 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4845 and the breakpoint menu. Do not call perror if a prompt is seen.
4846 Consume the following GDB prompt.
4847 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4848 * gdb.cp/namespace.exp: Use gdb_test.
4849 * gdb.cp/templates.exp: Use gdb_test.
4850 (test_template_breakpoints): Use gdb_test_multiple.
4852 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4854 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4855 (marker4): Reference values.
4857 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4859 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4862 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4864 * gdb.base/break.c (need_malloc): New.
4865 * gdb.base/constvars.c (main): Reference crass and crisp.
4866 * gdb.base/gdb1821.c (main): Reference bar.
4867 * gdb.cp/gdb1355.cc (main): Reference s1.
4868 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4870 * gdb.cp/hang2.cc (dummy2): Define.
4871 * gdb.cp/hang3.cc (dummy3): Define.
4872 * gdb.cp/m-data.cc (main): Reference shadow.
4874 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4875 Nathan Froyd <froydnj@codesourcery.com>
4877 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4880 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4882 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4883 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4884 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4885 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4886 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4887 * gdb.dwarf2/dw2-producer.exp: Likewise.
4888 * gdb.dwarf2/mac-fileno.exp: Likewise.
4889 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4890 py-prettyprint.py to the remote host.
4891 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4893 2009-11-11 Keith Seitz <keiths@redhat.com>
4895 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4896 use it instead of "Foo".
4897 * gdb.cp/classes.exp (do_tests): Add a test to access
4898 a method through a typedef'd class name.
4900 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4902 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4904 * gdb.base/pointers.exp: Likewise.
4905 * gdb.cp/ref-types.exp: Likewise.
4907 2009-11-11 Keith Seitz <keiths@redhat.com>
4909 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4911 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4913 (probe_demangler): Remove all single-quoting of
4914 method and variable names.
4915 (info_func_regexp): Remove the word "void" from any
4916 occurrence of "(void)".
4917 (print_addr_2): Remove all single-quoting of
4919 (print_addr_2_kfail): Likewise.
4920 (print_addr): Single-quote C function names before
4921 passing to print_addr_2.
4922 (test_paddr_operator_functions): Remove single-quoting
4924 Add tests for operator new[] and operator delete[].
4926 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4928 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4930 2009-11-09 Keith Seitz <keiths@redhat.com>
4932 * gdb.cp/overload.exp: Add tests for resolving overloaded
4933 methods in expression parsing/evaluation.
4935 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4937 * lib/gdb.exp (default_gdb_version): Use --version instead of
4940 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4942 * lib/gdb.exp (gdb_compile_test): New.
4943 (skip_ada_tests, skip_java_tests): New.
4944 (gdb_compile): Use gdb_compile_test for f77.
4945 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4946 * lib/java.exp (compile_java_from_source): Remove runtests check,
4947 use gdb_compile_test to record result.
4948 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4949 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4950 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4951 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4952 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4953 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4954 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4955 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4956 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4957 adjust gdb_compile invocations.
4959 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4961 * Makefile.in (abs_builddir): New.
4962 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4963 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4964 `$(abs_builddir)/site.exp'.
4966 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4968 * config/m68k-emc.exp, lib/emc-support.exp,
4969 gdb.trace/gdb_c_test.c: Delete.
4970 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4971 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4972 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4973 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4974 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4975 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4976 casing for m68k-*-elf.
4978 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4980 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4981 * gdb.arch/i386-prologue.exp: Likewise.
4982 * gdb.arch/i386-unwind.exp: Likewise.
4984 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4986 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4988 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4990 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4992 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4994 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4996 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4998 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5000 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5002 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5003 * gdb.base/sepdebug2.c: New file.
5005 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5007 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5008 the modified warnings for catch syscall. Verify if GDB was compiled
5009 with support for lib expat, and choose which tests to run depending
5012 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5014 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5015 that composite commands are parsed OK. And also test
5016 that breakpoint commands do work.
5018 2009-10-23 Michael Snyder <msnyder@vmware.com>
5020 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5021 to allow for new disassembly style.
5023 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5025 * gdb.asm/asm-source.exp: Adjust.
5027 2009-10-22 Michael Snyder <msnyder@vmware.com>
5029 * gdb.reverse/break-precsave.exp: New test.
5030 * gdb.reverse/consecutive-precsave.exp: Ditto.
5031 * gdb.reverse/finish-precsave.exp: Ditto.
5032 * gdb.reverse/i386-precsave.exp: Ditto.
5033 * gdb.reverse/machinestate-precsave.exp: Ditto.
5034 * gdb.reverse/sigall-precsave.exp: Ditto.
5035 * gdb.reverse/solilb-precsave.exp: Ditto.
5036 * gdb.reverse/step-precsave.exp: Ditto.
5037 * gdb.reverse/until-precsave.exp: Ditto.
5038 * gdb.reverse/watch-precsave.exp: Ditto.
5040 2009-10-22 Michael Snyder <msnyder@vmware.com>
5042 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5043 for gdb_expect. Adjust one test's expect strings for the new
5044 format of disassemble.
5045 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5046 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5048 * gdb.reverse/step-reverse.exp: Delete 'return'.
5049 * gdb.reverse/until-reverse.exp: Delete blank lines.
5050 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5052 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5054 * gdb.base/consecutive.exp: Adjust.
5055 * gdb.base/display.exp: Likewise.
5056 * gdb.base/pc-fp.exp: Likewise.
5057 * gdb.base/sigbpt.exp: Likewise.
5059 2009-10-19 Michael Snyder <msnyder@vmware.com>
5061 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5062 * gdb.reverse/finish-reverse.c: Ditto.
5063 * gdb.reverse/sigall-reverse.c: Ditto.
5064 * gdb.reverse/solib-reverse.c: Ditto.
5065 * gdb.reverse/step-reverse.c: Ditto.
5066 * gdb.reverse/watch-reverse.c: Ditto.
5068 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5069 Stan Shebs <stan@codesourcery.com>
5071 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5072 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5073 "Executing new program".
5074 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5075 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5076 left listed after having been killed.
5077 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5078 * gdb.base/maint.exp: Adjust test.
5080 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5081 * gdb.multi/Makefile.in: New.
5082 * gdb.multi/base.exp: New.
5083 * gdb.multi/goodbye.c: New.
5084 * gdb.multi/hangout.c: New.
5085 * gdb.multi/hello.c: New.
5086 * gdb.multi/bkpt-multi-exec.c: New.
5087 * gdb.multi/bkpt-multi-exec.exp: New.
5088 * gdb.multi/crashme.c: New.
5090 2009-10-13 Tristan Gingold <gingold@adacore.com>
5092 * gdb.base/sepdebug.exp: Check debug info are found.
5094 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5096 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5099 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5101 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5103 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5105 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5108 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5110 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5111 * gdb.base/annota3.exp: Idem.
5112 * gdb.base/maint.exp: Idem.
5114 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5116 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5119 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5121 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5122 mingw and cygwin targets.
5124 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5125 Pedro Alves <pedro@codesourcery.com>
5127 * lib/gdb.exp (gdb_compile): Avoid adding
5128 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5130 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5132 * gdb.base/shr1.c: Use %p in format string.
5133 * gdb.base/unload.c: Avoid warning in fprintf.
5134 * gdb.base/watchpoint-solib.c: Idem.
5136 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5138 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5140 (test_unlink): Correct printf string.
5141 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5142 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5144 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5146 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5147 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5148 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5150 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5152 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5153 * gdb.objc/nondebug.exp: Likewise.
5155 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5157 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5158 target_info setting.
5160 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5161 that detect new threads during "info threads".
5163 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5165 * gdb.threads/manythreads.c (main): Increase thread stack size
5166 to 2*PTHREAD_STACK_MIN.
5167 * gdb.threads/multi-create.c (main): Likewise.
5168 (create_function): Likewise.
5170 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5172 * gdb.base/dump.exp: Pass difference of pointer types instead
5173 of integer types as offset to restore in intarr3.srec case.
5175 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5177 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5179 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5181 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5183 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5185 New test for two watchpoints, with disabling of
5187 * testsuite/gdb.base/watchpoints.c: New file.
5188 * testsuite/gdb.base/watchpoints.exp: New file.
5190 2009-09-25 Tom Tromey <tromey@redhat.com>
5192 * gdb.base/charset.exp: Test utf-16 strings with Python.
5194 2009-09-25 Tom Tromey <tromey@redhat.com>
5196 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5198 * gdb.base/charset.c (utf_32_string): Rename.
5199 (init_utf32): Rename.
5202 2009-09-22 Tom Tromey <tromey@redhat.com>
5204 * gdb.python/py-function.exp: Add regression tests.
5206 2009-09-21 Keith Seitz <keiths@redhat.com>
5208 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5209 with invalid operator.
5211 2009-09-21 Keith Seitz <keiths@redhat.com>
5213 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5214 and destructor using typedef name of class.
5215 * gdb.cp/classes.cc (class Base1): Add a destructor.
5216 (base1): New typedef.
5217 (use_methods): Instanitate an object of type base1.
5218 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5219 (do_tests): Call test_template_typedef.
5220 * gdb.cp/templates.cc (Baz::~Baz): New method.
5221 (intBazOne): New typedef.
5222 (main): Instantiate intBazOne.
5224 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5228 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5230 (run_lang_tests): Add print elements test.
5232 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5234 * gdb.python/py-value.exp (test_subscript_regression): New
5235 function. Test for invalid subscripts.
5236 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5237 (ptr_ref): New function.
5239 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5241 * gdb.base/default.exp: Fix "show convenience".
5243 2009-09-15 Tom Tromey <tromey@redhat.com>
5245 * lib/mi-support.exp (mi_create_varobj): Update.
5246 (mi_create_floating_varobj): Likewise.
5247 (mi_create_dynamic_varobj): New proc.
5248 (mi_varobj_update): Update.
5249 (mi_varobj_update_with_type_change): Likewise.
5250 (mi_varobj_update_kv_helper): New proc.
5251 (mi_varobj_update_dynamic_helper): Rewrite.
5252 (mi_varobj_update_dynamic): New proc.
5253 (mi_list_varobj_children): Update.
5254 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5255 * gdb.python/python-prettyprint.py (pp_outer): New class.
5256 (pp_nullstr): Likewise.
5257 (lookup_function): Register new printers.
5258 * gdb.python/python-prettyprint.c (struct substruct): New type.
5259 (struct outerstruct): Likewise.
5260 (substruct_test): New function.
5261 (struct nullstr): New type.
5262 (string_1, string_2): New globals.
5263 (main): Add new tests.
5264 * gdb.python/python-mi.exp: Added regression tests.
5265 * gdb.mi/mi2-var-display.exp: Update.
5266 * gdb.mi/mi2-var-cmd.exp: Update.
5267 * gdb.mi/mi2-var-child.exp: Update.
5268 * gdb.mi/mi2-var-block.exp: Update.
5269 * gdb.mi/mi-var-invalidate.exp: Update.
5270 * gdb.mi/mi-var-display.exp: Update.
5271 * gdb.mi/mi-var-cmd.exp: Update.
5272 * gdb.mi/mi-var-child.exp: Update.
5273 * gdb.mi/mi-var-block.exp: Update.
5274 * gdb.mi/mi-break.exp: Update.
5275 * gdb.mi/gdb701.exp: Update.
5277 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5279 * Makefile.in: Inclusion of catch-syscall object.
5280 * gdb.base/catch-syscall.c: New file.
5281 * gdb.base/catch-syscall.exp: New file.
5283 2009-09-12 Michael Snyder <msnyder@vmware.com>
5285 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5286 that can support reverse debuggnig.
5288 2009-09-11 Tom Tromey <tromey@redhat.com>
5290 * gdb.dwarf2/valop.S: New file.
5291 * gdb.dwarf2/valop.exp: New file.
5293 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5295 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5297 2009-09-10 Doug Evans <dje@google.com>
5299 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5300 Add $gdb_prompt to second breakpoint regexp.
5302 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5304 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5305 names, add missing ones.
5306 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5307 * gdb.python/py-frame.c: Rename from python-frame.c.
5308 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5310 * gdb.python/py-function.exp: Rename from python-function.exp.
5311 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5313 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5314 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5315 Adjust testfile name.
5316 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5317 * gdb.python/py-template.cc: Rename from python-template.cc.
5318 * gdb.python/py-template.exp: Rename from python-template.exp.
5319 Adjust testfile name.
5320 * gdb.python/py-value.c: Rename from python-value.c.
5321 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5324 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5326 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5328 (Second breakpoint address is valid on ia64)
5329 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5331 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5333 * gdb.base/ending-run.exp: Restrict regular expression matching
5334 line number to require closing brace following.
5336 2009-09-03 Doug Evans <dje@google.com>
5338 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5340 2009-09-02 Tom Tromey <tromey@redhat.com>
5342 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5344 2009-09-02 Tom Tromey <tromey@redhat.com>
5346 * gdb.dwarf2/callframecfa.exp: New file.
5347 * gdb.dwarf2/callframecfa.S: New file.
5349 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5351 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5352 gdb.base/solib-overlap-main.c: New.
5354 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5358 * gdb.base/bitfields.c (struct container, container): New.
5359 (main): Initialize it and call break5.
5360 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5362 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5364 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5365 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5367 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5369 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5371 2009-08-26 Michael Snyder <msnyder@vmware.com>
5373 * gdb.base/i386-reverse.c: New file.
5374 * gdb.base/i386-reverse.exp: New file.
5375 * gdb.base/Makefile.in: Add new files to be removed.
5377 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5379 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5380 environment-pwd for remote host.
5381 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5383 2009-08-24 Keith Seitz <keiths@redhat.com>
5385 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5386 Add two new C++ completer tests which limit the output to a
5389 2009-08-24 Michael Snyder <msnyder@vmware.com>
5391 * gdb.base/del.exp: Fix typo in comment.
5392 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5394 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5396 * configure: Regenerate.
5397 * gdb.hp/configure: Likewise.
5398 * gdb.hp/gdb.aCC/configure: Likewise.
5399 * gdb.hp/gdb.base-hp/configure: Likewise.
5400 * gdb.hp/gdb.compat/configure: Likewise.
5401 * gdb.hp/gdb.defects/configure: Likewise.
5402 * gdb.hp/gdb.objdbg/configure: Likewise.
5403 * gdb.stabs/configure: Likewise.
5405 2009-08-19 Doug Evans <dje@google.com>
5407 * gdb.base/gdbvars.c: New file.
5408 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5410 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5412 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5413 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5415 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5417 * gdb.base/default.exp: Adjust "set language test": it's now an
5418 enum command. Larger help string moved to "help set language".
5419 * gdb.base/help.exp: Adjust "help set language" expected output,
5420 now lists all known languages.
5422 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5424 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5425 all frame arguments.
5426 * gdb.arch/altivec-regs.exp: Likewise.
5428 2009-08-07 Tom Tromey <tromey@redhat.com>
5430 * gdb.base/setshow.exp: Add tests for changes to set language, set
5431 check range, and set check type.
5433 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5435 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5436 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5439 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5441 * configure.ac: Run gdb.cell tests when appropriate.
5442 * configure: Regenerate.
5443 * lib/cell.exp: New file.
5444 * gdb.cell: New directory.
5445 * gdb.cell/configure.ac: New file.
5446 * gdb.cell/configure: New file.
5447 * gdb.cell/Makefile.in: New file.
5448 * gdb.cell/arch.exp: New file.
5449 * gdb.cell/break.c: New file.
5450 * gdb.cell/break.exp: New file.
5451 * gdb.cell/break-spu.c: New file.
5452 * gdb.cell/bt.c: New file.
5453 * gdb.cell/bt2-spu.c: New file.
5454 * gdb.cell/bt-spu.c: New file.
5455 * gdb.cell/bt.exp: New file.
5456 * gdb.cell/coremaker.c: New file.
5457 * gdb.cell/coremaker-spu.c: New file.
5458 * gdb.cell/core.exp: New file.
5459 * gdb.cell/gcore.exp: New file.
5460 * gdb.cell/data.c: New file.
5461 * gdb.cell/data.exp: New file.
5462 * gdb.cell/data-spu.c: New file.
5463 * gdb.cell/ea-cache.exp: New file.
5464 * gdb.cell/ea-cache.c: New file.
5465 * gdb.cell/ea-cache-spu.c: New file.
5466 * gdb.cell/ea-standalone.c: New file.
5467 * gdb.cell/ea-standalone.exp: New file.
5468 * gdb.cell/ea-test.c: New file.
5469 * gdb.cell/ea-test.exp: New file.
5470 * gdb.cell/f-regs.exp: New file.
5471 * gdb.cell/mem-access.c: New file.
5472 * gdb.cell/mem-access.exp: New file.
5473 * gdb.cell/mem-access-spu.c: New file.
5474 * gdb.cell/ptype.exp: New file.
5475 * gdb.cell/registers.exp: New file.
5476 * gdb.cell/size.c: New file.
5477 * gdb.cell/sizeof.exp: New file.
5478 * gdb.cell/size-spu.c: New file.
5479 * gdb.cell/solib.exp: New file.
5480 * gdb.cell/solib-symbol.exp: New file.
5482 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5484 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5486 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5488 * gdb.base/float.exp: Handle VFP registers.
5490 2009-07-14 Michael Snyder <msnyder@vmware.com>
5492 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5493 to bring gdb to the beginning of the calling line.
5495 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5496 confusing the i386 epilogue unwinder.
5498 2009-07-14 Stan Shebs <stan@codesourcery.com>
5500 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5502 2009-07-14 Michael Snyder <msnyder@vmware.com>
5504 * gdb.reverse/step-reverse.exp (stepi into function call):
5505 Call instruction may not be first instruction in the line.
5506 (reverse stepi from a function call): Used wrong line number.
5508 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5510 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5512 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5514 Fix gdb.base/macscp.exp when using custom inputrc.
5515 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5516 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5518 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5519 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5521 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5523 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5524 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5525 Change the compilation target to match the testcase name.
5526 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5528 * a2-run.exp: Use for setup prepare_for_testing. Change the
5529 compilation target to match the testcase name.
5530 * gdb.base/commands.exp: Likewise.
5531 * gdb.base/finish.exp: Likewise.
5532 * gdb.base/float.exp: Likewise.
5533 * gdb.base/info-target.exp: Likewise.
5534 * gdb.base/relational.exp: Likewise.
5535 * gdb.base/term.exp: Likewise.
5536 * gdb.base/until.exp: Likewise.
5537 * gdb.base/volatile.exp: Likewise.
5538 * gdb.base/whatis-exp.exp: Likewise.
5540 2009-07-11 Hui Zhu <teawater@gmail.com>
5542 * gdb.base/help.exp (disassemble): Update expected help text.
5544 2009-07-09 Tom Tromey <tromey@redhat.com>
5546 * lib/gdb.exp: Handle TRANSCRIPT.
5547 (remote_spawn, remote_close, send_gdb): New procs.
5549 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5551 * gdb.python/python-prettyprint.c: Add counted null string
5553 * gdb.python/python-prettyprint.exp: Print null string. Test for
5555 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5556 * gdb.python/python-value.exp (test_value_in_inferior): Add
5557 variable length string fetch tests.
5558 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5560 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5562 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5564 2009-07-07 Tom Tromey <tromey@redhat.com>
5566 * gdb.base/call-rt-st.exp: Update for change to escape output.
5567 * gdb.base/callfuncs.exp: Likewise.
5568 * gdb.base/charset.exp: Likewise.
5569 * gdb.base/constvars.exp: Likewise.
5570 * gdb.base/long_long.exp: Likewise.
5571 * gdb.base/pointers.exp: Likewise.
5572 * gdb.base/printcmds.exp: Likewise.
5573 * gdb.base/setvar.exp: Likewise.
5574 * gdb.base/store.exp: Likewise.
5575 * gdb.cp/ref-types.exp: Likewise.
5576 * gdb.mi/mi-var-child.exp: Likewise.
5577 * gdb.mi/mi-var-display.exp: Likewise.
5578 * gdb.mi/mi2-var-display.exp: Likewise.
5579 * gdb.base/charset.exp: Test octal escape sequence length.
5580 Update for change to escape output.
5582 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5584 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5586 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5588 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5590 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5592 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5593 gdbserver increasing $portnum if "Can't bind address" has been seen.
5595 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5597 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5600 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5602 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5605 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5607 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5608 linux. Adjust to use "inferior", "info inferiors", "detach
5609 inferior" and "kill inferior" instead of "restart", "info fork",
5610 "detach fork" and "delete fork".
5611 * gdb.base/ending-run.exp: Spell out "info".
5612 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5615 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5617 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5618 change to prefix TLS offset in hex with 0x.
5620 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5622 * gdb.base/default.exp: Update test case for "x" changes.
5624 2009-07-01 Tristan Gingold <gingold@adacore.com>
5626 * gdb.base/bigcore.exp: Make darwin untested.
5628 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5630 * gdb.base/completion.exp (directory completion): Create the directory.
5631 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5633 (directory completion 2): Expect now ${escapeuniquesub}.
5634 (Glob remaining of directory test): Remove one excessive newline.
5635 Expect the real output.
5637 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5639 Fix `make check//%' target after `make check' has been ran.
5640 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5642 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5645 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5647 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5648 the expected result record.
5650 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5652 Remove racy FAILs relying just on the timeouts.
5653 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5654 (annotation_level 2): Remove racy FAILs.
5656 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5659 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5661 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5663 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5665 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5667 * gdb.mi/mi-stack.exp: Testing symbolic options
5668 to -stack-list-locals and -stack-list-arguments.
5670 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5672 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5674 2009-06-29 Tom Tromey <tromey@redhat.com>
5676 * dg-extract-results.sh: New file.
5677 * Makefile.in (FORCE_PARALLEL): New variable.
5678 (CHECK_TARGET): New conditional variable.
5679 (check): Use CHECK_TARGET.
5680 (DO_RUNTEST): New variable.
5681 (check-single): New target.
5682 (TEST_DIRS): New variable.
5683 (TEST_TARGETS): Likewise.
5684 (check-parallel): New target.
5685 (check-gdb.%): New pattern.
5686 (BASE1_FILES): New variable.
5687 (BASE2_FILES): Likewise.
5688 (check-gdb.base%): New pattern.
5689 (%/.dir): New pattern.
5690 * configure: Rebuild.
5691 * aclocal.m4 (AM_CONDITIONAL): New defun.
5692 * configure.ac: Check whether user is using GNU make.
5693 (GMAKE): New conditional.
5695 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5697 * gdb.cp/namespace-nested-import.cc: New test.
5698 * gdb.cp/namespace-nested-import.exp: New test.
5700 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5702 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5703 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5704 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5705 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5706 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5707 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5708 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5709 gdb.opt/inline-markers.c: New files.
5710 * lib/gdb.exp (skip_inline_frame_tests): New function.
5711 (skip_inline_var_tests): New function.
5713 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5715 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5718 2009-06-27 Michael Snyder <msnyder@vmware.com>
5720 * gdb.reverse: New directory.
5721 * gdb.reverse/break-reverse.c: New test.
5722 * gdb.reverse/break-reverse.exp: New test.
5723 * gdb.reverse/consecutive-reverse.c: New test.
5724 * gdb.reverse/consecutive-reverse.exp: New test.
5725 * gdb.reverse/finish-reverse.c: New test.
5726 * gdb.reverse/finish-reverse.exp: New test.
5727 * gdb.reverse/machinestate.c: New test.
5728 * gdb.reverse/ms1.c: New test.
5729 * gdb.reverse/machinestate.exp: New test.
5730 * gdb.reverse/Makefile.in: New file.
5731 * gdb.reverse/shr2.c: New test.
5732 * gdb.reverse/solib-reverse.c: New test.
5733 * gdb.reverse/solib-reverse.exp: New test.
5734 * gdb.reverse/step-reverse.c: New test.
5735 * gdb.reverse/step-reverse.exp: New test.
5736 * gdb.reverse/until-reverse.c: New test.
5737 * gdb.reverse/ur1.c: New test.
5738 * gdb.reverse/until-reverse.exp: New test.
5739 * gdb.reverse/watch-reverse.c: New test.
5740 * gdb.reverse/watch-reverse.exp: New test.
5741 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5742 * configure: Regenerate.
5744 2009-06-26 Doug Evans <dje@google.com>
5746 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5748 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5750 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5751 windows problem for 'file delete $binfile'.
5753 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5755 * gdb.cp/namespace-using.exp: New test.
5756 * gdb.cp/namespace-using.cc: New test.
5758 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5760 * gdb.ada/variant_record_packed_array: New testcase.
5762 2009-06-23 Tom Tromey <tromey@redhat.com>
5764 * gdb.base/charset.exp (test_combination): Regression test.
5765 * gdb.base/charset.c (my_wchar_t): New typedef.
5766 (myvar): New global.
5769 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5771 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5774 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5776 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5778 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5780 * gdb.mi/gdb680.exp: Update test for error message.
5782 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5784 * gdb.base/annota1.exp: Allow multiple occurrences of the
5785 frames-invalid annotation.
5786 * gdb.cp/annota2.exp: Likewise.
5788 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5790 * gdb.cp/gdb2495.cc: New file.
5791 * gdb.cp/gdb2495.exp: New file.
5793 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5795 Report error on GDB crash during runto.
5796 * lib/gdb.exp (runto <eof>): New.
5798 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5800 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5801 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5802 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5803 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5804 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5805 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5806 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5807 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5808 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5809 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5810 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5811 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5812 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5813 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5814 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5815 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5816 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5817 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5818 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5819 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5820 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5821 gdb.trace/passcount.exp, gdb.trace/report.exp,
5822 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5823 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5824 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5827 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5829 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5830 defined before referencing it.
5832 2009-06-03 Doug Evans <dje@google.com>
5834 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5835 * gdb.arch/i386-see.c: Ditto.
5837 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5839 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5840 (check_macro): Return 1 if undefined.
5841 If first test fails, check if macro debug information is available,
5842 and report unsupported test if no macro information is found.
5844 2009-05-29 Doug Evans <dje@google.com>
5846 * gdb.threads/hand-call-in-threads.exp: New.
5847 * gdb.threads/hand-call-in-threads.c: New.
5849 2009-05-29 Michael Snyder <msnyder@vmware.com>
5851 * gdb.base/break-always.exp: Change "1" to "on".
5852 Add confirmation check.
5854 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5856 * gdb.threads/threxit-hop-specific.c: New.
5857 * gdb.threads/threxit-hop-specific.exp: New.
5858 * gdb.threads/thread-execl.c: New.
5859 * gdb.threads/thread-execl.exp: New.
5861 2009-05-27 Tom Tromey <tromey@redhat.com>
5862 Thiago Jung Bauermann <bauerman@br.ibm.com>
5864 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5865 (mi_child_regexp): Likewise.
5866 (mi_list_varobj_children_range): Likewise.
5867 (mi_get_features): Likewise.
5868 (mi_list_varobj_children): Rewrite.
5869 * gdb.python/python-mi.exp: New file.
5871 2009-05-27 Tom Tromey <tromey@redhat.com>
5872 Thiago Jung Bauermann <bauerman@br.ibm.com>
5873 Phil Muldoon <pmuldoon@redhat.com>
5874 Paul Pluzhnikov <ppluzhnikov@google.com>
5876 * gdb.python/python-prettyprint.exp: New file.
5877 * gdb.python/python-prettyprint.c: New file.
5878 * gdb.python/python-prettyprint.py: New file.
5879 * gdb.base/display.exp: print/r is now valid.
5881 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5882 Tom Tromey <tromey@redhat.com>
5883 Pedro Alves <pedro@codesourcery.com>
5884 Paul Pluzhnikov <ppluzhnikov@google.com>
5886 * gdb.python/python-template.exp: New file.
5887 * gdb.python/python-template.cc: New file.
5888 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5890 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5892 (test_value_after_death): New proc.
5893 * gdb.python/python-value.c (PTR): New typedef.
5894 (main): New variable 'x'.
5896 2009-05-27 Tom Tromey <tromey@redhat.com>
5898 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5900 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5903 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5905 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5907 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5909 * gdb.threads/fork-thread-pending.c: New.
5910 * gdb.threads/fork-thread-pending.exp: New.
5912 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5914 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5915 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5917 2009-05-18 Jon Beniston <jon@beniston.com>
5919 * gdb.asm/asm-source.exp: Add lm32 target.
5921 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5923 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5924 `gdb_get_line_number'. Call `callee' in both parent and child.
5925 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5926 `gdb_get_line_number' instead of hardcoding line numbers.
5927 (catch_fork_unpatch_child): New procedure to test detaching
5928 breakpoints from child fork.
5929 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5930 hardcoding line numbers.
5931 (do_fork_tests): Run `catch_fork_unpatch_child'.
5933 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5935 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5936 of structure type enters or leaves the scope, it
5937 is reported by -var-update.
5939 2009-05-11 Doug Evans <dje@sebabeach.org>
5941 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5942 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5943 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5945 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5947 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5949 2009-04-30 Doug Evans <dje@google.com>
5951 * gdb.threads/watchthreads2.exp: New testcase.
5952 * gdb.threads/watchthreads2.c: New testcase.
5954 2009-04-29 Doug Evans <dje@google.com>
5956 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5957 * gdb.cp/mb-ctor.cc: Ditto.
5958 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5959 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5960 * gdb.cp/mb-inline1.cc: Call it.
5961 * gdb.cp/mb-inline2.cc: Ditto.
5962 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5963 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5965 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5967 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5968 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5969 Replace all uses of `decimal' by `nonzero'.
5970 (info macro FROM_COMMANDLINE): New test.
5972 2009-04-27 Tom Tromey <tromey@redhat.com>
5974 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5976 2009-04-27 Doug Evans <dje@google.com>
5978 * gdb.threads/watchthreads.c (main): Initialize args before starting
5979 the threads. Plus formatting cleanup.
5980 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5981 biased scheduling of one thread.
5983 2009-04-27 Jerome Guitton <guitton@adacore.com>
5985 * gdb.cp/templates.cc (GetMax): New template.
5986 (main): Declare two instances of GetMax.
5987 * gdb.cp/templates.exp: Add new test.
5989 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5991 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5993 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5995 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5997 2009-04-15 Tom Tromey <tromey@redhat.com>
5999 * gdb.base/charset.exp: Add regression test.
6001 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6003 * gdb.base/exe-lock.exp: New testcase.
6005 2009-04-13 Tom Tromey <tromey@redhat.com>
6007 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6010 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6012 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6013 * gdb.server/ext-attach.exp: Likewise.
6015 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6017 Eliminate some sleep usage.
6019 * gdb.mi/basics.c (do_nothing): New.
6020 (main): Use do_nothing instead of printf, so that
6021 not to introduce race condition between output of
6022 inferiour and output of gdb. Do not use sleep as it
6023 is not generally available on embedded targets.
6025 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6027 * gdb.server/ext-attach.exp: Expect an optional process id after
6028 "Detached from remote process".
6030 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6032 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6033 gdb.dwarf2/dw2-unresolved.exp: New.
6035 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6037 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6040 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6042 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6043 mi_run_to_main. Skip thread exit test on remote targets.
6044 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6046 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6048 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6049 when expecting ^connected. Detect when the target doesn't support
6051 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6052 supported. Return -1 on error, 0 on success.
6053 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6054 (mi_runto): Return mi_runto_helper's result explicitly.
6056 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6058 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6060 2009-04-01 Tom Tromey <tromey@redhat.com>
6062 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6063 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6064 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6065 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6067 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6068 Jan Kratochvil <jan.kratochvil@redhat.com>
6071 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6073 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6075 * dw2-strp.S (DW_AT_language): Change to C++.
6076 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6078 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6080 * gdb.ada/tasks: New testcase.
6082 2009-03-30 Stan Shebs <stan@codesourcery.com>
6084 * gdb.trace/actions.exp: Update to match new info trace format.
6085 * gdb.trace/deltrace.exp: Ditto.
6086 * gdb.trace/infotrace.exp: Ditto.
6087 * gdb.trace/passcount.exp: Ditto.
6088 * gdb.trace/save-trace.exp: Ditto.
6089 * gdb.trace/while-stepping.exp: Ditto.
6090 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6092 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6094 * gdb.python/python-frame.c: New file.
6095 * gdb.python/python-frame.exp: New file.
6097 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6099 * gdb.python/python-value.exp: Add tests for the address
6102 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6104 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6106 2009-03-26 Doug Evans <dje@google.com>
6108 * gdb.mi/mi-nonstop-exit.exp: New file.
6109 * gdb.mi/non-stop-exit.c: New file.
6111 2009-03-26 Tom Tromey <tromey@redhat.com>
6113 Update for change to prologue skipping:
6114 * gdb.mi/mi2-simplerun.exp: Update.
6115 * gdb.mi/mi2-break.exp: Update.
6116 * gdb.mi/mi-simplerun.exp: Update.
6117 * gdb.mi/mi-break.exp: Update.
6118 * gdb.base/ending-run.exp: Update.
6120 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6122 * gdb.python/python-value.exp (test_value_in_inferior): Test
6123 gdb.Value.is_optimized_out attribute.
6125 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6127 * gdb.dwarf2/dw2-noloc-main.c: New file.
6128 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6131 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6132 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6133 (DW_TAG_subprogram func_cu1, noloc): Remove.
6135 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6136 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6137 (file_symbols): New procedure.
6139 2009-03-25 Tom Tromey <tromey@redhat.com>
6141 * gdb.base/charset.exp (valid_target_charset): New proc.
6142 Use it to skip tests on invalid charsets.
6144 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6146 * gdb.base/completion.exp: Add a test for directory completion.
6148 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6151 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6152 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6154 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6156 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6157 * gdb.python/python-function.exp: Add test for function returning
6160 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6162 * gdb.python/python-function.exp: New file.
6164 2009-03-20 Tom Tromey <tromey@redhat.com>
6166 * gdb.base/store.exp: Update for change to escape output.
6167 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6169 * gdb.base/pointers.exp: Update for change to escape output.
6170 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6172 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6174 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6176 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6178 * gdb.base/setvar.exp: Update for change to escape output.
6179 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6180 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6182 (test_print_string_constants): Likewise.
6183 * gdb.base/charset.exp (valid_host_charset): Check size of
6184 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6185 cases. Handle "auto"-related output.
6186 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6187 (uvar, Uvar): New globals.
6189 2009-03-19 Jerome Guitton <guitton@adacore.com>
6191 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6193 * gdb.ada/fixed_points.exp: Ditto.
6195 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6197 * return-nodebug.c: Don't include stdio.h.
6199 (func): Delete definition and provide extern declaration.
6201 (main): Don't call printf. Call func and store its result in t.
6202 * return-nodebug1.c: New.
6203 * return-nodebug.exp: Don't expect stdio output. Instead, print
6204 the global variable t. Drop printf formatters and cast types from
6205 foreach loop. Don't use prepare_for_testing. Compile
6206 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6207 define FORMAT or CAST.
6209 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6211 * gdb.base/solib-display.exp: Disable test for remote targers.
6213 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6215 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6217 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6220 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6221 code from `follow parent, print pids'.
6222 (`follow child, print pids', `follow parent, print pids'): Call it.
6223 Replace `gdb_test "break..."' by gdb_breakpoint.
6225 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6227 * gdb.mi/mi-cli.exp: Adjust for output difference in
6228 sync and async modes.
6230 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6232 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6233 that was checked in by mistake. Remove loading of ada.exp, since
6234 this is not necessary in this case.
6236 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6238 * gdb.ada/ptype_arith_binop.exp: New testcase.
6240 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6242 * gdb.ada/mod_from_name: New testcase.
6244 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6246 * gdb.ada/tick_last_segv: New testcase.
6248 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6250 * gdb.mi/mi-cli.exp: Remove debug print.
6252 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6254 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6255 include the token in ^running and frame info in *stopped.
6257 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6259 * solib-display.exp: New file.
6260 * solib-display-main.c: New file.
6261 * solib-display-lib.c: New file.
6263 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6265 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6267 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6269 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6270 (list_and_check_macro): Use more specific test name.
6271 (next to definition): Make the test names unique.
6273 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6275 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6277 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6279 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6281 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6282 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6283 * lib/mi-support.exp (library_loaded_re): New.
6284 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6286 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6288 * gdb.gdb/observer.exp: Use test_notification observer, not
6289 normal_stop, everywhere.
6290 (test_normal_stop_notifications): Rename to...
6291 (test_notifications): ...this.
6292 (test_observer_normal_stop): Rename to...
6293 (test_observer): ...this.
6295 2009-02-16 Doug Evans <dje@google.com>
6297 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6298 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6299 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6300 (test_prefixed_syscall,test_int3): New tests.
6301 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6302 (test_prefixed_syscall,test_int3): New tests.
6304 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6306 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6307 (mi_expect_interrupt): Likewise.
6308 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6311 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6313 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6314 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6315 Replace calls to get_valueofx by get_hexadecimal_valueof.
6317 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6319 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6320 (get_integer_valueof): New procedure.
6321 (get_sizeof): Use new get_integer_value_of.
6322 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6323 by get_integer_valueof.
6325 2009-02-13 Tom Tromey <tromey@redhat.com>
6327 * gdb.base/remote.exp (get_sizeof): Remove.
6328 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6329 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6330 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6331 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6332 (get_sizeof): Likewise.
6334 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6337 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6339 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6341 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6343 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6345 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6347 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6349 * gdb.python/python-cmd.exp: New file.
6351 2009-02-06 Tristan Gingold <gingold@adacore.com>
6353 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6355 2009-02-05 Tristan Gingold <gingold@adacore.com>
6357 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6358 pointer is dereferenced and use this signal name in regexp.
6359 * gdb.base/signull.exp: Ditto.
6360 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6361 * gdb.base/signull.c (main): Ditto.
6363 2009-02-04 Tom Tromey <tromey@redhat.com>
6364 Thiago Jung Bauermann <bauerman@br.ibm.com>
6366 * gdb.python/python-value.exp: Use `gdb.history' instead of
6367 `gdb.value_from_history'.
6368 (test_value_numeric_ops): Add test for conversion of enum constant.
6369 * gdb.python/python-value.c (enum e): New type.
6370 (evalue): New global.
6373 2009-02-04 Jerome Guitton <guitton@adacore.com>
6375 * gdb.ada/uninitialized_vars: New test program.
6376 * gdb.ada/uninitialized_vars.exp: New testcase.
6378 2009-02-02 Tom Tromey <tromey@redhat.com>
6380 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6381 * gdb.cp/pr2489.cc: Rename...
6382 * gdb.cp/pr9594.cc: ... to this.
6384 2009-02-02 Tom Tromey <tromey@redhat.com>
6386 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6387 * gdb.cp/pr2489.cc: New file.
6388 * gdb.cp/cpcompletion.exp: New file.
6390 2009-02-02 Tom Tromey <tromey@redhat.com>
6393 * gdb.cp/call-c.exp: Add regression test.
6394 * gdb.cp/call-c.cc (FooHandle): New typedef.
6395 (main): New variable 'handle'.
6397 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6399 * lib/mi-support.exp (et_mi_thread_list)
6400 (check_mi_and_console_threads): Adjust for current thread in
6401 -thread-list-ids output.
6403 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6405 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6408 2009-01-28 Doug Evans <dje@google.com>
6410 * gdb.arch/amd64-disp-step.S: New file.
6411 * gdb.arch/amd64-disp-step.exp: New file.
6412 * gdb.arch/i386-disp-step.S: New file.
6413 * gdb.arch/i386-disp-step.exp: New file.
6415 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6417 * gdb.base/find.exp: Set newline variable
6418 using quotes instead of braces to fix cygwin failures.
6420 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6422 * gdb.base/radix.exp: Add tests to ensure that that set
6423 input-radix 0 and set output-radix 0 are really rejected.
6425 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6427 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6430 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6433 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6435 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6438 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6440 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6442 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6443 binfile definition to fix Windows OS failure.
6445 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6448 * gdb.base/interrupt.c (sigint_handler): New.
6449 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6451 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6452 Test "signal SIGINT".
6454 2009-01-19 Doug Evans <dje@google.com>
6456 * gdb.base/break.exp: Update expected gdb output.
6457 * gdb.base/sepdebug.exp: Ditto.
6458 * gdb.mi/mi-syn-frame.exp: Ditto.
6459 * gdb.mi/mi2-syn-frame.exp: Ditto.
6460 * gdb.base/call-signal-resume.exp: New file.
6461 * gdb.base/call-signals.c: New file.
6462 * gdb.base/unwindonsignal.exp: New file.
6463 * gdb.base/unwindonsignal.c: New file.
6464 * gdb.threads/interrupted-hand-call.exp: New file.
6465 * gdb.threads/interrupted-hand-call.c: New file.
6466 * gdb.threads/thread-unwindonsignal.exp: New file.
6468 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6470 * gdb.base/define.exp: Test defining and hooking prefix commands.
6471 * gdb.python/python.exp: Update test for "show user" output.
6473 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6475 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6476 now the output exactly, using less wildcards. Expect also the output
6477 of gfortran-4.3. Update for the f-valprint.c modification from
6479 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6480 Remove gdb_test test names where matching the command.
6482 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6484 PR breakpoints/9681:
6485 * gdb.base/watchpoint.exp: Add regression test.
6487 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6489 * gdb.threads/attach-into-signal.exp: Don't use
6490 gdb_suppress_entire_file.
6491 * gdb.threads/attach-stopped.exp: Ditto.
6492 * gdb.threads/attachstop-mt.exp: Ditto.
6494 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6497 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6499 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6502 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6503 and unsupported output radices are really rejected.
6505 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6507 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6509 2008-12-22 Tom Tromey <tromey@redhat.com>
6511 * gdb.cp/punctuator.exp: New file.
6513 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6515 * gdb.base/completion.exp (Completing non-existing component): New test.
6517 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6519 Fix for PR gdb/8648.
6520 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6521 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6522 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6523 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6525 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6527 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6529 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6531 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6532 compiler actually generate code at the expected line number.
6534 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6536 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6538 2008-12-12 Tom Tromey <tromey@redhat.com>
6540 * gdb.base/commands.exp (redefine_hook_test): New proc.
6543 2008-12-11 Tom Tromey <tromey@redhat.com>
6545 * gdb.base/macscp.exp: New regression test.
6547 2008-12-11 Tom Tromey <tromey@redhat.com>
6549 * gdb.base/macscp.exp: Print "address.addr".
6550 * gdb.base/macscp1.c (struct outer): New struct.
6551 (address): New global.
6553 2008-12-09 Tom Tromey <tromey@redhat.com>
6555 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6558 2008-12-04 Doug Evans <dje@google.com>
6560 * gdb.server/ext-run.exp: Relax regexp for init program.
6562 2008-12-03 Tristan Gingold <gingold@adacore.com>
6564 * gdb.base/macscp.exp: Generate an object file during compilation
6565 to work around Darwin dsymutil limitations.
6567 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6569 Test resolving external references to TLS variables.
6570 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6572 (testfile2, srcfile2): New variables.
6573 * gdb.threads/tls.c (file2_thread_local)
6574 (function_referencing_file2_thread_local): New.
6575 * gdb.threads/tls2.c: New file.
6577 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6579 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6580 rather than integer, as integer might not be big enough when
6583 2008-11-27 Jerome Guitton <guitton@adacore.com>
6585 * gdb.cp/formatted-ref.exp: Add equality test.
6586 * gdb.ada/formatted_ref.exp: Ditto.
6588 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6590 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6591 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6593 2008-11-20 Andreas Schwab <schwab@suse.de>
6595 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6596 matching syscall entry point.
6597 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6598 (tcatch_vfork_then_child_follow): Likewise. Finish through
6599 vfork even if we stopped at the syscall trampoline.
6601 2008-11-20 Doug Evans <dje@google.com>
6603 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6605 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6607 * gdb.arch/ppc-dfp.exp: New file.
6608 * gdb.arch/ppc-dfp.c: New file.
6610 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6612 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6614 2008-11-17 Doug Evans <dje@google.com>
6616 * gdb.mi/mi-syn-frame.exp: Update expected output.
6617 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6619 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6621 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6622 "thread N" results in =thread-selected.
6623 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6624 (mi_send_resuming_command_raw): Be prepared for
6627 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6629 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6630 * lib/mi-support.exp: Likewise.
6632 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6634 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6635 commands from the expected output for "help catch".
6637 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6639 * gdb.ada/int_deref.exp: New testcase.
6641 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6643 * gdb.mi/gdb2549.exp: New file.
6645 2008-11-11 Doug Evans <dje@google.com>
6647 * gdb.base/callexit.exp: New file.
6648 * gdb.base/callexit.c: New file.
6650 2008-11-10 Doug Evans <dje@google.com>
6652 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6653 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6654 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6655 (default_gdb_start,default_gdb_exit): Ditto.
6656 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6657 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6658 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6659 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6660 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6661 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6663 2008-11-03 Andreas Schwab <schwab@suse.de>
6665 * gdb.base/hashline2.exp: Fix typo.
6666 * gdb.base/hashline3.exp: Likewise.
6668 2008-10-30 Tom Tromey <tromey@redhat.com>
6670 * gdb.base/pointers.exp: Add test.
6671 * gdb.base/pointers.c (k, S): New typedefs.
6672 (instance): New global.
6674 2008-10-30 Andreas Schwab <schwab@suse.de>
6676 * gdb.base/args.exp: Add tests for newlines.
6678 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6680 gdb.base/foll-exec.exp: Update the expected output of a couple
6681 of "info breakpoints" tests.
6683 2008-10-28 Tom Tromey <tromey@redhat.com>
6685 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6687 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6689 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6691 Use runto_main before any test that requires execution.
6693 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6695 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6698 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6700 * gdb.base/completion.exp: Update expected output following
6701 the addition of the "info tasks" command.
6703 2008-10-22 Tom Tromey <tromey@redhat.com>
6705 * gdb.base/exprs.exp (test_expr): Add test for string
6708 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6710 * configure.ac: Output gdb.python/Makefile.
6711 * configure: Regenerate.
6712 * gdb.python/Makefile.in: New.
6714 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6716 * gdb.base/foll-fork.exp: Adjust the expected output to match
6717 the new description for fork/vfork catchpoints in the "info
6718 breakpoints" output.
6720 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6722 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6724 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6726 * gdb.python/python-value.c: New file.
6727 * gdb.python/python-value.exp: New file.
6729 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6731 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6733 2008-10-15 Denis Pilat <denis.pilat@st.com>
6735 * gdb.cp/mb-ctor.exp: Fix a typo.
6737 2008-10-09 Tom Tromey <tromey@redhat.com>
6739 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6740 'fprintf' and 'stderr'.
6742 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6744 * gdb.ada/ref_tick_size.exp: New testcase.
6746 2008-10-06 Doug Evans <dje@google.com>
6748 * gdb.dwarf2/dw2-cu-size.exp: New file.
6749 * gdb.dwarf2/dw2-cu-size.S: New file.
6751 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6752 .Ltype_int for clarity.
6754 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6757 * gdb.cp/gdb2384.exp: Extended to test more cases.
6758 * gdb.cp/gdb2384.cc: Likewise.
6759 * gdb.cp/gdb2384-base.h: Likewise.
6760 * gdb.cp/gdb2384-base.cc: Likewise.
6762 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6764 * gdb.base/maint.exp (maint print type): Remove printing
6765 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6767 2008-09-30 Tom Tromey <tromey@redhat.com>
6769 * gdb.base/macscp.exp: Add completion tests.
6770 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6771 (TWENTY_THREE): Likewise.
6772 (FORTY_EIGHT): Likewise.
6774 2008-09-30 Tom Tromey <tromey@redhat.com>
6776 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6778 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6780 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6782 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6783 testcase is derived from. Fix racy dependency on an expected PID
6784 number. No longer support the testcase on Linux kernel 2.4.x.
6786 2008-09-27 Tom Tromey <tromey@redhat.com>
6788 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6791 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6793 * lib/mi-support.exp (mi_expect_interrupt): New.
6794 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6795 from gdb.mi/mi-nonstop.exp.
6796 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6797 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6799 Use mi_check_thread_states throughout. Avoid ".*" and do not
6800 require an anchor after -exec-run.
6802 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6804 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6805 stop is pending. Avoid ".*" when two stops are pending.
6806 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6807 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6808 newlines in fullnames.
6809 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6810 (mi_expect_stop): Update comments. Only anchor in sync mode.
6811 Do not match newlines.
6812 (mi_send_resuming_command_raw): Always return status.
6813 (mi_get_stop_line): Do not match more than one line by accident.
6814 Only anchor in sync mode.
6815 (mi_run_inline_test): If -exec-next fails, give up.
6817 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6819 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6822 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6824 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6826 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6828 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6829 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6830 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6831 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6832 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6833 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6834 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6835 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6836 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6837 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6838 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6839 Include the "= " sequence in the expected output of print tests.
6841 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6843 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6844 description for boolean types.
6846 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6848 * gdb.base/hook-stop-continue.c: New.
6849 * gdb.base/hook-stop-continue.exp: New.
6851 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6853 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6855 2008-09-08 Jerome Guitton <guitton@adacore.com>
6857 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6858 (stack_check_probe_2, stack_check_probe_loop_1)
6859 (stack_check_probe_loop_2): New functions.
6860 (main): Add call to these new functions.
6861 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6862 functions, check that the breakpoint is inserted at the appropriate
6864 (insert_breakpoint): Slightly refine this procedure so that it can
6865 be called several times in the test.
6867 2008-09-08 Jerome Guitton <guitton@adacore.com>
6869 * gdb.base/stack-checking.c: New file.
6870 * gdb.base/stack-checking.exp: New file.
6872 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6874 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6875 * gdb.arch/altivec-regs.exp: Likewise.
6876 * gdb.arch/vsx-regs.exp: Likewise.
6878 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6880 * gdb.arch/ppc-fp.exp: New file.
6881 * gdb.arch/ppc-fp.c: New file.
6883 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6885 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6886 lest gcc-4.3.1 optimizes the whole thing away.
6888 2008-09-04 Michael Snyder <msnyder@vmware.com>
6890 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6891 as "at" (for non-debug functions such as _start).
6893 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6895 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6896 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6897 software watchpoints.
6898 * gdb.base/watch_thread_num.exp: Likewise.
6900 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6902 * gdb.arch/i386-bp_permanent.exp: New test.
6904 2008-08-24 Tom Tromey <tromey@redhat.com>
6906 * gdb.base/maint.exp: Update "maint print type".
6908 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6910 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6911 support. Adjust the order of "*running" notifications.
6912 * gdb.mi/non-stop.c: Don't cast from int to void* and
6915 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6917 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6918 expect to find it in the "info frame" output.
6920 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6922 * gdb.base/interp.exp: Always consume both prompts.
6924 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6926 * gdb.base/pending.exp: Test pending breakpoints without symbols
6929 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6931 * lib/mi-support.exp (mi_expect_stop): Produce
6932 more details on failures.
6933 * gdb.mi/mi-nonstop.exp: New.
6934 * gdb.mi/non-stop.c: New.
6936 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6938 * gdb.mi/mi-async.exp: Use 'set target-async'.
6939 * lib/mi-support.exp: Use 'set/show target-async'.
6941 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6943 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6945 2008-08-17 Tom Tromey <tromey@redhat.com>
6947 * gdb.base/help.exp (help catch): Rewrite.
6949 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6951 * gdb.base/define.exp: Test indented command documentation.
6952 * gdb.python/python.exp: Test indented multi-line command.
6954 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6956 * testsuite/gdb.arch/vsx-regs.c: New source file.
6957 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6958 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6960 2008-08-14 Tom Tromey <tromey@redhat.com>
6962 * gdb.base/macscp.exp: Add regression test for "macro define" or
6963 "macro undef" with no arguments.
6965 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6967 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6969 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6971 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6973 2008-08-06 Tom Tromey <tromey@redhat.com>
6975 * gdb.python/python.exp: New file.
6977 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6979 Fix for PR gdb/1543.
6980 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6982 (location): New variable.
6983 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6984 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6985 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6986 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6987 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6988 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6989 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6990 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6991 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6992 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6993 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6994 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6995 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6996 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6997 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6998 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6999 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7000 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7001 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7002 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7003 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7004 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7005 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7006 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7007 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7008 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7009 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7010 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7011 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7012 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7013 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7014 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7015 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7016 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7017 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7018 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7019 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7020 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7021 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7022 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7023 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7024 gdb.base/type-opaque.exp, gdb.base/until.exp,
7025 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7026 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7027 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7028 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7029 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7030 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7031 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7032 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7033 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7034 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7035 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7036 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7037 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7038 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7039 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7040 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7041 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7042 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7043 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7044 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7045 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7046 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7047 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7048 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7049 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7050 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7051 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7052 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7053 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7054 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7055 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7056 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7057 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7058 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7059 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7060 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7061 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7062 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7063 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7064 to bug-gdb@prep.ai.mit.edu .
7066 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7068 * lib/mi-support.exp (mi_load_shlibs): New.
7069 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7071 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7073 * lib/mi-support.exp (get_mi_thread_list)
7074 (check_mi_and_console_threads): New, moved from ...
7075 * gdb.mi/mi-pthread.exp: ...here.
7076 * gdb.mi/gdb669.exp (get_mi_thread_list)
7077 (check_mi_and_console_threads): Delete.
7078 * gdb.mi/mi2-pthread.exp: Likewise.
7080 2008-07-28 Tom Tromey <tromey@redhat.com>
7082 * Makefile.in (just-check): Remove. Move body to...
7085 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7087 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7088 Add a test for duplicated SIGINTs.
7090 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7092 * gdb.threads/schedlock.exp (get_args): Update to work for any
7094 (Top level): Report the number of threads that did not resume.
7096 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7098 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7100 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7102 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7105 2008-07-26 Tom Tromey <tromey@redhat.com>
7107 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7108 (function_struct, function_struct_ptr): New globals.
7109 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7110 function pointer in a struct.
7112 2008-07-26 Tom Tromey <tromey@redhat.com>
7114 * gdb.base/macscp.exp: Add test for macro lexing bug.
7116 2008-07-18 Tom Tromey <tromey@redhat.com>
7118 * gdb.base/macscp.exp: Add macro tests.
7120 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7122 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7124 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7126 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7128 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7130 * gdb.cp/class2.exp: fix for failure on spu-elf
7132 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7134 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7136 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7138 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7140 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7142 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7144 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7146 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7147 of regexp to account for changes made to GDB in the printing of
7150 2008-07-11 Tom Tromey <tromey@redhat.com>
7152 * gdb.base/completion.exp: Add 'help' completion test.
7154 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7156 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7158 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7160 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7162 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7164 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7166 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7168 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7170 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7172 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7174 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7176 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7177 previous commit. Add a comment.
7179 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7181 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7183 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7185 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7187 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7189 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7190 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7191 compiling an executable, link in an object that forces unbuffered
7193 * lib/set_unbuffered_mode.c: New file.
7195 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7197 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7199 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7201 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7203 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7204 Demand that *running is output.
7205 (detect_async): Perform checking every time.
7206 (mi_send_resuming_command): Extract everything into...
7207 (mi_send_resuming_command_raw): ...this.
7208 (mi_expect_stop): Don't accept any output before *stopped.
7210 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7212 Robustify mi-simplerun.
7213 * gdb.mi/basics.c (main): Add a call to sleep.
7214 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7215 * gdb.mi/mi2-cli.exp: Likewise.
7216 * gdb.mi/mi-break.exp: Likewise.
7218 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7220 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7222 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7224 * gdb.mi/mi-console.exp: Adjust.
7225 * gdb.mi/mi-syn-frame.exp: Adjust.
7226 * gdb.mi/mi2-console.exp: Adjust.
7227 * gdb.mi/mi2-syn-frame.exp: Adjust.
7228 * lib/mi-support.exp (mi_run_cmd): Adjust.
7229 (mi_send_resuming_command): Adjust.
7231 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7233 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7234 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7236 * gdb.mi/mi2-syn-frame.exp: Likewise.
7237 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7238 (async, detect_async): New.
7239 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7240 depending on if we're running in sync or async mode.
7242 2008-06-09 Tom Tromey <tromey@redhat.com>
7244 * gdb.base/completion.exp: New tests for field name completion
7245 with spaces, and field name completion with '->'.
7247 2008-06-06 Tom Tromey <tromey@redhat.com>
7249 * gdb.base/break1.c (struct some_struct): New struct.
7250 (values): New global.
7251 * gdb.base/completion.exp: Add field name completion test.
7253 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7255 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7257 * gdb.cp/call-c.cc: Likewise.
7259 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7261 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7264 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7265 Pedro Alves <pedro@codesourcery.com>
7267 * gdb.threads/execl.c, gdb.threads/execl1.c,
7268 gdb.threads/execl.exp: New tests.
7270 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7271 Daniel Jacobowitz <dan@codesourcery.com>
7273 * gdb.cp/exception.exp: Activate test, make it work with pending
7276 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7278 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7280 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7282 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7284 * gdb.mi/mi2-var-cmd.exp: Likewise.
7286 2008-05-27 Andreas Schwab <schwab@suse.de>
7288 * gdb.base/frame-args.exp: Handle arguments that are optimized
7291 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7293 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7294 quiet for ppc32 and group options into a single variable.
7296 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7298 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7299 of zero-size elements.
7300 * gdb.ada/null_array.exp: Test printing this new array.
7302 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7304 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7306 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7308 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7309 of the "finish" command.
7311 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7313 * gdb.base/annota1.exp: Test for new annotation.
7315 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7317 * gdb.base/fixsection.exp: New file.
7318 * gdb.base/fixsection0.c: New file.
7319 * gdb.base/fixsection1.c: New file.
7321 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7323 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7324 * gdb.base/annota3.exp: Likewise.
7326 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7328 * gdb.base/watch_thread_num.exp: Don't run tests that require
7329 watchpoints if the target doesn't support them.
7331 2008-05-12 Doug Evans <dje@google.com>
7333 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7335 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7337 * gdb.ada/assign_1.exp: New testcase.
7339 2008-05-09 Doug Evans <dje@google.com>
7341 * gdb.base/find.exp: New file.
7342 * gdb.base/find.c: New file.
7344 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7346 * gdb.base/commands.exp (watchpoint_command_test): Handle
7347 gdb,no_hardware_watchpoints.
7348 * gdb.base/float.exp: Allow ARM targets without floating point.
7349 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7351 2008-05-06 Jerome Guitton <guitton@adacore.com>
7352 Joel Brobecker <brobecker@adacore.com>
7354 * gdb.ada/lang_switch: New test program.
7355 * gdb.ada/lang_switch.exp: New testcase.
7357 2008-05-05 Doug Evans <dje@google.com>
7359 * gdb.base/help.exp (disassemble): Update expected help text.
7361 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7363 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7365 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7367 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7370 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7372 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7373 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7374 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7375 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7377 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7379 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7380 notification to appear.
7382 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7384 * gdb.base/fullname.c: New file.
7385 * gdb.base/fullname.exp: New file.
7386 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7388 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7390 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7391 expressions with macros.
7393 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7395 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7397 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7399 * gdb.base/completion.exp: Handle lack of other symbols beginning
7402 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7404 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7406 * gdb.asm/asmsrc1.s: Add scratch space.
7408 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7409 Daniel Jacobowitz <dan@codesourcery.com>
7411 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7412 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7413 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7415 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7417 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7419 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7421 * gdb.base/info-target.exp: New testcase.
7423 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7425 * gdb.cp/hang.exp: Use .cc instead of .C.
7426 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7427 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7429 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7431 * gdb.base/gdb1250.exp: Remove perror.
7432 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7434 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7436 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7439 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7441 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7444 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7446 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7448 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7450 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7451 * gdb.mi/mi2-syn-frame.exp: Likewise.
7452 * lib/mi-support.exp: Likewise.
7454 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7456 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7457 to specify regexp for the location to stop at.
7458 * gdb.base/break-always.c: New.
7459 * gdb.base/break-always.exp: New.
7461 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7463 * lib/mi-support.exp (mi_runto_helper): Adjust
7464 for the original-location field.
7465 (mi_create_breakpoint, mi_list_breakpoints): New.
7466 * gdb.mi/mi-break.exp: Adjust.
7467 * gdb.mi/mi2-break.exp: Adjust.
7468 * gdb.mi/mi-pending.exp: Adjust.
7469 * gdb.mi/mi-simplerun.exp: Adjust.
7470 * gdb.mi/mi2-simplerun.exp: Adjust.
7471 * gdb.mi/mi-syn-frame.exp: Adjust.
7472 * gdb.mi/mi2-syn-frame.exp: Adjust.
7473 * gdb.mi/mi-until.exp: Adjust.
7474 * gdb.mi/mi2-until.exp: Adjust.
7475 * gdb.mi/mi-var-display.exp: Adjust.
7476 * gdb.mi/mi2-var-display.exp: Adjust.
7477 * gdb.mi/mi-watch.exp: Adjust.
7478 * gdb.mi/mi2-watch.exp: Adjust.
7480 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7482 * aclocal.m4: Add override.m4.
7483 * configure: Regenerate.
7485 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7487 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7488 '-var-update --all-values' reports new value even the type
7489 of a variable object has changed.
7491 2008-04-18 Craig Silverstein <csilvers@google.com>
7493 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7496 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7498 * gdb.ada/atomic_enum: New test program.
7499 * gdb.ada/atomic_enum.exp: New testcase.
7501 2008-04-17 Doug Evans <dje@google.com>
7503 * gdb.opt/Makefile.in: Fix whitespace.
7505 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7507 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7509 2008-04-17 Doug Evans <dje@google.com>
7511 * gdb.base/hashline1.exp: New testcase.
7512 * gdb.base/hashline2.exp: New testcase.
7513 * gdb.base/hashline2.exp: New testcase.
7515 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7517 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7519 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7521 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7522 temporary breakpoint to match "Temporary breakpoint".
7523 * gdb.base/break.exp (delete_breakpoints): Likewise.
7524 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7525 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7526 * gdb.base/display.exp: Likewise.
7527 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7528 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7529 * gdb.base/restore.exp (restore_tests): Likewise.
7530 * gdb.base/sepdebug.exp: Likewise.
7531 * gdb.base/watchpoint.exp: Likewise.
7532 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7533 * gdb.mi/mi-pending.exp: Likewise.
7534 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7535 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7536 * gdb.mi/mi-var-cmd.exp: Likewise.
7537 * gdb.mi/mi-var-display.exp: Likewise.
7538 * gdb.mi/mi2-cli.exp: Likewise.
7539 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7540 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7541 * gdb.mi/mi2-var-display.exp: Likewise.
7542 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7543 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7545 (mi_expect_stop): Move after_reason argument to be really after
7546 reason. This is to support fix for PR2424.
7548 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7550 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7552 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7554 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7555 field. Add more floating varobj tests.
7556 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7558 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7559 (main): Call do_at_tests.
7560 * lib/mi-support.exp (mi_create_floating_varobj)
7561 (mi_varobj_update_with_type_change): New.
7563 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7565 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7566 option of -var-evaluate-expression.
7567 * gdb.mi/mi2-var-display.exp: Likewise.
7569 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7571 Introduce test setup helpers.
7572 * lib/gdb.exp (build_executable, clean_restart)
7573 (prepare_for_testing): New.
7574 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7575 * gdb.base/return.exp: Likewise.
7576 * gdb.base/ending-run.exp: Likewise.
7578 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7580 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7581 Interface (MI) responses.
7583 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7585 * gdb.cp/breakpoint.cc: New code to test conditions involving
7587 * gdb.cp/breakpoint.exp: Test condition involving member
7590 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7592 * lib/mi-support.exp (mi_expect_stop): New.
7593 (mi_run_cmd): Change the
7594 token. Use mi_send_resuming_command, use
7596 (mi_execute_to_helper): Rename to mi_execute_to.
7597 (mi_send_resuming_command): Add more error patterns.
7598 (mi_wait_for_stop): Renamed to...
7599 (mi_get_stop_line): ...this.
7600 (mi_run_inline_test): Adjust.
7602 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7603 * gdb.mi/mi-console.exp: Likewise.
7604 * gdb.mi/mi-pending.exp: Likewise.
7605 * gdb.mi/mi-simplerun.exp: Likewise.
7606 * gdb.mi/mi-stack.exp: Likewise.
7607 * gdb.mi/mi-stepi.exp: Likewise.
7608 * gdb.mi/mi-syn-frame.exp: Add comment.
7609 * gdb.mi/mi-until.exp: Likewise.
7610 * gdb.mi/mi-var-display.exp: Likewise.
7611 * gdb.mi/mi-watch.exp: Likewise.
7612 * gdb.mi/mi2-cli.exp: Likewise.
7613 * gdb.mi/mi2-console.exp: Likewise.
7614 * gdb.mi/mi2-simplerun.exp: Likewise.
7615 * gdb.mi/mi2-stack.exp: Likewise.
7616 * gdb.mi/mi2-stepi.exp: Likewise.
7617 * gdb.mi/mi2-until.exp: Likewise.
7618 * gdb.mi/mi2-var-display.exp: Likewise.
7619 * gdb.mi/mi2-watch.exp: Likewise.
7621 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7623 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7625 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7627 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7629 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7630 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7631 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7632 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7633 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7634 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7635 expect an mi error duplicated in stderr.
7637 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7639 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7640 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7641 Add a couple of tests that verify the behavior when the new setting
7642 is set to "cancel" and "all".
7643 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7644 "ask" before we start the testing.
7646 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7648 * gdb.cp/casts.cc: Add class reference variables.
7649 * gdb.cp/casts.exp: New test cases for up/down casting references.
7651 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7653 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7654 instead of beginning to make an extra test pass.
7655 * gdb.mi/mi2-var-display.exp: Likewise.
7657 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7659 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7661 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7662 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7664 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7665 value. Add xfail for older kernels.
7667 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7669 Bring mi-support in line with gdb.exp.
7670 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7671 (mi_gdb_start): New function.
7673 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7675 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7677 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7679 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7680 * gdb.mi/mi2-var-display.exp: Likewise.
7682 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7684 * lib/mi-support.exp (mi_create_varobj_checked): New.
7685 (mi_list_varobj_children): Allow to check for a
7687 (mi_list_array_varobj_children): New.
7689 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7690 and mi_list_varobj_children, as opposed to hardcoding
7692 * gdb.mi/gdb701.exp: Likewise.
7693 * gdb.mi/gdb792.exp: Likewise.
7694 * gdb.mi/mi-var-block.exp: Likewise.
7695 * gdb.mi/mi-var-cmd.exp: Likewise.
7696 * gdb.mi/mi-var-invalidate.exp: Likewise.
7697 * gdb.mi/mi2-var-block.exp: Likewise.
7698 * gdb.mi/mi2-var-child.exp: Likewise.
7699 * gdb.mi/mi2-var-cmd.exp: Likewise.
7700 * gdb.mi/mi2-var-display.exp: Likewise.
7702 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7704 Fix random false FAILs on i386.
7705 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7707 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7710 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7712 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7715 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7717 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7719 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7722 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7724 * gdb.threads/fork-child-threads.exp: Test next over fork.
7726 2008-03-21 Chris Demetriou <cgd@google.com>
7728 * gdb.base/break.exp (rbreak junk): New test for rbreak
7729 "Junk at end of arguments" issue.
7731 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7733 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7734 *& to work on created array elements.
7735 (Top level): Test print $pc with a file. Test string operations
7737 * gdb.base/ptype.exp: Do not expect *& to work on created array
7740 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7742 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7743 gdb.threads/staticthreads.exp: Update exit query.
7745 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7747 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7749 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7751 * gdb.base/watchpoint.c (global_ptr, func4): New.
7753 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7754 (test_inaccessible_watchpoint): New.
7756 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7758 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7761 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7763 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7764 frames-invalid annotations.
7766 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7768 * gdb.base/assign.exp: avoid same output for different tests.
7770 2008-02-27 Doug Evans <dje@google.com>
7772 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7774 (breakpoint_to_handler_entry): Ditto.
7776 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7778 * gdb.base/ending-run.exp: Use the first line of code inside
7779 function body to test breakpoints.
7780 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7781 location where the breakpoint is inserted when using the line
7782 where a function is declared. Fix typo in the description of
7784 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7786 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7788 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7791 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7793 * gdb.base/args.exp: avoid same output for tests
7796 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7798 * gdb.base/annota1.exp: Adjust for 'info break'
7800 * gdb.base/annota3.exp: Likewise.
7801 * gdb.base/break.exp: Likewise.
7802 * gdb.base/condbreak.exp: Likewise.
7803 * gdb.base/pending.exp: Likewise.
7804 * gdb.base/sepdebug.exp: Likewise.
7805 * gdb.base/unload.exp: Likewise.
7806 * gdb.cp/ovldbreak.exp: Likewise.
7807 * gdb.mi/mi-pending.exp: Likewise.
7809 2008-02-07 Doug Evans <dje@google.com>
7811 * gdb.cp/mb-inline.exp: New.
7812 * gdb.cp/mb-inline.h: New.
7813 * gdb.cp/mb-inline1.cc: New.
7814 * gdb.cp/mb-inline2.cc: New.
7816 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7818 * gdb.pascal/floats.pas: New test program.
7819 * gdb.pascal/floats.exp: New testcase.
7821 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7823 * gdb.base/callfuncs.c (t_float_many_args): New function.
7824 (t_double_many_args): New function.
7825 * gdb.base/callfuncs.exp: Add tests for exceeding float
7826 and double parameters passed through the stack.
7828 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7830 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7831 gdb.ada/complete/foo.adb: New files.
7832 * gdb.ada/complete.exp: New testcase.
7834 2008-02-03 Doug Evans <dje@google.com>
7836 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7838 * gdb.cp/gdb2384.exp: New file.
7839 * gdb.cp/gdb2384.cc: New file.
7840 * gdb.cp/gdb2384-base.h: New file.
7841 * gdb.cp/gdb2384-base.cc: New file.
7843 2008-02-02 Doug Evans <dje@google.com>
7845 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7847 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7849 * gdb.ada/sym_print_name: New test program.
7850 * gdb.ada/sym_print_name.exp: New testcase.
7852 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7854 * gdb.ada/nested/hello.adb: New file.
7855 * gdb.ada/nested.exp: New testcase.
7856 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7858 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7860 * gdb.mi/basic.c (return_1): New function.
7861 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7862 don't cause future evaluations of function to report
7863 creation of internal breakpoints.
7865 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7867 * gdb.mi/mi-break.exp (test_error): New.
7870 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7872 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7873 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7875 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7877 * gdb.pascal/integers.pas: New test program.
7878 * gdb.pascal/integers.exp: New testcase.
7880 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7882 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7884 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7886 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7887 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7889 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7891 * gdb.ada/formatted_ref: New test program.
7892 * gdb.ada/formatted_ref.exp: New testcase.
7894 * gdb.cp/formatted-ref.cc: New file.
7895 * gdb.cp/formatted-ref.exp: New testcase.
7897 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7899 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7901 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7903 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7904 (test_file_list_exec_source_file): Update to new macro-info field.
7906 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7908 * gdb.ada/exprs: New test program.
7909 * gdb.ada/exprs.exp: New testcase.
7911 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7913 * dfp-test.c (DELTA, DELTA_B): New definitions.
7914 (double_val1, double_val2, double_val3, double_val4, double_val5,
7915 double_val6, double_val7, double_val8, double_val9, double_val10,
7916 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7917 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7918 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7919 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7920 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7921 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7922 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7923 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7924 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7925 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7926 dec128_val16): New global variables.
7927 (decimal_dec128_align): New function.
7928 (decimal_mixed): Likewise.
7929 (decimal_many_args_dec32): Likewise.
7930 (decimal_many_args_dec64): Likewise.
7931 (decimal_many_args_dec128): Likewise.
7932 (decimal_many_args_mixed): Likewise.
7933 * dfp-test.exp: Add tests calling new inferior functions.
7935 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7937 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7938 gdb.server/ext-run.exp: New files.
7939 * lib/gdbserver-support.exp (gdbserver_download): New.
7940 (gdbserver_start): New. Update gdbserver expected
7942 (gdbserver_spawn): Use them.
7943 (gdbserver_start_extended): New.
7945 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7947 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7949 (do_exec_tests): Check for systems which do not support catchpoints.
7951 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7952 Run on GNU/Linux. Enable verbose output.
7953 (check_fork_catchpoints): New.
7954 (explicit_fork_child_follow, catch_fork_child_follow)
7955 (tcatch_fork_parent_follow): Update expected messages.
7956 (do_fork_tests): Use check_fork_catchpoints.
7957 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7958 Run on GNU/Linux. Enable verbose output.
7959 (check_vfork_catchpoints): New.
7960 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7962 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7964 2008-01-29 Jim Blandy <jimb@red-bean.com>
7966 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7968 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7970 2008-01-29 Jim Blandy <jimb@red-bean.com>
7972 * gdb.threads/sigthread.c: Use barriers to ensure that
7973 child_thread and child_thread_two are always initialized before we
7976 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7978 * gdb.base/watchpoint-solib.exp: New.
7979 * gdb.base/watchpoint-solib.c: New.
7980 * gdb.base/watchpoint-solib-shr.c: New.
7982 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7984 * gdb.base/gdb1056.exp: Add unsigned integer test.
7986 2008-01-28 Doug Evans <dje@google.com>
7988 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7990 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7992 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7994 * gdb.base/expand-psymtabs.exp: Doc fix.
7996 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7998 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8000 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8002 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8005 2008-01-23 Chris Demetriou <cgd@google.com>
8007 * gdb.threads/thread_events.c: New testcase source file.
8008 * gdb.threads/thread_events.exp: New testcase expect file.
8010 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8012 * lib/gdb.exp: Add the variable octal.
8014 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8017 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8018 Vladimir Prus <vladimir@codesourcery.com>
8020 * gdb.base/float.exp: Allow missing floating point for m68k and
8023 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8025 * gdb.mi/basics.c: Setup for testing breakpoints
8027 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8028 * gdb.mi/mi-cli.exp: Adjust.
8029 * gdb.mi/mi2-cli.exp: Adjust.
8031 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8033 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8034 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8035 with dummy_ptr's address.
8036 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8037 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8039 * gdb.mi/mi2-var-child.exp: Likewise.
8041 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8043 * gdb.ada/null_array: New test program.
8044 * gdb.ada/null_array.exp: New testcase.
8046 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8048 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8049 with required float modifiers.
8051 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8053 * gdb.ada/funcall_param: New test program.
8054 * gdb.ada/funcall_param.exp: New testcase.
8056 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8058 * gdb.ada/arrayparam: New test program.
8059 * gdb.ada/arrayparam.exp: New testcase.
8061 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8063 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8064 landed. Should also fix random failures in the test following it.
8066 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8068 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8069 for expressions with decimal float values.
8070 (test_dfp_conversions): New function to test casts to and from
8071 decimal float types.
8072 Call test_dfp_conversions.
8073 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8075 (main): Initialize ds.float4 and ds.double8 elements.
8076 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8077 string to new error message.
8078 (d64_set_tests): Likewise.
8079 (d128_set_tests): Likewise.
8080 Add tests for expressions with decimal float variables. Add tests for
8081 conversions to and from decimal float types.
8083 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8085 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8086 * gdb.ada/packed_tagged.exp: New testcase.
8088 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8090 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8091 gdb.ada/homonym/homonym_main.adb: New files.
8092 * gdb.ada/homonym.exp: New testcase.
8094 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8096 * gdb.ada/packed_array.exp: Add testing of references to
8099 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8101 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8103 * gdb.ada/type_coercion.exp: New testcase.
8105 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8107 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8108 gdb.ada/tagged/foo.adb: New file.
8109 * gdb.ada/tagged.exp: New testcase.
8111 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8113 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8114 gdb.ada/ptype_field/foo.adb: New files.
8115 * gdb.ada/ptype_field.exp: New testcase.
8117 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8119 * gdb.ada/print_pc.exp: New testcase.
8121 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8123 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8124 gdb.ada/taft_type/p.adb: New files.
8125 * gdb.ada/taft_type.exp: New testcase.
8127 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8129 * gdb.ada/array_bounds/bar.adb: New file.
8130 * gdb.ada/array_bounds.exp: New testcase.
8132 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8134 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8135 gdb.ada/arrayptr/foo.adb: New files.
8136 * gdb.ada/arrayptr.exp: New testcase.
8138 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8140 * gdb.base/set-lang-auto.exp: New testcase.
8142 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8144 * gdb.ada/fun_addr/foo.adb: New file.
8145 * gdb.ada/fun_addr.exp: New testcase.
8147 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8149 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8152 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8154 * array_subscript_addr/p.adb: New file.
8155 * array_subscript_addr.exp: New testcase.
8157 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8159 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8161 * gdb.ada/str_cmp_ref.exp: New testcase.
8163 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8165 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8166 gdb.ada/fun_in_declare/foo.adb: New files.
8167 * gdb.ada/fun_in_declare.exp: New testcase.
8169 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8171 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8172 gdb.ada/ref_param/pck.ads: New files.
8173 * gdb.ada/ref_param.exp: New testcase.
8175 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8177 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8178 gdb.ada/interface/foo.adb: New files.
8179 * gdb.ada/interface.exp: New testcase.
8181 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8183 * gdb.base/multi-forks.exp: Consume all output from child
8184 processes before proceeding to next test.
8186 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8188 * configure: Regenerated.
8190 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8192 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8193 gdb.ada/fixed_cmp/fixed.adb: New files.
8194 * gdb.ada/fixed_cmp.exp: New testcase.
8196 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8198 * gdb.ada/boolean_expr.exp: New testcase.
8200 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8202 * gdb.base/multi-forks.exp: Doc fix.
8204 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8206 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8207 * gdb.ada/char_param.exp: Do not compile our test program with
8208 -gnata, this is unnecessary.
8209 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8211 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8213 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8214 gdb.ada/print_chars/foo.adb: New files.
8215 * gdb.ada/print_chars.exp: New testcase.
8217 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8219 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8220 gdb.ada/char_param/foo.adb: New files.
8221 * gdb.ada/char_param.exp: New testcase.
8223 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8225 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8226 hard-coding source line numbers into the test.
8227 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8228 gdb_get_line_number to find.
8230 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8232 * gdb.base/ptype.c (highest): New struct type.
8233 (the_highest): New variable of that type.
8234 (main): Add dummy assignment to a field of variable the_highest.
8235 * gdb.base/ptype.exp: Test type printing of our new variable.
8237 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8239 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8240 and record first explicitly generated thread number.
8241 Use that thread number for thread specific watchpoint test.
8242 Add iteration number to repetitive tests.
8244 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8245 Jim Blandy <jimb@codesourcery.com>
8247 * gdb.base/expand-psymtabs.c: New testcase
8249 * gdb.base/expand-psymtabs.exp: New testcase
8252 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8254 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8255 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8257 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8259 * gdb.ada/frame_args/foo.adb: New file.
8260 * gdb.ada/frame_args/pck.ads: New file.
8261 * gdb.ada/frame_args/pck.adb: New file.
8262 * gdb.ada/frame_args.exp: New testcase.
8264 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8266 * gdb.base/frame-args.c: New file.
8267 * gdb.base/frame-args.exp: New testcase.
8269 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8270 Joseph Myers <joseph@codesourcery.com>
8272 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8274 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8276 * gdb.mi/mi-pending.exp: New.
8277 * gdb.mi/mi-pending.c: New.
8278 * gdb.mi/mi-pendshr.c: New.
8280 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8282 * gdb.base/default.exp: Update expected output for 'info catch'.
8284 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8286 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8287 must be set to binary.
8289 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8291 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8293 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8295 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8296 gdb.mi/mi-file-transfer.exp: New.
8298 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8300 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8302 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8304 * gdb.trace/backtrace.exp: Fix a typo.
8305 * gdb.trace/circ.exp: Likewise.
8306 * gdb.trace/collection.exp: Likewise.
8307 * gdb.trace/limits.exp: Likewise.
8308 * gdb.trace/report.exp: Likewise.
8309 * gdb.trace/tfind.exp: Likewise.
8310 * gdb.trace/while-dyn.exp: Likewise.
8312 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8314 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8315 objects of pointers that can't be dereferenced are now
8318 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8320 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8321 (target_cpu): Remove.
8323 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8325 * gdb.base/ending-run.exp: Expect the list of cleared
8326 breakpoint to come in natural order, not the reversed one.
8328 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8330 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8331 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8333 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8335 * gdb.base/printcmds.exp: New function
8336 test_printf_with_dfp.
8338 2007-11-02 Doug Evans <dje@google.com>
8340 * gdb.disasm/t01_mov.s: Remove carriage returns.
8341 * gdb.disasm/t02_mova.s: Ditto.
8342 * gdb.disasm/t03_add.s: Ditto.
8343 * gdb.disasm/t04_sub.s: Ditto.
8344 * gdb.disasm/t05_cmp.s: Ditto.
8345 * gdb.disasm/t06_ari2.s: Ditto.
8346 * gdb.disasm/t07_ari3.s: Ditto.
8347 * gdb.disasm/t08_or.s: Ditto.
8348 * gdb.disasm/t09_xor.s: Ditto.
8349 * gdb.disasm/t10_and.s: Ditto.
8350 * gdb.disasm/t11_logs.s: Ditto.
8351 * gdb.disasm/t12_bit.s: Ditto.
8352 * gdb.disasm/t13_otr.s: Ditto.
8354 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8356 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8358 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8360 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8361 provide DFP support.
8363 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8365 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8366 Test "set powerpc vector-abi". Skip auto-detection tests for old
8369 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8371 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8372 with [string compare].
8374 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8376 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8377 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8379 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8381 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8382 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8383 * gdb.opt/Makefile.in: New makefile.
8384 * Makefile.in: Create new directory "gdb.opt".
8385 * configure.ac: Add "gdb.opt" directory.
8386 * configure: Regenerated.
8388 2007-10-25 Doug Evans <dje@google.com>
8390 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8391 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8393 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8394 Thiago Jung Bauermann <bauerman@br.ibm.com>
8396 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8397 Floating Point expressions.
8398 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8399 Floating Point variables.
8400 * gdb.base/dfp-test.c: new file containing program with Decimal
8401 Floating variables, used by gdb.base/dfp-test.exp.
8403 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8405 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8407 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8409 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8410 compiling test case with GCC.
8411 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8413 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8415 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8418 2007-10-18 Michael Snyder <msnyder@specifix.com>
8420 * gdb.base/dbx.exp: Add missing "-re " operator.
8422 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8424 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8425 * configure.ac: Removed trailing spaces after backslash.
8426 * gdb.modula2: New directory.
8427 * gdb.modula2/Makefile.in: New file.
8428 * gdb.modula2/unbounded-array.exp: New file.
8429 * gdb.modula2/unbounded1.c: New file.
8431 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8433 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8435 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8437 * gdb.base/sigstep.c (main): Add checks for
8438 return values for setitimer call.
8439 Call setitimer again with itimer = ITIMER_REAL
8440 if first call to setitimer fails.
8442 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8444 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8447 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8449 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8451 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8453 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8454 of gdb_expect call, to avoid interruption.
8456 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8458 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8459 (v_unsigned_long_long, v_long_long_array)
8460 (v_signed_long_long_array, v_unsigned_long_long_array)
8461 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8462 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8463 [!NO_LONG_LONG]: New.
8464 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8467 (v_long_long_func, v_signed_long_long_func)
8468 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8469 (main) [!NO_LONG_LONG]: Initialize long long variants.
8471 * gdb.base/whatis.exp: If board file requests no_long_long, build
8472 test with NO_LONG_LONG defined. Test long long, signed long long,
8473 and unsigned long long variants but only if board file doesn't
8476 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8477 Daniel Jacobowitz <dan@codesourcery.com>
8479 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8480 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8481 * configure: Regenerated.
8482 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8483 gdb.pascal/types.exp, lib/pascal.exp: New files.
8485 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8487 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8489 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8490 to return to the call.
8491 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8492 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8493 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8494 * gdb.mi/mi-until.exp (test_until): Likewise.
8495 * gdb.mi/mi2-until.exp (test_until): Likewise.
8497 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8499 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8501 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8503 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8505 * gdb.threads/watchthreads.c (thread_function): Sleep between
8507 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8508 at once for S/390. Generate matching fails and passes.
8510 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8512 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8513 the 'struct_declarations' variable to zeros.
8515 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8517 * gdb.cp/mb-ctor.cc: New.
8518 * gdb.cp/mb-ctor.exp: New.
8519 * gdb.cp/mb-templates.cc: New.
8520 * gdb.cp/mb-templates.exp: New.
8522 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8524 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8526 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8528 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8530 * configure: Regenerate.
8532 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8534 * gdb.base/annota1.exp: Adjust for 'info break'
8536 * gdb.base/annota3.exp: Likewise.
8537 * gdb.base/break.exp: Likewise.
8538 * gdb.base/condbreak.exp: Likewise.
8539 * gdb.base/pending.exp: Likewise.
8540 * gdb.base/sepdebug.exp: Likewise.
8541 * gdb.base/unload.exp: Likewise.
8542 * gdb.base/ovldbreak.exp: Likewise.
8544 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8546 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8548 * gdb.base/chng-syms.exp: Likewise.
8549 * gdb.base/unload.exp: Likewise.
8551 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8553 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8555 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8557 * schedlock.c (NUM): Change to 1.
8558 (main): Use args[0] for the main thread.
8559 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8560 regardless of the number of threads.
8562 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8564 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8566 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8568 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8569 watchpoint type down.
8570 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8573 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8575 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8576 Move all the tests here and run them twice, once using software
8577 watchpoints and once using hardware watchpoints.
8578 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8580 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8582 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8585 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8587 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8590 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8591 know about $ORIGIN. Calculate output dir from $dest instead of
8592 using ${objdir}/{$subdir}.
8594 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8596 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8597 gcore, before continuing with the test.
8599 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8601 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8602 * gdb.mi/mi-watch.exp: Likewise.
8604 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8605 Jim Blandy <jimb@codesourcery.com>
8607 * gdb.arch/i386-sse.exp: Do not expect character constants.
8608 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8609 * gdb.base/display.exp: Allow print/s.
8610 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8611 and unsigned char array changes.
8613 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8615 * gdb.base/display.exp: Add tests for printf %p.
8617 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8619 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8620 the dll name to unicode.
8622 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8624 * gdb.base/default.exp (show version): Update the version text.
8625 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8627 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8629 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8632 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8634 * lib/gdb.exp (build_id_debug_filename_get): New function.
8635 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8636 Remove the generate DEBUG file for the future testcase runs.
8637 New testcase for the NT_GNU_BUILD_ID retrieval.
8638 Move the final testing step to ...
8639 (test_different_dir): ... a new function.
8640 New parameter XFAIL to XFAIL all the tests performed.
8641 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8642 New parameter TYPE to PF_PREFIX all the tests performed.
8644 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8646 * gdb.mi/mi-var-cp.cc (path_expression): New
8648 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8650 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8652 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8653 to fit into SPU Local Store memory.
8655 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8657 * gdb.base/default.exp: Adjust the expected output of "info
8658 warranty" after the switch to GPLv3.
8660 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8662 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8663 to 30000 (from 20000).
8665 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8667 Switch the license of all .exp files to GPLv3.
8668 Switch the license of all .f and .f90 files to GPLv3.
8669 Switch the license of all .s and .S files to GPLv3.
8671 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8673 * configure.ac: Switch license to GPLv3.
8675 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8677 Switch the licensing to GPLv3 for all .ads and .adb files.
8679 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8681 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8683 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8685 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8687 * gdb.base/step-line.c: Switch license to GPL version 3, and
8688 update copyright year.
8689 * gdb.base/step-line.inp: Likewise.
8691 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8693 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8694 changes inside gdb1555.c.
8695 * gdb.base/pending.exp: Likewise.
8697 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8699 * config/default.exp: New file.
8701 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8703 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8704 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8706 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8708 * gdb.base/dump.exp: Force the correct endianness for binary
8709 formats not carrying this information.
8711 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8713 * gdb.threads/staticthreads.exp: Match .*sem_post.
8715 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8717 * gdb.base/readline.exp (operate_and_get_next): Match the final
8720 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8722 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8725 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8727 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8728 prior to `gdb_start'.
8730 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8732 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8733 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8734 Remove call to gdb_unload.
8736 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8737 Daniel Jacobowitz <dan@codesourcery.com>
8739 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8741 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8742 * gdb.base/unload.exp: Use shared library test routines.
8744 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8746 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8747 * gdb.base/solib-symbol-lib.c: Likewise.
8748 * gdb.base/solib-symbol-main.c: Likewise.
8750 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8752 * config/gdbserver.exp (gdb_reconnect): New.
8753 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8754 gdb.base/solib-disc.exp: New files.
8755 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8757 (gdb_compile): Add shlib_load flag.
8758 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8760 (gdbserver_reconnect): New.
8762 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8763 Daniel Jacobowitz <dan@codesourcery.com>
8765 * gdb.base/annota3.exp: Test for if construct.
8767 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8769 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8771 2007-06-21 Chris Dearman <chris@mips.com>
8772 Maciej W. Rozycki <macro@mips.com>
8774 * gdb.base/display.exp: Allow a newline after display/i.
8775 * gdb.base/pc-fp.exp: Likewise.
8776 * gdb.base/sigbpt.exp: Likewise.
8778 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8780 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8781 required features to be included.
8783 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8785 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8786 in info threads output.
8788 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8789 Markus Deuling <deuling@de.ibm.com>
8791 * gdb.arch/spu-info.exp: New testcase.
8792 * gdb.arch/spu-info.c: New file.
8794 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8796 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8797 tpcs_offset. Restore lr after the call.
8798 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8800 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8802 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8803 (gdbserver_run): Kill any running gdbserver.
8804 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8806 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8808 * gdb.base/sigbpt.exp: Preset segv_addr.
8810 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8812 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8813 (gdb_compile_shlib): Likewise.
8814 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8815 (default_gdb_init): Clear cleanfiles.
8816 (gdb_finish): Delete recorded cleanfiles.
8817 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8819 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8820 Do not use isnative.
8821 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8822 gdb.base/so-impl-ld.exp: Likewise.
8823 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8824 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8827 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8829 * config/unknown.exp: Remove.
8831 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8833 * gdb.base/info-proc.exp: Check is_remote.
8835 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8837 * gdb.base/gcore.exp: Initialize variable core_supported.
8839 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8841 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8843 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8845 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8846 * gdb.threads/print-threads.exp (test_all_threads): Allow
8847 negative and hexadecimal thread IDs.
8849 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8851 * gdb.java/jprint.java (public): Avoid invalid call to static
8854 2007-05-14 Denis Pilat <denis.pilat@st.com>
8856 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8857 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8858 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8859 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8860 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8862 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8864 * gdb.base/overlays.exp: Add support for targets with only code
8865 overlay support, not data overlay. Support spu-*-* target in
8867 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8868 * gdb.base/spu.ld: New file.
8870 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8872 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8874 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8876 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8878 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8880 * gdb.java/jmain.exp: Handle demangled names with and without method
8883 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8885 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8886 (have_a_very_merry_interrupt): Remove calls to puts.
8887 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8889 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8892 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8893 Daniel Jacobowitz <dan@codesourcery.com>
8895 * gdb.base/auxv.exp (core_works): Also check is_remote.
8896 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8898 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8900 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8901 message, not the undefined 'module' variable.
8902 * gdb.base/siginfo.exp: Likewise.
8903 * gdb.base/sigstep.exp: Likewise.
8904 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8906 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8908 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8910 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8911 target sim fails. Return 0 otherwise.
8912 (gdb_load): Return prematurely if gdb_target_sim fails.
8914 2007-04-16 Denis Pilat <denis.pilat@st.com>
8916 * gdb.base/setshow.exp: Reset height after having set it to 100.
8918 2007-04-16 Denis Pilat <denis.pilat@st.com>
8920 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8922 2007-04-16 Denis Pilat <denis.pilat@st.com>
8924 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8926 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8928 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8929 tests. Run the frozen varobjs test.
8930 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8931 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8933 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8935 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8936 gdb.base/type-opaque.exp: New files.
8938 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8940 * gdb.mi/mi-var-child.c
8941 (do_children_tests): User char[2] instead of
8942 char so that automatic printing of pointers to char
8943 don't give unpredicable result.
8944 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8946 * gdb.mi/mi-var-child.exp: Step to right line
8947 of do_children_tests.
8948 * gdb.mi/mi2-var-child.exp: Likewise.
8949 * gdb.mi/mi-var-cmd.exp: Step to right line of
8951 (do_children_tests): User char[2] instead of
8952 char so that automatic printing of pointers to char
8953 don't give unpredicable result.
8954 * gdb.mi/mi2-var-cmd.exp: Likewise.
8955 * lib/mi-support.exp (mi_continue_to_line):
8956 Pass test name to mi_wait_for_stop.
8958 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8960 * gdb.asm/asm-source.exp: Remove d10v case.
8961 * lib/gdb.exp (skip_cplus_tests): Likewise.
8962 * gdb.asm/d10v.inc: Deleted.
8964 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8966 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8968 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8970 * config/netware.exp: Delete file.
8972 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8974 * gdb.dwarf2/dw2-noloc.S: New file.
8975 * gdb.dwarf2/dw2-noloc.exp: New file.
8977 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8979 * gdb.cp/method2.cc: New test.
8980 * gdb.cp/method2.exp: New test.
8981 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8983 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8985 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8987 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8989 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8991 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8993 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8994 (gdb_load): Delete, replace with...
8995 (gdb_reload): ...this.
8996 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8997 * gdb.server/server-mon.exp: Likewise.
8998 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8999 (gdb_start_cmd): New.
9000 (gdb_file_cmd): Save the last loaded file.
9002 (gdb_gnu_strip_debug): Use transform.
9003 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9004 support here. Use new $last_loaded_file. Check mtime.
9005 (gdb_target_cmd): Handle ObjC failure case.
9006 (infer_host_exec): Delete.
9007 (gdbserver_load): Rename to...
9008 (gdbserver_run): ...this. Simplify.
9009 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9010 (mi_gdb_load): Move most contents to a new function...
9011 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9012 (mi_run_cmd): Use mi_gdb_target_load.
9013 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9014 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9016 * gdb.base/charsign.exp: Remove incorrect comment.
9017 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9018 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9019 gdb.base/start.exp: Use gdb_start_cmd.
9021 2007-03-23 Nigel Stephens <nigel@mips.com>
9022 Maciej W. Rozycki <macro@mips.com>
9024 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9025 * gdb.base/signull.exp: Similarly.
9027 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9029 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9030 messages available to test cases (like chng-sym.exp).
9032 2007-03-14 Andreas Schwab <schwab@suse.de>
9034 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9037 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9039 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9041 (main): Call optimized_1.
9042 (gdb2029): Correct typos. Call gdb2029_marker.
9043 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9046 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9048 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9049 as tabs. Remove redundant test pattern.
9051 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9053 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9054 for /a format output.
9056 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9058 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9059 collect output incrementally.
9061 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9063 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9064 for -var-create lpcharacter test.
9065 * gdb.mi/mi2-var-cmd.exp: Likewise.
9067 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9069 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9070 pass on targets where address zero is readable.
9072 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9074 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9075 just a single architecture.
9077 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9079 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9080 (fetch_all_registers): New function, uses gdb_test_multiple and
9081 exp_continue to fetch inferior output line-by-line.
9082 Replace all uses of do_get_all_registers by fetch_all_registers.
9084 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9086 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9089 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9091 * gdb.threads/manythreads.exp: Use $message string for
9092 consistancy; add a default (timeout) case.
9094 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9096 * gdb.base/watchpoint.exp: Fix truncated comment.
9098 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9100 * Makefile.in: Remove spurious single-quotes from sed command.
9102 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9104 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9106 * gdb.mi/mi2-var-cmd.exp: Likewise.
9108 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9110 * gdb.dwarf2/dw2-producer.S: New file.
9111 * gdb.dwarf2/dw2-producer.exp: New testcase.
9113 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9115 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9116 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9117 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9118 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9119 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9120 Revert tests to use mi_gdb_test and include value field in output
9123 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9125 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9127 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9129 * gdb.base/maint.exp: Remove full paths from test names.
9130 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9131 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9133 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9135 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9137 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9139 * gdb.server/server-mon.exp: New test.
9141 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9143 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9145 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9147 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9148 register capitalization.
9150 2007-02-13 Denis Pilat <denis.pilat@st.com>
9152 * gdb.mi/mi-var-invalidate.exp: New file.
9154 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9156 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9158 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9160 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9162 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9164 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9165 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9167 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9169 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9170 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9171 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9172 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9173 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9174 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9175 Update tests to include value field in output of -var-create.
9177 2007-02-08 Andreas Schwab <schwab@suse.de>
9179 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9181 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9183 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9184 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9186 2007-02-02 Denis Pilat <denis.pilat@st.com>
9188 * gdb.threads/threadapply.exp: check that frame is not changed by
9189 the thread apply all command.
9191 2007-01-31 Andreas Schwab <schwab@suse.de>
9193 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9195 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9196 in the dwarf sections.
9197 * gdb.dwarf2/mac-fileno.S: Likewise.
9199 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9200 bspstore register on ia64.
9202 2007-01-29 Andreas Schwab <schwab@suse.de>
9204 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9205 "frame-begin" annotation.
9207 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9208 number of "frames-invalid" annotations.
9210 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9212 * gdb.base/commands.exp: Call if_commands_test.
9213 (gdb_test_no_prompt, if_commands_test): New.
9215 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9217 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9219 2007-01-27 Andreas Schwab <schwab@suse.de>
9221 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9222 .short/.int/.quad in the dwarf sections.
9223 * gdb.dwarf2/dw2-intercu.S: Likewise.
9224 * gdb.dwarf2/dw2-intermix.S: Likewise.
9226 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9228 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9229 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9231 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9232 * gdb.base/setvar.exp: Likewise.
9234 2007-01-26 Andreas Schwab <schwab@suse.de>
9236 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9239 * gdb.base/multi-forks.exp ("restart $i"): Also match
9240 __kernel_syscall_via_break.
9242 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9244 * lib/mi-support.exp (mi_delete_varobj): New.
9245 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9247 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9248 (main): Call the above.
9249 (reference_update_test, base_in_reference_test)
9250 (reference_to_pointer): Delete the created varobjs.
9252 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9254 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9255 * configure: Regenerated.
9256 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9257 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9258 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9259 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9260 * lib/gdb.exp (gdb_skip_xml_test): New function.
9262 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9264 * gdb.base/sigrepeat.exp: Correct error message.
9266 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9267 Daniel Jacobowitz <dan@codesourcery.com>
9269 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9270 gdb.arch/i386-gnu-cfi-asm.S: New files.
9272 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9274 * lib/gdb.exp: Abort on missing `site.exp'.
9276 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9277 Daniel Jacobowitz <dan@codesourcery.com>
9279 * gdb.base/included.c, gdb.base/included.exp,
9280 gdb.base/included.h: New files.
9282 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9284 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9285 (maximize_rlimit): Reduce limits on 64-bit systems.
9287 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9289 From Marcus Deuling <deuling@de.ibm.com>:
9290 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9293 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9295 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9296 (test_path_specification): Use objdir instead of srcdir to always
9297 get an absolute filename.
9299 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9301 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9303 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9305 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9306 Make sure the variable we're using is in scope.
9307 (reference_to_pointer): Likewise.
9309 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9311 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9312 has no debug information.
9314 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9316 * gdb.base/annota1.exp: Remove extra send_gdb.
9318 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9320 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9322 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9324 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9326 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9327 Daniel Jacobowitz <dan@codesourcery.com>
9329 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9330 lcharacter or linteger change. Correct duplicated test name.
9331 * gdb.mi/mi2-var-cmd.exp: Likewise.
9333 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9335 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9337 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9339 * gdb.base/nofield.c: New file.
9340 * gdb.base/nofield.exp: New testcase.
9342 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9344 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9346 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9349 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9351 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9353 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9355 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9358 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9360 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9361 Expect ".exe" extension.
9363 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9365 * gdb.base/charset.exp: Add explicit filename to break.
9366 * gdb.base/dbx.exp: Add explicit filename to breaks.
9368 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9370 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9371 * gdb.mi/mi2-file.exp: Likewise.
9373 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9375 Implement specification of MI tests as comments
9376 in C and C++ sources.
9377 * lib/mi-support.exp (mi_autotest_data): New variable.
9378 (mi_autotest_source): New variable.
9379 (count_newlines, mi_prepare_inline_tests)
9380 (mi_get_inline_test, mi_continue_to_line)
9381 (mi_run_inline_test, mi_tbreak)
9382 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9383 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9385 * gdb.mi/mi-var-cp.cc: Define tests here.
9387 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9389 Simplify usage of mi_continue_to.
9390 * lib/mi-support.exp (mi_runto_helper): Renamed
9391 from mi_runto, added new parameter 'run_or_continue'.
9392 (mi_runto): Use mi_runto_helper.
9393 (mi_continue_to): Accept just function name as parameter.
9394 Use mi_runto_helper.
9395 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9396 * gdb.mi/mi2-var-cmd.exp: Likewise.
9398 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9400 Make this testcase a bit more realistic. The current code
9401 is too simplistic, and allows the compiler to optimize out
9402 some of the entities we need for this testcase.
9403 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9404 (Do_Nothing): Add extra parameter.
9405 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9406 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9407 by using a variable of type Void_Star.
9409 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9411 * gdb.ada/catch_ex/foo.adb: New file.
9412 * gdb.ada/catch_ex.exp: New testcase.
9414 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9416 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9417 pass --image-base to linker.
9419 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9420 Daniel Jacobowitz <dan@codesourcery.com>
9422 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9425 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9427 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9428 output. Test the types of members and member pointers.
9429 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9431 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9432 statement. Enable for GCC. Update expected output for some tests
9433 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9435 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9436 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9437 (Diamond::vget_base): New.
9438 (main): Add new tests.
9439 * gdb.cp/printmethod.exp: Update expected output for member functions.
9440 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9443 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9445 * gdb.threads/tls.exp: Allow stops in sem_post.
9447 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9449 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9450 * gdb.base/annota3.exp: Likewise.
9451 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9452 again (instead of timing out).
9453 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9455 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9456 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9457 test from jmisc1.exp.
9458 * gdb.java/jmisc1.exp: Delete.
9459 * gdb.java/jprint.exp: Adjust to work with method signatures including
9461 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9462 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9463 * lib/java.exp (compile_java_from_source): Pass the correct type
9466 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9468 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9469 (stack_align_edx): New function.
9470 (stack_align_eax): New function.
9471 (main): Add calls to stack_align_edx and stack_align_eax.
9472 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9473 Add testing for the cases where the register used during a stack
9474 realignment is edx. Same for eax.
9476 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9478 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9479 and generic PE targets.
9481 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9483 * gdb.ada/array_return.exp: Update copyright date list.
9485 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9487 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9488 (Create_Small_Float_Vector): New function.
9489 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9491 * gdb.ada/array_return/p.adb: Use new type and function from
9493 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9494 able to print the value returned by a function returning an
9497 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9499 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9500 The associated tests should be PASSing.
9502 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9504 Test for base in references.
9505 * gdb.mi/mi-var-cp.cc: Add test code.
9506 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9507 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9508 * gdb.mi/mi2-watch.exp: Likewise.
9509 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9510 (mi_list_varobj_children): New function.
9512 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9514 * lib/mi-support.exp
9515 (mi_runto): Accept "()" after function name.
9516 (mi_create_varobj): New function.
9517 (mi_varobj_update): New function.
9518 (mi_Check_varobj_value): New function.
9519 * gdb.mi/mi-var-cp.exp: New file.
9520 * gdb.mi/mi-var-cp.cc: New file.
9522 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9524 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9525 gdb.base/weaklib2.c: New files.
9527 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9529 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9530 info. Adjust test names.
9532 * gdb.base/break.c (main): Move position of malloc.
9533 * gdb.base/break.exp: Revert mistaken checkin.
9535 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9537 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9538 assignement of arrays and function pointers.
9539 * gdb.mi/var-cmd.c: Add declaration necessary for above
9542 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9544 * gdb.base/break.c (main): Call malloc.
9546 * gdb.threads/linux-dp.exp: Read thread table before and after
9547 creating each philosopher and verify it.
9549 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9550 Paul Brook <paul@codesourcery.com>
9551 Daniel Jacobowitz <dan@codesourcery.com>
9553 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9554 main to remove duplication. Add start function of the form
9555 '_*start[1-9]*'. Add RVDS start function.
9557 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9559 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9561 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9563 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9564 * gdb.asm/spu.inc: New file.
9565 * gdb.base/term.exp: Disable if [target_info exists noargs].
9566 * gdb.gdb/complaints.exp: Disable if ![isnative].
9567 * gdb.gdb/selftest.exp: Likewise.
9568 * gdb.gdb/observer.exp: Likewise.
9569 * gdb.gdb/xfullpath.exp: Likewise.
9570 * gdb.base/attach.exp: Disable on SPU target.
9571 * gdb.cp/bs145503.exp: Likewise.
9572 * gdb.cp/exception.exp: Likewise.
9573 * gdb.cp/userdef.exp: Likewise.
9575 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9577 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9579 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9581 * gdb.base/completion.exp: Fix completion tests for
9583 * gdb.base/help.exp (help_test_raw, test_class_help)
9584 (test_prefix_command_help): Move...
9585 * lib/gdb.exp: Here.
9586 * gdb.base/main.exp: Adjust.
9587 * gdb.cp/maint.exp: Adjust.
9588 * gdb.trace/tracecmd.exp: Use test_help_class.
9590 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9592 * gdb.stabs/weird.exp (print_weird_var): Use
9593 gdb_test_multiple instead of gdb_expect.
9595 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9597 * gdb.base/help.exp (help_test_raw): New.
9598 (test_class_help): New.
9599 (test_prefix_command_help): New.
9602 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9604 * gdb.base/constvars.c (main): Write to crass and crips, so that
9605 they are allocated by the compiler.
9607 2006-10-27 Andreas Schwab <schwab@suse.de>
9609 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9612 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9614 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9617 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9619 * gdb.base/sepdebug.exp: Remove debug format test.
9620 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9622 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9624 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9626 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9627 int to pointer or pointer to int.
9628 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9630 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9632 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9634 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9636 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9638 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9641 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9643 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9645 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9646 the corresponding bug has been fixed in GDB (PR/2018).
9648 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9650 * gdb.base/subst.exp: New testcase.
9652 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9654 * gdb.ada/array_return/pck.ads: Add copyright notice.
9655 * gdb.ada/array_return/pck.adb: Likewise.
9656 * gdb.ada/array_return/p.adb: Likewise.
9657 * gdb.ada/exec_changed/first.adb: Likewise.
9658 * gdb.ada/exec_changed/second.adb: Likewise.
9660 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9662 * gdb.ada/watch_arg/watch.adb: New file.
9663 * gdb.ada/watch_arg.exp: New testcase.
9665 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9667 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9668 via string_to_regexp.
9669 * gdb.mi/mi2-basics.exp: Likewise.
9671 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9673 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9674 Remove unused / obsolete files.
9676 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9678 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9680 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9682 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9683 HIGH_FRAME argument to -stack-list-arguments can be larger than
9684 the number of frames.
9686 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9688 * gdb.base/args.c (main): Add breakpoint marker.
9689 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9690 really test empty arguments.
9691 (args_load): Delete.
9694 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9696 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9699 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9701 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9702 HIGH_FRAME argument to -stack-list-locals can be larger than
9703 the number of frames.
9705 2006-08-18 Fred Fish <fnf@specifix.com>
9707 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9708 '$' in front of skip_vmx_tests_saved when setting that.
9710 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9712 * gdb.base/trace-commands.exp: New file.
9714 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9715 Daniel Jacobowitz <dan@codesourcery.com>
9717 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9718 expected output of the backtrace commands.
9720 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9722 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9723 untested followed by return combination.
9724 * gdb.arch/altivec-regs.exp: Likewise.
9725 * gdb.arch/e500-abi.exp: Likewise.
9726 * gdb.arch/e500-regs.exp: Likewise.
9727 * gdb.arch/gdb1291.exp: Likewise.
9728 * gdb.arch/gdb1431.exp: Likewise.
9729 * gdb.arch/gdb1558.exp: Likewise.
9730 * gdb.arch/i386-prologue.exp: Likewise.
9731 * gdb.arch/i386-unwind.exp: Likewise.
9732 * gdb.asm/asm-source.exp: Likewise.
9733 * gdb.base/a2-run.exp: Likewise.
9734 * gdb.base/advance.exp: Likewise.
9735 * gdb.base/all-bin.exp: Likewise.
9736 * gdb.base/annota1.exp: Likewise.
9737 * gdb.base/annota3.exp: Likewise.
9738 * gdb.base/args.exp: Likewise.
9739 * gdb.base/arithmet.exp: Likewise.
9740 * gdb.base/assign.exp: Likewise.
9741 * gdb.base/async.exp: Likewise.
9742 * gdb.base/attach.exp: Likewise.
9743 * gdb.base/bang.exp: Likewise.
9744 * gdb.base/bigcore.exp: Likewise.
9745 * gdb.base/bitfields.exp: Likewise.
9746 * gdb.base/bitfields2.exp: Likewise.
9747 * gdb.base/break.exp: Likewise.
9748 * gdb.base/call-sc.exp: Likewise.
9749 * gdb.base/call-strs.exp: Likewise.
9750 * gdb.base/callfuncs.exp: Likewise.
9751 * gdb.base/checkpoint.exp: Likewise.
9752 * gdb.base/chng-syms.exp: Likewise.
9753 * gdb.base/code-expr.exp: Likewise.
9754 * gdb.base/commands.exp: Likewise.
9755 * gdb.base/completion.exp: Likewise.
9756 * gdb.base/cond-expr.exp: Likewise.
9757 * gdb.base/condbreak.exp: Likewise.
9758 * gdb.base/consecutive.exp: Likewise.
9759 * gdb.base/constvars.exp: Likewise.
9760 * gdb.base/corefile.exp: Likewise.
9761 * gdb.base/cvexpr.exp: Likewise.
9762 * gdb.base/dbx.exp: Likewise.
9763 * gdb.base/define.exp: Likewise.
9764 * gdb.base/detach.exp: Likewise.
9765 * gdb.base/display.exp: Likewise.
9766 * gdb.base/dump.exp: Likewise.
9767 * gdb.base/ena-dis-br.exp: Likewise.
9768 * gdb.base/ending-run.exp: Likewise.
9769 * gdb.base/environ.exp: Likewise.
9770 * gdb.base/eval-skip.exp: Likewise.
9771 * gdb.base/exprs.exp: Likewise.
9772 * gdb.base/fileio.exp: Likewise.
9773 * gdb.base/finish.exp: Likewise.
9774 * gdb.base/float.exp: Likewise.
9775 * gdb.base/foll-exec.exp: Likewise.
9776 * gdb.base/foll-fork.exp: Likewise.
9777 * gdb.base/foll-vfork.exp: Likewise.
9778 * gdb.base/freebpcmd.exp: Likewise.
9779 * gdb.base/funcargs.exp: Likewise.
9780 * gdb.base/gcore.exp: Likewise.
9781 * gdb.base/gdb1090.exp: Likewise.
9782 * gdb.base/gdb1250.exp: Likewise.
9783 * gdb.base/huge.exp: Likewise.
9784 * gdb.base/info-proc.exp: Likewise.
9785 * gdb.base/interrupt.exp: Likewise.
9786 * gdb.base/jump.exp: Likewise.
9787 * gdb.base/langs.exp: Likewise.
9788 * gdb.base/lineinc.exp: Likewise.
9789 * gdb.base/list.exp: Likewise.
9790 * gdb.base/logical.exp: Likewise.
9791 * gdb.base/long_long.exp: Likewise.
9792 * gdb.base/macscp.exp: Likewise.
9793 * gdb.base/maint.exp: Likewise.
9794 * gdb.base/mips_pro.exp: Likewise.
9795 * gdb.base/miscexprs.exp: Likewise.
9796 * gdb.base/multi-forks.exp: Likewise.
9797 * gdb.base/opaque.exp: Likewise.
9798 * gdb.base/overlays.exp: Likewise.
9799 * gdb.base/pc-fp.exp: Likewise.
9800 * gdb.base/pointers.exp: Likewise.
9801 * gdb.base/printcmds.exp: Likewise.
9802 * gdb.base/psymtab.exp: Likewise.
9803 * gdb.base/ptype.exp: Likewise.
9804 * gdb.base/recurse.exp: Likewise.
9805 * gdb.base/relational.exp: Likewise.
9806 * gdb.base/relocate.exp: Likewise.
9807 * gdb.base/remote.exp: Likewise.
9808 * gdb.base/reread.exp: Likewise.
9809 * gdb.base/restore.exp: Likewise.
9810 * gdb.base/return.exp: Likewise.
9811 * gdb.base/return2.exp: Likewise.
9812 * gdb.base/scope.exp: Likewise.
9813 * gdb.base/sect-cmd.exp: Likewise.
9814 * gdb.base/sep.exp: Likewise.
9815 * gdb.base/sepdebug.exp: Likewise.
9816 * gdb.base/setshow.exp: Likewise.
9817 * gdb.base/setvar.exp: Likewise.
9818 * gdb.base/sigall.exp: Likewise.
9819 * gdb.base/sigbpt.exp: Likewise.
9820 * gdb.base/signals.exp: Likewise.
9821 * gdb.base/signull.exp: Likewise.
9822 * gdb.base/sizeof.exp: Likewise.
9823 * gdb.base/solib.exp: Likewise.
9824 * gdb.base/step-line.exp: Likewise.
9825 * gdb.base/step-test.exp: Likewise.
9826 * gdb.base/structs.exp: Likewise.
9827 * gdb.base/structs2.exp: Likewise.
9828 * gdb.base/term.exp: Likewise.
9829 * gdb.base/twice.exp: Likewise.
9830 * gdb.base/until.exp: Likewise.
9831 * gdb.base/varargs.exp: Likewise.
9832 * gdb.base/volatile.exp: Likewise.
9833 * gdb.base/watchpoint.exp: Likewise.
9834 * gdb.base/whatis-exp.exp: Likewise.
9835 * gdb.base/whatis.exp: Likewise.
9836 * gdb.cp/ambiguous.exp: Likewise.
9837 * gdb.cp/annota2.exp: Likewise.
9838 * gdb.cp/annota3.exp: Likewise.
9839 * gdb.cp/bool.exp: Likewise.
9840 * gdb.cp/breakpoint.exp: Likewise.
9841 * gdb.cp/casts.exp: Likewise.
9842 * gdb.cp/class2.exp: Likewise.
9843 * gdb.cp/classes.exp: Likewise.
9844 * gdb.cp/cplusfuncs.exp: Likewise.
9845 * gdb.cp/ctti.exp: Likewise.
9846 * gdb.cp/derivation.exp: Likewise.
9847 * gdb.cp/exception.exp: Likewise.
9848 * gdb.cp/gdb1355.exp: Likewise.
9849 * gdb.cp/hang.exp: Likewise.
9850 * gdb.cp/inherit.exp: Likewise.
9851 * gdb.cp/local.exp: Likewise.
9852 * gdb.cp/m-data.exp: Likewise.
9853 * gdb.cp/m-static.exp: Likewise.
9854 * gdb.cp/member-ptr.exp: Likewise.
9855 * gdb.cp/method.exp: Likewise.
9856 * gdb.cp/misc.exp: Likewise.
9857 * gdb.cp/namespace.exp: Likewise.
9858 * gdb.cp/overload.exp: Likewise.
9859 * gdb.cp/ovldbreak.exp: Likewise.
9860 * gdb.cp/pr-1023.exp: Likewise.
9861 * gdb.cp/pr-1210.exp: Likewise.
9862 * gdb.cp/pr-574.exp: Likewise.
9863 * gdb.cp/printmethod.exp: Likewise.
9864 * gdb.cp/psmang.exp: Likewise.
9865 * gdb.cp/ref-params.exp: Likewise.
9866 * gdb.cp/ref-types.exp: Likewise.
9867 * gdb.cp/rtti.exp: Likewise.
9868 * gdb.cp/templates.exp: Likewise.
9869 * gdb.cp/try_catch.exp: Likewise.
9870 * gdb.cp/userdef.exp: Likewise.
9871 * gdb.cp/virtfunc.exp: Likewise.
9872 * gdb.disasm/am33.exp: Likewise.
9873 * gdb.disasm/h8300s.exp: Likewise.
9874 * gdb.disasm/mn10300.exp: Likewise.
9875 * gdb.disasm/sh3.exp: Likewise.
9876 * gdb.disasm/t01_mov.exp: Likewise.
9877 * gdb.disasm/t02_mova.exp: Likewise.
9878 * gdb.disasm/t03_add.exp: Likewise.
9879 * gdb.disasm/t04_sub.exp: Likewise.
9880 * gdb.disasm/t05_cmp.exp: Likewise.
9881 * gdb.disasm/t06_ari2.exp: Likewise.
9882 * gdb.disasm/t07_ari3.exp: Likewise.
9883 * gdb.disasm/t08_or.exp: Likewise.
9884 * gdb.disasm/t09_xor.exp: Likewise.
9885 * gdb.disasm/t10_and.exp: Likewise.
9886 * gdb.disasm/t11_logs.exp: Likewise.
9887 * gdb.disasm/t12_bit.exp: Likewise.
9888 * gdb.disasm/t13_otr.exp: Likewise.
9889 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9890 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9891 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9892 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9893 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9894 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9895 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9896 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9897 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9898 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9899 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9900 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9901 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9902 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9903 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9904 * gdb.mi/gdb701.exp: Likewise.
9905 * gdb.mi/gdb792.exp: Likewise.
9906 * gdb.mi/mi-basics.exp: Likewise.
9907 * gdb.mi/mi-break.exp: Likewise.
9908 * gdb.mi/mi-cli.exp: Likewise.
9909 * gdb.mi/mi-console.exp: Likewise.
9910 * gdb.mi/mi-disassemble.exp: Likewise.
9911 * gdb.mi/mi-eval.exp: Likewise.
9912 * gdb.mi/mi-file.exp: Likewise.
9913 * gdb.mi/mi-read-memory.exp: Likewise.
9914 * gdb.mi/mi-regs.exp: Likewise.
9915 * gdb.mi/mi-return.exp: Likewise.
9916 * gdb.mi/mi-simplerun.exp: Likewise.
9917 * gdb.mi/mi-stack.exp: Likewise.
9918 * gdb.mi/mi-stepi.exp: Likewise.
9919 * gdb.mi/mi-syn-frame.exp: Likewise.
9920 * gdb.mi/mi-until.exp: Likewise.
9921 * gdb.mi/mi-var-block.exp: Likewise.
9922 * gdb.mi/mi-var-child.exp: Likewise.
9923 * gdb.mi/mi-var-cmd.exp: Likewise.
9924 * gdb.mi/mi-var-display.exp: Likewise.
9925 * gdb.mi/mi-watch.exp: Likewise.
9926 * gdb.mi/mi2-basics.exp: Likewise.
9927 * gdb.mi/mi2-break.exp: Likewise.
9928 * gdb.mi/mi2-cli.exp: Likewise.
9929 * gdb.mi/mi2-console.exp: Likewise.
9930 * gdb.mi/mi2-disassemble.exp: Likewise.
9931 * gdb.mi/mi2-eval.exp: Likewise.
9932 * gdb.mi/mi2-file.exp: Likewise.
9933 * gdb.mi/mi2-read-memory.exp: Likewise.
9934 * gdb.mi/mi2-regs.exp: Likewise.
9935 * gdb.mi/mi2-return.exp: Likewise.
9936 * gdb.mi/mi2-simplerun.exp: Likewise.
9937 * gdb.mi/mi2-stack.exp: Likewise.
9938 * gdb.mi/mi2-stepi.exp: Likewise.
9939 * gdb.mi/mi2-syn-frame.exp: Likewise.
9940 * gdb.mi/mi2-until.exp: Likewise.
9941 * gdb.mi/mi2-var-block.exp: Likewise.
9942 * gdb.mi/mi2-var-child.exp: Likewise.
9943 * gdb.mi/mi2-var-cmd.exp: Likewise.
9944 * gdb.mi/mi2-var-display.exp: Likewise.
9945 * gdb.mi/mi2-watch.exp: Likewise.
9946 * gdb.stabs/exclfwd.exp: Likewise.
9947 * gdb.stabs/weird.exp: Likewise.
9948 * gdb.threads/gcore-thread.exp: Likewise.
9949 * gdb.trace/actions.exp: Likewise.
9950 * gdb.trace/backtrace.exp: Likewise.
9951 * gdb.trace/circ.exp: Likewise.
9952 * gdb.trace/collection.exp: Likewise.
9953 * gdb.trace/deltrace.exp: Likewise.
9954 * gdb.trace/infotrace.exp: Likewise.
9955 * gdb.trace/limits.exp: Likewise.
9956 * gdb.trace/packetlen.exp: Likewise.
9957 * gdb.trace/passc-dyn.exp: Likewise.
9958 * gdb.trace/passcount.exp: Likewise.
9959 * gdb.trace/report.exp: Likewise.
9960 * gdb.trace/save-trace.exp: Likewise.
9961 * gdb.trace/tfind.exp: Likewise.
9962 * gdb.trace/tracecmd.exp: Likewise.
9963 * gdb.trace/while-dyn.exp: Likewise.
9964 * gdb.trace/while-stepping.exp: Likewise.
9966 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9968 * gdb.base/step-bt.c: New file.
9969 * gdb.base/step-bt.exp: New testcase.
9971 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9973 * config/monitor.exp (gdb_load): Remove support for obsolete
9974 download-write-size.
9975 * gdb.base/remote.exp: Likewise. Update all callers of
9978 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9980 * cursal.exp: Pass binfile to gdb_load.
9982 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9984 * gdb.base/cursal.exp: Add "" to gdb_load call.
9986 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9988 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9991 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9993 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9996 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9998 * gdb.base/completion.exp: Update for change in "file" behavior.
9999 * gdb.stabs/weird.exp: Likewise.
10000 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10001 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10003 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10005 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10006 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10008 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10010 * gdb.base/default.exp: Update source command error message.
10011 * gdb.base/help.exp: Update 'help source' message.
10013 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10015 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10018 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10020 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10022 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10024 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10026 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10028 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10030 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10032 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10033 *-*-openbsd* from targets for wich we expect ARM FPA floating
10036 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10038 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10040 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10042 * gdb.base/annota3.exp: Expect frame-begin annotation.
10044 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10046 * gdb.base/help.exp: Adjust "help unset" test to accept
10047 any list of unset commands.
10049 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10050 Daniel Jacobowitz <dan@codesourcery.com>
10052 * gdb.cp/ref-params.exp: New test.
10053 * gdb.cp/ref-params.cc: New source file.
10054 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10056 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10058 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10059 spaces/tabs in regular expressions since they might not be there.
10061 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10063 * gdb.base/ifelse.exp: New file.
10065 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10067 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10069 * gdb.base/huge.exp: Loop over compilation to find a size that
10071 * gdb.base/remote.exp: Correct expected strings.
10072 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10074 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10076 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10078 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10080 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10083 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10085 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10086 enable stabs testing.
10088 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10090 * gdb.base/auxv.exp: Intercept undefined command messages before
10091 gdb_test_multiple does.
10093 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10095 * Makefile.in (host_alias): Remove.
10096 (target_alias): Use @target_noncanonical@.
10097 (site.exp): Don't set host_alias.
10098 * aclocal.m4: Remove contents. Include acx.m4.
10099 * configure: Regenerated.
10100 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10102 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10104 * lib/gdb.exp (gdb_load_cmd): New.
10106 * gdb.base/fileio.c: Add system(NULL) test.
10107 * gdb.base/fileio.exp: Check it.
10109 * gdb.base/break.c: Add 10a breakpoint at }
10110 * gdb.base/break.exp: Add test for breakpoint at }
10111 * gdb.cp/anon-union.cc: Add code at end of function.
10112 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10113 * gdb.mi/var-cmd.c: Add code at end of function.
10114 * gdb.mi/mi-var-display.exp: Adjust end of next.
10115 * gdb.mi/mi2-var-display.exp: Likewise.
10116 * gdb.base/fileio.c: Add stop function and insert calls at
10118 * gdb.base/fileio.exp: Breakpoint stop function and remove
10119 explicit line number references.
10121 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10123 * gdb.base/del.exp (test_delete_alias): New function.
10124 Now check that both "del" and "d" work as aliases for "delete".
10126 2006-05-18 Fred Fish <fnf@specifix.com>
10128 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10129 required. Check for spurious output after program exits normally.
10131 2006-05-17 Fred Fish <fnf@specifix.com>
10133 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10134 gdb_load, so it works in the simulator.
10136 2006-05-11 Fred Fish <fnf@specifix.com>
10138 * gdb.base/bang.exp: Ignore unexpected output between the
10139 "program exited normally" and the gdb prompt, as many other
10142 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10144 * gdb.base/help.exp: Make "delete checkpoint" part option for
10145 "help d" and "help delete" tests.
10147 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10149 * gdb.mi/mi-basics.exp: Add missing serial number to
10150 expected output in some mi_gdb_test statements.
10151 * gdb.mi/mi2-basics.exp: Likewise.
10153 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10155 * gdb.base/del.c: New file.
10156 * gdb.base/del.exp: New testcase.
10158 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10160 * gdb.base/break.exp: Do not assume a breakpoint on
10161 main will actually be in $srcfile when optimizing.
10162 * gdb.base/savedregs.exp: Do not require that the dummy
10163 frame location match up to a symbol and source file location.
10164 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10165 will get printed without a mi_cmd_data_list_register_values prefix.
10166 (*-data-list-register-*): Correct regular expressions to expect the new
10167 pseudo d? floating point registers.
10168 * gdb.mi/mi2-regs.exp: Likewise.
10170 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10172 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10173 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10174 is allocated by the compiler.
10175 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10176 anons, e, anone to force their allocation by the compiler.
10178 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10180 * gdb.base/help.exp: Update expected text for help d and
10183 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10185 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10186 NetBSD/ELF targets.
10188 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10190 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10191 single-step breakpoint fails; make this a KFAIL on
10193 * gdb.base/siginfo.exp: Likewise.
10194 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10196 2006-04-26 Michael Snyder <msnyder@redhat.com>
10198 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10199 which may have to consume output from other forks.
10200 Add tests to make sure that "delete fork" succeeded.
10202 2006-04-20 Michael Snyder <msnyder@redhat.com>
10204 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10205 Add support for the Renesas M32C and M16C.
10207 * gdb.asm/asm-source.exp: Add m32c target.
10208 * gdb.asm/m32c.inc: Support for m32c target.
10210 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10212 * gdb.base/commands.exp (recursive_source_test): New test.
10214 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10216 * gdb.base/float.exp: Add pattern for sparc targets.
10218 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10220 * gdb.base/commands.exp (stray_arg0_test): New test.
10222 2006-03-30 Paul Brook <paul@codesourcery.com>
10224 * gdb.mi/mi-until.exp: kfail broken until command.
10225 * gdb.mi/mi2-until.exp: Ditto.
10227 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10229 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10231 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10233 * gdb.base/prelink.exp: Anchor tested-for regular expression
10236 2006-03-07 Paul Brook <paul@codesourcery.com>
10238 * gdb.base/assign.exp: Correct fail message.
10240 2006-03-07 Paul Brook <paul@codesourcery.com>
10242 * lib/compiler.c: Extract armcc version number.
10243 * lib/compiler.cc: Ditto.
10245 2006-03-07 Paul Brook <paul@codesourcery.com>
10247 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10248 additional_flags=-w.
10249 * gdb.arch/altivec-regs.exp: Ditto.
10250 * gdb.arch/e500-abi.exp: Ditto.
10251 * gdb.arch/e500-regs.exp: Ditto.
10252 * gdb.base/all-bin.exp: Ditto.
10253 * gdb.base/annota1.exp: Ditto.
10254 * gdb.base/annota3.exp: Ditto.
10255 * gdb.base/args.exp: Ditto.
10256 * gdb.base/arithmet.exp: Ditto.
10257 * gdb.base/assign.exp: Ditto.
10258 * gdb.base/async.exp: Ditto.
10259 * gdb.base/bang.exp: Ditto.
10260 * gdb.base/break.exp: Ditto.
10261 * gdb.base/call-rt-st.exp: Ditto.
10262 * gdb.base/completion.exp: Ditto.
10263 * gdb.base/cond-expr.exp: Ditto.
10264 * gdb.base/condbreak.exp: Ditto.
10265 * gdb.base/consecutive.exp: Ditto.
10266 * gdb.base/define.exp: Ditto.
10267 * gdb.base/display.exp: Ditto.
10268 * gdb.base/ena-dis-br.exp: Ditto.
10269 * gdb.base/environ.exp: Ditto.
10270 * gdb.base/eval-skip.exp: Ditto.
10271 * gdb.base/info-proc.exp: Ditto.
10272 * gdb.base/jump.exp: Ditto.
10273 * gdb.base/logical.exp: Ditto.
10274 * gdb.base/long_long.exp: Ditto.
10275 * gdb.base/maint.exp: Ditto.
10276 * gdb.base/miscexprs.exp: Ditto.
10277 * gdb.base/pc-fp.exp: Ditto.
10278 * gdb.base/pointers.exp: Ditto.
10279 * gdb.base/relational.exp: Ditto.
10280 * gdb.base/reread.exp: Ditto.
10281 * gdb.base/sect-cmd.exp: Ditto.
10282 * gdb.base/sep.exp: Ditto.
10283 * gdb.base/sepdebug.exp: Ditto.
10284 * gdb.base/until.exp: Ditto.
10285 * gdb.base/whatis-exp.exp: Ditto.
10286 * gdb.cp/annota2.exp: Ditto.
10287 * gdb.cp/annota3.exp: Ditto.
10288 * gdb.trace/actions.exp: Ditto.
10289 * gdb.trace/backtrace.exp: Ditto.
10290 * gdb.trace/circ.exp: Ditto.
10291 * gdb.trace/collection.exp: Ditto.
10292 * gdb.trace/deltrace.exp: Ditto.
10293 * gdb.trace/infotrace.exp: Ditto.
10294 * gdb.trace/limits.exp: Ditto.
10295 * gdb.trace/packetlen.exp: Ditto.
10296 * gdb.trace/passc-dyn.exp: Ditto.
10297 * gdb.trace/passcount.exp: Ditto.
10298 * gdb.trace/report.exp: Ditto.
10299 * gdb.trace/save-trace.exp: Ditto.
10300 * gdb.trace/tfind.exp: Ditto.
10301 * gdb.trace/tracecmd.exp: Ditto.
10302 * gdb.trace/while-dyn.exp: Ditto.
10303 * gdb.trace/while-stepping.exp: Ditto.
10304 * lib/gdb.exp: Ditto.
10305 (gdb_compile): Handle nowarning option.
10307 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10309 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10310 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10311 Rename executable to prelinkt. Don't re-prelink if we didn't
10312 get a core file. Test prelink -u exit status to tell whether
10313 prelinking failed. Use gdb_test_multiple.
10315 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10317 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10318 (do_tests): Call it.
10320 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10322 * gdb.base/prelink.exp: New test.
10323 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10325 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10327 * gdb.fortran/derived-type.f90: New file.
10328 * gdb.fortran/derived-type.exp: New testcase.
10330 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10332 * gdb.base/default.exp: Allow ';' as a directory separator.
10334 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10336 * gdb.base/help.exp (help add-symbol-file): Update.
10338 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10340 * gdb.base/help.exp (help load): Update expected results.
10342 2006-02-19 Fred Fish <fnf@specifix.com>
10344 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10345 specifix hex value as part of results.
10346 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10348 2006-02-16 Fred Fish <fnf@specifix.com>
10350 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10351 ushort_addr, and slong_addr, so the typedefs are not optimized
10353 * gdb.base/whatis.exp: Add tests using type name for struct type,
10354 union type, enum type, and typedef.
10356 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10358 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10360 2006-02-13 Jim Blandy <jimb@redhat.com>
10362 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10363 case where it takes two "next" commands to skip past the init
10366 2006-02-12 Fred Fish <fnf@specifix.com>
10368 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10369 to handle cases where it takes two "next" commands to skip
10370 past the init call.
10372 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10374 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10377 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10379 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10382 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10384 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10386 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10388 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10391 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10393 * gdb.cp/maint.exp: Set complaints to a positive value.
10395 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10397 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10398 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10401 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10403 * gdb.base/checkpoint.c: Update copyright notice. Include
10406 2006-01-04 Jim Blandy <jimb@redhat.com>
10408 * gdb.asm/asm-source.exp: Independently provide default values for
10409 asm-flags and debug-flags. Use 'string equal' to do the
10410 comparison, not the implicit expr's '==' operator. Remove
10411 now-unneeded assignments to asm-flags. In h8300 case, place
10412 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10414 2006-01-04 Michael Snyder <msnyder@redhat.com>
10416 * gdb.base/checkpoint.c: New file.
10417 * gdb.base/checkpoint.exp: New file.
10418 * gdb.base/multi-fork.c: New file.
10419 * gdb.base/multi-fork.exp: New file.
10420 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10422 2006-01-04 Fred Fish <fnf@specifix.com>
10424 * gdb.base/ptype.c (foo): Add typedef.
10425 (intfoo): Add function.
10426 * gdb.base/ptype1.c: New file.
10427 * gdb.base/ptype.exp: Handle compilation and linking with two
10428 source files. Test that proper type for "foo" is found based
10429 on source context rather than first match found in symtabs.
10431 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10433 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10434 * gdb.asm/openbsd.inc: Indent commands.
10436 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10438 * gdb.base/freebpcmd.exp: Increase timeout.
10440 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10442 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10444 * gdb.base/default.exp: Update check for "show version".
10446 2005-12-09 Randolph Chung <tausq@debian.org>
10448 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10449 * gdb.asm/pa64.inc: New file.
10451 2005-12-09 Randolph Chung <tausq@debian.org>
10453 * gdb.asm/common.inc: Indent commands.
10454 * gdb.asm/asmsrc1.s: Likewise.
10455 * gdb.asm/asmsrc2.s: Likewise.
10457 2005-12-09 Randolph Chung <tausq@debian.org>
10459 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10460 (get_addr_of_sym): Remove duplicate print.
10461 (gen_core): xfail hppa*-*-hpux*, update expected output.
10462 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10463 * gdb.arch/pa64-nullify.s: New file.
10465 2005-12-09 Randolph Chung <tausq@debian.org>
10467 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10469 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10471 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10472 code generation for these functions.
10473 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10476 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10478 * gdb.base/help.exp (help b, help br, help bre, help brea)
10479 (help break): Update the expected message.
10481 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10483 * gdb.asm/m68hc11.inc: Setup the data section.
10484 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10485 script for this test.
10486 (m6812-*-*): Likewise.
10488 2005-11-09 Randolph Chung <tausq@debian.org>
10490 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10492 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10494 * gdb.base/break.exp: Fix a comment typo.
10496 2005-11-03 Jim Blandy <jimb@redhat.com>
10498 Checked in by Elena Zannoni <ezannoni@redhat.com>
10500 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10502 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10504 * gdb.arch/gdb1558.c: Include stdio.h.
10506 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10508 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10510 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10512 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10514 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10516 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10517 vscr" tests to better match output.
10519 2005-10-12 Jim Blandy <jimb@redhat.com>
10521 * gdb.base/structs.exp (any): New function.
10522 (test_struct_returns): Don't make any assumptions at all about
10523 what value the function returns when GDB can't set the return
10526 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10528 * gdb.ada/arrayidx/p.adb: New file.
10529 * gdb.ada/arrayidx.exp: New testcase
10531 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10533 * gdb.ada/array_return/pck.ads: New file.
10534 * gdb.ada/array_return/pck.adb: New file.
10535 * gdb.ada/array_return/p.adb: New file.
10536 * gdb.ada/array_return.exp: New testcase.
10538 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10540 * gdb.base/arrayidx.c: New file.
10541 * gdb.base/arrayidx.exp: New testcase.
10543 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10545 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10546 frames-invalid and breakpoints-invalid are no longer generated
10547 with level 3 so don't expect them in the output.
10549 2005-09-27 Bob Rossi <bob@brasko.net>
10551 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10552 from test. Escape the | in mi_gdb_test call.
10553 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10554 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10555 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10556 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10557 expected regex's in mi_gdb_test calls.
10558 * lib/mi-support.exp: Remove arbitrary .* from tests.
10559 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10560 Fully anchor GDB/MI expected results in mi_gdb_test.
10561 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10562 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10564 2005-09-26 Paul Brook <paul@codesourcery.com>
10566 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10568 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10570 * bfp-test.c: New file.
10571 * bfp-test.exp: New testcase.
10573 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10575 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10576 of subarray and substring variable.
10577 * gdb.fortran/subarray.f: New source file for the test of subarray
10578 and substring variable evaluation.
10579 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10580 of string constant.
10582 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10584 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10587 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10589 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10590 powerpc altivec' test with an almost identical 'info vector' test.
10592 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10594 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10595 vscr" tests to match output.
10597 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10599 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10602 2005-09-11 Bob Rossi <bob@brasko.net>
10604 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10605 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10606 commands that return an MI output command and an asyncronous MI output
10608 * gdb.mi/mi-console.exp: Ditto.
10610 2005-09-11 Bob Rossi <bob@brasko.net>
10612 * gdb.mi/mi-var-child.c: Include <string.h>.
10614 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10616 * killed.exp: Correct gdb_expect syntax.
10618 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10620 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10622 2005-08-02 Bob Rossi <bob@brasko.net>
10624 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10625 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10626 Change tests to inferior-tty-set/show.
10627 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10628 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10629 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10630 inferior. Use mi_gdb_test to get GDB and Inferior output.
10631 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10633 (mi_inferior_tty_name): Add inferior PTY file name.
10634 (mi_gdb_start): Add INFERIOR_PTY parameter.
10635 (mi_gdb_test): Add IPATTERN parameter.
10637 2005-08-02 Bob Rossi <bob@brasko.net>
10639 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10640 parameter to mi_gdb_test.
10641 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10643 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10645 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10646 struct_declarations.
10647 * gdb.mi/mi-var-child.exp: Step over the initialization of
10648 struct_declarations.
10650 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10652 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10653 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10654 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10655 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10656 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10659 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10661 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10662 (do_children_tests): Assign values to the extra elements.
10664 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10665 them for tests for "-var-update --no-values" and
10666 "-var-update --all-values".
10667 Add test for "-var-list-children --simple-values".
10669 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10671 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10672 "-stack-list-locals --simple-values" Improve doc strings and
10675 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10677 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10679 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10681 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10684 2005-07-14 Bob Rossi <bob@brasko.net>
10686 * gdb.base/default.exp (tty): Changed output of command.
10687 * gdb.base/help.exp (help tty): Ditto.
10689 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10691 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10693 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10695 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10696 -stack-select-frame without arguments.
10697 (test_stack_frame_listing): Add test for newly implemented command
10700 2005-07-06 Bob Rossi <bob@brasko.net>
10702 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10704 (Copyright): Update copyright.
10706 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10708 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10709 tests to evaluate exponentiation expression.
10711 2005-06-29 Andreas Schwab <schwab@suse.de>
10713 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10714 main to avoid warnings.
10716 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10718 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10720 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10721 -stack-select-frame without arguments.
10722 (test_stack_frame_listing): Add test for newly implemented command
10725 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10727 * gdb.fortran/array-element.f: New file.
10728 * gdb.fortran/array-element.exp: New testcase.
10730 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10732 * gdb.base/bigcore.exp: Correct checks for systems which can
10733 not dump a large core file.
10735 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10737 * gdb.base/relocate.c: Add a copyright notice.
10739 * gdb.base/relocate.exp: Test printing the values of variables
10740 from a relocatable file.
10742 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10744 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10745 excess MI output after an error.
10747 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10749 * gdb.arch/alpha-step.c: New file.
10750 * gdb.arch/alpha-step.exp: New testcase.
10752 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10753 Dennis Brueni <dennis@slickedit.com>
10755 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10756 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10757 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10758 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10759 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10760 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10761 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10763 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10764 Wu Zhou <woodzltc@cn.ibm.com>
10766 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10767 IBM's xlc compiler.
10768 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10769 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10771 2005-05-13 Jim Blandy <jimb@redhat.com>
10773 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10774 calling gdb_suppress_entire_file.
10775 * gdb.base/charset.exp: Same.
10776 * gdb.base/call-rt-st.exp: Same.
10778 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10780 * lib/gdb.exp (fullname_syntax): Added global regex.
10781 (fullname_syntax_POSIX): Ditto.
10782 (fullname_syntax_UNC): Ditto.
10783 (fullname_syntax_DOS_CASE): Ditto.
10784 (fullname_syntax_DOS): Ditto.
10785 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10786 fullname_syntax variable to scope and use it.
10787 (test_file_list_exec_source_files): Ditto.
10788 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10790 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10792 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10794 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10796 * lib/gdb.exp (skip_altivec_tests): New function, based on
10797 check_vmx_hw_available from the GCC testsuite.
10798 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10799 * lib/gdb.arch/altivec-regs.exp: Likewise.
10801 2005-05-02 Jim Blandy <jimb@redhat.com>
10803 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10804 calling gdb_suppress_entire_file.
10806 2005-04-30 Randolph Chung <tausq@debian.org>
10808 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10809 Slightly relax "sem_post" name checking.
10811 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10813 * gdb.base/unload.exp: Use new shared library infrastructure.
10815 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10817 * gdb.base/so-impl-ld.exp: Use new shared library
10820 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10822 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10823 * gdb.asm/h8300.inc: New file.
10825 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10827 * gdb.base/shlib-call.exp: Change to use new shared library
10830 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10832 * gdb.base/pending.exp: Change to use new shared library
10835 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10837 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10838 use test_compiler_info instead of gcc_compiled, and update copyright.
10840 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10842 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10843 shared objects being adjusted and update copyright years.
10845 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10847 * ChangeLog: Correct some 2003-01-13 dates.
10848 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10849 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10850 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10851 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10852 gdb.trace/tfind.exp: Update copyright years.
10854 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10855 Daniel Jacobowitz <dan@codesourcery.com>
10857 * lib/gdb.exp (gdb_compile): Handle shlib=.
10858 (gdb_compile_shlib): New function.
10860 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10862 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10864 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10866 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10868 * configure.ac: Likewise.
10869 * configure: Regenerated.
10870 * gdb.gdbserver/Makefile.in: Moved to...
10871 * gdb.server/Makefile.in: ... here.
10872 * gdb.gdbserver/server.c: Moved to...
10873 * gdb.server/server.c: ... here.
10874 * gdb.gdbserver/server-run.exp: Moved to...
10875 * gdb.server/server-run.exp: ... here.
10877 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10879 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10880 * configure.ac: Create gdb.gdbserver/Makefile.
10881 * configure: Regenerated.
10882 * lib/gdbserver-support.exp: New file, derived from
10883 config/gdbserver.exp.
10884 * config/gdbserver.exp: Use gdbserver-support.exp.
10885 * gdb.gdbserver/Makefile.in: New file.
10886 * gdb.gdbserver/server.c: New file.
10887 * gdb.gdbserver/server-run.exp: New file.
10889 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10891 * lib/gdb.exp (test_compiler_info): Return compiler_info
10892 if no arguments are given.
10894 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10896 * gdb.arch/altivec-abi.exp: Check for compiler and set
10897 use altivec' flag accordingly.
10898 * gdb.arch/altivec-regs.exp: Likewise.
10900 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10902 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10904 2005-03-27 Andreas Schwab <schwab@suse.de>
10906 * gdb.base/bigcore.c (main): Add missing mode argument in open
10909 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10911 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10913 * config/gdbserver.exp (gdb_load): Likewise.
10915 2005-03-14 Paul Brook <paul@codesourcery.com>
10917 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10920 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10922 * gdb.dwarf2/dup-psym.S: New file.
10923 * gdb.dwarf2/dup-psym.exp: New testcase.
10925 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10927 * gdb.ada/exec_changed/first.adb: New file.
10928 * gdb.ada/exec_changed/second.adb: New file.
10929 * gdb.ada/exec_changed.exp: New testcase.
10931 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10933 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10935 (main): Test operator+.
10936 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10939 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10940 * gdb.base/signull.exp: Disable if gdb,nosignals.
10941 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10942 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10943 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10944 * gdb.mi/mi2-console.exp: Likewise.
10945 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10946 continue output at start.
10947 (gdb_collect_locals_test): Robustify regexp.
10948 * gdb.trace/passc-dyn.exp: Fix comment typo.
10949 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10951 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10953 * gdb.asm/asm-source.exp: Add iq2000 case.
10954 * gdb.asm/iq2000.inc: New file.
10956 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10958 * gdb.base/command.exp: Change hardcoded value to regular expression.
10959 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10961 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10963 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10964 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10965 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10966 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10967 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10969 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10971 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10974 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10976 * lib/compiler.c: Add test for IBM's xlc compiler.
10977 * lib/compiler.cc: Likewise.
10979 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10981 * gdb.ada/fixed_points.exp: Create compilation object directory
10982 before running the test.
10983 * gdb.ada/null_record.exp: Likewise.
10984 * gdb.ada/packed_array.exp: Likewise.
10985 * gdb.ada/start.exp: Likewise.
10987 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10989 * gdb.ada/packed_array/pa.adb: New file.
10990 * gdb.ada/packed_array.exp: New testcase.
10992 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10994 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10997 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10998 on *-*-openbsd*. Correctly match whitespace in regukar
11001 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11003 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11005 * gdb.base/gdb1821.c: New test file.
11006 * gdb.base/gdb1821.exp: New test file.
11008 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11010 * gdb.base/start.c: New file.
11011 * gdb.base/start.exp: New testcase.
11013 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11015 * gdb.ada/start/dummy.adb: New file.
11016 * gdb.ada/start.exp: New testcase.
11018 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11020 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11021 for printing symbols and statistics.
11022 Add test for using relative pathnames in "maint print msymbols" test.
11023 Mark "maint info sections DATA" XFAIL on Cygwin.
11024 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11027 2005-02-09 Andreas Schwab <schwab@suse.de>
11029 Committed by Andrew Cagney <cagney@gnu.org>
11030 * gdb.base/remotetimeout.exp: New file.
11032 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11034 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11036 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11038 * gdb.ada/gnat_ada.gpr: New file.
11039 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11040 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11041 * configure.ac: No longer generate gnat_ada.gpr.
11042 * configure: Regenerate.
11043 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11044 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11045 * gdb.ada/null_record/bar.ads: Likewise.
11046 * gdb.ada/null_record/bar.adb: Likewise.
11047 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11048 * gdb.ada/null_record.exp (testdir): New variable.
11049 (testfile): executable is now in testdir subdirectory.
11050 (srcfile): Use full path to the main compilation unit.
11051 * gdb.ada/fixed_points.exp: Same changes as above.
11053 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11055 * gdb.base/interp.exp: New test.
11057 2005-01-24 Andrew Cagney <cagney@gnu.org>
11059 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11061 2005-01-19 Andrew Cagney <cagney@gnu.org>
11063 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11064 configure.ac not configure.in.
11066 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11068 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11069 * gdb.base/list.exp (test_list_function)
11070 (test_list_filename_and_function): Ditto.
11071 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11073 2005-01-16 Andrew Cagney <cagney@gnu.org>
11075 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11077 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11079 2005-01-14 Andrew Cagney <cagney@gnu.org>
11081 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11082 * gdb.mi/mi2-var-cmd.exp: Ditto.
11084 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11086 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11088 2005-01-07 Andrew Cagney <cagney@gnu.org>
11090 * configure.ac: Rename configure.in, require autoconf 2.59.
11091 * configure: Re-generate.
11092 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11093 * gdb.stabs/configure: Re-generate.
11094 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11095 * gdb.hp/configure: Re-generate.
11096 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11098 * gdb.hp/gdb.objdbg/configure: Re-generate.
11099 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11101 * gdb.hp/gdb.defects/configure: Re-generate.
11102 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11104 * gdb.hp/gdb.compat/configure: Re-generate.
11105 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11107 * gdb.hp/gdb.base-hp/configure: Re-generate.
11108 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11110 * gdb.hp/gdb.aCC/configure: Re-generate.
11112 2004-12-15 Jim Blandy <jimb@redhat.com>
11114 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11115 under NPTL when there is debugging info available for libpthread.
11117 2004-12-13 Jerome Guitton <guitton@gnat.com>
11119 * gdb.ada/fixed_points.c: New file.
11120 * gdb.ada/fixed_points.exp: New file.
11122 2004-12-03 Randolph Chung <tausq@debian.org>
11124 * gdb.arch/pa-nullify.exp: New file.
11125 * gdb.arch/pa-nullify.s: New file.
11127 2004-11-30 Randolph Chung <tausq@debian.org>
11129 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11130 instead of "tbug". Fix regexp to work properly with gdb_test.
11132 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11134 * gdb.base/bitfields2.exp: New test.
11135 * gdb.base/bitfields2.c: New file.
11137 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11139 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11141 2004-11-16 Randolph Chung <tausq@debian.org>
11143 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11145 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11147 * gdb.threads/threadapply.exp: Correct "macro details" test.
11149 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11151 * gdb.threads/threadapply.exp: New test.
11152 * gdb.threads/threadapply.c: New file.
11154 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11156 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11159 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11161 * gdb.base/cursal.exp: New file.
11162 * gdb.base/cursal.c: New file.
11164 2004-11-03 Andrew Cagney <cagney@gnu.org>
11166 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11168 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11170 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11171 NetBSD/ELF targets.
11173 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11175 * gdb.threads/bp_in_thread.c: New file, copied from
11176 pthread_cond_wait.c.
11177 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11178 file, rather than reusing the .c file from another testcase.
11180 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11182 * gdb.ada/null_record.exp: Check where we stopped after
11183 sending the start command, instead of where the associated
11184 temporary breakpoint was inserted.
11186 2004-10-14 Andrew Cagney <cagney@gnu.org>
11188 * gdb.mi/gdb701.c (main): Return 0.
11190 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11192 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11194 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11196 * gdb.threads/schedlock.c: Add comment markers to use to find
11198 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11200 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11203 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11205 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11207 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11209 * configure.in: Add gdb.dwarf2.
11210 * configure: Regenerated.
11211 * Makefile.in: Add gdb.dwarf2.
11212 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11213 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11214 gdb.dwarf2/file1.txt: New files.
11216 2004-10-11 Orjan Friberg <orjanf@axis.com>
11218 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11219 of "run", since the latter doesn't work with remote targets. Adjust
11220 the breakpoint numbering accordingly.
11221 * gdb.threads/pthread_cond_wait.exp: Ditto.
11223 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11225 * gdb.base/overlays.exp: Update copyright years.
11227 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11229 * gdb.base/overlays.exp: Disable if target is Linux.
11231 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11233 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11235 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11237 * gdb.asm/asm-source.exp: Add m32r-linux target.
11238 * gdb.asm/m32r-linux.inc: New file.
11240 2004-09-24 Andrew Cagney <cagney@redhat.com>
11241 David Anderson <anderson@redhat.com>
11243 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11244 command fails, assume things will work.
11245 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11246 (_GNU_SOURCE): Define.
11247 (print_unsigned, print_hex): Change parameter to "long long".
11248 (print_byte_count): New function, use to print byte counts.
11249 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11251 (main): Compute an upper bound on a corefile in max_core_size.
11252 Limit memory chunk size to max_core_size. Limit total memory
11253 allocated to max_core_size.
11255 2004-09-23 Andrew Cagney <cagney@gnu.org>
11257 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11258 from a separate process with code that creates a corefile by
11259 making the inferior dump core.
11261 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11263 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11266 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11268 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11269 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11270 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11273 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11275 * gdb.java/jprint.exp: New test case for java inferior call.
11276 * gdb.java/jprint.java: Ditto.
11278 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11280 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11282 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11284 * gdb.threads/killed.c: Include <stdlib.h>.
11285 * gdb.threads/pthreads.c: Likewise.
11287 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11289 * gdb.threads/killed.c: Add copyright notice.
11291 2004-09-10 Jason Molenda (jmolenda@apple.com)
11293 * gdb.base/define.exp: Two new tests to verify zero space chars
11294 after 'if' and 'while' commands in a user-defined command is correctly
11297 2004-09-08 Andrew Cagney <cagney@gnu.org>
11299 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11300 delivery test with duplicate at end of file.
11302 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11304 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11306 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11308 * config/hppro.exp: Removed.
11310 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11312 * config/sparclet.exp: Removed.
11314 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11316 * config/udi.exp: Removed.
11318 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11320 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11322 (advancei): Likewise.
11324 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11326 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11328 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11330 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11331 to check for nodebug in executable.
11332 * gdb.gdb/observer.exp (setup_test): Likewise.
11333 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11334 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11336 2004-09-01 Andrew Cagney <cagney@gnu.org>
11338 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11341 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11343 * gdb.base/unload.exp: Fix expected warning message to match
11346 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11348 * gdb.base/call-rt-st.exp: Fix typos.
11350 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11352 * gdb.threads/thread_check.exp: New testcase.
11353 * gdb.threads/thread_check.c: New testcase.
11355 2004-08-31 Andrew Cagney <cagney@gnu.org>
11357 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11358 (skip_to_handler_entry): New procedures. Test stepping into a
11359 handler when the breakpoint is at the handler's entry point.
11361 2004-08-30 Andrew Cagney <cagney@gnu.org>
11363 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11366 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11368 With code from Manoj Iyer <manjo@austin.ibm.com>:
11369 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11370 return value. Add an arm for "no debugging symbols found".
11371 Change a stray "error" to "perror".
11372 (gdb_run_cmd): Adapt to new return value.
11373 * gdb.base/remote.exp: Adapt to new return value.
11374 * gdb.gdb/complaints.exp: Likewise.
11375 * gdb.gdb/observer.exp: Likewise.
11376 * gdb.gdb/selftest.exp: Likewise.
11377 * gdb.gdb/xfullpath.exp: Likewise.
11379 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11381 * gdb.threads/bp_in_thread.exp: New testcase.
11383 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11385 Fix PR testsuite/1735.
11386 * gdb.threads/schedlock.c (thread_function): Add a cast
11387 to suppress a gcc warning.
11388 * gdb.threads/thread-specific.c (thread_function): Likewise.
11390 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11392 * gdb.base/unload.c: Include <stdlib.h>.
11394 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11396 From Paul Gilliam <pgilliam@us.ibm.com>:
11397 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11398 synchronized after the "return".
11400 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11402 * gdb.mi/basics.c: Include <stdio.h>.
11403 * gdb.mi/pthreads.c: Include <stdlib.h>.
11404 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11406 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11408 * gdb.threads/schedlock.c: Add copyright notice.
11410 2004-08-25 Andrew Cagney <cagney@gnu.org>
11412 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11413 (skip_over_handler, breakpoint_over_hander): New test procedures.
11414 (advance, advancei): Add a proper prefix, do not use
11416 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11418 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11420 * gdb.mi/basics.c: Add copyright notice.
11421 * gdb.mi/var-cmd.c: Add copyright notice.
11423 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11425 * lib/gdb.exp: Remove signed_keyword_not_used.
11426 * lib/compiler.c: Likewise.
11427 * lib/compiler.cc: Likewise.
11429 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11431 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11432 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11434 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11436 * gdb.base/whatis.c: Add copyright notice.
11438 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11440 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11441 it to skip the breakpoints encoded in the inline assembly.
11443 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11445 * Makefile.in: Add gdb.fortran.
11447 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11449 * gdb.base/call-sc.exp (test_scalar_returns):
11450 Fix cut-and-paste glitch in "Make fun return now".
11452 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11454 * configure.in: Add gdb.fortran.
11455 * configure: Regenerate.
11456 * gdb.fortran/Makefile.in: New file.
11457 * lib/gdb.exp (skip_fortran_tests): New procedure.
11459 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11461 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11462 reference to bug-gnu@prep.ai.mit.edu.
11463 * gdb.mi/mi-var-child.exp: Likewise.
11464 * gdb.mi/mi-var-cmd.exp: Likewise.
11465 * gdb.mi/mi-var-display.exp: Likewise.
11466 * gdb.mi/mi2-var-block.exp: Likewise.
11467 * gdb.mi/mi2-var-child.exp: Likewise.
11468 * gdb.mi/mi2-var-cmd.exp: Likewise.
11469 * gdb.mi/mi2-var-display.exp: Likewise.
11471 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11473 * gdb.base/unload.c (main): Make local variable msg const.
11475 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11477 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11478 to bug-gnu@prep.ai.mit.edu.
11479 * gdb.mi/mi-disassemble.exp: Likewise.
11480 * gdb.mi/mi-eval.exp: Likewise.
11481 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11482 default line number.
11483 * gdb.mi/mi-return.exp: Likewise.
11484 * gdb.mi/mi-simplerun.exp: Likewise.
11485 * gdb.mi/mi-stack.exp: Likewise.
11486 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11487 number with explicit range test.
11488 * gdb.mi/mi-watch.exp: Likewise.
11489 * gdb.mi/mi2-break.exp: Likewise.
11490 * gdb.mi/mi2-cli.exp: Likewise.
11491 * gdb.mi/mi2-disassemble.exp: Likewise.
11492 * gdb.mi/mi2-eval.exp: Likewise.
11493 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11494 default line number.
11495 * gdb.mi/mi2-return.exp: Likewise.
11496 * gdb.mi/mi2-simplerun.exp: Likewise.
11497 * gdb.mi/mi2-stack.exp: Likewise.
11498 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11499 number with explicit range test.
11500 * gdb.mi/mi2-watch.exp: Likewise.
11502 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11504 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11505 * gdb.cp/m-static.exp: Likewise.
11506 * gdb.cp/rtti.exp: Likewise.
11508 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11510 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11512 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11514 * ChangeLog: Prefix Local Variables with semi-colons and indent
11515 the reference to older ChangeLog files, to fix fontification in
11518 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11520 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11521 * gdb.mi/mi2-break.exp: Likewise.
11523 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11525 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11527 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11529 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11531 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11533 * gdb.cp/classes.exp: Remove unused declarations. Just let
11534 test names default instead of providing special names. Remove
11535 extraneous demangler test.
11537 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11539 * gdb.base/unload.exp: New test for breakpoints in dynamically
11541 * gdb.base/unload.c: Ditto.
11542 * gdb.base/unloadshr.c: Ditto.
11544 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11546 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11547 cp_test_ptype_class.
11548 (test_enums): Likewise.
11550 2004-08-10 Andrew Cagney <cagney@gnu.org>
11552 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11555 2004-08-10 Andrew Cagney <cagney@gnu.org>
11557 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11560 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11562 * ChangeLog: Add copyright notice. The notice is copied
11563 from emacs 21.3 top level ChangeLog.
11565 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11567 * lib/cp-support.exp: New file.
11568 * lib/cp-support.exp (cp_test_type_class): New function.
11569 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11570 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11571 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11572 cp_test_ptype_class.
11574 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11576 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11577 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11578 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11579 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11580 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11581 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11582 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11583 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11584 gdb.mi/mi2-watch.exp: Update copyright years.
11586 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11588 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11590 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11592 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11593 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11594 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11595 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11596 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11597 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11598 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11599 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11600 gdb.mi/mi-watch.exp: Update copyright years.
11602 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11605 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11606 from a breakpoint with a pending signal.
11608 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11611 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11612 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11614 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11616 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11618 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11620 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11623 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11626 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11628 * gdb.arch/i386-prologue.exp: Compile without debug information.
11630 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11632 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11633 rather than asking gdb to search.
11635 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11637 * gdb.base/gcore.c: Include <string.h>.
11639 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11641 * gdb.base/gcore.c: Add copyright notice.
11643 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11645 * gdb.base/freebpcmd.c: Include <stdio.h>.
11646 * gdb.base/long_long.c: Include <string.h>.
11647 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11648 * gdb.base/siginfo.c: Include <string.h>.
11649 * gdb.base/sigstep.c: Include <string.h>.
11651 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11653 * gdb.base/complex.c: Include <stdlib.h>.
11655 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11657 * gdb.base/complex.c: Add copyright notice.
11659 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11661 * gdb.base/charset.c: Include <stdlib.h>.
11663 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11665 * gdb.base/auxv.c: Include <stdlib.h>.
11667 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11669 * gdb.base/auxv.c: Add copyright notice.
11671 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11673 * gdb.base/coremaker.c: Add copyright notice.
11674 * gdb.base/coremaker2.c: Add copyright notice.
11676 2004-08-04 Andrew Cagney <cagney@gnu.org>
11678 * gdb.base/store.exp: Update copyright.
11679 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11680 names, do not import gdb_prompt.
11682 2004-08-01 Andrew Cagney <cagney@gnu.org>
11684 Fix PR testsuite/1729.
11685 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11686 not use capture_value with value 4.
11687 (capture_value): Add optional test name parameter.
11688 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11689 the prefix, pass to capture_value.
11691 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11693 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11694 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11695 (main): Call new function.
11697 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11699 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11701 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11703 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11705 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11707 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11708 Accept more values of vtbl pointer. Remove some messages
11709 about "obsolete gcc or gdb".
11711 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11713 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11715 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11717 * gdb.base/asm-source.exp: Properly convert target board
11718 debug flags from gcc format to binutils format.
11720 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11722 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11723 gdb1718". PR backtrace/1718 partially fixed.
11725 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11727 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11729 2004-07-26 Nick Clifton <nickc@redhat.com>
11731 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11732 good default value for a specific architecture is available then
11733 set it to that value. Otherwise default to the -gstabs switch.
11734 Remove the -g... switches from the asm-flags variable. Allow the
11735 target board info to override the value if it wants to. Pass the
11736 switch on the assembler command line.
11738 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11740 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11741 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11742 (main): Call new function.
11744 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11746 Test for PR exp/1715.
11747 * gdb.base/radix.exp: Refactor common procedures. Make all
11748 test names unique. Change XFAIL to KFAIL.
11750 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11752 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11753 * gdb.ada/gnat_ada.gin: ... to here.
11754 * configure.in: Use gnat_ada.gin.
11755 * configure: Regenerate.
11757 2004-07-20 Andrew Cagney <cagney@gnu.org>
11759 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11760 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11761 XFAILs. Clean up test messages and comments. Check backtraces.
11762 Delete re-sync code.
11764 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11767 * gdb.base/annota1.exp: Honor gdb,nosignals.
11768 * gdb.base/annota3.exp: Likewise.
11770 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11772 * lib/java.exp: Update copyright notice.
11774 2004-07-19 Andrew Cagney <cagney@gnu.org>
11776 * gdb.base/selftest.exp: Copy file from here ...
11777 * gdb.gdb/selftest.exp: ... to here.
11779 2004-07-16 Andrew Cagney <cagney@redhat.com>
11781 * lib/insight-support.exp: Delete file.
11782 * lib/java.exp (java_init): Fix copyright.
11784 2004-07-16 Andrew Cagney <cagney@gnu.org>
11786 * gdb.base/restore.c: Append "prologue" to comments marking the a
11787 function's prologue.
11788 * gdb.base/restore.exp: Update copyright, re-indent.
11789 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11790 callerN" prefix where needed. Update patterns that match a
11791 function's prologue.
11793 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11795 * gdb.base/restore.c: Add copyright notice.
11797 2004-07-16 Andrew Cagney <cagney@gnu.org>
11799 * gdb.base/logical.exp: Update copyright.
11800 (evaluate): New procedure. Use to re-implement tests using
11803 2004-07-14 Martin Hunt <hunt@redhat.com>
11805 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11806 which fixes some problems where init.tcl was not found.
11808 2004-07-13 Andrew Cagney <cagney@gnu.org>
11810 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11811 (check_sizeof, check_valueof): Do not include the output in the
11812 test name. Use gdb_test.
11813 (get_valueof): Use gdb_test_multiple.
11815 * gdb.base/step-test.exp: Update copyright. Use
11816 gdb_test_multiple. Ensure that test names do not include
11817 architecture dependent output.
11819 * gdb.gdb/observer.exp: Update copyright.
11820 (setup_test): Use gdb_test_multiple.
11821 (attach_first_observer, attach_second_observer)
11822 (attach_third_observer, detach_first_observer)
11823 (detach_second_observer, detach_third_observer)
11824 (reset_counters, check_counters): Make $message a prefix.
11825 (test_normal_stop_notifications): Add "args" parameter - a list of
11826 init functions to be called. Make $message a prefix,
11827 (test_observer_normal_stop): Change the message prefixes so that
11828 they are unique, pass the attach / detach procedures to
11829 test_normal_stop_notifications.
11831 * gdb.base/signull.exp (test_segv): Prefix all tests with
11832 "${name}". Clean up test messages.
11834 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11836 * gdb.base/ena-dis-br.exp: Update copyright.
11837 (break_at): New function. Replace send_gdb with gdb_test,
11838 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11839 ignore count, not stopped at bpt", with KFAIL.
11841 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11843 * gdb.base/attach.exp: Remove cleanupfile handling.
11845 2004-07-12 Andrew Cagney <cagney@gnu.org>
11847 * gdb.base/annota1.exp: Cleanup corefile test name.
11848 * gdb.base/annota3.exp: Ditto.
11850 2004-07-12 Andrew Cagney <cagney@gnu.org>
11852 * gdb.base/signals.exp: Clean up copyright, re-indent.
11854 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11855 gdb_test and gdb_test_multiple.
11857 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11859 * gdb.java/jmain.exp: Fix expected line number for main to
11860 break at. Set XFAIL for break at main test since gcj does not
11861 provide line number info for first statement in main.
11863 2004-07-08 Andrew Cagney <cagney@gnu.org>
11865 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11867 * gdb.base/sigbpt.exp: Make the common part of each test name a
11868 prefix instead of suffix.
11870 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11872 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11873 test from test_tbreak_creation_and_listing to
11874 test_file_list_exec_source_file
11875 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11876 Changed name of test from test_tbreak_creation_and_listing to
11877 test_file_list_exec_source_file
11879 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11881 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11882 the jmisc() constructor instead of <init>.
11883 * gdb.java/jmisc1.exp: Ditto.
11885 2004-07-07 Andrew Cagney <cagney@gnu.org>
11887 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11890 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11892 * gdb.cp/templates.exp: Accept whitespace change in demangler
11895 2004-07-06 Andrew Cagney <cagney@gnu.org>
11897 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11899 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11901 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11902 * lib/compiler.cc: Likewise.
11904 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11906 * lib/compiler.cc: Work around string preprocessing problem
11907 with old hp c++ compiler.
11908 * lib/compiler.c: Likewise.
11910 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11912 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11913 directives to conditionalize symbol prefixing.
11914 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11915 additional_flags handling. Add underscore prefix for Cygwin.
11916 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11917 conditionalize symbol prefixing.
11918 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11919 additional_flags handling. Add underscore prefix for Cygwin.
11921 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11923 * gdb.base/bigcore.exp: Skip test on Cygwin.
11925 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11927 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11928 formats for "info register". Use gdb_test_multiple. Fix
11929 the "invalid register" test.
11931 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11933 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11934 PID for Cygwin. Add Cygwin specific strings to check for in some
11936 (do_attach_tests): Add a test for user interaction when attaching
11937 to a process with no matching symbol table already loaded.
11939 2004-06-26 Andrew Cagney <cagney@gnu.org>
11941 Test PR java/1567 and PR java/1565.
11942 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11943 * gdb.java/jmisc2.exp: Delete file.
11945 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11947 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11949 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11951 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11954 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11956 * gdb.cp/pr-1553.exp: Remove.
11958 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11960 * gdb.cp/pr-1553.cc: Remove.
11961 * gdb.cp/pr-1553.exp: Disable this test.
11963 2004-06-20 Jim Blandy <jimb@redhat.com>
11965 Fix PR testsuite/1680.
11966 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11967 regular expressions.
11969 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11971 Fix PR testsuite/1679.
11972 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11973 Issue an UNSUPPORTED result instead.
11975 2004-06-18 Jim Blandy <jimb@redhat.com>
11977 * gdb.base/charset.exp: Only send a control-C if we see a new
11978 prompt and incomplete command.
11980 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11982 * gdb.cp/pr-574.cc: Add copyright notice.
11984 2004-06-17 Jim Blandy <jimb@redhat.com>
11986 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11987 cases where the regexp has no groups; this grabs random text from
11988 the previous test suite, whatever that was.
11990 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11992 * gdb.cp/printmethod.cc: Add copyright notice.
11994 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11996 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11998 2004-06-16 Andrew Cagney <cagney@gnu.org>
12000 * gdb.base/signull.c: Update copyright. Include <string.h>.
12001 (bowler): Replace data_pointer with data_read
12002 and data_write cases. Add code_descriptor case.
12003 (zero, desc): New array and pointer.
12004 (data, code): Change to simple pointers.
12005 * gdb.base/signull.exp: Fix probe pattern matching a function
12006 descriptor SIGSEGV. Replace data_pointer with data_read and
12009 2004-06-16 Andrew Cagney <cagney@gnu.org>
12011 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12013 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12015 * gdb.base/long_long.c: Add copyright notice.
12017 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12019 * gdb.base/long_long.exp: Remove reference to
12020 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12021 to gdb_breakpoint and gdb_continue_to_breakpoint.
12023 2004-06-14 Jim Blandy <jimb@redhat.com>
12025 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12028 2004-06-14 Andrew Cagney <cagney@gnu.org>
12030 * gdb.base/gcore.exp (capture_command_output): Delete the always
12031 passing tests containing inferior values.
12032 * gdb.base/ending-run.exp: Do not include the breakpoint address
12033 in the test message. Update copyright.
12034 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12035 size in the test name, use gdb_test_multiple. Update copyright.
12037 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12039 * gdb.cp/ref-types.cc: Add copyright notice.
12041 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12043 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12045 * lib/compiler.cc: Likewise.
12046 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12047 'set' commands. Log diagnostics for other lines. Set
12048 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12050 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12052 * gdb.cp/try_catch.cc: Add copyright notice.
12054 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12056 * gdb.cp/userdef.cc: Add copyright notice.
12058 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12060 * gdb.cp/virtfunc.cc: Add copyright notice.
12062 2004-06-11 Randolph Chung <tausq@debian.org>
12064 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12067 2004-06-10 Andrew Cagney <cagney@gnu.org>
12069 * lib/compiler.cc, lib/compiler.c: Append either
12070 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12071 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12072 instead of gcc-3-3.
12074 2004-06-09 Andrew Cagney <cagney@gnu.org>
12076 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12077 gdb/1455, bug is specific to "long long" and "double".
12079 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12080 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12081 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12084 2004-06-09 Andrew Cagney <cagney@gnu.org>
12086 * gdb.base/structs.exp (test_struct_returns): Replace
12087 "return_value_unknown" and "finish_value_unknown" by
12088 "return_value_known" and "finish_value_known". Instead of
12089 "return_value_unknown" iff "finish_value_unknown", check
12090 "return_value_known" implies "finish_value_known".
12092 2004-06-08 Martin Hunt <hunt@redhat.com>
12094 * gdb.base/float.exp: Add pattern for mips targets.
12096 2004-06-08 Randolph Chung <tausq@debian.org>
12098 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12099 message for unknown architectures more clear.
12101 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12103 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12104 start the execution of the program.
12106 2004-06-07 Jim Blandy <jimb@redhat.com>
12108 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12109 * gdb.arch/i386-cpuid.h: New helper file.
12111 2004-06-07 Randolph Chung <tausq@debian.org>
12113 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12116 2004-06-04 Roland McGrath <roland@redhat.com>
12119 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12120 differently to be robust to output buffering differences.
12122 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12124 * gdb.threads/pthreads.exp: Update copyright years.
12125 (check_control_c): Change asynchronous 'after' to synchronous.
12127 2004-06-04 Roland McGrath <roland@redhat.com>
12129 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12132 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12135 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12136 calls to synchronous.
12138 2004-05-26 Jim Blandy <jimb@redhat.com>
12140 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12142 2004-05-24 Randolph Chung <tausq@debian.org>
12144 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12145 * gdb.asm/pa.inc: New file.
12147 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12149 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12151 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12152 Daniel Jacobowitz <drow@mvista.com>
12154 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12157 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12159 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12160 setjmp/longjmp. Use sigaction instead of signal.
12162 2004-05-19 J. Brobecker <brobecker@gnat.com>
12163 Michael Snyder <msnyder@redhat.com>
12165 * gdb.threads/pthread_cond_wait.c: New file.
12166 * gdb.threads/pthread_cond_wait.exp: New testcase.
12168 2004-05-13 Andrew Cagney <cagney@redhat.com>
12170 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12171 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12173 2004-05-11 Andrew Cagney <cagney@redhat.com>
12175 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12176 fixed but revealed gdb/1639.
12178 2004-05-10 Andrew Cagney <cagney@redhat.com>
12180 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12181 func1" and "next to 2nd alarm", kernel bug avoided.
12183 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12186 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12187 XFAIL if it is smaller than bytes_allocated.
12188 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12189 (main): Make chunks_allocated unsigned. Correct comment.
12191 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12193 * gdb.arch/powerpc-aix-prologue.c: New file.
12194 * gdb.arch/powerpc-aix-prologue.exp: New file.
12196 2004-05-07 Jim Blandy <jimb@redhat.com>
12198 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12199 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12201 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12203 * gdb.base/sep.exp: No longer setup_kfail when the program was
12206 2004-05-05 Jim Ingham <jingham@apple.com>
12208 * gdb.base/pending.exp: Make sure pending breakpoints
12209 preserve the ignore count.
12211 2004-04-27 Jerome Guitton <guitton@gnat.com>
12213 * i386-prologue.exp: Add testcase for jump instruction as first
12214 instruction of the real code.
12215 * i386-prologue.c (jump_at_beginning): New function.
12217 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12219 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12222 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12224 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12227 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12229 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12230 expression that checks the return type.
12232 2004-04-23 Andrew Cagney <cagney@redhat.com>
12234 * gdb.base/call-sc.exp: New test of scalar call/return values.
12235 * gdb.base/call-sc.c: Ditto.
12237 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12239 * gdb.threads/manythreads.c: Reduce thread stack size.
12241 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12243 * gdb.threads/manythreads.c: Add copyright notice.
12245 2004-04-23 Andrew Cagney <cagney@redhat.com>
12247 * gdb.base/siginfo.exp: Better handle step out of signal.
12248 * gdb.base/sigstep.exp: Ditto.
12250 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12251 Daniel Jacobowitz <drow@mvista.com>
12253 * gdb.threads/manythreads.c: New testcase.
12254 * gdb.threads/manythreads.exp: Ditto.
12256 2004-04-22 Jim Blandy <jimb@redhat.com>
12258 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12259 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12261 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12263 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12265 2004-04-21 Andrew Cagney <cagney@redhat.com>
12267 * gdb.base/sigstep.c: New file.
12268 * gdb.base/sigstep.exp: New file.
12270 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12272 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12273 call to observer_notify_normal_stop.
12275 2004-04-15 Andrew Cagney <cagney@redhat.com>
12277 * gdb.base/siginfo.c: New file.
12278 * gdb.base/siginfo.exp: New file.
12280 2004-04-12 J. Brobecker <brobecker@gnat.com>
12282 * gdb.base/sep.exp: Fix typo in comment.
12284 2004-04-12 J. Brobecker <brobecker@gnat.com>
12286 * gdb.base/sep.c: New file.
12287 * gdb.base/sep-proc.c: New file.
12288 * gdb.base/sep.exp: New testcase.
12290 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12292 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12295 2004-04-05 Andrew Cagney <cagney@redhat.com>
12297 * gdb.base/sigaltstack.c: New file.
12298 * gdb.base/sigaltstack.exp: New file.
12300 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12302 * gdb.base/foll-fork.exp: Update the expected output for
12303 "help set follow-fork-mode", to match a change that was made
12304 to the help of this variable on 2004-01-13.
12306 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12308 * lib/ada.exp: Add copyright notice.
12309 * bar.ads: Likewise.
12310 * bar.adb: Likewise.
12311 * null_record.adb: Likewise.
12312 * null_record.exp: Likewise.
12313 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12315 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12317 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12318 * configure: Regenerate.
12320 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12322 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12323 to build the application. Remove the message printed when in
12324 verbose mode, redundant with the UNSUPPORTED message above.
12326 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12328 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12329 * gdb.ada (null_record.exp): New testcase.
12331 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12333 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12335 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12337 * gdb.ada: New subdirectory.
12338 * gdb.ada/Makefile.in: New file.
12339 * gdb.ada/gnat_ada.gpr.in: New file.
12341 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12343 * lib/ada.exp: New file.
12345 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12347 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12348 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12350 2004-03-22 Andrew Cagney <cagney@redhat.com>
12352 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12353 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12354 Problem identified by Ulrich Weigand.
12356 2004-03-17 David Carlton <carlton@kealia.com>
12358 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12361 2004-03-16 Roland McGrath <roland@redhat.com>
12363 * gdb.base/auxv.exp: New file.
12364 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12366 2004-03-12 David Carlton <carlton@kealia.com>
12368 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12369 * gdb.cp/pr-1553.cc: Ditto.
12370 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12373 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12375 * gdb.cp/templates.exp: Accept more template types.
12377 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12379 From Corinna Vinschen with modifications.
12380 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12381 local variable obj_with_enum.
12382 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12383 results with obj_with_enum.
12385 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12387 * gdb.cp/classes.cc: New file, copied from misc.cc.
12388 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12390 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12392 * gdb.cp/misc.cc: Add copyright notice.
12394 2004-03-05 David Carlton <carlton@kealia.com>
12396 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12397 * gdb.cp/rtti.h: Update copyright.
12398 (namespace n2::n3): New.
12399 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12400 (n2::n3::func3): New.
12401 (main): Call n2::n3::func3.
12402 * gdb.cp/rtti2.cc: Update copyright.
12403 (n2::create3): New.
12405 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12407 * gdb.asm/openbsd.inc: Fix typo.
12409 2004-03-03 Fred Fish <fnf@redhat.com>
12411 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12412 "val" instead of unused "size". Update copyright year.
12414 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12416 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12417 to use unsigned char.
12418 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12419 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12421 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12423 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12426 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12428 * gdb.base/relocate.c (dummy): Initialize.
12430 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12432 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12433 a breakpoint at exit.
12435 2004-02-27 Fred Fish <fnf@redhat.com>
12437 * gdb.base/chng-syms.exp: Add expect condition to match failing
12438 case that isn't a timeout.
12440 2004-02-27 Andrew Cagney <cagney@redhat.com>
12442 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12445 2004-02-26 Fred Fish <fnf@redhat.com>
12447 * gdb.arch/gdb1431.c: Remove.
12448 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12449 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12450 of "until" incorrectly.
12452 2004-02-26 J. Brobecker <brobecker@gnat.com>
12454 * gdb.cp/class2.cc (empty): New class.
12455 (refer): New function.
12456 (main): Declare an object of type empty and use it.
12457 * gdb.cp/class2.exp: Print the value of an object of type empty.
12459 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12461 * gdb.base/langs.exp: Update query string to match the
12462 new nquery format used for pending breakpoints.
12464 2004-02-26 Andrew Cagney <cagney@redhat.com>
12467 * gdb.base/charset.c: Update copyright notice.
12468 (main, init_string): Remove the escape character '\e' tests.
12469 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12470 * gdb.base/charset.exp (valid_host_charset): Ditto.
12471 * gdb.base/setvar.exp: Ditto.
12473 2004-02-24 Andrew Cagney <cagney@redhat.com>
12475 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12476 mmapped data in core file" PASS and FAIL messages consistent.
12478 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12479 setting a breakpoint. Work around PR java/1565.
12481 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12483 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12485 * gdb.base/pending.exp: Ditto.
12487 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12489 * configure.in: Run stabs tests on *BSD.
12490 * configure: Regenerated.
12492 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12494 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12496 2004-02-20 Fred Fish <fnf@redhat.com>
12498 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12499 blank in test for "returns short", for consistency with other
12500 "returns xxx" tests. Update copyright year.
12502 2004-02-19 Fred Fish <fnf@redhat.com>
12504 New testcase for PR breakpoint/1558.
12505 * gdb.arch/gdb1558.exp: New file.
12506 * gdb.arch/gdb1558.c: New file.
12508 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12510 * gdb.base/nodebug.exp: Fix typo.
12512 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12514 Committed by Jim Blandy <jimb@redhat.com>.
12516 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12518 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12520 * gdb.base/float.exp: Support s390*-*-* targets.
12522 2004-02-17 Adam Fedor <fedor@gnu.org>
12524 * gdb.base/gdb1555.exp: New file.
12525 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12527 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12529 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12531 2004-02-16 Fred Fish <fnf@redhat.com>
12533 * gdb.arch/gdb1291.c: Remove
12534 * gdb.arch/gdb1291.s: New test input file.
12535 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12536 fail. Test for correct result, known incorrect result, other
12537 failures and timeouts.
12539 2004-02-16 Andrew Cagney <cagney@redhat.com>
12541 * gdb.base/bigcore.exp: New file.
12542 * gdb.base/bigcore.c: New file.
12544 2004-02-13 Andrew Cagney <cagney@redhat.com>
12546 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12547 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12548 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12549 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12550 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12551 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12552 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12553 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12554 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12555 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12557 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12559 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12560 executed is an alloc instruction.
12562 2004-02-11 David Carlton <carlton@kealia.com>
12564 * gdb.cp/breakpoint.exp: New.
12565 * gdb.cp/breakpoint.cc: New.
12567 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12569 Partial fix for PR gdb/1543.
12570 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12571 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12572 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12573 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12574 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12575 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12576 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12577 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12578 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12579 to bug-gdb@prep.ai.mit.edu .
12580 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12581 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12582 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12585 2004-02-10 Andrew Cagney <cagney@redhat.com>
12587 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12588 using gdb_internal_error_resync.
12590 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12592 * gdb.threads/thread-specific.exp: Stop early if no threads are
12595 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12597 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12599 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12601 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12604 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12606 * config/sim.exp (gdb_load): Handle $arg == "".
12607 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12608 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12610 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12612 * gdb.base/maint.exp: Update test to reflect
12615 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12617 * gdb.base/pendshr.c (pendfunc): New function that calls
12619 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12621 2004-02-04 Fred Fish <fnf@redhat.com>
12623 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12624 function symbols and update copyright years.
12625 * gdb.arch/gdb1291.c: Ditto.
12627 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12629 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12631 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12633 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12635 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12637 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12639 2004-02-02 Fred Fish <fnf@redhat.com>
12641 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12642 remote targets. Update copyright years.
12644 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12646 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12648 * gdb.base/langs.exp: Fix test which attempts to create
12649 breakpoint on non-existent function to handle new pending
12651 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12653 * gdb.base/pending.exp: New test.
12654 * gdb.base/pending.c: New file.
12655 * gdb.base/pendshr.c: Ditto.
12657 2004-02-02 David Carlton <carlton@kealia.com>
12659 * gdb.cp/overload.exp: Add overloadNamespace tests.
12660 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12661 (overloadNamespace, XXX): New.
12662 (main): Call XXX::marker2.
12664 2004-02-01 Fred Fish <fnf@redhat.com>
12666 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12667 * gdb.base/finish.exp: Ditto.
12668 * gdb.base/gcore.exp: Ditto.
12669 * gdb.base/huge.exp: Ditto.
12670 * gdb.base/info-proc.exp: Ditto.
12671 * gdb.base/return2.exp: Ditto.
12672 * gdb.threads/gcore-thread.exp: Ditto.
12674 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12676 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12678 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12680 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12681 that opening the file succeeds on OpenBSD.
12683 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12685 * gdb.threads/thread-specific.c: New file.
12686 * gdb.threads/threads-specific.exp: New test script.
12687 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12690 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12692 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12693 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12694 only on the "print_small_structs from print_long_arg_list" test.
12696 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12698 * gdb.base/completion.exp: Kill a stray backslash.
12700 From Jim Ingham <jingham@apple.com>:
12701 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12702 agrees with the result from sending a tab.
12704 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12706 * gdb.base/chng-syms.exp: Remove stray newline.
12708 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12710 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12712 * gdb.asm/openbsd.inc: New file.
12714 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12716 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12717 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12718 *-*solaris2*. Remove commented out default settings for
12719 asm-flags. Replace gdb_compile with target_link.
12721 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12723 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12724 for all tests. Remove old hp-ux and cygnus xfail cases.
12726 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12728 * gdb.base/chng-syms.exp: New file.
12729 * gdb.base/chng-syms.c: New file.
12731 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12733 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12734 Provide arms for current output in all my configurations.
12736 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12738 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12739 * lib/compiler.cc: Likewise.
12740 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12741 get the right preprocessor. Eval the output directly. Remove
12742 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12743 hp_f77_compiler and hp_f90_compiler completely.
12744 (gdb_preprocess): Delete.
12745 (get_compiler): Delete.
12747 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12749 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12752 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12754 * gdb.mi/mi-stack.exp: Update copyright.
12756 2004-01-23 David Carlton <carlton@kealia.com>
12758 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12759 test for cp_lookup_transparent_type.
12760 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12763 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12765 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12768 2004-01-23 David Carlton <carlton@kealia.com>
12770 * gdb.cp/namespace.cc (C::ensureRefs): New.
12771 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12773 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12775 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12776 case "-stack-list-locals 2".
12777 * gdb.mi/mi-var-child.exp: Test for case
12778 "-var-list-children --all-values NAME".
12780 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12782 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12784 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12786 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12787 used with gdb_test_multiple.
12789 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12790 read at address 0. This fixes PR testsuite/1504.
12792 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12794 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12795 Remove downloading, guessing the host executable, the calls to
12796 gdb_file_cmd and gdb_target_cmd, and "load" support.
12797 (infer_host_exec): New function broken out from gdb_load.
12798 (gdb_load): New wrapper for gdbserver_gdb_load.
12799 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12800 gdb_target_cmd. Use -target-select.
12801 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12802 Download binaries to the host. Clear last_mi_remote_file when
12803 we load a new binary.
12804 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12805 call gdbserver_gdb_load and mi_gdb_target_cmd.
12807 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12809 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12812 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12814 * gdb.cp/templates.exp: Fix typo in test name of
12815 "print Foo<volatile char*>::foo".
12817 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12819 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12821 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12823 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12824 (clean mostlyclean): Remove empty rm.
12826 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12828 * gdb.base/setvar.exp: Add copyright years.
12830 2004-01-14 David Carlton <carlton@bactrian.org>
12832 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12833 PR c++/1511 and update coment.
12834 * gdb.cp/templates.exp: Update patterns to match current output.
12835 If changes involve something other than whitespace, KFAIL
12836 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12838 2004-01-14 David Carlton <carlton@kealia.com>
12840 * gdb.cp/namespace.exp: Add tests involving classes defined within
12842 * gdb.cp/namespace.cc (C::CClass): New.
12843 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12845 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12847 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12848 what debug info we have. Print a better message if something goes
12849 wrong while producing the separate debug info file.
12851 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12853 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12855 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12857 * gdb.base/callfuncs.c: Add copyright notice.
12859 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12861 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12862 inheritance. PR gdb/1498, PR gcc/13539.
12864 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12866 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12867 test specific name.
12868 * gdb.mi/gdb669.exp: Ditto.
12869 * gdb.mi/mi-pthreads.exp: Ditto.
12870 * gdb.mi/mi1-pthreads.exp: Ditto.
12871 * gdb.mi/mi2-pthreads.exp: Ditto.
12873 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12875 * gdb.cp/member-ptr.cc: Add copyright notice.
12877 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12879 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12880 some patterns for recent versions of gcc and hpacc. Delete
12881 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12882 Delete tests that access a NULL pointer-to-member-data. This
12883 script is still disabled for gcc.
12885 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12887 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12890 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12892 * gdb.base/sepdebug.exp: New file.
12893 * gdb.base/sepdebug.c: New file.
12894 * lib/gdb.exp (separate_debug_filename): New procedure.
12895 (gdb_gnu_strip_debug): New procedure.
12897 2004-01-12 Andrew Cagney <cagney@redhat.com>
12899 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12900 * gdb.mi/ChangeLog-1999-2003: New file.
12902 2004-01-12 Andrew Cagney <cagney@redhat.com>
12904 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12905 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12906 or EEXIST", treat EBUSY as an XFAIL.
12908 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12910 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12913 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12915 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12918 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12920 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12921 and "(aCC)" decorations. Remove obsolete doco about old
12924 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12926 * gdb.cp/exception.exp: Fix typo in doco.
12928 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12930 * gdb.base/gdb1476.exp: Fix typo.
12932 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12934 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12937 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12939 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12940 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12941 Use gdb_compile. Remove restriction on gcc. Add some patterns
12942 for recent version of gdb. Delete second half, which was a copy
12943 of the first half with different build flags. This test is
12944 still disabled because it is still not ready for production.
12946 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12948 * gdb.cp/exception.cc: Add copyright notice.
12949 * gdb.cp/exception.exp: Add a notice that this file is broken
12950 because of line number changes caused by addition of copyright
12953 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12955 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12956 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12958 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12960 * gdb.cp/classes.exp: Accept gnu abi 2.
12961 * gdb.cp/derivation.exp: Likewise.
12962 * gdb.cp/overload.exp: Likewise.
12963 * gdb.cp/virtfunc.exp: Likewise.
12965 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12967 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12968 semicolon after end of function.
12970 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12972 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12973 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12974 boilerplate code for compiling and running the program under
12975 test. Add some string method tests.
12977 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12979 * gdb.cp/bs15503.cc: Add copyright notice.
12980 * gdb.cp/bs15503.exp: Adjust line number.
12982 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12984 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12985 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12987 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12989 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12992 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12994 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12995 * gdb.cp/ctti.exp: Use the marker instead of "next".
12996 With gcc, run further before bailing.
12998 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13000 * gdb.cp/cttiadd.cc: Add copyright notice.
13001 * gdb.cp/cttiadd1.cc: Likewise.
13002 * gdb.cp/cttiadd2.cc: Likewise.
13003 * gdb.cp/cttiadd3.cc: Likewise.
13005 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13007 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13008 Use gdb_test, gdb_test_multiple. Use floating-point values that
13009 have exact representations in IEEE-ish formats.
13011 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13013 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13014 compilers. Delete duplicate call to get_compiler_info.
13015 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13016 * gdb.base/volatile.exp: Likewise.
13018 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13020 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13021 memory at address 0.
13023 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13025 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13026 to test for hp-ux assembler. Fix copyright years.
13028 2004-01-07 Andrew Cagney <cagney@redhat.com>
13030 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13032 2004-01-07 Andrew Cagney <cagney@redhat.com>
13034 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13035 when creating the read-only file. From analysis by Roland McGrath
13038 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13040 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13042 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13044 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13047 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13049 * gdb.cp/m-static.exp: Compile one source file at a time.
13050 Delete unused call to get_compiler_info.
13052 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13054 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13055 * gdb.base/call-rt-st.exp: Likewise.
13056 * gdb.base/nodebug.exp: Likewise.
13057 * gdb.base/volatile.exp: Likewise.
13058 * gdb.cp/ref-types.exp: Likewise.
13059 * gdb.cp/templates.exp: Likewise.
13061 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13063 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13065 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13067 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13070 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13072 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13075 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13076 sparc64-*-* and sparc*-solaris2*.
13078 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13080 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13081 return ${tests}" test. The ${tests} already mentions the
13084 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13086 * gdb.cp/local.exp: Accept gcc abi 2.
13088 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13090 * gdb.cp/templates.exp: Accept gcc abi 2.
13092 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13094 * lib/compiler.cc: Remove supports_template_debugging.
13095 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13097 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13099 * gdb.cp/namespace.exp: Accept gcc abi 2.
13101 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13103 * gdb.cp/method.exp: Accept gcc abi 2.
13105 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13107 * gdb.cp/classes.exp: Generate identical results as old version.
13108 * gdb.cp/derivation.exp: Likewise.
13109 * gdb.cp/overload.exp: Likewise.
13110 * gdb.cp/virtfunc.exp: Likewise.
13112 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13114 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13115 mysterious bug with sourceware version of expect.
13117 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13119 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13120 current versions of gcc, including gcc abi 2. Remove gratuitous
13121 restart of test program. Use gdb_test_multiple and gdb_test for
13122 all tests. Add patterns to xfail missing "const" in "const char *"
13123 and kfail PR gdb/1155.
13125 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13127 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13128 current versions of gcc, including gcc abi 2. Remove gratuitous
13129 restart of test program. Use gdb_test_multiple and gdb_test for
13130 all tests. Add patterns to kfail PR gdb/1498.
13132 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13134 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13135 current versions of gcc, including gcc abi 2. Use "breakpoint"
13136 and "continue" instead of restarting the target program. Use
13137 gdb_test_multiple and gdb_test for all tests.
13139 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13141 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13144 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13146 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13147 current versions of gcc, including gcc abi 2. Use "breakpoint"
13148 and "continue" instead of restarting the target program several
13149 times. Use gdb_test_multiple and gdb_test for all tests.
13151 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13153 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13156 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13158 * gdb.base/environ.exp: Handle compiling test case from multiple
13161 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13163 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13165 2003-12-17 Jim Blandy <jimb@redhat.com>
13167 * gdb.base/freebpcmd.c: Add copyright notice.
13169 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13171 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13173 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13175 2003-12-13 Jim Blandy <jimb@redhat.com>
13177 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13179 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13181 * gdb.asm/frv.inc: New file.
13182 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13184 2003-12-09 Fred Fish <fnf@redhat.com>
13186 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13187 functions to break1.c and leave prototypes behind. Add more
13188 "set breakpoint NN here" comments.
13189 * gdb.base/break1.c: New file.
13191 * gdb.base/break.exp: Handle compiling test case from multiple
13192 source files and change source file references as needed.
13193 * gdb.base/completion.exp: Ditto.
13194 * gdb.base/condbreak.exp: Ditto.
13195 * gdb.base/define.exp: Ditto.
13196 * gdb.base/ena-dis-br.exp: Ditto.
13197 * gdb.base/info-proc.exp: Ditto.
13198 * gdb.base/maint.exp: Ditto.
13199 * gdb.base/until.exp: Ditto.
13201 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13202 hardcoded line numbers.
13203 * gdb.base/define.exp: Ditto.
13204 * gdb.base/ena-dis-br.exp: Ditto.
13205 * gdb.base/maint.exp: Ditto.
13206 * gdb.base/until.exp: Ditto.
13208 * gdb.base/completion.exp: Use "break1" for completion tests since
13209 "break" is no longer a unique prefix.
13211 2003-12-06 Andrew Cagney <cagney@redhat.com>
13213 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13214 "return_value_unimplemented". When an unimplemented struct return
13215 architecture, report incorrect values as a KFAIL
13217 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13219 * gdb.cp/rtti.exp: Accept new wording of warning from
13220 cp_lookup_rtti_type.
13222 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13224 Partial fix for PR testsuite/1456.
13225 * gdb.base/scope.exp (test_at_main): Replace references to
13226 gcc_compiled with calls to test_compiler_info.
13227 (test_at_foo): Likewise.
13228 (test_at_bar): Likewise.
13230 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13232 Partial fix for PR testsuite/1456.
13233 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13234 to test_compiler_info.
13236 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13238 * gdb.base/so-impl-ld.exp: Update copyright notice.
13240 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13242 Partial fix for PR testsuite/1456.
13243 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13244 to test_compiler_info.
13246 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13248 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13249 from current versions of gdb. Clean up regular expressions.
13250 Delete redundant timeout case.
13252 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13254 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13255 from current versions of gdb. Clean up regular expressions.
13256 Delete redundant timeout case.
13258 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13260 Partial fix for PR testsuite/1456.
13261 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13262 gcc_compiled with call to test_compiler_info.
13264 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13266 Partial fix for PR testsuite/1456.
13267 * gdb.base/list.exp (test_list_function): Delete unused declaration
13270 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13272 Partial fix for PR testsuite/1456.
13273 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13274 call to test_compiler_info.
13276 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13278 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13279 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13280 it to create the appropriate note.inc.
13281 * gdb.asm/asmsrc1.s: Include "note.inc".
13282 * gdb.asm/netbsd.inc: New file.
13283 * gdb.asm/empty.inc: New file.
13285 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13287 Partial fix for PR testsuite/1456.
13288 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13289 calls to test_compiler_info.
13291 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13293 Partial fix for PR testsuite/1456.
13294 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13295 calls to test_compiler_info.
13297 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13299 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13300 pattern for the KFAILs.
13302 2003-11-25 Adam Fedor <fedor@gnu.org>
13304 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13305 * gdb.objc/objcdecode.m: New file.
13307 2003-11-25 Adam Fedor <fedor@gnu.org>
13309 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13310 * gdb.objc/nondebug.m: New file.
13312 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13314 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13315 NetBSD as it does on FreeBSD. Modelled on a similar change by
13316 Mark Kettenis on 2003-05-30.
13317 (link-flags): Set to "--entry _start" regardless of target.
13318 Special linker flags are to be appended to $link-flags.
13319 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13321 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13323 * gdb.cp/method.exp: Accept output of new demangler.
13325 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13327 * gdb/class2.exp: New file.
13328 * gdb/class2.cc: New file.
13330 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13332 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13335 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13337 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13340 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13342 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13343 "continue" into "run".
13345 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13347 Partial fix for PR testsuite/1456.
13348 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13349 call to test_compiler_info.
13350 * gdb.cp/ctti.exp: Likewise.
13351 * gdb.cp/derivation.exp: Likewise.
13352 * gdb.cp/member-ptr.exp: Likewise.
13353 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13354 reference to gcc_compiled.
13356 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13358 Fix PR testsuite/1463.
13359 * gdb.base/structs.exp (start_structs_test): Call
13360 get_debug_format before using the debug format.
13362 2003-11-22 Andrew Cagney <cagney@redhat.com>
13364 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13365 * gdb.base/structs.exp: Use gdb_test_multiple.
13367 2003-11-20 Andrew Cagney <cagney@redhat.com>
13369 * gdb.base/structs.exp: Handle and recover from internal errors.
13370 Replace "foo${n}" with "foo<n>" in test messages.
13372 * gdb.base/structs.exp: Update copyright. Rewrite.
13373 * gdb.base/structs.c: Update copyright. Rewrite.
13375 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13376 resync count exceeded.
13378 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13379 from the internal error.
13380 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13381 Original from Jim Blandy.
13382 (gdb_test_multiple): Use gdb_internal_error_resync.
13384 2003-11-19 Andrew Cagney <cagney@redhat.com>
13386 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13389 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13391 New testcase for PR backtrace/1435.
13392 * gdb.arch/i386-unwind.exp: New file.
13393 * gdb.arch/i386-unwind.c: New file.
13395 2003-11-17 Andrew Cagney <cagney@redhat.com>
13397 * lib/gdb.exp (compiler_info): New global.
13398 (test_compiler_info): New function.
13399 (get_compiler_info): Set compiler_info.
13400 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13401 "compiler_info" to gcc-<major>-<minor>.
13403 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13405 * gdb.trace/configure: Remove.
13407 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13409 * gdb.base/break.c: Add comments to aid finding line numbers for
13411 * gdb.base/break.exp: Remove all references to explicit line
13414 2003-11-11 Nick Clifton <nickc@redhat.com>
13416 * gdb.base/shreloc.exp: Do not run for targets which do not
13417 support shared objects.
13419 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13421 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13422 Don't run tests if nofileio flag is given.
13424 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13426 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13427 as well as 'Watchpoint'.
13429 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13431 Reported by Jim Ingham <jingham@apple.com>:
13432 * gdb.base/annota1.exp: Match at least one occurrence of the
13433 signal handler annotation.
13435 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13437 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13438 as well as 'Watchpoint'.
13440 2003-11-05 Michael Chastain <mec@shout.net>
13442 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13444 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13446 * gdb.arch/gdb1291.c: New test file.
13447 * gdb.arch/gdb1291.exp: New test script.
13448 * gdb.arch/gdb1431.c: New test file.
13449 * gdb.arch/gdb1431.exp: New test script.
13451 2003-10-22 Michael Chastain <mec@shout.net>
13453 * gdb.mi/pthreads.c: Add copyright notice.
13455 2003-10-22 Michael Chastain <mec@shout.net>
13457 * gdb.threads/pthreads.c: Add copyright notice.
13459 2003-10-20 Michael Chastain <mec@shout.net>
13461 * gdb.base/gdb1056.exp: New test script.
13463 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13465 * gdb.threads/killed.exp: Use gdb_run_cmd.
13467 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13469 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13470 create a core file.
13471 * gdb.threads/gcore-thread.exp: Likewise.
13473 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13475 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13476 type, based on char type.
13477 (struct bit_flags_short_t): New bitfield type, based on short type.
13478 (init_bit_flags_char): New fuction.
13479 (init_bit_flags_short): Ditto.
13480 (print_bit_flags_char): Ditto.
13481 (print_bit_flags_short): Ditto.
13482 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13484 2003-10-11 Michael Chastain <mec@shout.net>
13486 * gdb.base/call-rt-st.exp: Update copyright year.
13488 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13490 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13491 * gdb.disasm/sh3.s: Ditto.
13493 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13495 * gdb.threads/switch-threads.exp: New test.
13496 * gdb.threads/switch-threads.c: New source file.
13498 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13500 * gdb.base/ending-run.exp: Add sh specific case.
13502 2003-10-06 Andrew Cagney <cagney@redhat.com>
13504 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13505 * gdb.disasm/mn10200.exp: Delete obsolete file.
13507 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13509 * ChangeLog: Correct an entry command.exp -> commands.exp.
13510 * gdb.base/commands.exp (bp_deleted_in_command_test)
13511 (temporary_breakpoint_commands): Check noargs.
13513 2003-09-25 David Carlton <carlton@kealia.com>
13515 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13516 of some print tests, where appropriate. Add tests for C::D::cd,
13517 E::ce, F::cXfX, G::XgX.
13518 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13520 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13522 * lib/java.exp (java_init): Import target_alias before using it.
13524 2003-09-25 David Carlton <carlton@kealia.com>
13526 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13528 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13530 * gdb.base/selftest.exp: Accomodate more instruction reordering
13533 2003-09-17 Michael Chastain <mec@shout.net>
13535 * gdb.cp/gdb1355.exp: New file.
13536 * gdb.cp/gdb1355.c: New file.
13538 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13540 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13541 * gdb.asm/sh.inc: New file.
13543 2003-09-11 David Carlton <carlton@kealia.com>
13545 * gdb.cp/namespace.exp: Add tests for namespace types.
13546 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13547 (test_namespace): New.
13549 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13551 * gdb.base/relocate.exp: Handle new gdb output at startup.
13552 * gdb.stabs/weird.exp: Ditto.
13554 2003-09-08 Michael Chastain <mec@shout.net>
13556 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13558 2003-09-07 Michael Chastain <mec@shout.net>
13560 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13563 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13565 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13567 2003-08-30 Michael Chastain <mec@shout.net>
13569 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13570 * gdb.gdb/observer.exp: Ditto.
13571 * gdb.gdb/xfullpath.exp: Ditto.
13573 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13575 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13578 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13580 * gdb.base/dump.exp: Skip for ia64.
13582 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13584 * gdb.asm/asm-source.exp: Add ia64 support.
13585 * gdb.asm/ia64.inc: New file.
13587 2003-08-22 Michael Chastain <mec@shout.net>
13589 * gdb.cp: New directory.
13590 * gdb.cp/*: Copy from gdb.c++/*.
13591 * gdb.c++/*: Remove.
13592 * Makefile.in: Change gdb.c++ to gdb.cp.
13593 * configure.in: Ditto.
13594 * configure: Regnerate.
13596 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13598 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13599 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13601 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13603 * mi-var-display.exp (-var-list-children weird): Accept function
13604 pointers with argument types.
13605 * mi1-var-display.exp (-var-list-children weird): Likewise.
13606 * mi2-var-display.exp (-var-list-children weird): Likewise.
13608 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13610 * gdb.base/annota3.exp: Add missing newline.
13612 2003-08-06 Michael Chastain <mec@shout.net>
13614 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13616 2003-08-12 Michael Snyder <msnyder@redhat.com>
13618 * gdb.base/float.exp: Add test for SH.
13620 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13622 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13624 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13626 * gdb.base/completion.exp: Remove reduntant completion test
13629 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13631 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13632 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13633 gdb.trace/save-trace.exp: Make sure that full pathnames are
13636 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13638 * configure.in: Don't generate config.h from config.hin.
13639 * configure: Regenerate.
13640 * config.hin: Remove file.
13641 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13642 * gdb.threads/pthreads.c: Ditto.
13644 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13646 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13647 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13648 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13649 Replace ld24 with seth/add3.
13651 2003-08-02 Andrew Cagney <cagney@redhat.com>
13653 * gdb.base/annota3.exp: New file.
13654 * gdb.base/annota3.c: New file.
13655 * gdb.c++/annota3.exp: New file.
13656 * gdb.c++/annota3.cc: New file.
13658 2003-07-29 Michael Chastain <mec@shout.net>
13660 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13662 (do_pass): Likewise.
13663 * gdb.threads/tls.exp: Always initialize no_of_threads.
13665 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13667 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13669 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13670 * gdb.threads/tls.exp: Recognize one case of the host library not
13673 2003-07-27 Andrew Cagney <cagney@redhat.com>
13675 * gdb.base/fileio.exp: Use SH when running commands using
13678 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13680 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13681 * gdb.base/relocate.c (dummy): New padding array.
13683 2003-07-22 Michael Snyder <msnyder@redhat.com>
13685 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13687 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13688 patterns to be more general, accepting old and new output.
13689 Some output chars (such as '+') also must be quoted.
13690 Some addresses are displayed numerically instead of
13693 2003-07-23 Michael Snyder <msnyder@redhat.com>
13695 * gdb.base/return2.exp: Don't test long-long return.
13697 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13698 * gdb.disasm/t01_mov.exp: Ditto.
13699 * gdb.disasm/t02_mova.s: Ditto.
13700 * gdb.disasm/t02_mova.exp: Ditto.
13701 * gdb.disasm/t03_add.s: Ditto.
13702 * gdb.disasm/t03_add.exp: Ditto.
13703 * gdb.disasm/t04_sub.s: Ditto.
13704 * gdb.disasm/t04_sub.exp: Ditto.
13705 * gdb.disasm/t05_cmp.s: Ditto.
13706 * gdb.disasm/t05_cmp.exp: Ditto.
13707 * gdb.disasm/t06_ari2.s: Ditto.
13708 * gdb.disasm/t06_ari2.exp: Ditto.
13709 * gdb.disasm/t07_ari3.s: Ditto.
13710 * gdb.disasm/t07_ari3.exp: Ditto.
13711 * gdb.disasm/t08_or.s: Ditto.
13712 * gdb.disasm/t08_or.exp: Ditto.
13713 * gdb.disasm/t09_xor.s: Ditto.
13714 * gdb.disasm/t09_xor.exp: Ditto.
13715 * gdb.disasm/t10_and.s: Ditto.
13716 * gdb.disasm/t10_and.exp: Ditto.
13717 * gdb.disasm/t11_logs.s: Ditto.
13718 * gdb.disasm/t11_logs.exp: Ditto.
13719 * gdb.disasm/t12_bit.s: Ditto.
13720 * gdb.disasm/t12_bit.exp: Ditto.
13721 * gdb.disasm/t13_otr.s: Ditto.
13722 * gdb.disasm/t13_otr.exp: Ditto.
13724 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13726 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13728 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13730 * gdb.threads/tls.c : New file.
13731 * gdb.threads/tls.exp : New file.
13732 * gdb.threads/tls-main.c : New file.
13733 * gdb.threads/tls-shared.c : New file.
13734 * gdb.threads/tls-shared.exp : New file.
13736 2003-07-22 Andreas Schwab <schwab@suse.de>
13738 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13740 2003-07-20 Andreas Schwab <schwab@suse.de>
13742 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13743 due to insn reordering.
13745 2003-07-15 Andrew Cagney <cagney@redhat.com>
13747 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13749 2003-07-15 Michael Chastain <mec@shout.net>
13751 * gdb.base/gdb1250.exp: New file.
13752 * gdb.base/gdb1250.c: New file.
13754 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13756 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13757 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13759 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13761 * gdb.threads/tls.c: New file.
13762 * gdb.threads/tls.exp: New file.
13763 * gdb.threads/tls-main.c: New file.
13764 * gdb.threads/tls-shared.c: New file.
13765 * gdb.threads/tls-shared.exp: New file.
13767 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13769 * gdb.base/annota1.exp: Make sure that we properly escape the
13770 full path of the source file. Xfail more permissive patterns,
13771 due to a compiler debug info problem.
13773 2003-07-07 Andreas Schwab <schwab@suse.de>
13775 * gdb.asm/m68k.inc: New file.
13776 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13778 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13779 arguments"): Also match negative number.
13781 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13783 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13785 * gdb.base/store.c (charest): New typedef.
13786 (add_char): Rename to add_charest, update.
13787 (wack_char): Rename to wack_charest, update types. Return l + r
13788 to keep r live across the call.
13789 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13790 (wack_double, wack_doublest): Return l + r to keep r live across
13792 * gdb.base/store.exp: Accomodate store.c changes.
13794 2003-06-30 David Carlton <carlton@kealia.com>
13796 * gdb.c++/maint.exp (test_invalid_name): New.
13797 (test_first_component): Add tests for invalid names.
13799 2003-06-29 Michael Chastain <mec@shout.net>
13801 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13802 output of '<VTT for class>' for virtual base classes.
13804 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13806 * gdb.base/completion.exp: Tab-complete "complet" instead of
13808 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13810 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13812 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13813 * gdb.base/volatile.exp: Likewise.
13815 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13817 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13820 2003-06-28 Michael Chastain <mec@shout.net>
13821 Daniel Jacobowitz <drow@mvista.com>
13823 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13824 initial line count of 'captured_main' from 26 to 32.
13825 (test_with_self): Allow xmalloc call to be interleaved with the
13826 preceding two lines.
13828 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13830 * gdb.base/bang.exp: New testcase.
13832 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13834 * gdb.base/langs.exp: Add some tests for the "minimal" language
13837 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13839 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13842 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13844 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13847 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13849 * gdb.c++/pr-1210.cc: New file.
13850 * gdb.c++/pr-1210.exp: New file.
13852 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13854 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13857 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13859 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13860 on *-*-*bsd* instead of *-*-freebsd*.
13862 2003-06-14 Andrew Cagney <cagney@redhat.com>
13864 * gdb.base/store.exp: Test longest and doublest. Test all
13865 parameters. Weaken return statement match.
13866 * gdb.base/store.c: Add longest and doublest - aka long long and
13867 long double functions. Put all parameters into local register
13868 variables. Use negative values.
13870 2003-06-14 Andrew Cagney <cagney@redhat.com>
13872 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13873 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13875 * gdb.base/fileio.exp: Disable target when nointerrupts and
13876 noinferiorio, instead of limiting it to remote. Use remote_exec
13879 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13881 * gdb.base/float.exp: Add ia64 support.
13883 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13885 * gdb.base/fileio.exp: Run only on remote targets.
13887 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13889 * gdb.base/fileio.c: New file, testing File-I/O.
13890 * gdb.base/fileio.exp: Ditto.
13892 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13894 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13895 shared objects after relocation at load time (gdb PR/1132).
13896 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13897 as above, part of the shared object relocation test.
13899 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13901 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13902 fully filled history list.
13903 * gdb.base/gdb_history: New file.
13905 * gdb.base/signals.exp: XFAIL "continue to func1" on
13908 * gdb.base/attach.exp: When trying to attach to a nonexistent
13909 process, make it possible to specify the PID based on the target,
13910 and do so for *-*-freebsd*.
13912 2003-06-02 Richard Henderson <rth@redhat.com>
13914 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13916 2003-06-02 Richard Henderson <rth@redhat.com>
13918 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13920 2003-06-02 Richard Henderson <rth@redhat.com>
13922 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13924 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13926 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13929 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13931 * gdb.asm/asm-source.exp: Check for memory read errors in
13932 disassembler test on *BSD too.
13934 2003-06-01 Richard Henderson <rth@redhat.com>
13936 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13938 (gdbasm_call): Lose ldgp.
13939 (gdbasm_startup): Add frame information.
13940 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13942 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13944 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13947 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13949 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13952 2003-05-29 Richard Henderson <rth@redhat.com>
13954 * gdb.asm/alpha.inc: New file.
13955 * gdb.asm/asm-source.exp: Use it.
13957 2003-05-29 Jim Blandy <jimb@redhat.com>
13959 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13962 2003-05-22 Jim Blandy <jimb@redhat.com>
13964 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13967 2003-05-20 David Carlton <carlton@math.stanford.edu>
13969 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13972 2003-05-19 David Carlton <carlton@bactrian.org>
13974 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13975 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13977 2003-05-19 David Carlton <carlton@bactrian.org>
13979 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13981 Bump copyright date.
13982 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13983 (main): Call C::D::marker2.
13984 * gdb.c++/namespace1.cc: New file.
13986 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13988 Roland McGrath <roland@redhat.com>
13989 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13990 there is no manager thread.
13992 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13994 * gdb.threads/schedlock.exp: Remove assumption that all threads
13995 will run in a particular small time slice. Also ensure we break
13996 in one of the child threads rather than the main thread.
13998 2003-05-07 Jim Blandy <jimb@redhat.com>
14000 Add support for assembly source testing on the s390x.
14001 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14003 * gdb.asm/s390x.inc: New file.
14005 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14006 succession of 'if' statements.
14008 2003-05-05 Andrew Cagney <cagney@redhat.com>
14010 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14012 2003-05-05 Andrew Cagney <cagney@redhat.com>
14014 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14015 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14017 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14019 * gdb.base/charset.exp: Update based on new behavior of set/show
14022 2003-05-01 Andrew Cagney <cagney@redhat.com>
14024 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14025 variable do not give memory errors.
14027 2003-04-30 Adam Fedor <fedor@gnu.org>
14029 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14030 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14031 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14032 gdb.objc/basicclass.m: : New files
14034 * lib/gdb.exp (gdb_compile_objc): New procedure.
14036 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14038 * gdb.base/signals.exp: Make backtrace tests more specific.
14040 2003-04-23 David Carlton <carlton@bactrian.org>
14042 * gdb.c++/maint.exp (test_first_component): Add tests for
14043 'operator' in more locations.
14045 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14047 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14049 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14051 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14052 func marke' instead. Update test name.
14054 2003-04-15 David Carlton <carlton@math.stanford.edu>
14056 * gdb.c++/maint.exp: New file.
14058 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14060 * gdb.threads/schedlock.c: Change type of thread function argument
14061 to long, to avoid warnings on 64-bit platforms.
14063 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14065 * gdb.base/attach.exp: Add new message from ptrace in case of
14066 attaching to nonexistent process.
14068 2003-04-11 Jim Blandy <jimb@redhat.com>
14070 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14071 gdb.c++/userdef.cc: Place comments on the lines to which the
14072 marker function might return.
14073 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14074 gdb.c++/userdef.exp: Look for those comments to check that we've
14075 returned to the right place, instead of checking line numbers.
14077 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14079 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14080 match on sourcefile name, instead of directory name.
14082 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14084 * gdb.base/completion.exp: Use string_to_regexp to match the
14085 working directory name.
14087 2003-04-09 Jim Blandy <jimb@redhat.com>
14089 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14090 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14091 after an inferior function call, report the failure, but allow the
14094 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14096 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14099 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14101 * gdb.base/break.exp: Revert last patch.
14103 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14105 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14108 2003-04-02 Andrew Cagney <cagney@redhat.com>
14110 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14111 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14112 matching directories by the name breakpoint.
14113 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14114 Make "continue to marker1" consistent.
14115 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14116 message consistent.
14117 * lib/gdb.exp: Put "the program is no longer running", and "the
14118 program exited" in parenthesis.
14119 * lib/mi-support.exp: Ditto.
14121 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14123 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14125 2003-03-29 Andrew Cagney <cagney@redhat.com>
14127 * gdb.base/sizeof.c (main): Print the value of '\377'.
14128 * gdb.base/sizeof.exp: Check the sign of '\377'.
14130 2003-03-27 Michael Chastain <mec@shout.net>
14132 * gdb.base/gdb1090.exp: New file.
14133 * gdb.base/gdb1090.cc: New file.
14135 2003-03-27 J. Brobecker <brobecker@gnat.com>
14137 * gdb.gdb/observer.exp: New regression test.
14139 2003-03-27 Michael Chastain <mec@shout.net>
14141 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14142 * gdb.base/ptype.exp: Likewise.
14144 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14146 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14148 2003-03-26 Michael Chastain <mec@shout.net>
14150 * gdb.base/ptype.exp: Actually use some typedef'd types.
14152 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14154 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14155 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14157 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14159 * gdb.base/default.exp: Fix regular expression.
14161 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14163 * gdb.base/args.exp: Fix regular expression.
14165 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14167 * gdb.base/help.exp: Allow Win32 child process.
14169 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14171 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14172 when stepping out of main().
14174 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14176 * gdb.base/default.exp: Check for win32 specific message when calling
14177 "run" without executable.
14179 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14181 * gdb.base/args.exp: Expect .exe in output.
14183 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14185 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14188 2003-03-17 Andrew Cagney <cagney@redhat.com>
14190 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14192 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14193 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14195 2003-03-17 David Carlton <carlton@math.stanford.edu>
14197 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14198 test, for PR breakpoints/38.
14199 Call test_watchpoint_and_breakpoint.
14200 * gdb.base/watchpoint.c (func3): New function.
14201 (main): Call func3.
14203 2003-03-04 David Carlton <carlton@math.stanford.edu>
14205 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14206 Garply<Garply<char> >:: garply".
14207 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14208 with respect to PR c++/1111; note also PR c++/1113.
14209 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14210 respect to PR c++/1062.
14211 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14213 2003-03-03 David Carlton <carlton@math.stanford.edu>
14215 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14216 with respect to PR c++/57.
14217 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14219 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14220 respect to PR c++/57.
14222 2003-03-03 David Carlton <carlton@math.stanford.edu>
14224 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14225 respect to PR c++/33 into FAILs.
14227 2003-03-03 Michael Chastain <mec@shout.net>
14229 * configure.in: Update copyright years.
14231 2003-03-03 Michael Chastain <mec@shout.net>
14233 * Makefile.in: Update copyright years.
14235 2003-02-28 David Carlton <carlton@math.stanford.edu>
14237 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14238 print class instead of struct and/or superfluous protection
14239 specifiers, as long as the resulting output is equivalent to the
14241 Delete FIXME from end of messages on tests that don't need
14244 2003-02-28 David Carlton <carlton@math.stanford.edu>
14246 * gdb.c++/templates.exp (do_tests): Allow const in the two
14247 Foo<volatile char *>::foo tests.
14249 2003-02-27 Michael Snyder <msnyder@redhat.com>
14251 * gdb.base/restore.c (main): Return zero, so exit code
14252 will be consistant.
14254 2003-02-26 David Carlton <carlton@math.stanford.edu>
14256 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14257 char *>::foo" test with respect to PR c++/33. Create a new test
14258 which is identical to that one except that it doesn't put the
14259 space between the "char" and the "*"; KFAIL it, too.
14261 2003-02-26 David Carlton <carlton@math.stanford.edu>
14263 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14264 template types into either PASSes or KFAILs (corresponding to PR
14265 c++/57). Tweak indentation. Update copyright.
14267 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14269 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14271 2003-02-13 Michael Chastain <mec@shout.net>
14273 * gdb.base/exprs.exp: Remove i960 remnants.
14274 * gdb.base/funcargs.exp: Likewise.
14275 * gdb.base/list.exp: Likewise.
14276 * gdb.base/ptype.exp: Likewise.
14278 2003-02-14 David Carlton <carlton@math.stanford.edu>
14280 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14281 pEe->D::vg()" from XFAIL to KFAIL.
14283 2003-02-13 Jason Molenda (jmolenda@apple.com)
14285 * gdb.base/maint.exp: Update maint print statistics regexp to include
14288 2003-02-13 Michael Chastain <mec@shout.net>
14290 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14292 2003-02-12 Michael Chastain <mec@shout.net>
14294 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14295 * gdb.c++/inherit.exp: Likewise.
14296 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14297 * gdb.c++/templates.exp: Likewise.
14298 * gdb.c++/virtfunc.exp: Likewise.
14300 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14302 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14303 why the code is written that way.
14305 2003-02-05 Michael Chastain <mec@shout.net>
14307 * gdb.base/dump.exp: Add missing copyright line.
14309 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14311 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14312 at the beginning so the breakpoint doesn't get set on the loop.
14314 2003-02-05 Michael Chastain <mec@shout.net>
14316 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14317 output for configurations with gcc 2.95.3.
14319 2003-02-05 Keith Seitz <keiths@redhat.com>
14320 Andrew Cagney <ac131313@redhat.com>
14322 * gdb.mi/mi-cli.exp: New file.
14324 2003-02-04 Michael Chastain <mec@shout.net>
14326 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14327 Call perror and then continue.
14329 2003-02-03 Michael Chastain <mec@shout.net>
14331 * gdb.c++/pr-1023.cc: New file.
14332 * gdb.c++/pr-1023.exp: New file.
14334 2003-02-05 Jim Blandy <jimb@redhat.com>
14336 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14337 it's local to foobar. Check for it there, and check that it's not
14339 * gdb.c++/local.cc (marker2): New function.
14340 (foobar): Call marker1.
14341 (main): Call marker2 instead of marker1.
14343 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14345 * gdb.disasm/mn10200.exp: Obsolete file.
14346 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14347 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14348 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14350 2003-02-04 David Carlton <carlton@math.stanford.edu>
14352 * gdb.c++/overload.exp: Test intToChar(1).
14353 * gdb.c++/overload.cc (intToChar): New.
14354 (main): Call intToChar.
14356 2003-02-03 David Carlton <carlton@math.stanford.edu>
14358 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14360 KFAIL some of the continue_to_bp_overloaded calls, according to
14363 2003-02-01 Michael Chastain <mec@shout.net>
14365 * gdb.base/advance.c (marker1): New marker function.
14366 * gdb.base/advance.exp: When the 'advance' command lands on the
14367 return breakpoint, it can legitimately stop on either the
14368 current line or the next line. Accommodate both outcomes.
14369 * gdb.base/until.exp: Likewise.
14371 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14373 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14374 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14375 now a list, not a tuple.
14376 * gdb.mi/mi-var-display.exp: Ditto.
14377 * gdb.mi/gdb792.exp: Ditto.
14379 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14381 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14382 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14384 * gdb.mi/mi-syn-frame.c: Part of same.
14386 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14388 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14389 gdb.mi/mi1-pthreads.exp: Return instead of calling
14390 gdb_suppress_entire_file.
14392 2003-02-01 Mark Salter <msalter@redhat.com>
14394 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14396 2003-01-31 Mark Salter <msalter@redhat.com>
14398 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14401 2003-01-30 Michael Chastain <mec@shout.net>
14403 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14404 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14405 has been fixed in gdb/readline on 2003-01-09.
14407 2003-01-29 Michael Snyder <msnyder@redhat.com>
14409 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14410 * gdb.base/display.exp: Allow for leading underscore in symbol.
14411 * gdb.base/args.exp: Skip if target does not support args passing.
14413 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14415 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14416 gdb_test. Accept a list of expect arguments as the third
14418 (gdb_test): Use it.
14420 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14422 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14423 allow for different test tree configurations. Update some
14424 tescases accordingly.
14425 * gdb.arch/altivec-regs.exp: Ditto.
14426 * gdb.asm/asm-source.exp: Ditto.
14427 * gdb.base/advance.exp: Ditto.
14428 * gdb.base/display.exp: Ditto.
14429 * gdb.base/long_long.exp: Ditto.
14430 * gdb.base/mips_pro.exp: Ditto.
14431 * gdb.base/overlays.exp: Ditto.
14432 * gdb.base/relocate.exp: Ditto.
14433 * gdb.base/setshow.exp: Ditto.
14434 * gdb.base/step-line.exp: Ditto.
14435 * gdb.base/step-test.exp: Ditto.
14436 * gdb.base/until.exp: Ditto.
14437 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14439 2003-01-17 David Carlton <carlton@math.stanford.edu>
14441 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14442 corresponding to PR c++/945.
14445 2003-01-17 David Carlton <carlton@math.stanford.edu>
14447 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14448 corresponding to PR c++/68.
14450 2003-01-17 David Carlton <carlton@math.stanford.edu>
14452 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14453 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14454 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14456 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14458 * gdb.base/break.exp: Fix change of default location, because of
14459 removal of until tests.
14460 * gdb.base/help.exp: Update test for new 'until' help message.
14461 Add test for help on 'advance'.
14462 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14464 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14466 * gdb.base/default.exp: Adapt "info float" test for recent changes
14467 to that command. Add test for "info vector".
14468 * gdb.base/float.exp: New file. Add test for "info float" that
14469 resembles the old test in gdb.base/default.exp.
14471 2003-01-15 David Carlton <carlton@math.stanford.edu>
14473 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14475 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14477 * gdb.base/break.exp: Move the tests of until command from here...
14478 * gdb.base/until.exp: ... to here. New file. Add other tests.
14479 * gdb.base/advance.c: New file.
14480 * gdb.base/advance.exp: New file.
14482 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14484 * gdb.base/args.c: New file.
14485 * gdb.base/args.exp: New file.
14487 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14489 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14491 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14493 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14495 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14497 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14500 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14502 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14504 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14506 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14508 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14510 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14512 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14513 * gdb.mi/mi1-console.exp: Likewise.
14515 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14517 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14518 * gdb.mi/mi1-console.exp: Likewise.
14520 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14522 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14524 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14526 * gdb.base/detach.exp: New test.
14528 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14530 * Makefile.in (ALL_SUBDIRS): New variable.
14531 (subdirs, clean, distclean): Use it.
14532 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14533 regenerating Makefile, since it is generated from the top level.
14534 * gdb.asm/Makefile.in: Likewise.
14535 * gdb.base/Makefile.in: Likewise.
14536 * gdb.c++/Makefile.in: Likewise.
14537 * gdb.disasm/Makefile.in: Likewise.
14538 * gdb.java/Makefile.in: Likewise.
14539 * gdb.mi/Makefile.in: Likewise.
14540 * gdb.threads/Makefile.in: Likewise.
14541 * gdb.trace/Makefile.in: Likewise.
14543 2003-01-09 David Carlton <carlton@math.stanford.edu>
14545 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14546 Add copyright year 2003.
14548 2003-01-06 Michael Chastain <mec@shout.net>
14550 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14551 When selecting a thread, 'line' and 'file' are optional.
14552 * gdb.mi/mi1-pthreads.exp: Likewise.
14554 2003-01-06 Andreas Schwab <schwab@suse.de>
14556 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14559 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14562 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14563 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14565 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14566 instead of calling gdb_suppress_entire_file.
14567 * gdb.threads/print-threads.exp: Likewise.
14568 * gdb.threads/schedlock.exp: Likewise.
14570 * gdb.threads/killed.exp: Return instead of calling
14571 gdb_suppress_entire_file.
14572 * gdb.threads/linux-dp.exp: Likewise.
14573 * gdb.threads/pthreads.exp: Likewise.
14575 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14577 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14579 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14580 * gdb.base/whatis.exp: Always allow (void) after function names.
14582 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14584 * gdb.c++/casts.exp: Correct regexp.
14586 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14588 * configure.in: Call AC_CONFIG_HEADER. Don't call
14589 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14590 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14591 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14592 aforementioned directories in the AC_OUPUT call.
14593 * config.hin: New file.
14594 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14595 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14596 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14597 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14598 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14599 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14600 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14601 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14602 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14603 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14604 gdb.threads/configure.in, gdb.threads/configure,
14605 gdb.threads/config.in, gdb.trace/configure.in,
14606 gdb.trace/configure: Removed.
14608 2003-01-03 Michael Chastain <mec@shout.net>
14610 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14611 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14613 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14615 * gdb.base/store.exp: Fix regular expressions.
14617 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14619 * configure.in: Rewrite.
14620 * configure: Regenerated.
14622 2003-01-03 David Carlton <carlton@math.stanford.edu>
14624 * gdb.base/psymtab.exp: New file.
14625 * gdb.base/psymtab1.c: Ditto.
14626 * gdb.base/psymtab2.c: Ditto.
14628 2002-12-23 Adam Fedor <fedor@gnu.org>
14630 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14632 2002-12-23 David Carlton <carlton@math.stanford.edu>
14634 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14635 and current_directory initialization.
14637 2002-12-22 Jim Blandy <jimb@redhat.com>
14639 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14640 rather than as part of the output file name.
14642 * gdb.base/attach.exp: There's no need to copy the test program to
14643 /tmp; that was only ever necessary on HP/UX, and this test is
14644 entirely disabled there anyway.
14646 2002-12-21 Jim Blandy <jimb@redhat.com>
14648 * gdb.c++/psmang.exp: Doc fix.
14650 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14653 2002-12-20 David Carlton <carlton@math.stanford.edu>
14655 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14657 2002-12-18 Michael Chastain <mec@shout.net>
14659 * gdb.c++/annota2.exp: Add copyright year 2002.
14661 2002-12-17 David Carlton <carlton@math.stanford.edu>
14663 * gdb.c++/try_catch.cc: Add marker comments.
14664 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14665 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14666 * gdb.c++/m-static.cc: Ditto.
14667 * gdb.c++/m-static1.cc: Ditto.
14668 * gdb.c++/try_catch.cc: Ditto.
14670 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14672 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14673 to see whether we are using the new -environment-directory
14674 command which resets via -r or the old version of the command
14675 which may prompt the user. Part of fix for gdb/741.
14677 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14679 * gdb.fortran/types.exp: Update obsolete comment.
14680 * gdb.fortran/exprs.exp: Ditto.
14681 * lib/gdb.exp: Delete obsolete code.
14682 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14683 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14684 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14685 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14686 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14687 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14688 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14689 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14690 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14691 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14692 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14693 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14694 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14695 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14696 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14697 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14698 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14699 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14700 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14701 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14702 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14703 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14704 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14705 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14706 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14707 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14708 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14709 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14710 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14711 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14712 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14713 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14714 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14715 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14716 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14717 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14718 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14720 2002-12-11 David Carlton <carlton@math.stanford.edu>
14722 * gdb.c++/m-data.exp: Add test for members that shadow global
14723 variables: see PR gdb/804.
14724 * gdb.c++/m-data.cc: Ditto.
14726 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14728 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14730 2002-12-06 David Carlton <carlton@math.stanford.edu>
14732 * gdb.base/store.c: Don't declare functions static.
14734 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14736 * gdb.base/store.exp, gdb.base/store.c: New files.
14738 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14740 * gdb.base/selftest.exp: Update for current gdb.
14742 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14744 * gdb.base/maint.exp: Only dump symbols from one source file
14747 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14749 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14752 2002-11-25 Jim Blandy <jimb@redhat.com>
14754 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14755 function appearing in error message.
14757 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14759 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14761 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14763 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14764 for mi1 and current mi is in correct format. New mi startup message
14765 should be in mi console format. This is part of fix for PR gdb/604.
14767 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14769 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14770 which explicitly prints the zero offset as "+0".
14772 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14774 * gdb.threads/schedlock.c (args): Make unsigned.
14776 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14778 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14779 numbers. Allow "foo2|selected stack frame".
14780 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14781 * gdb.asm/asmsrc2.s: Likewise.
14782 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14784 * gdb.asm/mips.inc: New file.
14786 2002-10-18 Adam Fedor <fedor@gnu.org>
14788 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14789 * gdb.base/help.exp: Likewise.
14791 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14793 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14794 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14796 2002-10-02 Jim Blandy <jimb@redhat.com>
14798 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14800 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14802 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14803 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14804 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14805 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14806 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14807 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14808 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14810 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14812 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14813 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14814 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14815 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14816 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14817 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14818 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14820 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14822 * gdb.base/annota1.exp (info break): Make directory components of
14823 path optional since not all compilers emit this debug information.
14825 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14826 step ends up stepping out of the function instead of stopping on
14829 2002-09-26 Keith Seitz <keiths@redhat.com>
14831 * lib/insight-support.exp (gdbtk_start): Figure out where
14832 the insight executable is based on where gdb is. Use this
14833 executable to start insight instead of gdb.
14835 2002-09-25 Andrew Cagney <cagney@redhat.com>
14837 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14839 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14841 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14842 test_isolated_complaints.
14843 (test_empty_complaint): New function.
14844 (test_empty_complaints): New function. Check no output when no
14847 2002-09-19 Jim Blandy <jimb@redhat.com>
14849 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14851 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14853 * gdb.gdb/complaints.exp: New file.
14855 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14857 * gdb.base/maint.exp: Check `help maint internal-warning'.
14859 2002-09-18 David Carlton <carlton@math.stanford.edu>
14861 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14862 numbers, and replace them by a single breakpoint after the
14863 constructors are all finished.
14865 * gdb.c++/m-static.cc: Add test 4.
14866 * gdb.c++/m-static.h: New file.
14867 * gdb.c++/m-static1.cc: New file.
14869 * gdb.c++/printmethod.exp: New file.
14870 * gdb.c++/printmethod.cc: New file.
14872 * gdb.c++/pr-574.exp: New file.
14873 * gdb.c++/pr-574.cc: New file.
14875 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14877 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14878 embedded targets which never actually exit.
14880 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14882 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14883 "don't step after run" as unresolved or unsupported, instead of xfail.
14885 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14887 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14888 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14889 Add newline to expected string in "step out of main (status wrapper)"
14892 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14894 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14895 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14897 2002-09-17 Tom Tromey <tromey@redhat.com>
14899 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14900 \000, not \0, in double-quoted string.
14902 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14904 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14905 string after running the commands execution on breakpoint tests.
14907 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14909 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14911 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14913 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14915 2002-09-10 Keith Seitz <keiths@redhat.com>
14917 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14919 (mi_run_to_main): Use mi_runto.
14920 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14922 2002-09-10 Keith Seitz <keiths@redhat.com>
14924 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14925 regexp for stopping at main. Could have multiple event notifications.
14926 Don't assume that main was declared with no parameters.
14927 (mi_next): Use mi_step_to.
14928 (mi_step): Use mi_next_to.
14930 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14932 * gdb.base/default.exp: Fix expected string in `info float' test.
14934 2002-09-09 Ben Elliston <bje@redhat.com>
14936 * config/mips.exp: Update comments.
14937 * config/mips-idt.exp: Likewise.
14938 * config/nind.exp: Likewise.
14939 * config/slite.exp: Likewise.
14940 * config/sparclet.exp: Likewise.
14941 * config/udi.exp: Likewise.
14942 * config/vx.exp: Likewise.
14943 * config/vxworks29k.exp: Likewise.
14945 2002-09-05 Jim Blandy <jimb@redhat.com>
14947 * gdb.threads/killed.exp: Fix test failure message.
14949 2002-09-04 Keith Seitz <keiths@redhat.com>
14951 * lib/mi-support.exp: Update copyright.
14952 (mi_gdb_test): Increase the priority of the expected pattern
14953 so that it matches gdb_test.
14955 2002-09-03 Keith Seitz <keiths@redhat.com>
14957 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14958 Use integer comparison instead of string comparison for testing
14959 whether binary was built.
14961 2002-09-03 Jim Blandy <jimb@redhat.com>
14963 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14965 2002-08-29 Jim Blandy <jimb@redhat.com>
14967 * gdb.threads/pthreads.exp: Move the portable thread compilation
14968 code into a function in lib/gdb.exp, and call that from here.
14969 * lib/gdb.exp (gdb_compile_pthreads): New function.
14971 2002-08-29 Keith Seitz <keiths@redhat.com>
14973 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14974 expect_out so that callers can get at it.
14976 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14978 * gdb.threads/print-threads.c: New file.
14979 * gdb.threads/print-threads.exp: New file.
14980 * gdb.threads/schedlock.c: New file.
14981 * gdb.threads/schedlock.exp: New file.
14983 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14985 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14988 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14990 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14991 targets. The problem should be fixed now.
14993 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14995 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14996 2002-07-24 change that removes final dots from error messages.
14998 2002-08-13 Tom Tromey <tromey@redhat.com>
15000 * gdb.base/readline.exp: New file.
15002 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15004 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15007 2002-08-01 Andrew Cagney <cagney@redhat.com>
15009 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15010 CHILL_FOR_TARGET and CHILL_LIB.
15011 * configure.in (configdirs): Remove gdb.chill.
15012 * configure: Regenerate.
15013 * lib/gdb.exp: Obsolete references to chill.
15014 * gdb.fortran/types.exp: Ditto.
15015 * gdb.fortran/exprs.exp: Ditto.
15017 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15019 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15020 set Irix-specific compile and link flags.
15022 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15024 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15025 source files. The ``-o'' option doesn't work with the ``-E'' option
15026 when using the Irix compiler.
15028 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15030 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15031 Improve support for reusing an exec file. Copy exec file
15032 to target, and run gdbserver on the target instead of on the host.
15034 2002-07-18 Jim Blandy <jimb@redhat.com>
15036 * gdb.base/ending-run.exp: Don't expect to see the program end in
15037 some orderly fashion when we're running on a real stand-alone
15040 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15041 targets that don't support interrupts.
15043 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15045 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15047 Move comments in expect statements to inside the actions, so that they
15048 don't get matched against.
15050 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15052 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15053 function when asleep" test.
15055 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15057 * gdb.base/page.exp: Rewrite to handle problems with very long
15058 `info set' output. Update copyright.
15060 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15062 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15064 * gdb.hp/configure: Regenerate.
15065 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15066 * gdb.hp/gdb.threads-hp/configure: Delete file.
15067 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15069 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15071 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15072 setlocale, bindtextdomain and textdomain.
15074 2002-06-11 Jim Blandy <jimb@redhat.com>
15076 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15077 preprocessor macro information is present.
15079 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15082 2002-06-06 Michael Snyder <msnyder@redhat.com>
15084 * gdb.base/overlays.exp: Record addresses of overlay
15085 functions in TCL variables rather than in GDB variables,
15086 to avoid having GDB convert them to pointers (with loss
15089 * gdb.base/d10v.ld: Merge in several years worth of
15090 default linker script changes.
15091 * gdb.base/long_long.exp: Add check for sizeof (long double).
15093 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15095 * gdb.asm/asm-source.exp: Add x86-64 target.
15096 * gdb.asm/x86_64.inc: New.
15098 2002-05-30 Michael Chastain <mec@shout.net>
15100 From Benjamin Kosnik <bkoz@redhat.com>:
15101 * gdb.c++/m-static.cc: New file.
15102 * gdb.c++/m-static.exp: New file.
15104 2002-05-28 Michael Snyder <msnyder@redhat.com>
15106 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15109 2002-05-27 Michael Chastain <mec@shout.net>
15111 From Benjamin Kosnik <bkoz@redhat.com>:
15112 * gdb.c++/m-data.cc: New file.
15113 * gdb.c++/m-data.exp: New file.
15115 2002-05-27 Michael Chastain <mec@shout.net>
15117 From Benjamin Kosnik <bkoz@redhat.com>:
15118 * gdb.c++/try_catch.cc: New file.
15119 * gdb.c++/try_catch.exp: New file.
15121 2002-05-27 Michael Chastain <mec@shout.net>
15123 * gdb.c++/local.exp: Accept more nested types in output.
15125 2002-05-26 Michael Chastain <mec@shout.net>
15127 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15129 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15131 * lib/gdb.exp (gdb_wrapper_init): Just because
15132 gdb_wrapper_file exists, this does not mean that the file
15133 should not be rebuilt. That is what gdb_wrapper_initialized
15135 (default_gdb_init): Reset gdb_wrapper_initialized.
15137 2002-05-23 Michael Snyder <msnyder@redhat.com>
15139 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15140 the precision of the floating point test results.
15141 * gdb.base/call-rt-st.exp: Ditto.
15143 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15144 * gdb.base/call-rt-st.exp: Ditto.
15146 2002-05-19 Michael Chastain <mec@shout.net>
15148 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15150 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15152 * configure.in (configdirs): Add gdb.arch.
15153 * configure: Regenerate.
15155 2002-05-17 Jim Blandy <jimb@redhat.com>
15157 * gdb.base/completion.exp: Recognize the more detailed error
15158 messages produced by the macro expander's lexical analyzer.
15160 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15162 * gdb.arch/altivec-abi.c: New file.
15163 * gdb.arch/altivec-abi.exp: New file.
15164 * gdb.arch/altivec-regs.c: New file.
15165 * gdb.arch/altivec-regs.exp: New file.
15167 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15169 * gdb.base/maint.exp (maint print type): Update for new type
15172 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15174 * gdb.arch: New directory.
15175 * gdb.arch/configure.in: New file.
15176 * gdb.arch/configure: New file.
15177 * gdb.arch/Makefile.in: New file.
15179 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15181 * gdb.asm/asm-source.exp: Add v850 as supported target.
15182 * gdb.asm/v850.inc: New file.
15184 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15186 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15188 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15190 * gdb.base/break.exp: Check 'break "marker2"'.
15192 2002-05-10 Michael Snyder <msnyder@redhat.com>
15194 * gdb.base/long_long.exp: Fix typo.
15196 2002-05-10 Jim Blandy <jimb@redhat.com>
15198 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15201 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15202 Recognize more detailed error message produced by the macro
15203 expander's lexical analyzer.
15204 * lib/gdb.exp (test_print_reject): Same.
15206 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15208 * gdb.c++/method.exp: Fix typo.
15210 2002-05-08 Michael Snyder <msnyder@redhat.com>
15212 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15213 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15214 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15215 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15216 Add iftarget clause for strongarm.
15218 2002-05-06 Michael Snyder <msnyder@redhat.com>
15220 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15221 (gdb_continue_to_end): Accept output from status wrapper.
15222 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15223 Clean up fail messages to match pass messages.
15225 Enable the "needs_status_wrapper" testsuite feature.
15226 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15227 (gdb_compile): Conditionally call gdb_wrapper_init.
15228 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15229 * gdb.c++/method.exp: Recognize output from status wrapper.
15231 2002-05-06 Ben Elliston <bje@redhat.com>
15232 From Graydon Hoare <graydon@redhat.com>
15234 * config/sid.exp: Include support for "rawsid" protocol.
15236 2002-05-03 Jim Blandy <jimb@redhat.com>
15238 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15239 * gdb.c++/hang3.C: New file.
15241 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15243 * gdb.base/default.exp: Remove obsolete code.
15244 * gdb.c++/misc.exp: Ditto. Update copyright.
15245 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15246 * gdb.base/whatis.exp: Ditto. Update copyright.
15247 * gdb.base/scope.exp: Ditto. Update copyright.
15248 * gdb.base/ptype.exp: Ditto. Update copyright.
15249 * gdb.base/printcmds.exp: Ditto. Update copyright.
15250 * gdb.base/opaque.exp: Ditto. Update copyright.
15251 * gdb.base/list.exp: Ditto.
15252 * gdb.base/funcargs.exp: Ditto. Update copyright.
15253 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15254 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15255 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15256 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15257 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15258 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15260 2002-05-02 Michael Snyder <msnyder@redhat.com>
15262 * gdb.base/watchpoint.exp: Add xscale target.
15263 * gdb.base/long_long.exp: Add xscale target.
15264 * gdb.base/default.exp: Add xscale target.
15266 2002-05-01 Jim Blandy <jimb@redhat.com>
15268 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15269 gdb.c++/hang.exp: New test.
15271 2002-05-01 Fred Fish <fnf@redhat.com>
15273 * gdb.base/completion.exp: Handle completions of "./Make" for
15274 more than one completion possibility, as is the case when we
15275 build and test in the source tree.
15277 2002-04-29 Anthony Green <green@redhat.com>
15279 * gdb.java/jmisc1.exp: New file.
15280 * gdb.java/jmisc2.exp: New file.
15282 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15284 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15286 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15288 * gdb.base/help.exp: Change 'help status' to allow for target
15289 dependent output differences.
15291 2002-04-22 Michael Chastain <mec@shout.net>
15293 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15295 2002-04-22 Michael Chastain <mec@shout.net>
15297 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15299 2002-04-17 David S. Miller <davem@redhat.com>
15301 * gdb.asm/sparc64.inc: New file.
15302 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15304 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15306 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15307 instruction file directly into the build tree. Clean up at end of
15310 2002-04-18 David S. Miller <davem@redhat.com>
15312 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15313 handle 64-bit platforms correctly.
15314 * gdb.base/maint.exp: Likewise.
15316 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15318 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15319 ``-fpic'' when compiling files comprising a shared library, but
15320 it does need additional linker flags in order to find shared
15321 libraries at run time.
15323 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15325 * gdb.base/cvexpr.c (use): New function.
15326 (main): Invoke use() on all global variables to prevent
15327 some linkers from deleting these otherwise unused symbols.
15329 2002-04-17 Michael Chastain <mec@shout.net>
15330 From David S. Miller <davem@redhat.com>
15332 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15333 handle 64-bit platforms correctly.
15335 2002-04-12 Michael Snyder <msnyder@redhat.com>
15336 From Jim Blandy <jimb@redhat.com>
15337 * gdb.base/foo.c (foox): Remove section attribute; the linker
15338 script can handle this instead.
15339 * gdb.base/bar.c (barx): Same.
15340 * gdb.base/baz.c (bazx): Same.
15341 * gdb.base/grbx.c (grbxx): Same.
15343 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15344 manager doesn't automatically unmap overlays unnecessarily.
15346 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15348 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15349 stepping out of main.
15351 2002-04-09 Michael Chastain <mec@shout.net>
15353 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15354 scope so that the nested scope tests will make sense.
15355 * gdb.c++/local.exp: Write patterns that actually work with gcc
15356 (the HP patterns "were never known to work with gcc").
15357 Keep the old aCC patterns too.
15359 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15361 * gdb.base/attach.exp: Correct target board test.
15363 2002-04-08 Michael Chastain <mec@shout.net>
15365 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15366 in a const method. Add some xfail and fail cases for configurations
15367 that do not emit the "const ...".
15369 2002-04-07 Michael Chastain <mec@shout.net>
15371 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15372 Accept "A * const" and "const A * const" as type of "this".
15373 Fix spelling of getFunky throughout. Make messages uniform.
15375 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15377 Work around for PR gdb/285:
15378 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15380 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15382 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15383 instructions file at run time instead of configure time.
15384 Sometimes we run the test in a directory that is not the one we
15386 * gdb.asm/configure.in: Delete creation of symlink.
15387 * gdb.asm/configure: Regenerate.
15389 2002-04-05 J. Brobecker <brobecker@gnat.com>
15391 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15392 xfullpath () function.
15394 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15396 * gdb.asm/Makefile.in: Correct dependencies.
15398 * gdb.asm/powerpc.inc: New file.
15399 * gdb.asm/asm-source.exp: Add PowerPC.
15400 * gdb.asm/configure.in: Likewise.
15401 * gdb.asm/configure: Regenerated.
15403 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15405 * gdb.base/relocate.exp: New file.
15406 * gdb.base/relocate.c: New file.
15408 2002-04-04 Fred Fish <fnf@redhat.com>
15410 * gdb.base/step-test.exp: Update comment regarding stopping in
15411 memcpy/bcopy calls inserted as part of the compiler runtime.
15413 2002-04-04 Michael Snyder <msnyder@redhat.com>
15415 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15417 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15419 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15420 (gdb_expect): Remove $notransfer hack.
15422 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15424 * gdb.c++/classes.exp ("calling method for small class"): Match
15425 updated register output.
15427 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15430 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15431 when finished. Make gdb_file_cmd send "exec-file" when
15434 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15436 * gdb.base/attach.exp: Remove extra setup_xfail.
15438 2002-03-26 Michael Snyder <msnyder@redhat.com>
15440 * gdb.base/default.exp: Add tests for dump, append, and restore.
15441 * gdb.base/help.exp: Add tests for dump, append, and restore.
15442 * gdb.base/dump.exp: New file, test dump, append and restore.
15443 * gdb.base/dump.c: New file.
15445 2002-03-27 Michael Snyder <msnyder@redhat.com>
15447 * gdb.base/help.exp: Modify expect strings to reflect
15448 clean-ups in help messages.
15450 2002-03-26 Fred Fish <fnf@redhat.com>
15452 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15453 have debugging info for those functions and the compiler uses them
15454 internally to copy structs around.
15456 2002-03-26 Fred Fish <fnf@redhat.com>
15458 * gdb.base/list.exp: Revert the change made yesterday and add note
15459 about why we don't list the default lines for remote targets.
15461 2002-03-25 Michael Snyder <msnyder@redhat.com>
15463 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15465 2002-03-25 Fred Fish <fnf@redhat.com>
15467 * gdb.base/list.exp: This test works on remote targets so remove
15468 the short circuit for remote targets. Update copyright.
15470 2002-03-25 Fred Fish <fnf@redhat.com>
15472 * gdb.base/attach.exp: Fix logic error that was suppressing this
15473 test for all non hppa*-*-hpux* targets, instead of the hp target.
15474 Move comments closer to the suppression point. Also now need to
15475 check that we are running natively.
15477 2002-03-22 Michael Snyder <msnyder@redhat.com>
15479 * gdb.base/default.exp: Add test for gcore. Update copyright.
15480 * gdb.base/help.exp: Add test for gcore. Update copyright.
15482 2002-03-06 Fred Fish <fnf@redhat.com>
15484 * gdb.base/funcargs.c: Remove extraneous ';' character.
15485 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15487 2002-03-04 Michael Chastain <mec@shout.net>
15489 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15490 accommodate gcc v3 function signature.
15491 * gdb.mi/mi0-var-cmd-exp: Ditto.
15493 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15495 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15496 ``GNU/Linux'' or ``Linux kernel''
15497 * testsuite/gdb.threads/pthreads.c: Ditto.
15499 2002-02-24 Michael Chastain <mec@shout.net>
15501 * gdb.threads/pthreads.c (thread1): Add a return statement.
15502 (thread2): Likewise.
15505 2002-02-23 Michael Chastain <mec@shout.net>
15507 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15510 2002-02-23 Michael Chastain <mec@shout.net>
15512 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15513 test "ptype bint". The test passes on all my stabs configurations.
15515 2002-02-21 Jim Blandy <jimb@redhat.com>
15517 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15518 filename at a time, and watch for the ones we want to see.
15520 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15521 types of pointers to prototyped functions.
15523 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15525 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15526 signed, unsigned and straight char.
15527 (padding_char, padding_short, padding_int, padding_long,
15528 padding_long_long, padding_float, padding_double,
15529 padding_long_double): New global variables.
15530 (fill, fill_structs): New functions.
15532 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15533 for correctly sized writes. Update copyright.
15534 (get_valueof): New procedure.
15535 (get_sizeof): Call get_valueof.
15536 (check_valueof): New procedure.
15537 (check_padding): New procedure.
15539 2002-02-20 Michael Chastain <mec@shout.net>
15541 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15542 to setup_xfail. Document some of the remaining calls.
15544 2002-02-18 Michael Chastain <mec@shout.net>
15546 * gdb.c++/userdef.exp: Update copyright year.
15548 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15550 * gdb.c++/userdef.exp: Test overloaded operators properly.
15553 2002-02-14 Michael Snyder <msnyder@redhat.com>
15555 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15557 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15559 * gdb.base/a2-run.exp: Check for a remote target properly.
15560 * gdb.base/annota1.exp: Likewise.
15561 * gdb.base/list.exp: Likewise.
15562 * gdb.base/reread.exp: Likewise.
15563 * gdb.base/scope.exp: Likewise.
15564 * gdb.base/shlib-call.exp: Likewise.
15565 * gdb.base/term.exp: Likewise.
15566 * gdb.c++/annota2.exp: Likewise.
15568 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15570 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15572 2002-02-10 Michael Chastain <mec@shout.net>
15574 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15575 (call_after_alloca): Ditto.
15577 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15579 * gdb.base/ending-run.exp: Guard "cont" test with
15580 gdb_skip_stdio_test.
15582 2002-02-06 Jim Blandy <jimb@redhat.com>
15584 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15586 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15587 To here. Disable this test on non-HP platforms. Add big comment.
15589 2002-02-04 Michael Snyder <msnyder@redhat.com>
15591 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15592 other than d10v and m32r.
15594 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15596 * gdb.base/default.exp: Rewrite test patterns to reduce time
15597 taken to match them.
15599 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15601 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15602 Allow a start function above main.
15603 * gdb.threads/linux-dp.exp: Fix copyright date.
15605 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15607 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15608 (check_philosopher_stack): Check for manager thread before checking
15609 for a just-starting thread.
15611 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15613 From Neil Booth <neil@daikokuya.demon.co.uk>:
15614 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15617 2002-01-21 Fred Fish <fnf@redhat.com>
15619 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15622 2002-01-21 Jim Blandy <jimb@redhat.com>
15624 * gdb.base/reread.exp: Check that GDB properly re-reads the
15625 executable file when it changes while no inferior is running.
15627 2002-01-21 Fred Fish <fnf@redhat.com>
15629 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15630 optionally accept the "shlib events" variation.
15632 2002-01-21 Jim Blandy <jimb@redhat.com>
15634 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15635 call `fflush' after every `printf', so that the output is produced
15636 at predictable points, regardless of whatever buffering does (or
15637 doesn't) take place.
15638 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15639 at different points.
15641 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15643 * gdb.c++/inherit.exp: Update copyright years.
15644 * gdb.c++/method.exp: Likewise.
15646 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15648 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15649 artificial methods/arguments.
15650 * gdb.c++/derivation.exp: Likewise.
15651 * gdb.c++/inherit.exp: Likewise.
15652 * gdb.c++/method.exp: Likewise.
15653 * gdb.c++/virtfunc.exp: Likewise.
15655 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15657 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15658 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15659 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15660 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15661 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15662 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15664 2002-01-17 Jim Blandy <jimb@redhat.com>
15666 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15667 anchoring the pattern matching the entry point symbol's name.
15669 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15671 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15672 continue/quit query. Update copyright.
15674 2002-01-14 Michael Snyder <msnyder@redhat.com>
15676 * gdb.base/gcore.exp: Remove extra debugging output.
15678 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15680 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15681 for slightly dubious v2 mangled string.
15683 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15685 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15687 2002-01-10 Jason Merrill <jason@redhat.com>
15689 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15691 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15693 * gdb.c++/derivation.exp: Likewise.
15694 * gdb.c++/templates.exp: Likewise.
15695 * gdb.c++/virtfunc.exp: Likewise.
15697 2002-01-10 Michael Snyder <msnyder@redhat.com>
15699 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15701 2002-01-08 Michael Snyder <msnyder@redhat.com>
15703 * gdb.base/gcore.exp: New test for generate-core-file command.
15704 * gdb.base/gcore.c: Testcase for above.
15705 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15707 2002-01-08 Jason Merrill <jason@redhat.com>
15709 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15711 2002-01-07 Fred Fish <fnf@redhat.com>
15713 * gdb.c++/overload.exp: Remove unconditional xfails for:
15714 print foo_instance1.overloadargs(1)
15715 print foo_instance1.overloadargs(1, 2)
15716 print foo_instance1.overloadargs(1, 2, 3)
15717 print foo_instance1.overloadargs(1, 2, 3, 4)
15718 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15719 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15720 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15721 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15722 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15723 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15724 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15725 print foo_instance1.overload1arg()
15726 print foo_instance1.overload1arg((char)arg2)
15727 print foo_instance1.overload1arg((signed char)arg3)
15728 print foo_instance1.overload1arg((unsigned char)arg4)
15729 print foo_instance1.overload1arg((int)arg7)
15730 print foo_instance1.overload1arg((unsigned int)arg8)
15731 print foo_instance1.overload1arg((float)arg11)
15732 print foo_instance1.overload1arg((double)arg12)
15734 2002-01-07 Michael Snyder <msnyder@redhat.com>
15736 * gdb.base/huge.exp: New test. Print a very large target data object.
15737 (skip_huge_test): New test variable. Define if you want to skip this
15738 test. The test reads an 8 megabyte data object from the target, so it
15739 might be very time consuming on remote targets with a slow connection.
15740 * gdb.base/huge.c: New file. Test case for above.
15742 2002-01-07 Fred Fish <fnf@redhat.com>
15744 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15745 g_instance.bfoo, and g_instance.cfoo.
15747 2002-01-07 Jeffrey A Law <law@redhat.com>
15749 * gdb.base/break.c (multi_line_if_conditional): New function.
15750 (multi_ilne_while_conditional): Likewise.
15751 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15752 IF or WHILE condition puts the breakpoint at the start of
15755 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15756 hppa*-*-hpux* expected failure.
15757 * gdb.base/structs.exp (do_function_calls): Similarly.
15759 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15762 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15765 * gdb.base/structs.exp: Replace skip for a29k with skip for
15766 gdb,cannot_call_functions.
15767 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15768 * gdb.base/callfuncs.exp: Ditto.
15769 * gdb.base/call-rt-st.exp: Ditto.
15770 * gdb.base/call-strs.exp: Ditto.
15771 * gdb.base/callfwmall.exp: Ditto.
15772 * gdb.base/scope.exp: Obsolete xfail a29k.
15773 * gdb.c++/misc.exp: Ditto.
15774 * gdb.c++/cplusfuncs.exp: Ditto.
15775 * gdb.base/ptype.exp: Ditto.
15776 * gdb.base/printcmds.exp: Ditto.
15777 * gdb.base/opaque.exp: Ditto.
15778 * gdb.base/list.exp: Ditto.
15779 * gdb.base/funcargs.exp: Ditto.
15780 * gdb.base/default.exp: Ditto.
15782 2002-01-04 Michael Snyder <msnyder@redhat.com>
15784 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15785 * gdb.base/maint.exp: Add tests for maint info sections options.
15787 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15789 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15791 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15793 * gdb.asm/arm.inc: New file.
15794 * gdb.asm/asm-source.exp: Add arm targets.
15795 * gdb.asm/configure.in: Ditto.
15796 * gdb.asm/configure: Recreated from configure.in.
15798 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15800 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15801 with HP's compiler.
15802 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15803 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15804 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15805 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15807 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15808 either HP's compilers or GCC.
15810 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15811 a SIGBUS or SIGSEGV.
15813 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15815 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15816 can be compiled with either HP's compiler or GCC.
15818 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15819 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15820 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15822 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15823 to match current gdb output. Update due to using auto-solib-limit
15824 for limiting instead of overloading auto-solib-add.
15825 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15828 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15829 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15830 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15831 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15832 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15833 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15834 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15835 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15836 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15837 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15838 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15839 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15840 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15842 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15843 a SIGTRAP to the inferior.
15845 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15847 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15848 Substitute call to target_link by call to gdb_compile.
15850 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15852 * gdb.base/break.exp: Fix HP specific search string when testing
15853 backtracing in a called function.
15855 * gdb.base/constvars.exp: Only set lang to C++ if we're
15856 compiling the test with HP's compilers.
15857 * gdb.base/volatile.exp: Similarly.
15859 2001-12-19 Jim Blandy <jimb@redhat.com>
15861 * gdb.base/printcmds.exp: Expect the null character to be printed
15862 as '\0', and the '\013' to be printed as '\v'.
15863 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15864 * gdb.base/setvar.exp: Same.
15866 2001-12-17 Jim Blandy <jimb@redhat.com>
15868 * gdb.base/completion.exp: Rather than completing very long
15869 filenames, which can make the readline library produce output we
15870 don't recognize, cd to the directory first, and then complete
15871 using nice, short relative paths.
15873 * gdb.base/completion.exp: On some systems, there is, in fact, a
15874 variable named `b' in scope, since GDB treats all static
15875 variables as being in scope. So use `no_var_named_this'
15878 * gdb.base/corefile.exp: Recognize the message saying that GDB
15879 can't find the core file's registers as a failure.
15881 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15883 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15884 test expect string more specific.
15886 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15888 * gdb.asm/asm-source.exp: Add support for xstormy16.
15889 * gdb.asm/configure.in: Ditto.
15890 * gdb.asm/configure: Rebuild.
15891 * gdb.asm/xstormy16.inc: New file.
15893 2001-12-10 Fred Fish <fnf@redhat.com>
15895 * gdb.base/maint.exp: Update to match changes in type dumping code.
15897 2001-12-10 Jim Blandy <jimb@redhat.com>
15899 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15900 matching the entry point symbol's name at the beginning of the
15903 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15905 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15906 gdb.c++/inherit.exp, gdb.c++/method.exp,
15907 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15908 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15909 and class layout support.
15911 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15913 * gdb.c++/classes.exp: Add test for static member function.
15914 * gdb.c++/misc.cc: Add class with static member function.
15916 2001-12-07 Jim Blandy <jimb@redhat.com>
15918 If GDB says it can't find the struct the function returned, report
15919 those tests as `unsupported'.
15920 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15921 Rewrite subsequent tests to use it.
15923 If GDB says it can't find the struct the function returned, report
15924 those tests as `unsupported'.
15925 * gdb.base/structs.exp (call_struct_func): New function.
15926 (do_function_calls): Use call_struct_func to call the functions
15929 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15930 whether functions are prototyped or not, so we can't possibly pass
15931 arguments to t_float_values2 properly.
15933 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15934 value of `timeout' for targets other than the mips*tx39-*.
15936 2001-12-06 Michael Snyder <msnyder@redhat.com>
15938 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15939 and detect whether the start symbol has a leading underscore.
15941 2001-12-04 Jim Blandy <jimb@redhat.com>
15943 * gdb.base/completion.exp: Clarify indentation.
15945 2001-12-03 Jim Blandy <jimb@redhat.com>
15947 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15948 variables on the S/390, not `.word'.
15950 2001-11-30 Jim Blandy <jimb@redhat.com>
15952 Add assembly-source tests for s390-ibm-linux.
15953 * gdb.asm/s390.inc: New file.
15954 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15955 the S/390 architecture.
15956 * gdb.asm/configure: Regenerated.
15958 2001-11-30 Michael Snyder <msnyder@redhat.com>
15960 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15961 next, info source, info sources, info line, global and static
15962 variables, and static functions.
15963 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15964 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15965 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15966 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15967 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15968 (gdbasm_leave): Restore frame pointer.
15969 (gdbasm_startup): Copy stack set-up from crt0.S.
15971 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15973 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15974 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15975 to a local (non-static) variable. Copy tstruct.a to a static buffer
15976 and return a pointer to that buffer.
15977 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15979 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15981 * gdb.asm/configure.in: Fix recognition of ix86 target.
15982 * gdb.asm/configure: Regenerate.
15984 2001-11-21 Michael Snyder <msnyder@redhat.com>
15986 * gdb.asm/sparc.inc: New file.
15987 * gdb.asm/asm-source.exp: Recognize sparc target.
15988 * gdb.asm/configure.in: Recognize sparc target.
15989 * gdb.asm/configure: Regenerate.
15991 2001-11-21 Michael Snyder <msnyder@redhat.com>
15993 * gdb.asm/m32r.inc: New file.
15994 * gdb.asm/asm-source.exp: Recognize m32r target.
15995 * gdb.asm/configure.in: Recognize m32r target.
15996 * gdb.asm/configure: Regenerate.
15998 2001-11-20 Michael Snyder <msnyder@redhat.com>
16000 * gdb.asm/i386.inc: New file.
16001 * gdb.asm/asm-source.exp: Recognize ix86 target.
16002 * gdb.asm/configure.in: Recognize ix86 target.
16003 * gdb.asm/configure: Regenerate.
16005 * gdb.c++/namespace.exp: Fix quotes in output messages.
16007 2001-11-14 Michael Snyder <msnyder@redhat.com>
16009 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16010 qualifier in a type cast expression, to designate an address
16011 in the instruction space (Harvard architecture).
16013 2001-11-13 Michael Snyder <msnyder@redhat.com>
16015 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16016 Tests for expressions using 'const' and 'volatile'.
16018 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16020 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16022 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16024 * lib/mi-support.exp (mi_run_to_helper): Move comments
16025 outside of gdb_expect.
16027 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16029 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16030 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16031 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16032 mi0_run_to): New functions.
16033 * gdb.mi/mi-simplerun.exp: Use them.
16034 * gdb.mi/mi0-simplerun.exp: Likewise.
16035 * gdb.mi/mi-var-cmd.exp: Likewise.
16036 * gdb.mi/mi0-var-cmd.exp: Likewise.
16038 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16040 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16041 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16043 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16045 * gdb.base/restore.exp: Include $expected value in restored test
16048 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16050 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16053 2001-11-08 Michael Snyder <msnyder@redhat.com>
16055 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16056 Add pass/fail message for stop at breakpoint in call dummy function.
16058 2001-11-07 Michael Snyder <msnyder@redhat.com>
16060 * gdb.c++/templates.exp (test_template_breakpoints):
16061 If we get an overload menu, but it does not match what
16062 we expect, we still need to issue the "cancel" command.
16063 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16064 making the whitespace optional. Argument for "new" may be
16065 "unsigned" as well as "unsigned int/long".
16066 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16067 making the whitespace optional. Also replace "(void) with
16068 "((void|)), making the keyword "void" optional.
16069 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16070 making the whitespace optional. Also replace "(void) with
16071 "((void|)), making the keyword "void" optional.
16072 * gdb.base/callfuncs.c (t_float_values): This function must
16073 _not_ be prototyped, and the following function (t_float_values2)
16074 must be prototyped (if the compiler supports it), so that GDB
16075 can be tested against both cases. Usually one case involves
16076 promotion of float to double, while the other does not.
16077 * gdb.base/callfwmall.c: Ditto.
16078 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16079 includes a stack frame for "start".
16081 2001-11-05 Jim Blandy <jimb@redhat.com>
16083 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16084 pointers are 32 bits long, and that offsets of relocs are always
16085 stored in the data (REL-style), and not in the reloc entry itself
16087 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16090 2001-11-01 Michael Snyder <msnyder@redhat.com>
16092 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16093 and regular expression operators by using quoting.
16095 2001-10-31 Michael Snyder <msnyder@redhat.com>
16097 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16098 depending on what the symbol table contains.
16099 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16100 the output of the ptype command. Similarly, accept both "const &"
16103 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16105 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16106 symbol `STORAGE' to allow to choose the storage class of
16107 the local datastructures.
16108 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16109 compiler directive.
16111 2001-10-30 Michael Snyder <msnyder@redhat.com>
16113 * gdb.base/jump.exp: Allow it to run for all targets.
16115 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16117 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16118 with new double_array size.
16119 (main): Change storage class of all local variables to static.
16120 Reduce size of double_array to 9.
16121 * gdb.base/call-ar-st.exp: Increase timeout value.
16122 Change expected output for double array to match new size in
16125 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16127 * gdb.base/ending-run.exp: Create identical output when passing
16128 `step to end of run' case. Add regular expression branch satisfying
16131 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16133 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16134 that we catch the expected failure under Linux/x86.
16136 2001-10-29 Orjan Friberg <orjanf@axis.com>
16138 * gdb.base/setvar.exp: Escape curly braces.
16139 * gdb.stabs/weird.exp: Ditto.
16141 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16143 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16144 * gdm.mi/mi0-hack-cli.exp: Likewise.
16146 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16148 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16151 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16153 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16154 checking MI enabled.
16156 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16158 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16160 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16162 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16163 if gdb child process crashes, just signal an error.
16165 2001-10-02 Jim Blandy <jimb@redhat.com>
16167 * lib/gdb.exp (test_xfail_format): Simplify.
16169 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16170 front of the variable name `format'. Simplify `if'.
16172 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16174 * gdb.threads/pthreads.exp: Wait for output and delay
16177 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16179 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16180 some incorrect output instead of timing out.
16181 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16183 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16185 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16186 check to allow additional `int'.
16188 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16190 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16191 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16193 2001-09-27 Michael Snyder <msnyder@redhat.com>
16195 * lib/gdb.exp (test_debug_format): New proc.
16196 (setup_xfail_format): Use new proc test_debug_format.
16197 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16198 proc; use new service proc test_debug_format.
16199 Replace all other "gcc_compiled" tests with this test.
16200 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16201 proc; use new service proc test_debug_format.
16202 Replace all other "gcc_compiled" tests with this test.
16204 2001-09-27 Michael Snyder <msnyder@redhat.com>
16206 * gdb.base/cvexpr.exp: New file.
16207 * gdb.base/cvexpr.c: New file
16208 Test for expressions using const and volatile keywords.
16210 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16212 * gdb.base/constvars.exp: Check for different orders of keywords
16213 and additional "int" strings in output.
16215 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16217 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16218 responses from "help maint".
16220 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16222 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16223 to localhost:NNN instead of :NNN, in case Xvfb is listening
16226 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16228 * gdb.base/recurse.exp: When checking leaving the watchpoint
16229 scope, recognize when gdb is in function's epilogue and pass.
16231 2001-09-18 Keith Seitz <keiths@redhat.com>
16233 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16234 support for running tests against sid targets.
16235 (gdbtk_done): Ditto.
16237 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16239 * gdb.base/ending-run.c (main): Set stdout buffersize
16240 to the same reasonable value for any target.
16241 * gdb.base/ending-run.exp: Add a regular expression
16242 to make testsuite happy on Sanyo Stormy16 target.
16244 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16246 * gdb.base/display.c (do_loops): Add float variable `f'.
16247 Increment f in loop.
16248 * gdb.base/display.exp: Increment timeout by 60 seconds.
16249 Change float display test to use variable `f'.
16251 2001-09-17 Jim Blandy <jimb@redhat.com>
16253 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16254 overflowing the limited breakpoint tables on some ROM monitors
16257 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16259 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16260 the "-ac" (disable access control) flag.
16262 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16264 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16267 2001-08-30 Keith Seitz <keiths@redhat.com>
16269 * lib/gdb.exp: Move all insight-related functionality into
16271 * lib/insight-support.exp: New file.
16273 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16275 * config/sid.exp (sid_start): Never set sid verbosity; disable
16276 expect_background {} that consumed its stdout; tolerate </dev/null.
16277 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16279 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16281 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16282 CLI jump command to start it.
16283 (mi_run_to_main): Fail immediatly when unexpected output.
16285 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16287 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16288 beginning of function. Fix PR gdb/191.
16290 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16292 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16293 what to force sid endianness to.
16295 2001-08-15 Keith Seitz <keiths@redhat.com>
16297 * lib/gdb.exp (gdbtk_start): Don't set environment
16298 variables for TCL_LIBRARY and friends. Insight will
16299 now figure these out for itself.
16301 2001-08-02 Michael Snyder <msnyder@redhat.com>
16303 * gdb.base/completion.exp: Remove the symbol "a64l" from
16304 the expect string; this is target-specific, and not related
16305 to what is being tested.
16307 2001-08-02 Dave Brolley <brolley@redhat.com>
16309 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16311 2001-07-25 Michael Snyder <msnyder@redhat.com>
16313 * gdb.base/consecutive.exp: New file. Test stepping over
16314 breakpoints on consecutive instructions.
16315 * gdb.base/consecutive.c: New file.
16317 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16318 curly braces in regular expressions.
16320 2001-07-25 Michael Snyder <msnyder@redhat.com>
16322 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16323 legitimate output from stepping out of main.
16325 2001-07-22 Keith Seitz <keiths@redhat.com>
16327 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16328 the empty string, do not run the tests.
16330 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16332 * gdb.base/long_long.exp: Detect size of pointer. Take into
16333 account 2-byte pointers when testing for p/a results.
16335 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16337 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16338 and defined to 1K for m68hc11.
16339 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16340 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16341 (sizeof_random_data): New variable to tell the size of the data table;
16342 don't test past this size; always run to main.
16344 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16346 * gdb.base/return2.exp: return of long long and double fails for
16347 68HC11; don't execute these tests on that platform.
16348 * gdb.base/return.exp: Return of a double fails for 68hc11.
16350 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16352 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16353 tests that print a float.
16354 * call-rt-st.exp: Likewise.
16356 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16358 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16359 running this test on Linux.
16361 2001-06-24 Michael Chastain <chastain@redhat.com>
16363 * gdb.base/arithmet.exp: Remove some tests to make all test names
16366 2001-07-03 Michael Snyder <msnyder@redhat.com>
16368 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16369 the output of the ptype command.
16371 2001-07-02 Michael Snyder <msnyder@redhat.com>
16373 * gdb.base/completion.exp: Don't assume that break.c is the only
16374 source file that may contain functions named "marker".
16375 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16377 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16379 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16380 of files to delete.
16382 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16383 * gdb.disasm/h8300s.exp: New file.
16384 gdb.disasm/h8300s.s: Likewise.
16386 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16388 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16389 empty breakpoint tables.
16391 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16393 * lib/mi-support.exp: Update args=... part of stop-reason
16394 patterns. Accept either a list or a tuple.
16396 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16398 * lib/mi-support.exp: Remove local emacs variable defining
16399 change-log-default-name.
16401 2001-06-22 Michael Chastain <chastain@redhat.com>
16403 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16404 This is operationally compatible with the previous version.
16406 2001-06-13 Jim Blandy <jimb@redhat.com>
16408 * lib/gdb.exp (gdb_test): Doc fix.
16410 2001-06-10 Michael Chastain <chastain@redhat.com>
16412 * gdb.base/exprs.exp: Remove a duplicate test.
16414 2001-06-06 Jim Blandy <jimb@redhat.com>
16416 * gdb.base/return2.exp (main): Use values to test float and double
16417 returns that are not NaN's, to avoid being confused by IEEE
16420 2001-06-04 Michael Snyder <msnyder@redhat.com>
16422 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16423 non-zero if control_c fails. Terminate the test on failure,
16424 rather than wait for 12 more tests to time out.
16426 2001-06-06 Jim Blandy <jimb@redhat.com>
16428 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16429 Don't forget to match the GDB prompt.
16431 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16433 2001-06-04 Jim Blandy <jimb@redhat.com>
16435 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16438 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16440 * gdb.base/annota1.exp (info break): Match four or more spaces
16443 2001-05-31 Michael Chastain <chastain@redhat.com>
16445 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16446 (dm_type_int_star): Likewise.
16447 (dm_type_long_star): Likewise.
16448 (dm_type_void_star): Likewise.
16450 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16452 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16453 to a known value in order to get consistent results regardless
16454 of the setting of INPUTRC or the presence or contents of .inputrc.
16456 2001-05-24 Michael Snyder <msnyder@redhat.com>
16458 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16459 Don't require that the main thread and the manager thread are the
16462 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16463 debugging. If test fails, issue an "unsupported" not a "fail".
16465 2001-05-24 Jim Blandy <jimb@redhat.com>
16467 Don't assume that short is shorter than int.
16468 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16469 assume that shorts are smaller than ints. On a 16-bit machine,
16471 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16472 an int, is not equal to ~0 stored in an unsigned char. This tests
16473 the same thing that the previous test meant to, but works on
16474 16-bit machines, too.
16475 ("print unsigned char != (~0)"): Same test, complemented.
16477 2001-05-24 Michael Snyder <msnyder@redhat.com>
16479 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16480 test for (full_coverage == 0). This makes the test run faster,
16481 and prevents dejagnu getting out of step.
16483 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16485 * gdb.base/finish.exp (finish_void): Revise pattern for
16486 stopping on the call statement to not permit stopping at
16487 the start of the instructions comprising the call sequence.
16489 2001-05-19 Michael Chastain <chastain@redhat.com>
16491 * gdb.base/callfuncs.exp: Make all test names unique.
16492 * gdb.base/commands.exp: Make all test names unique.
16493 * gdb.base/condbreak.exp: Make all test names unique.
16494 * gdb.base/dbx.exp: Make all test names unique.
16495 * gdb.base/default.exp: Make all test names unique.
16496 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16497 and TIMEOUT messages to their corresponding PASS message.
16498 * gdb.base/ending-run.exp: Make all test names unique.
16499 * gdb.base/long_long.exp: Remove duplicate test.
16501 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16503 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16504 stop on the call statement as well as the statement after the
16507 2001-05-21 Michael Snyder <msnyder@redhat.com>
16509 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16511 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16513 * gdb.base/completion.exp: Revamp test. Make it execute on all
16516 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16518 * config/gdbserver.exp (gdb_load): Handle the case
16519 in which the arguments to gdbserver are given in the
16520 baseboard configuration file.
16521 Also handle the case in which the server needs to do a
16524 2001-05-07 Keith Seitz <keiths@cygnus.com>
16526 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16527 set up the display for testing.
16528 (gdbtk_start): Convert all paths to paths that tcl will like.
16529 Export target information to environment.
16530 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16532 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16533 (to_tcl_path): New proc to convert a given pathname into
16534 a path acceptible as an argument to a tcl command.
16535 (_gdbtk_export_target_info): New proc to export target info
16536 into the environment for gdbtk testing.
16537 (gdbtk_done): New proc to signal end-of-test.
16539 2001-05-06 Jim Blandy <jimb@redhat.com>
16541 * restore.c: Make the code of caller0 correspond to its comment.
16543 2001-05-03 Michael Snyder <msnyder@redhat.com>
16545 * config/sid.exp (gdb_target_sid): Check for error messages.
16546 On error or timeout, don't make expect exit (which will terminate
16547 all subsequent tests); instead just make gdb exit.
16548 (gdb_load): Check for error messages. On error or timeout,
16549 return a negative value.
16551 2001-04-24 Jim Blandy <jimb@redhat.com>
16553 * gdb.c++/templates.exp: If we see the prompt for the overload
16554 list, but we haven't recognized any of the longer patterns,
16555 arrange for this test to fail, not hang.
16557 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16560 2001-04-22 Michael Chastain <chastain@redhat.com>
16562 * gdb.c++/local.exp: Use the 'runto' library function.
16563 * gdb.c++/namespace.exp: Likewise.
16564 * gdb.c++/overload.exp: Likewise.
16566 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16568 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16569 * gdb.base/step-line.exp: New file. Test step/next in presence of
16571 * gdb.base/step-line.c: New file. Test program for the above.
16572 * gdb.base/step-line.inp: New file. We pretend that this file has
16573 been transformed by some other tool into step-line.c.
16575 2001-03-21 Jim Blandy <jimb@redhat.com>
16577 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16578 unmangled operator names.
16580 2001-03-20 Jim Blandy <jimb@redhat.com>
16582 * gdb.threads/linux-dp.exp: Recognize an additional message
16583 generated by GDB when it doesn't understand how to debug threads
16584 on the target system.
16586 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16588 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16590 2001-03-12 Michael Chastain <chastain@redhat.com>
16592 * gdb.c++/derivation.exp: Use the 'runto' library function.
16594 2001-03-12 Michael Chastain <chastain@redhat.com>
16596 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16598 2001-02-24 Michael Chastain <chastain@redhat.com>
16600 * gdb.c++/ref-types.exp: Change handwritten code to library
16603 2001-03-16 Orjan Friberg <orjanf@axis.com>
16605 * gdb.base/signals.exp: Set count to 0 explicitly.
16607 2001-03-15 Mark Salter <msalter@redhat.com>
16609 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16610 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16611 (gdb_load): Add support for additional target_info: gdb_download_size
16612 and gdb_load_timeout.
16614 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16616 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16617 file -- to prevent failing when the compile fails but we have no
16618 intention of running the tests anyway.
16620 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16623 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16626 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16627 * gdb.c++/namespace.exp: Ditto.
16629 2001-03-07 Orjan Friberg <orjanf@axis.com>
16631 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16632 * gdb.base/pointers.exp: Relax pattern match of decimals.
16634 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16636 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16637 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16638 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16639 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16640 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16641 config/sh.exp, config/sid.exp, config/slite.exp,
16642 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16643 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16644 config/vxworks.exp, config/vxworks29k.exp,
16645 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16646 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16647 gdb.base/arithmet.exp, gdb.base/assign.exp,
16648 gdb.base/async.exp, gdb.base/attach.exp,
16649 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16650 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16651 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16652 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16653 gdb.base/commands.exp, gdb.base/completion.exp,
16654 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16655 gdb.base/constvars.exp, gdb.base/corefile.exp,
16656 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16657 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16658 gdb.base/ending-run.exp, gdb.base/environ.exp,
16659 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16660 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16661 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16662 gdb.base/funcargs.exp, gdb.base/help.exp,
16663 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16664 gdb.base/logical.exp, gdb.base/long_long.exp,
16665 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16666 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16667 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16668 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16669 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16670 gdb.base/regs.exp, gdb.base/relational.exp,
16671 gdb.base/remote.exp, gdb.base/reread.exp,
16672 gdb.base/restore.exp, gdb.base/return2.exp,
16673 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16674 gdb.base/selftest.exp, gdb.base/setshow.exp,
16675 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16676 gdb.base/sigall.exp, gdb.base/signals.exp,
16677 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16678 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16679 gdb.base/step-test.exp, gdb.base/structs.c,
16680 gdb.base/structs.exp, gdb.base/structs2.exp,
16681 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16682 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16683 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16684 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16685 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16686 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16687 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16688 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16689 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16690 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16691 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16692 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16693 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16694 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16695 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16696 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16697 gdb.trace/circ.exp, gdb.trace/collection.exp,
16698 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16699 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16700 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16701 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16702 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16703 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16704 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16707 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16709 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16710 first arg is int not float.
16712 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16714 * gdb.base/reread.exp: Unsupported for non-native targets;
16715 doesn't work for remote debugging.
16717 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16719 From Drew Moseley <dmoseley@redhat.com>
16720 * gdb.base/ending-run.exp: Properly handle the BSP state when
16721 stepping past the end of main.
16723 2001-02-19 John Moore <jmoore@redhat.com>
16725 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16726 Converted HPUX fix for non-expected items following multiple
16727 step commands into general solution for all platforms.
16729 2001-02-18 Michael Chastain <chastain@redhat.com>
16731 * gdb.c++/classes.exp (do_tests): Change runto statements
16732 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16733 statements demangler agnostic.
16734 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16735 (gdb_virtfunc_restart): Likewise.
16737 2001-02-14 Michael Chastain <chastain@redhat.com>
16739 * gdb.c++/inherit.exp (do_tests): Change runto statements
16740 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16741 statements demangler agnostic.
16743 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16745 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16746 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16747 before calling common_routine 15 times'' tests.
16749 2001-02-11 Michael Chastain <chastain@redhat.com>
16751 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16752 Helps the test script figure out which demangler is in use.
16753 (dm_type_foo_ref): Ditto.
16754 (dm_type_int_star): Ditto.
16755 (dm_type_long_star): Ditto.
16756 (dm_type_unsigned_int): Ditto.
16757 (dm_type_void): Ditto.
16758 (dm_type_void_star): Ditto.
16759 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16760 Probe the gdb demangler and set variables to accommodate
16761 formatting differences.
16762 (info_func_regexp): New function. Same as info_func, but
16763 matches against a regexp.
16764 (info_func): Match against a literal string.
16765 (print_addr_2): New function. Match against a literal string,
16766 which can be different from the input to gdb.
16767 (print_addr): Simply call print_addr_2 with the same argument twice.
16768 (test_lookup_operator_functions): Use demangler formatting variables.
16769 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16770 the tests in the same order as the C++ class declaration.
16771 (test_paddr_operator_functions): Ditto.
16772 (test_paddr_overloaded_functions): Ditto.
16773 (test_paddr_hairy_functions): Use demangler formatting variables.
16774 Add reference to gdb/19 for related tests.
16775 (do_tests): Call probe_demangler.
16777 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16779 * gdb.c++/templates.cc (printf): Remove unused function definition.
16781 2001-01-26 Felix Lee <flee@redhat.com>
16783 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16785 2001-01-25 matthew green <mrg@redhat.com>
16787 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16789 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16791 2001-01-25 matthew green <mrg@redhat.com>
16793 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16794 Deprecate $sid_spawn_id.
16795 (sid_exit): Remove code necessary only for `spawn.'
16797 2001-01-25 matthew green <mrg@redhat.com>
16799 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16801 2001-01-28 Michael Chastain <chastain@redhat.com>
16803 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16804 to call when tests fail. It takes gdb out of the overloaded
16805 function choice menu back to the main prompt, so that the test
16806 program stays synchronized.
16807 (set_bp_overloaded): New proc to collect all the common
16808 code for setting a breakpoint on an overloaded name. Calls
16809 take_gdb_out_of_choice_menu when needed.
16810 (menu_overload1arg): New variable to collect the repeated
16811 instances of the expected menu for an overloaded name. Change
16812 the regular expression to handle changes in g++ type encoding:
16813 "void" can be either "void" or "", and "unsigned int" can be
16814 either "unsigned int" or "unsigned".
16815 (continue_to_bp_overloaded): Change regular expressions to handle
16816 changes in g++ type encoding.
16817 (no proc): Call take_gdb_out_of_choice_menu when needed.
16818 Remove redundant calls to "info break". Accept either "canceled"
16819 or "cancelled". Change regular expressions in "info break"
16820 calls to handle changes in g++ type encoding. Give all tests
16823 2001-01-17 Ben Elliston <bje@redhat.com>
16825 * config/sid.exp: New file.
16827 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16829 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16831 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16833 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16834 Add a RE to accept a non-ascii char if one is ever presented.
16836 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16838 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16840 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16842 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16843 in regexp. One '\' does not suffice on Linux.
16845 2000-12-09 Michael Chastain <chastain@redhat.com>
16847 * gdb.base/break.exp (test_clear_command): Use a marker function
16848 rather than 'main' for the test function. Also move this
16849 test to an execution point where the marker function names are
16850 guaranteed to be bound to functions. (Executing tests after a
16851 'finish' from main runs into name conflicts with local names
16852 in __libc_start_main).
16854 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16856 * gdb.base/finish.exp: New test for gdb's "finish" command.
16857 * gdb.base/return2.exp: New test for gdb's "return" command.
16858 * gdb.base/return2.c: New source file for above.
16860 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16862 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16863 * gdb.base/miscexprs.exp: Ditto.
16864 * gdb.base/pointers.exp: Ditto.
16865 * gdb.c++/derivation.exp: Ditto.
16866 * gdb.c++/local.exp: Ditto.
16867 * gdb.c++/namespace.exp: Ditto.
16868 * gdb.c++/overload.exp: Ditto.
16869 * gdb.c++/ref-types.exp: Ditto.
16871 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16873 * gdb.base/constvars.exp: Test result of "up" command.
16874 * gdb.base/miscexprs.exp: Ditto.
16875 * gdb.base/pointers.exp: Ditto.
16876 * gdb.base/scope.exp: Ditto.
16877 * gdb.c++/derivation.exp: Ditto.
16878 * gdb.c++/local.exp: Ditto.
16879 * gdb.c++/namespace.exp: Ditto.
16880 * gdb.c++/overload.exp: Ditto.
16881 * gdb.c++/ref-types.exp: Ditto.
16883 2000-11-22 Michael Chastain <chastain@redhat.com>
16885 * mips_pro.exp: Accept either "middle -> top -> main" or
16886 "middle -> main" in the backtrace, because gcc can optimize
16887 tail calls to jumps. Remove setup_xfail for the hppa case.
16888 Add a comment with the original warning messages from PR 3016,
16889 which was filed in 1993, to preserve them for posterity.
16891 2000-11-17 Nick Duffek <nsd@redhat.com>
16893 * lib/gdb.exp (gdb_test): Override timeout with board info.
16895 2000-11-17 Nick Duffek <nsd@redhat.com>
16897 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16898 the second kill and detach messages.
16900 2000-11-17 Nick Duffek <nsd@redhat.com>
16902 * configure.in: Add AC_EXEEXT.
16903 * configure: Regenerate.
16904 * Makefile.in (just-check): Export EXEEXT.
16905 * lib/gdb.exp ($EXEEXT): Import from environment.
16906 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16907 expect "maint dump-me" on Cygwin.
16908 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16911 2000-11-17 Nick Duffek <nsd@redhat.com>
16913 * gdb.base/break.exp: Test backtrace and finish from called
16914 function on all platforms, not just HP-UX.
16916 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16918 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16919 code from gdb_target_monitor, so it can be used independantly
16920 for gdbserver. Also comment out an unnecessary PUTS.
16922 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16924 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16925 * gdb.base/corefile.exp: Expect the message "Program is being
16926 debugged already" when we send the "corefile" command, since
16927 the preceeding gdb_load may have connected gdb to a remote target.
16928 * gdb.base/display.exp: Disable hardware watchpoints if new
16929 board info variable "no_hardware_watchpoints" is true.
16930 Replace single-letter commands with more readable ones.
16931 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16932 if new board info variable "no_hardware_watchpoints" is true.
16933 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16934 to see if stdio (printf) testing is possible.
16935 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16936 board info variable "no_hardware_watchpoints" is true. Use new
16937 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16939 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16941 From Orjan Friberg <orjanf@axis.com>:
16942 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16943 in array print pattern match.
16945 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16947 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16948 spelling "cancelled" to U.S. spelling "canceled" to match changes
16950 * gdb.c++/ovldbreak.exp: Ditto.
16952 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16954 * gdb.base/callfuncs.c (main): Moved to end of file, call
16955 t_double_values to initialize the FPU before inferior calls are made.
16956 * gdb.base/callfuncs.exp: Test for register preservation after calling
16957 inferior functions. Add tests for continuining, finishing and
16958 returning from a stop in a call dummy.
16960 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16962 * gdb.base/commands.exp: Break up long lines, and re-indent.
16964 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16966 * config/gdbserver.exp: Rewritten from the ground up, to make it
16967 compatible with the current dejagnu tree, and to make it work with
16968 the new "gdbserver" in libremote.
16970 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16972 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16973 * gdb.base/varargs.exp: Skip entire test if no printf support.
16974 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16975 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16977 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16979 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16980 no floating point support.
16981 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16982 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16983 * gdb.base/call-rt-st.exp: Ditto.
16984 * gdb.base/call-strs.exp: Ditto.
16986 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16988 * gdb.base/sizeof.c: include <stdio.h>.
16990 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16991 'finish', otherwise uncaptured gdb_prompt would potentially
16992 throw remaining test points out of sync.
16994 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16996 * gdb.base/recurse.exp: Run tests for all targets.
16997 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16998 gnu-oldld case on ARM.
16999 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17002 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17004 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17005 * gdb.java/configure: Rebuild.
17007 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17009 * gdb.java/jv-exp.exp: New file.
17011 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17013 * configure: Rebuilt.
17014 * configure.in (configdirs): Add gdb.java.
17015 * gdb.java/jmisc.java: New file.
17016 * gdb.java/jmisc.exp: New file.
17017 * gdb.java/Makefile.in: New file.
17018 * gdb.java/configure: Rebuilt.
17019 * gdb.java/configure.in: New file.
17020 * lib/java.exp: New file.
17022 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17024 * gdb.base/exprs.exp: Test casts to a pointer including over and
17027 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17029 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17030 and the compilers sizes.
17032 2000-07-09 Nick Duffek <nsd@redhat.com>
17034 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17035 (use_methods): New function.
17036 (main): Call use_methods().
17037 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17038 (do_tests): Call test_method_param_class.
17040 2000-07-09 Nick Duffek <nsd@redhat.com>
17042 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17044 (test_enums): New procedure. Move enum tests from end of script
17045 to here. Set breakpoint on function name instead of line number.
17046 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17047 (enums2): New marker function.
17048 (enums1): New function.
17049 (main): Call enums1(). Move enum tests to enums1().
17051 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17053 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17054 compile/link program. Update line numbers.
17055 * gdb.asm/d10v.inc: Define ``startup''.
17056 * gdb.asm/asmsrc1.s: Add definition of _start.
17058 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17060 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17062 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17064 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17065 of 'help maint print' command.
17067 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17069 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17070 they use gdb_expect_list.
17072 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17074 * gdb.base/commands.exp: Use ``set remote
17075 memory-read-packet-size'' instead of ``set endian big'' to test
17078 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17080 * gdb.c++/templates.exp (do_tests): Make all of these work under
17081 g++, and stop skipping them.
17083 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17086 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17089 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17091 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17092 the regular expression: accept an (almost) arbitrary sequence of
17093 "frames-invalid" and "breakpoints-invalid" messages both before
17094 and after the "starting" message.
17096 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17098 * gdb.c++/local.exp: This test has never been known to work with g++.
17100 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17102 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17103 Relax the regular expression a little, make it pass on Solaris 8.
17105 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17107 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17108 a call, do not require that gdb stop on the line after the call.
17109 Instead, it is permissible for gdb to stop on the line of the
17112 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17114 * gdb.base/break.exp (bp on small function, optimized file):
17115 Add a second pass pattern. The behavior differs here between stabs
17116 and dwarf for one-line functions. Stabs preserves two line symbols
17117 (one before the prologue and one after) with the same line number,
17118 but dwarf regards these as duplicates and discards one of them.
17119 Therefore the address after the prologue (where the breakpoint is)
17120 has no exactly matching line symbol, and GDB reports the breakpoint
17121 as if it were in the middle of a line rather than at the beginning.
17123 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17125 * gdb.base/interrupt.exp: Make "pass" message say "send"
17126 rather than "send_gdb" (for consistancy).
17128 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17130 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17131 * gdb.c++/templates.cc: Properly check for GCC version number.
17132 * lib/compiler.cc: Likewise
17134 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17136 * gdb.base/break.exp: When compiled with -O2 optimization,
17137 gdb may not stop at the first line of main, due to code motion.
17139 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17141 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17142 This test depends on parsing the printf output from the target.
17143 Since the sparclet stub doesn't do stdio, this will never work.
17144 * gdb.base/call-rt-st.exp: ditto.
17145 * gdb.base/call-strs: ditto.
17147 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17149 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17151 * gdb.base/ending-run.exp: After connecting to a remote target,
17152 but before running, the target will appear to be in a random
17153 location. Specify both a file and a line for breakpoints.
17154 Also, the function that calls main may be called 'init'
17155 rather than 'start'.
17157 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17159 * gdb.base/help.exp: Update output for add-symbol-file command.
17161 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17163 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17164 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17166 2000-04-07 J.T. Conklin <jtc@redback.com>
17168 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17170 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17172 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17174 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17175 values that can be represented exactly.
17176 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17177 above change, and to not check against the directory part of the source
17179 (step into print_long_arg_list): Likewise.
17180 (print print_small_structs from print_long_arg_list): Likewise.
17181 (print print_long_arg_list): Likewise.
17183 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17185 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17187 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17189 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17191 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17193 * gdb.base/commands.exp (deprecated_command_test): Add test for
17194 deprecate with no arguments.
17196 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17198 * gdb.base/break.exp: Add new test for setting breakpoints on
17199 optimized code so we can test breakpoints work even when function
17200 prologues may be optimized away
17202 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17204 From David Whedon <dwhedon@gordian.com>
17205 * gdb.base/commands.exp : Added command deprecator tests.
17207 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17209 * gdb.base/help.exp: Added test for new apropos command.
17211 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17213 * gdb.base/pointers.c (usevar): New function.
17214 (main): Make sure that global variables v_int_pointer2, rptr,
17215 and y are all referenced someplace in the program by calling
17216 usevar() on them. [Some linkers delete symbols which are
17217 never referenced. The space remains, but there's no way to
17218 get a (symbolic) handle on the variable from the debugger.]
17220 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17222 * gdb.base/printcmds.c: Add typedeffed arrays.
17224 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17225 procedure to test arrays that are typedef'd.
17227 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17229 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17230 the library directories.
17232 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17234 * configure.in (configdirs): Add sub directory gdb.mi.
17235 * configure: Re-generate.
17237 * gdb.mi: New directory.
17239 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17241 * gdb.base/long_long.exp: Correct test suite failure when printing
17242 a long long value as a double on ARM platforms.
17244 2000-02-16 Jim Blandy <jimb@redhat.com>
17246 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17247 default source file is set properly before running this test.
17249 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17251 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17252 gdbtk/library directory, not in gdbtcl2.
17254 2000-02-04 Jim Blandy <jimb@redhat.com>
17256 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17257 backslash from regexp pattern.
17259 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17260 procedure. Use it to run all the "continue to bp overloaded"
17261 tests. Note that this changes the names of the tests slightly.
17262 If the breakpoint hit message includes a hex PC value, because
17263 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17264 from the real source code, still consider that a pass.
17266 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17267 XFAIL here if the breakpoint message contains a hex address. Note
17268 similar change on 1999-11-02.
17270 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17272 * gdb.base/ptype.exp: Establish a default source file before
17273 calling get_debug_format.
17275 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17277 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17279 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17281 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17282 of successive stepi commands -- while in the prologue we should see
17283 the function entry bracket.
17285 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17287 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17288 reach __change_mode() when stepping through the end of main().
17290 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17292 * gdb.base/default.exp: Fix expected pattern.
17293 * gdb.base/help.exp: Same.
17295 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17297 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17298 Don't use xfail's because that affects only the following test.
17300 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17303 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17305 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17307 * gdb.base/display.exp: Some yacc parsers like to say
17308 "A syntax error" rather than "A parse error". Accept both.
17310 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17312 * gdb.base/default.exp: Remove OS dependent string from "target
17314 * gdb.base/help.exp: Same for "help target remote" test.
17316 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17318 From Jim Kingdon <kingdon@redhat.com>:
17320 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17321 prompt (cleanup rather than necessity, but still might keep output
17322 from spilling to next test).
17324 2000-01-02 Fred Fish <fnf@cygnus.com>
17326 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17327 AIX, which defines them in <sys/types.h>.
17329 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17331 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17334 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17336 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17338 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17339 outermost frame disallowed".
17341 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17343 * gdb.base/setvar.exp: New tests for setting the value of a struct
17344 with a constant list.
17346 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17348 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17349 require the user to type a cast before setting the value of a struct.
17351 1999-12-06 Jim Blandy <jimb@cygnus.com>
17353 * gdb.base/default.exp: Expect the new 'info float' command on
17354 all i386 platforms.
17356 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17357 LinuxThreads libraries that don't support debugging.
17359 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17361 * gdb.base/remote.c: Fill the buffer with truely random data.
17362 Change the buffer type to ``unsigned char'' to simplify size
17365 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17366 stub only handles 400-1 byte packets. Verify that the download
17369 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17371 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17372 tests, using UNRESOLVED for the untested cases. Also, does not wait
17373 for a timeout if the prompt was received before a recognizable pattern.
17375 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17377 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17379 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17381 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17384 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17386 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17388 * gdb.c++/local.exp: Be more flexible in recognizing local class
17389 name mangling. Don't allow horribly truncated method names.
17390 * gdb.c++/derivation.exp: Expect protected inheritance.
17391 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17392 * gdb.c++/virtfunc.exp: Likewise.
17393 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17394 when printing a nested enum.
17396 1999-11-22 Jim Blandy <jimb@cygnus.com>
17398 * gdb.base/step-test.exp: Properly await GDB's response to setting
17399 a breakpoint on the call to large_struct_by_value.
17401 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17402 just because we have debug info for the `start' function.
17404 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17406 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17407 "Unknown signal" messages, which indicate (on LinuxThreads) that
17408 GDB doesn't know how to debug threads on this system. This is
17409 better than hanging while philosopher 0 dumps chatter into gdb.log.
17411 1999-11-18 Tom Tromey <tromey@cygnus.com>
17413 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17415 1999-11-18 Fred Fish <fnf@cygnus.com>
17417 * gdb.base/coremaker2.c: Add sample program for generating
17418 cores that is more self contained than coremaker.c. Eventually
17419 I'll add more code to this and tie it into the testsuite.
17421 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17423 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17425 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17427 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17429 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17432 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17434 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17435 'continue with watch' test point.
17437 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17439 Merged from p2linux-990323-branch:
17441 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17443 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17445 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17446 {limit,fixed}''. Test ``set download-write-size''.
17448 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17450 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17453 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17455 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17457 1999-11-03 Mark Salter <msalter@cygnus.com>
17459 * gdb.base/break.exp: Fix "stub continue" pattern.
17461 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17463 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17465 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17467 * gdb.base/display.exp ("finish"): Add timeout clause.
17469 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17470 plain prompt clause, so this doesn't have to time out in order to
17473 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17474 breakpoint hit messages include an address.
17476 * gdb.base/display.exp: Don't forget to escape parens in regular
17477 expressions. Unix regexp notatation sucks.
17479 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17481 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17482 order for 'signalled' message.
17484 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17486 From Jimmy Guo <guo@cup.hp.com>:
17487 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17488 * gdb.base/annota1.c: Add code for tests to work with.
17490 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17492 * gdb.base/remote.exp: New test for remote downloading settings.
17493 * gdb.base/remote.c: New file with large .data.
17495 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17497 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17498 for LinuxThreads support, merged from the Code Fusion branch.
17500 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17502 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17503 containing exp_continue into a while within an expect. Don't
17504 attempt a start more than three times. Check return value from
17507 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17509 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17512 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17514 * gdb.base/break.c (main): Added a statement that we can step
17516 * gdb.base/break.exp: Added tests for setting a breakpoint
17517 at an offset and stepping onto a breakpoint.
17519 1999-10-01 Fred Fish <fnf@cygnus.com>
17521 * gdb.base/help.exp (help add-symbol-file): Update to match current
17524 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17526 * gdb.base/break.exp: Code locations are in hex, don't forget!
17529 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17531 * condbreak.exp: Use break.c as test program.
17532 * condbreak.c: Remove, redundant with break.c.
17534 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17536 * config/monitor.exp (gdb_target_monitor): Disable X- and
17537 Z-packets if the target needs it.
17539 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17541 * gdb.c++/overload.exp: Added tests for listing overloaded
17542 functions with function pointers in the arg, explicitly calling
17543 out the version you want.
17545 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17547 * long_long.exp: Add variations of test cases that work for
17548 targets with 16-bit ints and 32-bit doubles.
17550 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17552 * break.c (main): Compare a possibly-uninitialized argc with an
17553 unlikely value that fits in 16 bits.
17555 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17557 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17558 0xfeeb, don't want negative numbers if ints are 16 bits.
17560 * lib/gdb.exp (skip_cplus_tests): New proc.
17561 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17562 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17563 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17564 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17565 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17566 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17567 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17568 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17570 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17572 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17574 * gdb.base/corefile.exp (up): Allow a parameter to appear
17575 in the frame that we're going up to.
17577 From Jim Blandy <jimb@cygnus.com>:
17579 * gdb.base/default.exp (info float): Expect some output now.
17581 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17582 returning floating-point values to fail on the x86.
17583 * gdb.base/callfwmall.exp (do_function_calls): Same.
17585 * gdb.base/list.exp (test_listsize): Correct expectations for
17586 listing line 1 with listsize 2. Also, listing a single line
17587 works now, as does listing three lines. [Kevin's note: There
17588 were a number of other cases fixed too where the expectations
17591 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17593 * gdb.base/selftest.exp: Add case for when version prints as
17594 constant string instead of char pointer.
17596 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17598 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17599 stepping out of main.
17601 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17604 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17605 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17607 * gdb.c++/ovldbreak.exp: Update match string in test that
17608 includes a warning of multiple breakpoints.
17610 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17612 * gdb.base/display.exp: Improve precision of step-after-finish
17615 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17618 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17619 configs when using G++, not just hppa*.
17621 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17623 * gdb.base/async.c: New file.
17624 * gdb.base/async.exp: New file.
17626 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17628 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17631 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17633 * gdb.base/display.exp: "finish" can leave us mid-line on many
17634 targets, deal with it. Add a small constant to main, instead of
17635 1000 since main+1000 may not be a valid address in the target.
17637 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17640 * gdb.base/attach.exp: Handle another hpux11 error message variant
17641 when attaching to a process that does not exist.
17643 1999-08-19 J.T. Conklin <jtc@redback.com>
17645 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17646 characters in 'continue to 1241' test.
17648 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17650 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17651 stop in print_long_arg_list, define and use a whitespace
17652 variable in print_small_structs test, add an XFAIL for Solaris.
17653 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17654 interested enough to fix.
17656 1999-08-13 Keith Seitz <keiths@cygnus.com>
17658 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17659 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17660 proc knows about targets other than the natives.
17661 (test_assign): Use "gdb_run_cmd" to "run" the target.
17662 Check that we've actually hit the breakpoint at main.
17663 When we attempt to assign a value to a local variable, check
17664 that the variable is in the current scope, i.e., don't use
17665 a test with an empty result.
17667 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17669 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17672 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17674 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17675 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17676 gdb.compat, gdb.threads-hp.
17677 gdb.hp/configure, gdb.hp/configure.in: New files.
17678 gdb.hp/Makefile.in: Recurse into new subdirs.
17679 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17680 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17682 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17684 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17686 * gdb.base/display.exp: Help expect by putting a newline in the
17687 funky printf, remove a bogus p/a test.
17689 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17691 * gdb.base/display.exp: Make sure that when we say 'run', we are
17692 connected to the target. This is necessary when running not
17695 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17697 * gdb.base/step-test.exp: Removed some extraneous messages.
17699 * gdb.base/long_long.exp: Don't run memory examination tests
17700 on little-endian targets (they will need a different set of
17703 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17705 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17706 until somebody decides to fix GDB.
17708 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17710 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17711 matches for a couple x/2 commands.
17713 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17715 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17716 by merging in ref-types2 tests.
17717 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17719 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17720 * gdb.c++/Makefile.in: Add standard actions.
17721 (EXECUTABLES): Rename from PROGS, update list.
17722 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17724 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17725 foo and bar locals.
17726 * gdb.c++/anon-union.exp: Fix tests to match.
17727 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17728 expect matches to handle output variations.
17729 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17730 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17731 output, add HP alternatives for new and delete prints.
17732 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17733 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17734 * gdb.c++/demangle.exp: Use $style when reporting failure.
17735 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17736 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17737 match alternatives.
17738 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17740 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17741 * gdb.c++/method.exp: Add match alternatives.
17742 * gdb.c++/misc.cc: Add bool types.
17743 * gdb.c++/misc.exp: Add tests for bool types.
17744 * gdb.c++/overload.exp: Add xfails.
17745 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17746 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17747 add some more template parameter tests (only for HP currently).
17748 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17749 * gdb.c++/virtfunc.cc: Add return type and value for main.
17750 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17751 match alternatives.
17753 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17755 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17757 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17759 * gdb.base/signals.exp: Don't expect getting a backtrace from
17760 within a signal handler to fail on Linux.
17762 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17764 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17765 * lib/gdb.exp: Remove some gratuitious semicolons.
17766 (delete_breakpoints): Increase timeout.
17767 (gdb_expect): Add -notransfer option.
17768 (gdb_test): Use -notransfer option.
17769 (get_compiler_info): Add f77 case.
17770 (get_compiler): New proc, split out from gdb_preprocess, add f77
17772 (gdb_preprocess): Call get_compiler.
17774 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17775 * gdb.base/attach.exp, gdb.base/display.exp,
17776 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17777 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17778 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17779 third arg to gdb_test.
17780 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17781 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17782 HP-UX xfails, add others.
17783 * gdb.base/completion.exp: Reflect name change of self-test.
17784 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17785 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17786 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17788 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17789 useless HP-UX 10.30 references.
17790 * gdb.base/maint.exp: Loosen matches.
17791 * gdb.base/pointers.c (main): Declare more_code.
17792 * gdb.base/pointers.exp: Match on output of a `next'.
17793 * gdb.base/structs.c: Add prototypes.
17794 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17795 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17797 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17799 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17802 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17804 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17805 Fix run to main failures. Watchpoint can be hardware watchpoint.
17807 * gdb.base/annota1.exp: Clean up some more, in case printf has
17808 debug info. Deal with lack of signal hanlder info in stack.
17810 From Jim Kingdon <kingdon@redhat.com>:
17811 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17813 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17815 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17816 gdb.base/foll-vfork.exp: Don't run for crosses.
17818 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17820 * gdb.base/configure.in: Check for gdbvars.exp instead of
17822 * gdb.base/configure: Re-generate.
17824 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17826 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17827 in trying to run first and name is too long.
17829 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17830 pointers2.c and pointers2.exp, respectively.
17831 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17834 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17836 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17837 callfuncs2.c and callfuncs2.exp.
17839 * gdb.base/list.exp: Remove mistaken xfails.
17840 * gdb.base/list0.h: Add optional prototypes.
17842 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17844 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17846 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17847 * ptype.exp: Move test for get_debug_format to before its first
17850 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17852 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17853 * gdb.base/annota2.cc, annota2.exp: Move from here.
17854 * gdb.c++/annota2.cc, annota2.exp: To here.
17855 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17857 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17859 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17860 a consistent format.
17862 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17864 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17865 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17866 HP compilers, also set the globals $true and $false.
17868 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17869 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17870 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17871 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17872 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17873 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17874 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17875 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17876 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17877 whatis.c} Add C++ compatible function definitions and return
17878 types, add includes for library functions.
17879 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17880 * gdb.base/step-test.c (myglob): Rename from glob.
17881 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17882 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17883 files, move here from gdb.hp.
17884 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17885 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17886 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17887 Adjust line numbers in regexps.
17889 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17890 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17893 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17894 foll-vfork.exp: New files, move here from gdb.hp.
17895 * gdb.base/page.exp: New file, test of pagination command.
17897 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17899 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17901 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17902 gdb.base/solib.exp: Fix compiler invocation process.
17904 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17905 HP-UX 11, turn off overload resolution explicitly.
17906 * gdb.base/commands.exp: Set argument list explicitly, add
17908 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17910 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17911 expressions properly.
17912 * gdb.base/corefile.exp: Loosen the match slightly.
17913 * gdb.base/default.exp: Allow "Error accessing memory" message
17915 * gdb.base/display.exp: Skip over x/0 j if PA64.
17916 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17917 * gdb.base/interrupt.exp: Ditto.
17918 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17920 * gdb.base/list.exp: Add xfails for HP-UX.
17921 * gdb.base/long_long.exp: Refine some of the numeric matches.
17922 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17923 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17924 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17925 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17926 * gdb.base/ptype.exp: Succeed on more varieties of output.
17927 * gdb.base/scope.exp: Add xfails for HP-UX.
17928 * gdb.base/sect-cmd.exp: Add more cases.
17929 * gdb.base/setvar.exp: Add xfails for HP-UX.
17930 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17931 * gdb.base/signals.exp: Match on void symbolically.
17932 * gdb.base/step-test.exp: Add case for PA64.
17933 * gdb.base/term.exp: Add exit and restart.
17934 * gdb.base/twice.exp: Clean up after self.
17935 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17936 * gdb.base/whatis.exp: Allow more ways to pass tests.
17938 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17941 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17943 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17945 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17946 print_double_array(double_array)", "continuing to breakpoint
17947 1018", "print print_double_array(array_d)" and "continuing to
17950 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17952 * Makefile.in: Add empty html and install-html targets.
17954 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17956 * config/mt-*: Remove, these haven't been used since 1996.
17958 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17960 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17961 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17962 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17964 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17966 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17967 simpler match case for the ptype of the big class.
17969 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17971 * gdb.exp: Fix test for gdb_prompt existence.
17973 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17975 * gdb.exp (gdb_test): Add fail after calls to perror.
17977 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17979 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17981 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17983 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17985 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17987 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17988 malloc() is linked in.
17990 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17992 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17995 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17997 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17999 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18001 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18003 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18004 * gdb.base/mips_pro.exp: Likewise.
18006 1999-06-02 Keith Seitz <keiths@cygnus.com>
18008 * gdb.c++/templates.cc: Change all "new" operators to throw
18010 * gdb.c++/cplusfuncs.cc: Likewise.
18012 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18014 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18016 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18017 * gdb.base/ending-run.exp: When stepping out of main, accept a
18018 step into an arbitrary assembler file.
18020 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18022 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18023 "breakpoint-invalid" to be printed.
18024 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18025 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18026 * gdb.base/annota2.cc: Initialize a.x to 0.
18028 1999-05-17 Keith Seitz <keiths@cygnus.com>
18030 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18031 when "skip_float_tests" set.
18032 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18033 "print print_ten_doubles", and "step into print_long_arg_list".
18034 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18035 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18036 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18037 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18038 "skip_float_tests" is set.
18039 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18040 when "skip_float_tests" set.
18042 1999-05-06 Keith Seitz <keiths@cygnus.com>
18044 * gdb.base/annota2.cc: Include stdio.h.
18046 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18048 * gdb.base/crossload.exp: Remove, this has been disabled ever
18049 since BFD stopped including all targets, and cross-GDB gets
18050 plenty of testing anyway.
18051 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18052 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18053 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18054 * gdb.base/README: Remove, was doc for this.
18055 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18058 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18060 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18063 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18064 * gdb.base/annota2.exp: New file. More annotation tests.
18065 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18066 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18068 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18070 * config/cfdbug.exp: New file.
18072 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18074 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18075 Marcus Daniel's and Dale Hawkins's demangler crashes.
18077 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18078 test_lucid_style_demangling, test_arm_style_demangling,
18079 test_hp_style_demangling): Try Tom Tromey's core-dumping
18080 identifier under each demangling style.
18082 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18084 * gdb.c++/demangle.exp: Include the current demangling style
18086 (current_demangling_style): New global variable.
18087 (set_demangling_style, test_demangling_core, test_demangling,
18088 test_demangling_exact): New functions.
18089 (test_gnu_style_demangling, test_lucid_style_demangling,
18090 test_arm_style_demangling, test_hp_style_demangling): Use those,
18091 instead of calling gdb_test and gdb_test_exact directly.
18092 (catch_demangling_errors): New function, which reports errors
18093 signalled by the demangling test functions in an orderly way.
18094 (do_tests): Use catch_demangling_errors.
18096 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18098 * gdb.base/signals.exp (test_handle_all_print): Use () for
18099 grouping in expressions, not {}.
18101 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18104 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18106 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18109 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18111 * gdb.stabs/weird.exp: Test for CC being defined before
18112 looking at its value.
18114 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18116 * gdb.base/call-ar-st.exp: Remove stray '#'.
18117 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18118 "short int" and "long int".
18119 * gdb.c++/overload.cc: Cast the string added in the previous
18120 change, to mollify finicky HP compiler.
18121 * gdb.hp/reg-test.exp (testfile): Fix file name.
18122 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18124 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18125 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18126 alternate form of enum ptype.
18128 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18130 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18131 * gdb.hp/*.exp: Change all to run compiler probe only after
18132 passing skip_hp_tests, so as not to waste time on guaranteed
18135 * gdb.c++/overload.cc: Pass string instead of char addr, always
18137 * gdb.c++/templates.cc: Fix syntax error.
18139 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18141 * gdb.base/commands.exp: Add test for correct position of '>'
18142 when issuing the 'commands' command after a 'while' or 'if'
18145 1999-03-18 James Ingham <jingham@cygnus.com>
18147 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18149 * gdb.c++/method.exp: It was testing an uninitialized int on the
18150 stack and assuming it was positive.
18152 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18154 * gdb.base/step-test.exp: Catch a case where finish is broken and
18155 keep it from killing the rest of the tests.
18156 Use gdb_continue_to_end.
18158 * gdb.base/sigall.exp: use gdb_continue_to_end.
18160 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18162 * gdb.base/display.exp: use runto_main, not run.
18164 * gdb.base/default.exp: Check for the current error message in the
18165 r abbreviation test.
18166 Add strongarm to the targets that know info float.
18168 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18169 run which doesn't work with monitors.
18171 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18173 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18175 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18176 program. Traps the case (in Cygmon) when the program never really
18177 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18178 more places, so I used my name. Sorry Mark...
18180 * config/monitor.exp (gdb_target_monitor): added another
18181 target_info parameter: remotebinarydownload. This will set the
18182 remotebinarydownload flag if this is causing some boards trouble.
18184 1999-03-18 Mark Salter <msalter@cygnus.com>
18186 * lib/gdb.exp (continue_to_exit): New function.
18188 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18189 * gdb.base/ending-run.exp: Ditto.
18190 * gdb.base/step-test.exp: Ditto.
18192 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18194 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18195 (suggested by Art Haas <ahaas@neosoft.com>).
18197 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18199 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18201 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18203 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18204 descriptions of types (short unsigned int vs unsigned short, etc).
18206 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18208 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18209 a call to strlen; sometimes we do have sources.
18211 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18213 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18214 character, so GDB won't print garbage after its end.
18216 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18217 breakpoint there instead. Sometimes GCC emits memcpy to handle
18218 the large structures being passed by value, so we step into that
18219 instead of sum_array_print, which obscures what we're really testing.
18220 * gdb.base/step-test.exp: However, we do want a test that notices
18221 the bizarre steps into memcpy, so do that here. Add check for
18222 stepping into function calls that pass large structures by value.
18223 ("Is that a noun clause, or are you just happy to see me?")
18224 Remove all references to specific line numbers.
18225 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18226 New type and function.
18227 (main): Call large_struct_by_value, passing it a large struct by value.
18228 * lib/gdb.exp (gdb_get_line_number): New function.
18230 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18233 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18235 * lib/gdb.exp: Doc fixes.
18237 1999-03-05 Nick Clifton <nickc@cygnus.com>
18239 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18241 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18243 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18244 commands. They're not germane to this test, and they don't work
18245 that way on remote targets.
18247 1999-03-01 James Ingham <jingham@cygnus.com>
18249 * Changelog entries merged over from gdb development branch.
18251 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18253 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18254 for outputting results of test run.
18256 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18258 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18260 1999-02-25 Felix Lee <flee@cygnus.com>
18262 * lib/gdb.exp (debug_format): initialize
18264 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18266 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18267 * gdb.base/call-rt-st.c: Ditto.
18269 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18271 * gdb.threads/pthreads.exp (horiz): New variable.
18272 (test_startup): Fix regexps that capture thread numbers.
18274 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18276 * gdb.base/smoke.exp: Disambiguate two test case names (both
18279 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18281 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18284 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18286 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18287 actual output formatting.
18288 * gdb.base/smoke.exp: GDB removes leading 0's.
18289 * gdb.base/volatile.exp: Don't check type of remuneration;
18290 that variable is no longer defined in constvars.c.
18291 * gdb.base/step-test.c (main): Exit with explicit exit code.
18292 * gdb.base/step-test.exp: Remove two nexti checks--they are
18295 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18297 * gdb.base/help.exp ("help delete display"): Fix test to match
18300 * gdb.base/long_long.c (known_types): Initialize values to zero.
18301 * gdb.base/long_long.exp: Step one more line
18302 so 'dec' is initialized in "get to known place". GDB removes
18303 leading zeros. Explicitly ask for hex formatting. Use
18304 unique test case names.
18306 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18308 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18310 * gdb.c++/method.exp: Add missing close brace.
18312 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18314 * gdb.base/maint.exp: Use 'set height 0' to disable page
18315 prompting, not 'set height 400'.
18317 Fix a bunch of timeouts.
18318 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18319 four separate tests, so expect doesn't take forever to match a ton
18320 of text against a regexp with lots of .* forms.
18321 ("maint print psymbols", "maint print symbols"): Make some of
18322 these greps more selective, so that expect doesn't try to wade
18323 through huge piles of output and time out.
18325 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18327 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18328 tests: one which doesn't expect shlib events to be reported, and
18329 another which does, but is XFAIL for all platforms other than
18332 * gdb.base/break.exp: Teach the test suite that the `catch
18333 fork', `catch vfork', and `catch exec' commands produce error
18334 messages on platforms that don't provide these features.
18336 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18338 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18339 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18340 (shortening names from solib_threshold.exp etc), won't run on
18341 anything but HP-UX for the foreseeable future.
18342 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18345 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18347 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18348 gdb.trace/Makefile.in (clean): Remove all test executables.
18350 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18352 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18353 successfully re-sets breakpoints in shared libraries.
18354 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18356 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18358 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18359 and compiled w/o GCC.
18361 * gdb.hp/watch-cmd.exp: ditto.
18363 * gdb.hp/watch-hp.exp: ditto.
18365 * gdb.hp/xdb1.exp: ditto.
18367 * gdb.hp/xdb2.exp: ditto.
18369 * gdb.hp/dbx.exp: ditto.
18371 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18373 * constvars.c: Remove C++-isms.
18374 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18377 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18379 The following changes are part of the HP merge.
18381 * gdb.base/break.exp: new tests to verify that catchpoints for
18382 fork, vfork, and exec don't trigger inappropriately.
18384 * gdb.base/opaque.exp: compile one file at a time, then link.
18386 * gdb.base/signals.exp: be more restrictive about which hppa
18387 systems receive a setup_xfail. new tests.
18389 * gdb.base/solib_threshold.build: new file.
18390 * gdb.base/solib_threshold.exp: new file.
18391 * gdb.base/solib_threshold.link_opts: new file.
18392 * gdb.base/solib_threshold.mk: new file.
18393 * gdb.base/gen_solib_threshold.c: new file.
18395 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18396 tests. New tests for enums inside classes.
18398 * gdb.c++/compiler.cc: indicate support of template debugging.
18400 * gdb.c++/demangle.exp: run hp style demangling tests.
18402 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18405 * gdb.c++/misc.cc: changes to support new tests.
18407 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18408 to support new tests.
18410 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18411 gcc, then skip these tests.
18413 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18415 The following files are part of the HP merge; some had longer
18416 names at HP, but have been renamed to be no more than 14
18417 characters in length.
18419 * gdb.hp/ambiguous.cc: new file.
18420 * gdb.hp/ambiguous.exp: new file.
18421 * gdb.hp/attach.exp: new file.
18422 * gdb.hp/attach2.exp: new file.
18423 * gdb.hp/classes-hp.exp: new file.
18424 * gdb.hp/ctti.exp: new file.
18425 * gdb.hp/ctti-add.cc: new file.
18426 * gdb.hp/ctti-add1.cc: new file.
18427 * gdb.hp/ctti-add2.cc: new file.
18428 * gdb.hp/ctti-add3.cc: new file.
18429 * gdb.hp/dbx.exp: new file.
18430 * gdb.hp/exception.cc: new file.
18431 * gdb.hp/exception.exp: new file.
18432 * gdb.hp/foll-exec.c: new file.
18433 * gdb.hp/foll-exec.exp: new file.
18434 * gdb.hp/foll-fork.c: new file.
18435 * gdb.hp/foll-fork.exp: new file.
18436 * gdb.hp/foll-vfork.c: new file.
18437 * gdb.hp/foll-vfork.exp: new file.
18438 * gdb.hp/inherit-hp.exp: new file.
18439 * gdb.hp/more-steps.exp: new file.
18440 * gdb.hp/namespace.cc: new file.
18441 * gdb.hp/namespace.exp: new file.
18442 * gdb.hp/optimize.exp: new file.
18443 * gdb.hp/pxdb.c: new file.
18444 * gdb.hp/pxdb.exp: new file.
18445 * gdb.hp/quicksort.exp: new file.
18446 * gdb.hp/reg-test.exp: new file.
18447 * gdb.hp/reg-test.s: new file.
18448 * gdb.hp/sized-enum.c: new file.
18449 * gdb.hp/sized-enum.exp: new file.
18450 * gdb.hp/start-stop.exp: new file.
18451 * gdb.hp/templ-hp.cc: new file.
18452 * gdb.hp/templ-hp.exp: new file.
18453 * gdb.hp/thr-lib.c: new file.
18454 * gdb.hp/thr-lib.exp: new file.
18455 * gdb.hp/thr-lib.h: new file.
18456 * gdb.hp/thr-liblib.c: new file.
18457 * gdb.hp/virtfun-hp.c: new file.
18458 * gdb.hp/virtfun-hp.exp: new file.
18459 * gdb.hp/watch-cmd.exp: new file.
18460 * gdb.hp/watch-hp.exp: new file.
18461 * gdb.hp/xdb1.exp: new file.
18462 * gdb.hp/xdb2.exp: new file.
18463 * gdb.hp/xdb3.exp: new file.
18465 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18467 The following files are part of the HP merge; some had longer
18468 names at HP, but have been renamed to be no more than 14
18469 characters in length.
18471 * gdb.base/ss.h: new file.
18472 * gdb.base/call-ar-st.c: new file.
18473 * gdb.base/call-ar-st.exp: new file.
18474 * gdb.base/call-rt-st.c: new file.
18475 * gdb.base/call-rt-st-exp: new file.
18476 * gdb.base/call-strs.exp: new file.
18477 * gdb.base/ena-dis-br.exp: new file.
18478 * gdb.base/environ.exp: new file.
18479 * gdb.base/long_long.exp: new file.
18480 * gdb.base/sect-cmd.exp: new file.
18481 * gdb.base/shlib-cl2.exp: new file.
18482 * gdb.base/smoke.exp: new file.
18483 * gdb.base/so-impl-ld.c: new file.
18484 * gdb.base/so-impl-ld.exp: new file.
18485 * gdb.base/so-indr-cl.c: new file.
18486 * gdb.base/so-indr-cl.exp: new file.
18487 * gdb.base/varargs.exp: new file.
18488 * gdb.base/volatile.exp: new file.
18489 * gdb.base/whatis-exp.exp: new file.
18490 * gdb.base/display.exp: new file.
18491 * gdb.c++/derivation.exp: new file.
18492 * gdb.c++/local.exp: new file.
18493 * gdb.c++/member-ptr.exp: new file.
18494 * gdb.c++/overload.exp: new file.
18495 * gdb.c++/ovldbreak.exp: new file.
18496 * gdb.c++/ref-types.exp: new file.
18497 * gdb.c++/ref-types2.exp: new file.
18498 * gdb.c++/userdef.exp: new file.
18500 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18502 * gdb.base/default.exp: Reflect wording change in remote.c.
18504 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18506 * gdb.base/help.exp: Update to reflect current text.
18508 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18510 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18511 they're stack variables and contain garbage.
18512 * gdb.c++/anon-union.exp: new file.
18514 The following changes were made by David Taylor
18515 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18516 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18519 * gdb.base/bitops.exp: new file.
18520 * gdb.base/default.exp: change expected messages for catch and
18521 info catch tests to reflect HP merge changes.
18522 * gdb.base/enable-disable-break.exp
18523 * gdb.base/ending-run.c: new file.
18524 * gdb.base/long_long.c: new file.
18525 * gdb.base/maint.exp: new file.
18526 * gdb.base/pointers2.exp: new file.
18527 * gdb.base/shlib-call2.exp: new file.
18528 * gdb.base/solib.exp: new file.
18529 * gdb.base/step-test.c: new file.
18530 * gdb.c++/anon-union.cc: new file.
18531 * gdb.c++/local.cc: new file.
18532 * gdb.c++/member-pointer.cc: new file.
18533 * gdb.c++/method.cc: new file.
18534 * gdb.c++/ref-types.cc: new file.
18535 * gdb.c++/ref-types2.cc: new file.
18536 * gdb.c++/userdef.cc: new file.
18538 * gdb.base/scope.exp: compile one file at a time, then link.
18539 * gdb.base/langs.exp: ditto.
18540 * gdb.base/list.exp: ditto.
18542 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18544 The following changes were made by David Taylor
18545 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18546 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18549 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18550 skip tests. When compiling pass c++ flag to gdb_compile.
18553 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18554 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18555 (skip_hp_tests): new function.
18556 (gdb_preprocess): new function.
18558 * configure.in (hpdir): decide whether to configure gdb.hp.
18559 * configure: regenerated.
18561 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18562 to delete on clean.
18563 (EXECUTABLES): update to reflect new additions.
18564 * gdb.base/commands.exp: update message expected.
18565 * gdb.base/default.exp: add copyright notice.
18566 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18567 * gdb.base/help.exp: update messages to reflect current text.
18568 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18569 targets for recurse tests.
18570 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18573 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18574 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18576 * gdb.c++/misc.exp: ditto.
18577 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18578 run the tests. tell gdb_compile that it's a c++ compilation.
18580 * gdb.threads/pthreads.exp: fix typo in message.
18582 * gdb.base/all-bin.exp: new file.
18583 * gdb.base/arithmet.exp: new file.
18584 * gdb.base/assign.exp: new file.
18585 * gdb.base/completion.exp: new file.
18586 * gdb.base/cond-expr.exp: new file.
18587 * gdb.base/condbreak.exp: new file.
18588 * gdb.base/define.exp: new file.
18589 * gdb.base/dollar.exp: new file.
18590 * gdb.base/environment.exp: new file.
18591 * gdb.base/eval-skip.exp: new file.
18592 * gdb.base/jump.exp: new file.
18593 * gdb.base/logical.exp: new file.
18594 * gdb.base/pointers.exp: new file.
18595 * gdb.base/relational.exp: new file.
18596 * gdb.base/section_command.exp: new file.
18597 * gdb.base/whatis-expr.exp: new file.
18599 * gdb.base/all-types.c: new file.
18600 * gdb.base/call-array-struct.c: new file.
18601 * gdb.base/call-return-struct.c: new file.
18602 * gdb.base/call-strings.c: new file.
18603 * gdb.base/callfuncs2.c: new file.
18604 * gdb.base/condbreak.c: new file.
18605 * gdb.base/constvars.c: new file.
18606 * gdb.base/display.c: new file.
18607 * gdb.base/int-type.c: new file.
18608 * gdb.base/jump.c: new file.
18609 * gdb.base/miscexprs.c: new file.
18610 * gdb.base/pointers.c: new file.
18611 * gdb.base/pointers2.c: new file.
18612 * gdb.base/shmain.c: new file.
18613 * gdb.base/shr1.c: new file.
18614 * gdb.base/shr2.c: new file.
18615 * gdb.base/solib.c: new file.
18616 * gdb.base/solib1.c: new file.
18617 * gdb.base/solib2.c: new file.
18618 * gdb.base/varargs.c: new file.
18619 * gdb.c++/derivation.cc: new file.
18620 * gdb.c++/overload.cc: new file.
18621 * gdb.c++/ovldbreak.cc: new file.
18622 * gdb.hp/attach.c: new file.
18623 * gdb.hp/attach2.c: new file.
18624 * gdb.hp/average.c: new file.
18625 * gdb.hp/compiler.c: new file.
18626 * gdb.hp/compiler.cc: new file.
18627 * gdb.hp/execd-program.c: new file.
18628 * gdb.hp/follow-exec.c: new file.
18629 * gdb.hp/follow-fork.c: new file.
18630 * gdb.hp/follow-vfork-and-exec.c: new file.
18631 * gdb.hp/misc-hp.cc: new file.
18632 * gdb.hp/more-steps.c: new file.
18633 * gdb.hp/optimize.c: new file.
18634 * gdb.hp/quicksort.c: new file.
18635 * gdb.hp/run-hp.c: new file.
18636 * gdb.hp/start-stop.c: new file.
18637 * gdb.hp/sum.c: new file.
18638 * gdb.hp/templates-hp.cc: new file.
18639 * gdb.hp/thread-local-in-lib.c: new file.
18640 * gdb.hp/thread-local-in-lib.h: new file.
18641 * gdb.hp/thread-local-in-lib.lib.c: new file.
18642 * gdb.hp/vforked-program.c: new file.
18643 * gdb.hp/virtfunc-hp.cc: new file.
18644 * gdb.hp/watchpoint-hp.c: new file.
18645 * gdb.hp/xdb.c: new file.
18646 * gdb.hp/xdb0.c: new file.
18647 * gdb.hp/xdb0.h: new file.
18648 * gdb.hp/xdb1.c: new file.
18650 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18652 The following change was made by Edith Epstein
18653 <eepstein@cygnus.com> as part of a project to merge in changes
18654 originally made by HP; HP did not create ChangeLog entries.
18656 * gdb.c++/demangle.exp: changed the expected output for some
18657 ARM-style mangling -- removed second reference to datatype.
18658 For example, maint demangle __dt__11T1__pt__2_cFv
18659 T1<char>::~T1<char>(void)
18661 maint demangle __dt__11T1__pt__2_cFv
18662 T1<char>::~T1(void)
18664 (test_hp_style_demangling): new hp specific demangling test cases.
18666 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18668 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18669 * gdb.trace/backtrace.exp: Likewise.
18670 * gdb.trace/circ.exp: Likewise.
18671 * gdb.trace/collection.exp: Likewise.
18672 * gdb.trace/deltrace.exp: Likewise.
18673 * gdb.trace/infotrace.exp: Likewise.
18674 * gdb.trace/limits.exp: Likewise.
18675 * gdb.trace/packetlen.exp: Likewise.
18676 * gdb.trace/passc-dyn.exp: Likewise.
18677 * gdb.trace/passcount.exp: Likewise.
18678 * gdb.trace/report.exp: Likewise.
18679 * gdb.trace/save-trace.exp: Likewise.
18680 * gdb.trace/tfind.exp: Likewise.
18681 * gdb.trace/tracecmd.exp: Likewise.
18682 * gdb.trace/while-dyn.exp: Likewise.
18683 * gdb.trace/while-stepping.exp: Likewise.
18685 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18687 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18689 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18691 From Brendan Kehoe:
18692 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18695 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18697 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18698 remote dos host testing right.
18700 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18702 * gdb.base/corefile.exp: remove some xfails.
18704 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18706 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18707 have different timestamps.
18709 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18711 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18712 gdb.base/default.exp: Replace "exec" with "executable".
18714 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18716 * gdb.base/default.exp: Change else if to elseif from previous
18719 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18721 * gdb.base/default.exp: Add brace missing from previous delta.
18723 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18725 * gdb.base/default.exp: Support test for info float for all
18726 varieties of arm toolchain.
18728 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18730 * gdb.trace/*.exp: remove "remote_download" command.
18732 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18734 * gdb.trace/*.exp: remove -gdwarf from compile.
18736 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18738 * gdb.trace/configure.in(AC_INIT): typo
18739 * gdb.trace/configure: regenerated
18741 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18743 * config/m68k-emc.exp: New file.
18744 * lib/<emc-support.exp trace-support.exp}: New files.
18745 * configure.in: add new test directory gdb.trace.
18746 * gdb.trace/{configure configure.in Makefile.in}: New files.
18747 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18748 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18749 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18750 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18751 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18752 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18753 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18755 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18757 * gdb.c++/classes.exp: Change all regular expressions to match
18758 arbitrary combinations of newline/carriage-return, so that they
18759 will work equally well on Unix and Windows.
18760 * gdb.c++/inherit.exp: ditto.
18761 * gdb.c++/virtfunc.exp: ditto.
18763 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18765 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18767 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18769 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18770 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18771 to use a0-a3/d0-d3 as needed.
18773 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18775 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18776 * gdb.disasm/am33.exp: Corresponding changes.
18778 1998-07-11 Felix Lee <flee@cygnus.com>
18780 * gdb.base/callfuncs.exp: add cmp10 test.
18781 * gdb.base/callfuncs.c (cmp10): new function.
18783 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18785 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18786 into two parts to get around a synchronization problem in expect.
18788 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18790 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18792 * configure.in: Add options for gdbtk testsuite.
18794 * configure: Regenerate.
18796 * gdb.gdbtk: New directory to hold gdbtk tests.
18798 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18800 * gdb.fortran/types.exp: Escape brackets in expect patterns
18801 for test_float_literal_types_accepted tests.
18802 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18805 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18807 * am33.exp: Just compile, do not link the testcase.
18808 * am33.s: Add ".am33" pseudoop to force am33 mode.
18810 1998-06-25 Felix Lee <flee@cygnus.com>
18812 * gdb.base/setshow.exp: make sure $pc is sane.
18814 * gdb.stabs/weird.exp: split expect patterns properly.
18816 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18818 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18819 * gdb.disasm/am33.exp: Run it.
18821 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18823 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18824 match processing (and eliminate spurious timeouts when running).
18826 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18828 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18829 exception test, but conditionalize it on target [mach | gnu].
18831 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18833 * gdb.base/overlays.exp: fixup compile line for linker script.
18835 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18837 * gdb.fortran/types.exp: don't guess at float size.
18839 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18841 * gdb.base/exprs.exp: delete test that depends on int size.
18843 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18845 * config/sim.exp: Removed checks for target triplets.
18846 (gdb_target_sim): Use gdb,target_sim_options.
18848 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18850 * gdb.base/reread.exp: New file.
18851 * gdb.base/reread1.c: New file.
18852 * gdb.base/reread2.c: New file.
18854 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18856 * config/sim.exp: Use 'target sim -sparclite' when running
18857 SPARClite programs.
18859 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18861 * gdb.base/structs2.exp: New file.
18862 * gdb.base/structs2.c: New file.
18864 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18866 * gdb.asm/common.inc: New file.
18867 * gdb.asm/d10v.inc: New file.
18868 * asm-source.exp: Pass -I's to gas to find .inc files.
18869 Update line numbers in expected output.
18870 * asmsrc1.s: Rewrite.
18871 * asmsrc2.s: Rewrite.
18872 * configure.in: Create arch.inc symlink.
18873 * configure: Regenerate.
18874 * Makefile.in (distclean): Delete arch.inc.
18876 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18878 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18879 (t_enum_value2): ditto
18880 (t_enum_value3): ditto
18882 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18884 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18885 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18887 Use gdb_test instead of send_gdb/gdb_expect sequences.
18889 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18891 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18894 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18896 * gdb.base/branches.c: Code with lots of loops and
18897 subroutines. Used to test gdbs ability to single step through PC
18898 changes, especially to test mips-tdep.c:mips_next_pc
18900 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18902 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18903 more rigorous EGCS C++ error checking.
18905 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18907 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18909 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18910 function when asleep.
18911 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18912 for i*86 Linux and SVR4 signal handling problems.
18913 Remove linux xfail for `next to handler in signals_tests_1', fixed
18914 by recent infrun.c change.
18915 Limit backtrace to 10 frames to avoid timeout problems with infinite
18917 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18918 target.[ch] change.
18920 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18922 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18923 for a newline from gdb before continuing.
18924 (default_gdb_exit): Just look for y or n.
18925 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18926 it does, fail the rests of the tests in the file.
18928 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18930 * config/cygmon.exp: New file.
18932 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18934 * gdb.base/list.exp: Fix problem with "list default lines around
18935 main" test on remote targets.
18937 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18938 run test on remote targets.
18940 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18942 * gdb.asm: New directory.
18943 * configure.in: Configure it.
18944 * configure: Regenerate.
18945 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18946 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18948 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18950 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18952 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18954 * gdb.base/overlays (several files): Merge the two overlay
18955 managers into one. Change variables (foox, barx, bazx, grbxx)
18956 back into ints but force them to load in their proper sections.
18958 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18960 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18961 on-chip insn memory and IMAP1 to upper 128k.
18962 (D10VCopy): Handle memory regions crossing 16k boundaries.
18963 (D10VCopy): Transfer data in 32 bit chunks.
18965 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18967 * gdb.base/overlays.c (main): Exit normally when result is
18970 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18971 map. Include space for printf in .text segment.
18973 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18974 updated d10v memory VMA/LMA map.
18975 (D10VCopy): Call D10VTranslate.
18977 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18979 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18981 * gdb.base/bar.c (barx, bar): Change variable to small array so
18982 that it won't be put into the .sdata - small data -
18983 section. Update reference.
18984 * gdb.base/baz.c (bazx, baz): Ditto.
18985 * gdb.base/foo.c (foox, foo): Ditto.
18986 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18988 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18991 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18993 * gdb.base/overlays.exp: fix up and get working again.
18994 Add tests for backtraces from an overlay function.
18996 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18998 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18999 "calling function with watchpoint enabled".
19001 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19003 * gdb.base/break.exp (test_next_with_recursion): Remove
19004 gdb_suppress_tests for d10v-*-*.
19005 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19006 pending review of whether it is useful or not.
19008 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19010 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19012 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19014 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19015 * config/dve.exp: New file to support Densan boards.
19017 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19019 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19022 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19024 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19027 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19029 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19031 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19034 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19035 target_sizeof_long and target_bigendian_p.
19036 (structs_by_value, structs_by_reference): Check values according
19037 to targets word size and endianess.
19039 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19041 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19044 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19046 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19047 Update test of set args help to match source change.
19049 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19051 * gdb.base/default.exp: Expect help system output to be in
19052 alphabetical order.
19053 * gdb.base/help.exp: Ditto.
19055 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19057 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19058 "i*86-pc-linux-gnu*".
19059 * gdb.base/interrupt.exp: Ditto.
19060 * gdb.base/corefile.exp: Ditto.
19062 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19063 define vxworks when building the testcase.
19065 * gdb.base/ptype.exp: Fix testnames to be unique.
19066 * gdb.base/radix.exp: Ditto.
19067 * gdb.base/term.exp: Ditto.
19068 * gdb.base/whatis.exp: Ditto.
19069 * gdb.c++/classes.exp: Ditto.
19071 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19073 * gdb.base/callfuncs.exp: Fix indentation.
19075 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19076 suppress_flag has been set.
19077 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19080 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19082 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19085 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19086 set_debug_traps() and breakpoint().
19087 * gdb.c++/misc.cc (main): Ditto.
19088 * gdb.c++/templates.cc (main): Ditto.
19089 * gdb.c++/virtfunc.cc (main): Ditto.
19091 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19093 * lib/gdb.exp(gdb_step_for_stub): New function.
19094 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19095 exists, reload the executable and do a "continue" instead of
19097 (runto_main): Use gdb_step_for_stub.
19099 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19100 tests to have unique names.
19101 * gdb.base/callfuncs.exp: Ditto.
19102 * gdb.base/commands.exp: Ditto.
19103 * gdb.base/default.exp: Ditto.
19104 * gdb.base/help.exp: Ditto.
19105 * gdb.base/list.exp: Ditto.
19106 * gdb.base/opaque.exp: Ditto.
19107 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19110 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19111 * gdb.c++/cplusfuncs.cc: Ditto.
19112 * gdb.c++/virtfunc.cc: Ditto.
19114 * config/monitor.exp: Keep track of the last file we saw, rather
19115 than trying to get the info from gdb.
19117 * gdb.fortran/types.exp: Move comment to previous line.
19119 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19121 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19124 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19127 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19128 string from GDB when it connects.
19130 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19132 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19134 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19135 if we can't get a debug format from GDB (we may be testing an
19136 older GDB). Use a 10 second timeout when checking for the format.
19138 * gdb.stabs/weird.exp: Fix quoting.
19140 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19142 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19144 * config/arm-ice.exp: New file.
19146 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19148 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19149 until it has been modified to work with the new testsuite.
19151 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19152 testcase won't compile, cause all of the testcases in the file to
19155 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19156 (gdb_clear_suppressed): New procedure.
19157 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19158 it contains a positive value.
19160 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19162 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19164 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19166 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19168 * lib/gdb.exp (setup_xfail_format): New function.
19169 (get_debug_format): New function to get debug format.
19170 (debug_format): New global variable to hold last value set
19171 by get_debug_format.
19172 * gdb.base/list.exp: Call get_debug_format and expect some
19173 tests to fail for DWARF 1 and COFF formats.
19174 * gdb.c++/ptype.exp: Ditto.
19175 * gdb.c++/classes.exp: Ditto.
19176 * gdb.c++/cplusfuncs.exp: Ditto.
19177 * gdb.c++/inherit.exp: Ditto.
19178 * gdb.c++/templates.exp: Ditto.
19179 * gdb.c++/virtfunc.exp: Ditto.
19181 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19183 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19184 host doesn't have a currently-open connection.
19186 * config/sparclet.exp: Cleanups and fixes to make it generic for
19187 any gdb stub target. Handle cases where gdb doesn't respond when
19188 interrupted in a sane fashion.
19190 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19191 same thing in a totally different way.
19193 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19195 (gdb_start): We set the global gdb_prompt variable in
19196 default_gdb_init now.
19198 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19200 * gdb.base/printcmds.exp: Fix "check for floating addition"
19201 regexp to accept results within approx +/- .01 of exact value.
19202 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19204 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19206 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19208 (gdb_expect): Add optional timeout parameter, and add timeout
19209 value to various calls.
19210 (gdb_suppress_tests): Only give one warning message per group.
19212 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19214 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19215 global variables. Handle getting a value for $timeout more
19218 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19220 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19222 (default_gdb_init): New procedure; allow gdb_init to be overridden
19223 by a target configuration file.
19224 (gdb_expect): Pass the timeout to remote_expect.
19226 * config/monitor.exp(gdb_load): Fix typo in regexp.
19228 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19230 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19232 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19234 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19235 here. Call gdb_target_exec before rebooting the target, to make
19236 sure the connection to the target is closed.
19237 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19238 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19239 Also detect "Timeout reading from remote" error.
19241 * config/gdbserver.exp: Pass the executable being loaded to
19242 gdb_target_monitor. Don't call gdb_file_cmd here; let
19243 gdb_target_monitor do it.
19245 * gdb.disasm/hppa.exp: Don't use exec_output.
19247 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19249 * gdb.base/list.exp: If we're debugging a non-native target,
19250 try to set the pc register to point to the start of the
19251 program before doing the first list command.
19253 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19254 test_calls after restarting.
19256 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19259 * gdb.base/watchpoint.exp: Fix typo.
19261 * gdb.base/setshow.exp: Check for use_gdb_stub.
19263 * gdb.base/break.exp: Fix continue until exit test for the gdb
19265 * gdb.base/langs.exp: Ditto.
19267 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19268 gdb_load_offset. If we weren't given a file to load, figure out
19269 what the current file is and use it.
19271 * config/i386-bozo.exp: New file.
19273 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19275 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19278 * config/proelf.exp: New entry.
19280 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19282 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19285 * gdb.base/watchpoint.exp: Don't run the test_stepping
19286 tests if gdb can't call functions on the target.
19288 * gdb.base/setshow.exp: Don't run the set prompt tests if
19289 the board has gdb_prompt set.
19291 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19293 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19294 * gdb.base/commands.exp: Likewise.
19295 * gdb.base/setshow.exp: Likewise.
19297 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19299 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19302 * config/i960.exp: New file.
19304 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19306 * gdb.base/funcargs.exp: Check for gdb,short_int target
19307 feature instead of looking for explicit target triplets.
19309 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19311 * gdb.base/printcmds.exp: add a couple more tests a la
19312 "p 123DEADBEEF", to check parse_number.
19313 * top.c: change "to enable to enable" to "to enable" in a couple
19316 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19318 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19321 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19323 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19324 where the test executable is run with explicit args.
19325 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19327 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19329 * gdb.base/run.c: Use FAKEARGV to build test executable that
19330 does not require a command line arg, since most simulators
19331 don't currently support passing such an arg into the simulated
19333 * gdb.base/commands.exp: Change tests to insert the proper
19334 value as the arg to the first recursive factorial call. Change
19335 compilation line to define FAKEARGV at compile time.
19337 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19339 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19340 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19341 function with watchpoint enabled" test.
19343 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19345 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19346 Don't call gdb_test when the command doesn't return to a gdb prompt.
19348 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19349 "Tests restarted" messages.
19351 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19353 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19355 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19357 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19358 for INFO SYMBOL; add help tests for OVERLAY commands.
19359 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19360 add tests for OVERLAY commands
19361 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19362 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19363 * gdb.base/sigall.c: add usestubs code frag
19364 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19366 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19368 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19370 (gdb_stop_suppressing_tests): Note that tests have restarted.
19372 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19374 * config/h8300.exp: New file.
19376 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19378 * gdb.base/setshow.exp: Check for the existence of a
19379 feature, not its value.
19381 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19383 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19385 * gdb.base/scope.exp: It's now init0(), not init().
19387 * gdb.base/scope0.c: For now, change init() to be init0().
19389 * config/monitor.exp: Use gdb_serial in preference to serial
19392 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19393 and it's not already set.
19395 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19397 * gdb.base/setshow.exp: Only test the run command if the target
19398 isn't using a stub and if it supports argument passing.
19400 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19402 * config/udi.exp(gdb_start): Make sure UDICONF is set
19403 properly before starting gdb.
19405 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19407 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19408 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19409 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19411 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19413 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19414 specialized code to reboot the board, use remote_reboot instead.
19416 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19418 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19420 * config/monitor.exp: Make sure we disconnect from the target.
19421 Also, try a reboot/reload cycle instead of failing if the
19424 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19426 * gdb.base/default.exp: Don't set match_max.
19427 * gdb.base/help.exp: Ditto.
19428 * gdb.base/list.exp: Ditto.
19429 * gdb.base/signals.exp: Ditto.
19431 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19432 set, use remote_ld to download the testcase instead of
19435 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19437 * config/vr5000.exp: New file.
19439 * config/monitor.exp(gdb_target_monitor): Add pattern for
19440 "Ending remote" to detect errors in connecting.
19442 * gdb.base/setshow.exp: Add .* within auto language test.
19444 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19447 * config/monitor.exp(gdb_load): Check for a failure when loading,
19448 and reboot the board if necessary.
19450 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19451 a set of tests. Remove print.* from the patterns being checked.
19453 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19455 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19456 refer to gdb_spawn_id.
19458 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19460 * config/sparclet.exp: Ditto.
19461 * config/sparclet-old.exp: Ditto.
19462 * config/slite.exp: Ditto.
19463 * config/sim.exp: Ditto.
19464 * gdb.base/funcargs.exp: Ditto.
19466 * lib/gdb.exp:Remove references to gdb_spawn_id.
19467 (gdb_expect): Move to remote.exp.
19469 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19471 * config/monitor.exp: Detect the "Couldn't establish connection"
19474 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19476 * gdb.base/bitfields.exp: Use runto instead of explicit
19477 gdb_run_cmd/gdb_expect sequences.
19479 * gdb.base/break.exp(text_next_with_recursion): Add match for
19482 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19483 We also need to handle the "A program is being debugged already"
19484 prompt from gdb. Use gdb_test to set the baud rate.
19486 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19487 to 20000. Really. I mean it.
19489 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19491 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19492 fails. If suppress_flag is set, skip perror message about not
19493 being able to send to GDB.
19494 (send_gdb): If suppress_flag is set, don't try to send commands to
19496 (gdb_expect): If suppress_flag is set, always fail immediately.
19497 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19498 (gdb_init): Call gdb_stop_suppressing_tests.
19499 (default_gdb_exit): Ditto.
19500 (default_gdb_start): Ditto.
19502 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19503 gdb_stop_suppressing_tests as appropriate.
19504 * gdb.base/break.exp: Ditto.
19505 * gdb.base/callfuncs.exp: Ditto.
19506 * gdb.base/commands.exp: Ditto.
19507 * gdb.base/exprs.exp: Ditto.
19508 * gdb.base/funcargs.exp: Ditto.
19509 * gdb.base/list.exp: Ditto.
19510 * gdb.base/recurse.exp: Ditto.
19511 * gdb.base/scope.exp: Ditto.
19512 * gdb.base/structs.exp: Ditto.
19513 * gdb.c++/inherit.exp: Ditto.
19515 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19517 * config/vr4300.exp: New file.
19519 * gdb.*/*.exp: Call gdb_expect instead of expect.
19521 * lib/gdb.exp(gdb_expect): New function.
19523 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19525 * lib/gdb.exp(gdb_init): New function.
19527 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19528 for each individual variable set.
19530 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19533 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19535 * gdb.base/scope.exp: Use gdb_test.
19537 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19538 aborting; the testsuite driver will do that for us (see
19539 gdb_finish). Also, use gdb_test in a few more places.
19541 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19543 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19545 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19547 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19548 and "add_tests" are not at the same address.
19550 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19552 * gdb.base/ptype.exp: Use gdb_test.
19554 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19556 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19557 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19558 left in. No longer expect them to fail.
19560 * gdb.stabs/*.mt; Deleted, no longer used.
19561 * gdb.stabs/configure.in: Remove references to target makefile
19563 * gdb.stabs/configure: Rebuilt.
19565 * gdb.disasm/*.mt: Deleted, no longer used.
19566 * gdb.disasm/configure.in: Remove references to target makefile
19567 frags. Use "sh3.s" as the unique filename for this directory.
19568 * gdb.disasm/configure: Rebuilt.
19570 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19571 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19572 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19574 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19576 * config/udi.exp: Use mondfe,name instead of remote_host.
19578 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19580 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19581 a function with a watchpoint enabled on the mn10200.
19583 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19584 before trying to create it!
19586 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19588 * config/vx.exp: Use hostname instead of netport.
19590 * config/vxworks.exp: New file.
19592 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19594 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19595 gdb before assuming everything worked. Send a ^C if a timeout
19598 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19599 $gdb_spawn_id directly.
19600 (gdb_run_cmd): Try _start as well as start. Use the target feature
19601 gdb,start_symbol as the symbol to start from when jumping.
19603 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19605 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19608 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19609 it doesn't lose for 16bit integer systems.
19611 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19613 * gdb.fortran/types.exp: If the target doesn't support "double"
19614 data types, then expect "real" types to only be 4 bytes.
19616 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19617 call tests if the target doesn't support inferior function calls.
19619 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19622 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19624 * gdb.base/help.exp: Disable "help set", "help show", and
19625 "help support". Simplify regexp for "help stack".
19627 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19628 to 60 seconds. Temporarily set match_max to 15000 around the
19629 "info copying" test.
19631 * gdb.base/nodebug.exp: Don't try to do an inferior function
19632 call if the target doesn't support them.
19633 * gdb.base/printcmds.exp: Likewise.
19634 * gdb.base/setvar.exp: Likewise.
19635 * gdb.base/structs.exp: Likewise.
19636 * gdb.c++/templates.exp: Likewise.
19637 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19639 * gdb.base/recurse.exp: Enable for the mn10200.
19641 * configure.in: Do configure gdb.stabs directory for *-*-elf
19643 * configure: Rebuilt.
19645 * gdb.base/break.exp: Check for gdb,noresults before testing
19646 exit status and/or results from the target.
19647 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19648 * lib/gdb.exp: Remove old (now bogus) initialization of
19649 noinferior, noargs, noresults and nosignals.
19651 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19653 * config/sh.exp: New file.
19655 * config/slite.exp: Try to connect multiple times to the board
19656 before rebooting. Only send a "monitor run" if need_monitor_run
19659 * gdb.base/break.exp: Don't do the "stub continue" test if
19660 the target has gdb_stub set.
19662 * gdb.base/callfuncs.exp: Increase the timeout.
19664 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19665 if the target has gdb,noinferiorio set.
19667 * gdb.base/list.exp: Increase match_max to 10000 characters.
19669 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19671 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19674 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19676 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19678 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19679 trying to delete the copy of gdb. Catch the file delete so we
19680 don't die if the delete fails; also, the file should be copied to
19681 the host, not to the build.
19683 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19685 * lib/gdb.exp(gdb_test): Surround the result pattern with
19686 parenthesis in case it contains multiple regexps separated
19689 * gdb.base/watchpoint.exp: Use gdb_test.
19690 * gdb.base/default.exp: Ditto.
19692 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19694 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19696 * gdb.base/scope.exp: Use gdb_test.
19697 * gdb.c++/classes.exp: Ditto.
19698 * gdb.c++/inherit.exp: Ditto.
19700 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19702 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19703 remote_exec instead.
19704 * gdb.base/corefile.exp: Don't be ridiculous.
19705 * gdb.base/*.c: Add missing stub invocations.
19707 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19709 * config/slite.exp: Miscellaneous fixes.
19711 * lib/gdb.exp: Fix runto.
19713 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19716 * gdb.base/watchpoint.exp: Fix regexp.
19718 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19719 close and wait commands, as the descriptor may now be
19720 invalid. Always call "remote_close host".
19722 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19724 Major rewrite for testsuite revision.
19726 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19727 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19728 instead of relying on spawn_id to always contain a valid
19730 (get_compiler_info): New procedure to build the ${binfile}.ci
19731 file, instead of replicating this in N different places.
19732 (gdb_compile): New procedure.
19734 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19735 appropriate arguments) instead of compile. Use gdb_test in a lot
19736 more places. Use send_gdb instead of send. Always run gdb_start
19737 at the start of a testcase, as this is no longer done magically.
19739 config/*-gdb.exp: Rename without the -gdb suffix.
19741 config/mips.exp: Use remote_close instead of exit_remote_shell.
19742 config/monitor.exp: Use target_info instead of looking at
19743 baud, timeout, etc.
19744 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19746 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19748 * gdb.c++/templates.exp (test_ptype_of_templates),
19749 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19750 Update expect patterns for destructors and assignment operators
19751 to match corresponding c-typeprint.c changes.
19752 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19753 to destructor breakpoint test, GDB should be able to set the
19754 destructor breakpoint without specifying arguments.
19756 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19758 * gdb.threads/pthreads.exp: Change result for failure to compile due
19759 to lack of pthreads runtime support from an error to simply an
19760 unsupported test, per dejagnu standards.
19762 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19764 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19765 where GDB exits to reduce pattern match time.
19766 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19768 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19770 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19772 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19773 * gdb.base/default.exp: ditto.
19774 * gdb.base/nodebug.exp: ditto.
19775 * gdb.base/printcmds.exp: ditto.
19776 * gdb.base/ptype.exp: ditto.
19777 * gdb.base/setvar.exp: ditto.
19778 * gdb.base/structs.exp: ditto.
19779 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19781 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19783 * configure, */configure: Rebuild with autoconf 2.12.
19785 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19787 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19788 use new i*86-pc-linux*-gnu quads.
19789 * gdb.base/corefile.exp: Ditto.
19790 * gdb.base/signals.exp: Ditto.
19791 * gdb.base/sigall.exp: Ditto.
19792 * gdb.base/interrupt.exp: Ditto.
19794 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19795 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19798 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19799 linux. This allows the test case to at least compile on latest
19800 linux, but still not run due to missing the threads runtime library.
19802 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19804 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19805 directory to search gdb directory. Accept and step over conditional
19806 stack alignment code. Consume $prompt in failure cases.
19807 Reset timeout to $oldtimeout instead of some arbitrary value.
19808 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19809 timeout problems with infinite stack backtraces.
19810 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19811 Accept function parameters for linkfunc member.
19813 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19815 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19816 (CXXFLAGS): Remove, unreferenced.
19817 (B_OPTIONS): Add for -B options and add code to initialize with
19818 previous -B options and also add -B option to pick up cross compiled
19820 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19821 doing cross compiles.
19822 (target_alias): Declare global.
19823 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19824 to verify that gcc exists in build tree, and if so set CC to that
19825 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19827 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19829 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19830 ptype test for anonymous union. Fixup testcase to match
19831 current gcc debug output.
19833 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19835 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19836 force argument to an unsigned long type.
19838 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19840 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19841 tests and anonymous union print/ptype tests.
19842 * gdb.base/list.exp (test_forward-search): Increase timeout by
19843 5 minutes for the "search extremely long line" case.
19844 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19845 completely optional and that the pass/fail messages use the command as
19846 the message if that third arg is a null string.
19847 (gdb_test_exact): Arrange that a null string pattern means match a
19848 null string output rather than any output, which might include random
19850 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19852 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19853 always failing and failure is now exposed by gdb.exp changes.
19855 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19857 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19858 weren't being noted.
19860 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19862 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19863 * gdb.stabs/weird.exp: Remove v_comb xfails.
19865 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19867 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19868 list.exp scope.exp watchpoint.exp]
19869 Make all timeout error msgs explicitly say "(timeout)".
19871 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19873 * config/monitor.exp: Increase download timeout to 1000 seconds.
19875 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19877 * config/m32r.exp: Increase timeout to 120 seconds.
19879 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19881 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19882 and accept older ordering as obsolescent gcc or gdb.
19883 * gdb.c++/templates.exp: Ditto.
19884 * gdb.c++/virtfunc.exp: Ditto.
19886 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19888 * gdb.base/coremaker.c: Add code to mmap some data so we
19889 can check that it ends up in the core file.
19890 * gdb.base/corefile.exp: Add test to read mmapped data
19893 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19895 * config/m32r.exp: New file.
19897 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19899 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19900 that cflags can contains -gstabs, and work correctly for other tests.
19902 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19904 * gdb.base/setshow.exp: New file, tests show and set.
19905 * gdb.base/setshow.c: New file, tests show and set.
19906 * gdb.base/help.exp: Add test for help set|show annotate.
19907 * gdb.base/default.exp: Add test for set|show annotate.
19909 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19911 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19913 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19916 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19918 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19919 and width commands. This is done elsewhere.
19920 * (gdb_start): Don't call gdb_start_sim here. That's already
19921 done in gdb_load. This fixes lots of failures in default.exp.
19923 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19925 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19926 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19927 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19928 in the same we we treat other failures (since it may be an expected
19929 condition), rather than as an error.
19930 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19933 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19935 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19936 (distclean maintainer-clean realclean): No need to remove files
19937 twice. Nuke the duplicates.
19938 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19939 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19940 Remove config.h along with other config files.
19942 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19944 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19945 "p func1 ()" and note that rests of tests are skipped.
19946 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19947 setup_xfails for "print func2::coremaker_local".
19948 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19949 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19950 affected by the previous run test.
19951 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19952 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19953 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19954 "pass int powerset tuple" and "pass modeless int powerset tuple".
19955 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19956 "real write 4" and "real write 8".
19957 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19958 setup_xfails for "print vs1 after tuple assign 2",
19959 "print \$i after tuple assign 2", and
19960 "print vs2 after tuple assign 2".
19961 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19962 meaningful error message and return -1 so the caller can
19963 suppress further tests and avoid a cascade of errors.
19965 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19967 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19968 format for printing version.
19969 * gdb.base/default.exp: Ditto.
19970 * gdb.base/interrupt.exp: Fix problem with cascade of
19971 errors if child process dies while calling a function.
19973 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19975 * Makefile.in (VPATH): Add
19976 * Makefile.in (Makefile, config.status): Fix rules so things get
19977 remade when necessary.
19979 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19981 * Makefile.in (just-check): Add path to sibling expect dir
19982 to environment variable specified by RPATH_ENVVAR.
19984 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19986 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19987 (just-check): Add shared library paths for libstdc++, tk,
19988 tcl, bfd, and opcodes to the environment variable specified
19990 * configure.in: Add support to recognize --enable-shared flag
19991 and generate correct value for RPATH_ENVVAR.
19992 * configure: Regenerated with autoconf.
19994 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19996 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19997 include all osf versions.
19998 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19999 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20000 when target is linux. When failing to build pthreads test
20001 executable, give more meaningful message.
20002 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20003 arg for pthread_create.
20005 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20007 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20008 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20009 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20010 and -lpthreads (everybody else).
20011 (test_startup): Fail gracefully if threads are not supported.
20012 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20013 "p/c array_index("abcdef",2)" when not gcc compiled.
20014 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20015 "print func2::coremaker_local" when not gcc compiled.
20016 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20017 "ptype on opaque struct tagname (statically)",
20018 "ptype on opaque struct tagname (dynamically) 1", and
20019 "ptype on opaque struct tagname (dynamically) 2"
20020 for not compiled with gcc.
20021 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20022 backtrace when compiled with gcc.
20023 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20024 than always return success.
20026 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20028 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20030 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20032 * gdb.base/structs.exp: Undo last change.
20034 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20036 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20037 encapsulate all the steps/nexts done during self test, starting
20038 at main, and makes them less sensitive to optimization issues.
20039 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20040 signal handler" test.
20041 * gdb.threads/pthreads.exp: Only run this for native configs.
20042 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20043 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20045 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20046 for "runto test_calls(void)" test.
20048 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20050 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20051 and don't expect address info in breakpoint confirmations.
20053 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20055 * gdb.base/list.exp (test_forward_search): Increase timeout
20056 temporarily by 60 seconds for searching extremely long line,
20057 and then reset to old value when done. Increase expect input
20060 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20062 * gdb.base/list.exp (test_forward_search): Fix to handle very
20063 long source line without overflowing expect's input buffer.
20065 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20067 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20070 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20073 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20076 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20079 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20081 * configure.in (configdirs): Add gdb.threads.
20082 * configure: Regenerated with autoconf.
20083 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20084 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20085 * gdb.threads/configure: New, generated with autoconf.
20087 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20089 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20091 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20093 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20094 each signal's status in the output of "handle all print".
20095 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20096 the \r\n sequence that immediately precedes the gdb prompt.
20097 * gdb.base/a1-selftest.exp: Save original timeout and restore
20100 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20102 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20105 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20107 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20109 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20111 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20112 timeout by 60 seconds.
20114 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20116 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20117 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20120 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20122 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20123 gdb initialization, also report how long dejagnu waited. Restore
20124 old timeout before doing error return. Temporarily increase timeout
20125 by 3 minutes to allow for slow startups over heavy NFS use.
20127 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20129 * lib/gdb.exp: Report timeout value for verbosity level 2.
20130 * config/gdbserver.exp: Ditto.
20131 * config/hppro.exp: Ditto.
20132 * config/mips-gdb.exp: Ditto.
20133 * config/monitor.exp: Ditto.
20134 * config/netware.exp: Ditto.
20135 * config/sim-gdb.exp: Ditto.
20136 * config/slite-gdb.exp: Ditto.
20137 * config/udi-gdb.exp: Ditto.
20138 * config/unix-gdb.exp: Ditto.
20139 * config/vx-gdb.exp: Ditto.
20140 * gdb.base/a1-selftest.exp: Ditto.
20141 * gdb.base/a2-run.exp: Ditto.
20142 * gdb.base/break.exp: Ditto.
20143 * gdb.base/corefile.exp: Ditto.
20144 * gdb.base/list.exp: Ditto.
20145 * gdb.base/recurse.exp: Ditto.
20146 * gdb.base/scope.exp: Ditto.
20147 * gdb.base/signals.exp: Ditto.
20149 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20151 * gdb.threads/Makefile.in (docdir): Removed.
20153 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20155 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20156 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20158 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20159 autoconf 2.5 or higher.
20160 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20162 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20164 * configure: Regenerated.
20165 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20166 avoid name clashes with SunOS headers.
20168 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20170 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20172 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20174 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20175 prototype information ends up in the compiler info file.
20177 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20179 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20180 attempting to regenerate it. Eliminate use of a temporary file
20181 and just generate the info file directly. Source it immediately,
20182 for consistency of use.
20183 * gdb.base/corefile.exp: Ditto
20184 * gdb.base/exprs.exp: Ditto.
20185 * gdb.base/funcargs.exp: Ditto.
20186 * gdb.base/langs.exp: Ditto.
20187 * gdb.base/list.exp: Ditto.
20188 * gdb.base/mips_pro.exp: Ditto.
20189 * gdb.base/nodebug.exp: Ditto.
20190 * gdb.base/opaque.exp: Ditto.
20191 * gdb.base/ptype.exp: Ditto.
20192 * gdb.base/scope.exp: Ditto.
20193 * gdb.base/setvar.exp: Ditto.
20194 * gdb.base/signals.exp: Ditto.
20195 * gdb.base/whatis.exp: Ditto.
20196 * gdb.c++/templates.exp: Ditto.
20197 * gdb.c++/virtfunc.exp: Ditto.
20198 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20199 whether or not to add -lstdc++ to the compile command line args.
20201 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20203 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20204 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20205 Increase timeout, a lot of single stepping might be needed if the
20206 target has no hardware watchpoints.
20208 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20210 * gdb.base/break.exp: Ignore compiler warnings when compiling
20212 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20213 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20215 * gdb.base/exprs.exp: Add h8300 xfails.
20216 * gdb.base/funcargs.exp: Likewise.
20217 * gdb.base/nodebug.exp: Likewise.
20218 * gdb.base/printcmds.exp: Likewise.
20219 * gdb.base/ptype.exp: Likewise.
20220 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20222 * gdb.base/return.exp: Handle float/double precision problems
20224 * gdb.base/funcargs.c: Explicitly make last constant argument to
20225 call_after_alloca_subr an unsigned long type.
20226 * gdb.base/return.c: Include stdio.h.
20228 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20230 * config/abug.exp: New file for the older Motorola Bug monitor
20231 that runs on the mvme13x series VME boards.
20232 * config/monitor.exp: Use the new config array for target settings
20235 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20237 * sim-gdb.exp: Make the SH simulator allocate less space when
20240 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20242 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20245 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20247 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20248 "rs6000-*-*" for "list function in include file" when gcc compiled.
20249 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20250 for "p ctable1[120]".
20251 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20252 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20253 Remove setup_xfail for "rs6000-*-*" for
20254 "print 'scope0.c'::filelocal before run".
20255 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20256 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20257 since some compilers don't allow both options to be given
20258 on the same command line. Create object file and move it.
20260 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20262 * gdb.base/corefile.exp: Always regenerate the core file, since
20263 we always regenerate the coremaker program. Detect special case
20264 where registers cannot be read from core file.
20266 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20268 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20269 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20270 * gdb.c++/templates.exp: Only match on basename of file since
20271 some formats like xcoff don't encode directory information.
20272 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20273 and rs6000 AIX xcoff targets.
20274 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20275 * configure: Regenerate.
20276 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20277 here, rather than in distclean.
20279 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20281 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20282 defined, and use it to compile the test case with -O2. The
20283 native compilation still uses no optimization.
20284 * gdb.base/mips_pro.c: Remove inline assembly code since
20285 it is compiled PIC by default, which results in assembler
20286 warnings that make the testsuite think the compilation
20289 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20291 * gdb.c++/misc.exp: Add note to message for
20292 "print s.a for foo struct" that this is a known gcc 2.7.2
20295 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20297 * gdb.base/break.exp: Fix pattern for matching "Delete all
20298 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20299 setup_xfail for deleting all breakpoints test. Fix various
20300 timeout messages to include "(timeout)".
20301 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20302 for "p t_float_values2(3.14159,float_val2)".
20303 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20304 for "continue to call2g" when gcc compiled.
20305 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20306 "up to foo in langs.exp", "show language at foo in langs.exp",
20307 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20308 and "show language at fsub in langs.exp".
20309 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20310 "list line 1 in include file", "list message for lines past EOF",
20311 "list function in include file", "list list0.h:foo", and
20312 "list filename:function; nonexistant function".
20313 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20314 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20315 and "ptype t_char_array" to be for native cc only.
20317 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20319 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20320 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20321 "print func2::coremaker_local", and "backtrace in corefile.exp".
20323 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20325 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20326 "bt in signals.exp". This problem only appears when running
20327 the testsuite, and then only intermittently.
20329 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20331 * gdb.base/return.exp (return_tests): Differentiate between
20332 two tests of continuing.
20334 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20336 * */Makefile.in (maintainer-clean): Remove config.log.
20337 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20338 * gdb.c++/Makefile.in (PROGS): Add inherit.
20339 (clean): Remove *.ci.
20341 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20343 * gdb.c++/misc.cc: Add test code from Mike Stump.
20344 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20346 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20348 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20349 to "alpha-*-osf2*" and add comment.
20350 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20351 setup_xfail for "step over execarg initialization" and
20352 "step over corearg initialization".
20353 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20354 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20355 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20356 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20357 "print func2::coremaker_local", and "backtrace in corefile.exp".
20358 * gdb.base/signals.exp: Build and source signals.ci.
20359 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20360 to be for gcc only.
20361 * lib/gdb.exp: Move verbose statements outside conditionals.
20363 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20365 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20366 Feb 3 procfs.c change.
20368 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20370 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20372 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20374 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20375 from dejagnu's apparent default of 10 seconds, which gives random
20376 results when running the tests over NFS on moderately loaded systems.
20377 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20379 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20381 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20382 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20385 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20387 * configure.in (CY_AC_PATH_TCLH): Remove.
20388 * configure: Regenerate.
20390 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20392 * gdb.c++/Makefile.in (clean): Add missing '{'.
20394 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20396 * lib/gdb.exp: Provide a default value for noinferior.
20398 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20401 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20403 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20404 the executable, not the .o to run the tests from.
20406 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20408 * gdb.base/break.exp: Don't test for program exit or exit status
20409 if $noresults if nonzero.
20410 * gdb.base/langs.exp: Likewise.
20411 * gdb.base/watchpoint.exp: Likewise.
20413 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20414 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20415 trying to compile the testcase.
20417 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20419 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20420 * gdb.base/signals.exp (continue to handler): Likewise.
20422 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20424 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20426 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20428 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20430 * gdb.base/corefile.exp: Recognize "not found" as failure
20431 when trying to determine if a core file was generated.
20432 If no core file was generate the first time, try again without
20433 the ulimit -c to work around braindamaged shells.
20435 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20437 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20438 [] tests with "test" and enclose string in quotes.
20439 * gdb.stabs/configure: Rebuild
20441 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20443 Changes in sync with expect:
20444 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20445 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20446 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20447 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20448 argument to AC_REQUIRE.
20449 * configure: Regenerated.
20451 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20453 * gdb.base/corefile.exp: When generating a core, discard any
20454 error messages about ulimit not found and the "core dumped"
20455 message from the shell that runs the coredumper.
20457 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20459 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20461 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20462 which sed script to run. Expect failure for v_comb test
20465 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20467 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20468 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20470 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20472 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20473 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20474 "sparc-sun-solaris*" xfails for "p v_comb".
20475 * lib/gdb.exp (default_gdb_start): Fix typo.
20476 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20477 messages to not include the full program name that caused
20478 the core dump since some systems (such as solaris) apparently
20479 truncate this path to about 80 characters.
20480 When generating a core file first try increasing the core file
20481 size limit to unlimited since some systems may default it to
20482 zero, and it is harmless to try it. Move the test for failing
20483 to generate a core file to where it will actually get executed.
20484 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20485 new gdb result from g++ debug info improvements and make old
20486 pattern obsolescent. Also account for size_t differences
20487 (may be int or long).
20488 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20489 initialization before function call is placed in the delay slot
20490 and thus appears to be skipped over by commands such as "next".
20492 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20494 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20496 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20498 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20499 input source file; fix code to compile test to deal with this
20501 * gdb.c++/*.exp: Likewise.
20503 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20505 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20506 "bt in signals.exp".
20508 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20510 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20511 "step over execarg initialization" and
20512 "step over corearg initialization".
20514 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20516 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20517 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20519 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20521 From Rob Savoye (rob@poseidon.cygnus.com)
20522 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20523 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20524 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20525 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20526 configure.in}: Major reworking for autoconfig.
20527 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20528 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20530 * config/unix-gdb.exp: Make GDB global.
20531 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20532 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20533 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20534 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20535 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20536 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20537 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20538 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20539 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20540 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20541 pr-8136.exp, result.exp, string.exp, tuples.exp},
20542 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20543 to returns as necessary, arrange for test to compile own testcase
20545 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20547 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20549 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20550 clear_xfail at end of test which might not call either pass or fail.
20551 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20552 "backtrace through signal handler".
20554 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20556 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20557 continuing from a job control stop signal.
20558 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20560 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20562 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20563 * gdb.base/corefile.exp: Likewise.
20564 * gdb.base/funcargs.exp: Likewise.
20566 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20568 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20569 * config/monitor.exp: Add support for setting baud rate.
20571 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20573 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20574 i*86-*-linux* xfails for "backtrace through signal handler".
20575 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20576 "print func2::coremaker_local".
20577 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20578 alpha-dec-osf2* xfail for
20579 "delete all breakpoints when none".
20581 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20583 * gdb.base/break.exp: Change test that deletes all breakpoints
20584 when no user breakpoints are installed. A post 4.15 change
20585 causes gdb to no longer prompt in this case.
20587 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20589 * gdb.base/return.exp (return_tests): Change xfail for test
20590 "correct value returned double test" to stop xfailing at
20591 Solaris 2.5. Apparently the bug has been fixed.
20593 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20595 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20596 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20598 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20600 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20601 * gdb.disasm/hppa.s: Corresponding changes.
20603 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20605 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20607 * config/mt-hpux: Deleted.
20609 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20611 * Many files: When warning about suppressed tests due to a
20612 nonexistant test binary, avoid incrementing the warning count.
20614 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20616 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20618 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20620 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20621 "sparc-*-solaris2*".
20623 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20625 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20626 Add global and local variables and initialize them.
20627 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20628 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20629 extracts the file name and terminating signal from the core file.
20630 * TODO: Remove note about tests for correct mapping of corefile.
20631 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20632 from optimizing it away.
20633 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20634 handles common blocks.
20636 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20638 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20639 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20641 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20643 * Makefile.in (maintainer-clean): New target, synonym for
20645 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20646 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20647 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20648 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20649 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20650 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20652 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20654 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20655 xfails when not gcc compiled for "print foo::funclocal".
20656 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20657 "print foo::funclocal at foo",
20658 "print 'scope1.c'::foo::funclocal at foo",
20659 "print foo::funclocal_bss at foo",
20660 "print 'scope1.c'::foo::funclocal_bss at foo",
20661 "print foo::funclocal_ro at foo",
20662 "print 'scope1.c'::foo::funclocal_ro at foo",
20663 "print bar::funclocal at foo" and
20664 "print 'scope1.c'::bar::funclocal at foo".
20665 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20666 gcc compiled for "print foo::funclocal at bar".
20667 Expand all messages to ensure that they identify that
20668 the test is at bar().
20669 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20671 "ptype on opaque struct pointer (statically)",
20672 "ptype on opaque struct tagname (statically)",
20673 "ptype on opaque struct pointer (dynamically) 1",
20674 "ptype on opaque struct tagname (dynamically) 1",
20675 "ptype on opaque struct pointer (dynamically) 2" and
20676 "ptype on opaque struct tagname (dynamically) 2
20677 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20680 "whatis datalocal",
20683 "whatis bsslocal", and
20685 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20686 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20687 when not gcc compiled.
20688 * gdb.base/funcargs.exp (float_and_integral_args): Add
20689 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20691 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20692 "backtrace from call6a" when not gcc compiled.
20693 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20694 "backtrace from call7a" when not gcc compiled.
20695 * gdb.base/callfuncs.exp (do_function_calls):
20696 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20697 "p t_char_array_values(char_array_val2,char_array_val1)",
20698 "p t_char_array_values(char_array_val1,char_array_val2)",
20699 "p t_char_array_values("carray 1","carray 2")",
20700 "p t_char_array_values("carray 1",char_array_val2)",
20701 "p t_char_array_values(char_array_val1,"carray 2")",
20702 "p sum_args(1,{2})",
20703 "p sum_args(2,{2,3})",
20704 "p sum_args(3,{2,3,4})",
20705 "p sum_args(4,{2,3,4,5})"
20706 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20707 "backtrace in corefile.exp" when not gcc compiled.
20709 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20711 * gdb.base/signals.exp: Rewrite `handle all print' test as
20712 a procedure. Accept blanks or TABs as whitespace, increase
20713 timeout and expect input buffer size for the large output
20714 from the command. Remove "i*86-*-bsdi2.0" xfail.
20716 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20718 * gdb.base/setvar.exp: Add new testcases for truncation when
20719 assigning invalid values to bitfields.
20721 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20723 * gdb.base/callfuncs.exp (do_function_calls): Remove
20724 mips-sgi-irix* xfail for
20725 "call inferior func with struct - returns char *"
20726 and fix test so that an optional (unsigned char *) cast is
20727 accepted in the result.
20729 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20731 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20732 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20733 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20734 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20735 that accidentally got checked in.
20737 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20739 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20740 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20742 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20743 Add mips-sgi-irix5* xfail for not gcc compiled.
20744 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20745 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20746 "p top", "whatis top", "p middle", and "whatis middle".
20747 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20748 "whatis signed char" for not gcc compiled.
20749 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20750 "set variable signed char=-1 (-1)" and
20751 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20752 * gdb.base/funcargs.exp (float_and_integral_args):
20753 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20754 Add mips-sgi-irix* xfail when not gcc compiled for
20755 "continue to call2b".
20756 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20757 "continue to call2g".
20758 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20759 "backtrace from call6a"
20760 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20761 "backtrace from call7k".
20762 Add mips-sgi-irix5* xfail when not gcc compiled for
20763 "backtrace from call7a".
20764 (localvars_after_alloca): Fix gdb_test cmds for
20765 "print * after runto ...".
20766 Remove rs6000-*-* xfails for
20767 "print i after runto localvars_after_alloca" and
20768 "print l after runto localvars_after_alloca"
20770 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20771 when not compiled with gcc, for:
20772 "print signed char == (minus)",
20773 "print signed char != (minus)",
20774 "print signed char < (minus)",
20775 "print signed char > (minus)".
20776 * gdb.base/callfuncs.exp (do_function_calls):
20777 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20778 "call inferior func with struct - returns char *".
20779 * gdb.base/return.exp (return_tests): Change xfail for
20780 "correct value returned double test" to include Solaris 2.4.
20781 * gdb.base/funcargs.exp (float_and_integral_args):
20782 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20784 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20786 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20787 enumeration bitfields if compiling with GNU C.
20788 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20791 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20793 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20794 test for PRO targets.
20796 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20797 breakpoints in the inferior at any given time by making
20798 two groups of breakpoints for call2*, call6* and call7*
20801 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20803 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20804 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20805 from optimizing it away.
20806 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20807 "call inferior func with struct".
20809 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20811 * configure.in: Only configure gdb.chill for particular targets.
20813 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20815 * gdb.base/Makefile.in: Add action to .c.o transformation
20816 rule that generates a .ci file for each .o file and remove
20817 explicit .c.o rules except for callfuncs.o.
20818 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20819 generates a .ci file for each .o file and remove explicit
20821 (clean): Remove *.tmp *.ci files.
20822 (EXECUTABLES): Remove templ-info.exp.
20823 * gdb.base/compiler.c: New file.
20824 * gdb.c++/compiler.cc: New file
20825 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20826 Change rs6000-*-* xfail for
20827 "print 'scope0.c'::filelocal_ro" and
20828 "print 'scope1.c'::filelocal" and
20829 "print 'scope1.c'::filelocal_bss" and
20830 "print 'scope1.c'::filelocal_ro" and
20831 "print 'scope1.c'::foo::funclocal" and
20832 "print 'scope1.c'::foo::funclocal_ro" and
20833 "print 'scope1.c'::bar::funclocal" and
20834 "print 'scope0.c'::filelocal_ro" and
20835 "print 'scope1.c'::filelocal at foo" and
20836 "print 'scope1.c'::filelocal_bss at foo" and
20837 "print 'scope1.c'::filelocal_ro at foo" and
20838 "print 'scope1.c'::foo::funclocal at foo" and
20839 "print 'scope1.c'::foo::funclocal_bss at foo" and
20840 "print 'scope1.c'::foo::funclocal_ro at foo" and
20841 "print 'scope1.c'::bar::funclocal at foo" and
20842 "print 'scope0.c'::filelocal_ro" and
20843 "print 'scope1.c'::filelocal" and
20844 "print 'scope1.c'::filelocal_bss" and
20845 "print 'scope1.c'::filelocal_ro" and
20846 "print 'scope1.c'::foo::funclocal" and
20847 "print 'scope1.c'::foo::funclocal_bss" and
20848 "print 'scope1.c'::foo::funclocal_ro" and
20849 "print 'scope1.c'::bar::funclocal" and
20850 "print 'scope1.c'::bar::funclocal_bss"
20851 to only be xfail'd when not compiled with gcc.
20852 Add rs6000-*-* xfail for
20853 "print 'scope0.c'::filelocal_bss before run"
20854 when compiled with gcc.
20855 (test_at_main): Add rs6000-*-* xfail for
20856 "print filelocal_ro in test_at_main"
20857 when compiled with gcc.
20858 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20859 Add rs6000-*-aix* xfail for
20860 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20861 "ptype t_char_array", not compiled with gcc.
20862 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20863 xfail for "list foo (in include file)" when gcc compiled.
20864 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20865 (integral_args): Add rs6000-*-* xfail for
20866 "run to call0a" if not compiled with gcc.
20867 (unsigned_integral_args): Add rs6000-*-* xfail for
20868 "run to call1a" if not compiled with gcc.
20869 (float_and_integral_args): Add rs6000-*-* xfail for
20870 "run to call2a" if not compiled with gcc and for
20871 "continue to call2b" for any compiler.
20872 Add rs6000-*-* xfail to
20873 "print f1 after run to call2a" for gcc compiled.
20874 (discard_and_shuffle): Add rs6000-*-* xfail for
20876 (shuffle_round_robin): Add rs6000-*-* xfail for
20877 "backtrace from call7a" if not compiled with gcc.
20878 Add rs6000-*-* xfail for
20879 "backtrace from call7b" if compiled with gcc.
20880 (call_after_alloca): Add rs6000-*-* xfail for
20881 "print c in call_after_alloca" and
20882 "print s in call_after_alloca" and
20883 "backtrace from call_after_alloca_subr"
20884 if not compiled with gcc.
20885 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20886 "print c in localvars_in_indirect_call" and
20887 "print c in localvars_in_indirect_call" and
20888 "backtrace in indirectly called function" and
20889 "stepping into indirectly called function"
20890 if not compiled with gcc.
20891 (localvars_after_alloca): Add rs6000-*-* xfail for
20892 "print c after runto localvars_after_alloca" and
20893 "print s after runto localvars_after_alloca" and
20894 "print i after runto localvars_after_alloca" and
20895 "print l after runto localvars_after_alloca"
20897 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20898 than whatis-info.exp.
20899 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20900 than opaque-info.exp.
20901 Setup rs6000-*-* xfail for
20902 "ptype on opaque struct pointer (statically)" and
20903 "ptype on opaque struct pointer (dynamically)" when
20904 not compiled with gcc.
20905 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20906 rather than callf-info.exp.
20907 (do_function_calls): Add clear_xfail for rs6000-*-* for
20908 "p t_float_values2(3.14159,float_val2)". Seems to work
20909 fine there, both with xlc and gcc. Need to find out what
20910 it is doing right and fix other platforms.
20911 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20912 "call inferior func with struct - returns int",
20913 "call inferior func with struct - returns long",
20914 "call inferior func with struct - returns float",
20915 "call inferior func with struct - returns double",
20916 "call inferior func with struct - returns char *",
20917 but only if not gcc compiled (presumes xlc compiled).
20918 Change rs6000-*-* xfails for
20919 "call inferior func with struct - returns char" and
20920 " call inferior func with struct - returns short" to only
20921 xfail if not using gcc.
20922 (clean mostlyclean): Remove *.ci and *.tmp files.
20923 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20924 than templ-info.exp.
20925 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20926 Add rs6000-*-* xfail for "up to foo in langs.exp"
20927 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20928 when not gcc compiled.
20930 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20932 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20933 * gdb.base/corefile.exp: Likewise.
20934 * gdb.base/list.exp: Likewise.
20935 * gdb.base/scope.exp: Likewise.
20936 * gdb.base/siganls.exp: Likewise.
20938 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20940 * gdb.base/whatis.exp: Likewise.
20942 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20944 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20945 failure (opcode table has been fixed to match reality).
20947 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20949 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20950 "call inferior func with struct - returns char",
20951 "call inferior func with struct - returns short"
20953 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20954 "print 'scope0.c'::filelocal at main",
20955 "print 'scope0.c'::filelocal_bss in test_at_main",
20956 "print 'scope0.c'::filelocal at foo",
20957 "print 'scope0.c'::filelocal_bss in test_at_foo",
20958 "print 'scope0.c'::filelocal at bar",
20959 "print 'scope0.c'::filelocal_bss in test_at_bar"
20961 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20962 in source file 1". This bug seems to have been fixed with both
20963 gcc and native cc (was native assembler bug?).
20965 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20967 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20968 "backtrace through signal handler" to "i*86-*-sysv4*".
20969 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20970 continue" case. Add "known SVR4 bug" to fail message.
20971 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20972 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20973 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20974 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20975 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20976 "up to foo in langs.exp", "show language at foo in
20977 langs.exp", "up to cppsub_ in langs.exp", "show
20978 language at cppsub_ in langs.exp", "up to fsub in
20979 langs.exp", and "show language at fsub in langs.exp".
20980 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20981 "bactrace in corefile.exp".
20982 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20983 "call inferior function with struct - returns float" and
20984 "call inferior function with struct - returns double".
20986 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20988 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20989 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20990 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20991 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20993 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20995 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20996 (or overriden) "CHILL" macro rather then bare "gcc".
20997 Also look for ../../gcc/xgcc since that is what we will
20998 actually need, not "Makefile". Remove following assignment
20999 of CHILL to CHILL_FOR_TARGET because that results in
21000 recursive definition.
21002 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21004 * gdb.base/corefile.exp: Change xfail for backtrace in
21005 corefile.exp from linuxaout to all linux.
21006 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21007 cases where we miss the breakpoint at the signal handler
21008 for some reason. Setup xfail for linuxoldld/linuxaout and
21009 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21010 hitting SIGURG breakpoint.
21011 * gdb.base/signals.exp: Setup xfail for "next" acting like
21012 continue to add linuxoldld. Setup xfail for all linux for
21013 "next to handler in signals_tests_1", "backtrace in
21014 signals_tests_1", "continue to func1", "pass SIGUSR1",
21015 and continue to handler".
21017 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21019 * Update all FSF addresses except those in COPYING* files.
21021 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21023 * gdb.base/a2-run.exp: Change messages to be more explicit about
21024 the status of args, and quote binfile in results.
21026 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21028 * gdb.base/callfuncs.exp: Add tests for passing structs to
21029 inferior functions and return various types.
21030 * gdb.base/callfuncs.c: Add functions to receive a struct
21031 and return a member of the struct, in various types.
21033 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21035 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21037 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21039 * config/vxworks29k.exp: New file, sources vxworks.exp.
21041 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21043 * config/gdbremote.exp: New file. Testing framework using
21046 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21048 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21049 "call function when asleep" and "send end of file".
21050 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21051 for "backtrace in corefile.exp".
21052 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21053 for "backtrace through signal handler".
21054 * gdb.base/corefile.exp: Make sure we actually generate a core file
21055 before trying the core tests. Some systems allow the user to suppress
21056 generation of core files and default to that (linux for example).
21057 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21058 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21060 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21062 * gdb.threads: New directory with some crude multi-threaded
21063 gdb tests (step.exp and step2.exp).
21064 * config/mt-lynx (STEP_EXECUTABLE): Define.
21065 (THREADFLAGS): Define.
21067 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21069 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21071 * gdb.base/signals.exp: Disable whole file for lynx until
21074 * gdb.base/signals.exp: xfail test where "next" acts like
21075 "continue" for lynx.
21077 * gdb.base/interrupt.exp: xfail test for calling function while
21078 inferior is asleep for lynx.
21080 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21081 than one cr-lf after each command.
21083 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21085 * configure.in: Reinstate setting of stabsdirs variable, fix
21086 typo in setting up configdirs for native builds.
21088 * gdb.base/return.exp: Fix typo in return double test.
21089 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21090 compiler from optimizing them away.
21092 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21094 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21095 sequences to be echo'd by gdb when using gdb_test.
21096 * gdb.chill/chexp.exp: Likewise.
21097 * gdb.fortran/exprs.exp: Likewise
21099 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21101 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21102 after the inferior gdb has started.
21104 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21105 after each command.
21106 * gdb.base/funcargs.exp: Likewise.
21107 * gdb.base/gdbvars.exp: Likewise.
21108 * gdb.base/interrupt.exp: Likewise.
21109 * gdb.base/list.exp: Likewise.
21110 * gdb.base/watchpoint.exp: Likewise.
21111 * gdb.c++/demangle.exp: Likewise.
21112 * gdb.c++/inherit.exp: Likewise.
21113 * gdb.chill/chexp.exp: Likewise.
21114 * gdb.fortran/exprs.exp: Likewise.
21116 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21117 test if we can't handle IO to/from the inferior.
21119 * gdb.c++/misc.exp: Always check for a program already being
21120 started after sending a "run" command to gdb.
21122 * gdb.base/twice.exp: Start with a fresh gdb.
21124 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21125 only depend on gdb's expression code, not the chill runtime.
21127 * gdb.base/return.c: Put return values into variables so we
21128 can have gdb print them rather than depending on the program
21130 * gdb.base/return.exp: Corresponding changes.
21132 * lib/gdb.exp: Provide default value for noinferiorio.
21133 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21136 * gdb.base/break.exp: Always check for a program already being
21137 started after sending a "run" command to gdb.
21138 (text_next_with_recursion): Don't check the output from the
21139 program's printf statement. Instead just make sure the program
21142 * gdb.base/commands.exp: Protect tests which need arguments with
21143 $noargs conditionals.
21145 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21147 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21148 of structure member arrays to match gdb/valops.c:value_addr change.
21150 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21152 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21155 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21157 * configure.in (configdirs): Remove gdb.chill from default list
21158 of subdirs and then add it back in only if doing a native build.
21159 The current chill compiler does not yet work in any cross build.
21160 * Revert all signal changes from Jul 6.
21161 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21162 for sh-hms targets, allowing these tests to link, with no other
21163 changes. Testing is suppressed by setting "nosignals" in site.exp.
21165 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21167 * configure.in (signaldirs): Define and add to configdirs for all
21168 targets except some specific ones that are known to not support signals.
21169 Also clean up formatting.
21170 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21171 (signals, sigall): Remove rules to build.
21172 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21173 Moved to new gdb.signals directory.
21174 * gdb.signals: New test directory.
21175 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21176 signals.c signals.exp}: New or moved files.
21178 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21180 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21182 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21184 * gdb.base/return.exp: Xfail `return double' test failure
21185 on at least Solaris 2.3 and handle future/past versions on
21186 a case by case basis as appropriate. Also update message
21187 to include i*86 failures.
21189 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21191 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21193 * lib/gdb.exp: Fix comment which erroneously identified
21194 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21195 gdb_file_cmd not gdb_load).
21196 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21198 * gdb.base/setvar.exp: Make test names consistent between pass and
21199 fail cases. Use gdb_test more.
21201 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21203 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21205 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21207 * gdb.base/help.exp: Fix expected help string for `show commands'.
21209 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21211 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21213 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21216 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21218 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21219 that loop eventually terminates. Fix Connection refused logic so
21220 that testsuite will expire nicely.
21222 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21224 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21225 config/rom68k.exp: New tcl glue for the appropriate monitors.
21226 These all just end up calling monitor.exp.
21227 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21228 refused' by retrying. Cleanup some timeout issues.
21229 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21230 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21231 callers don't have to set/restore global timeout variable.
21233 * The following set of changes centralizes management of the global
21234 timeout variable. This way, it can be set in one target dependent
21235 place instead of dozens of places scattered throughout the test suite.
21236 If you need to lengthen a timeout, then you should either set timeout
21237 in one of the config/{target}.exp files, or multiply it by a factor.
21238 Setting it to an absolute value is always going to lose for some
21240 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21241 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21242 * gdb.base/funcargs.exp: Don't set timeout.
21243 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21244 * gdb.base/printcmds.exp (test_print_string_constants
21245 test_print_array_constants): Don't set timeout.
21246 * gdb.base/ptype.exp: Don't set timeout.
21247 * gdb.base/recurse.exp: Don't set timeout.
21248 * gdb.base/return.exp: Don't set timeout.
21249 * gdb.base/watchpoint.exp: Don't set timeout.
21250 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21251 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21253 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21255 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21257 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21259 * lib/gdb.exp: Disable chill tests for irix5.
21261 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21263 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21264 each test pass or fail.
21266 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21268 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21271 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21273 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21275 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21277 * config/est.exp: Fix copyright and comments. Remove dead code.
21278 Use targetname, serialport and baud variables instead of fixed
21280 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21281 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21283 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21285 * gdb.base/watchpoint.exp: Don't run
21286 test_watchpoint_triggered_in_syscall for sunos.
21288 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21290 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21291 they don't seem to exist. Do include stdio.h.
21293 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21295 * gdb.base/a1-selftest.exp: Add alpha xfail.
21297 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21299 * gdb.base/watchpoint.c (main): Prompt before calling read().
21300 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21301 Revise accordingly. Remove cruft about sending "123" several
21302 times, until it gets noticed. Clean up the "print buf[0]" stuff
21303 so that it passes or fails, and waits for prompts in the usual way.
21305 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21307 * gdb.base/recurse.exp: Fix comment.
21309 * TODO: Remove item about printing variables in nodebug.exp. Add
21310 item about enabling tests which are only run on some targets.
21312 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21313 fail, make test names unique, use new gdb_test convention
21314 regarding pattern, use gdb_test more, etc.).
21316 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21317 fail, make test names unique, etc.).
21319 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21321 * gdb.base/nodebug.c: Change return type of top and middle to
21323 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21324 are fixed by the recent mdebugread.c changes. Allow `short ()'
21325 as type for top and middle.
21327 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21329 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21330 nearly as I can tell, the whole thing was an accident in Stu's
21331 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21332 to replace a send/expect pair with gdb_test, but ended up only
21333 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21334 of 30 Mar 1995 took care of it, but left this vestigial comment
21335 which I am now nuking.
21337 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21339 * gdb.base/break.exp: Look for different line number for
21340 breakpoint at main depending on usestubs.
21342 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21344 * gdb.base/list.exp: Adjust some alternate expect patterns to
21345 match recent list0.c change. Add alternate expect pattern for
21346 output from `list default lines around main' for optimizing
21349 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21351 * lib/gdb.exp: If nosignals is not set, set it to 0.
21353 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21355 * config/slite-gdb.exp: Responds to load symbol table prompt.
21356 * gdb.base/break.exp: Adjust line number, fix rerun.
21357 * gdb.base/langs0.c: Add #ifdef usestubs.
21359 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21361 * gdb.base/list.exp: Adjust line contents after adding new lines in
21362 list0.c. Also fix a syntax error.
21364 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21365 * gdb.base/break.exp: ditto.
21366 * gdb.base/list.exp: ditto.
21367 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21368 * gdb.base/run.c: ditto.
21369 * gdb.base/list0.c: ditto.
21370 * gdb.base/funcargs.c: ditto.
21372 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21374 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21375 $targetname, $serialport and $baud instead of hardwired variables.
21376 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21377 target doesn't support signals.
21379 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21381 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21383 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21385 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21386 Don't rely on the value of an auto variable before it has been
21387 initialized. Use gdb_test more.
21389 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21391 * lib/gdb.exp (default_gdb_version): A version number must start
21392 with a digit, but other than that contains all characters up to
21393 the first whitespace character.
21395 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21397 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21399 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21401 * gdb.c++/*.exp: Warn if executable does not exist. The original
21402 reason for skipping the warning was that configure.in sometimes
21403 intentionally skipped building the executables but the tcl code
21404 had no way of knowing. That (a) was always bogus with respect to
21405 error handling, (b) is no longer true (right now there is no way
21406 to skip C++ tests).
21408 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21410 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21412 * gdb.base/list.exp: Add expect patterns for output from
21413 SunPRO compiled executables.
21414 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21417 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21419 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21420 number (we are already testing that the correct source line text
21423 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21424 that is what is intended, but something needed to be done to get
21425 sunos4 native working again.
21427 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21429 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21430 apparently went with a (very) old xfail.
21432 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21434 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21435 runto_main is a proc in gdb.exp that will do 'step' for target use
21437 * gdb.base/exprs.exp: ditto.
21438 * gdb.base/interrupt.exp: ditto.
21439 * gdb.base/opaque.exp: ditto.
21440 * gdb.base/printcmds.exp: ditto.
21441 * gdb.base/ptype.exp: ditto.
21442 * gdb.base/scope.exp: ditto.
21443 * gdb.base/setvar.exp: ditto.
21444 * gdb.base/signals.exp: ditto.
21445 * gdb.base/twice.exp: ditto.
21446 * gdb.c++/classes.exp: ditto.
21447 * gdb.c++/inherit.exp: ditto.
21448 * gdb.c++/templates.exp: ditto.
21449 * gdb.base/break.exp: no run and hit main for stubs. Change line
21450 numbers for breakpoints and info breakpoint.
21451 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21453 * gdb.base/callfuncs.c: ditto.
21454 * gdb.base/exprs: ditto.
21455 * gdb.base/interrupt.c: ditto.
21456 * gdb.base/opaque0.c: ditto.
21457 * gdb.base/printcmds.c: ditto.
21458 * gdb.base/ptype.c: ditto.
21459 * gdb.base/scope0.c: ditto.
21460 * gdb.base/setvar.c: ditto.
21461 * gdb.base/signals.c: ditto.
21462 * gdb.base/twice.c: ditto.
21463 * gdb.c++/misc.cc: ditto.
21464 * gdb.c++/templates.cc: ditto.
21466 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21468 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21470 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21471 somewhere between `read' and `main.c'. I'm pretty sure the
21472 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21473 and it isn't particularly useful.
21475 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21477 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21479 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21481 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21483 * config/mt-slite: add LIBS and -nostdlib.
21484 * config/slite-gdb.exp: add this new file to support sparclite target.
21486 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21488 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21490 * gdb.base/a2-run.exp: Change argument to istarget from
21491 "*-*-vxworks" to "*-*-vxworks*".
21492 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21494 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21496 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21497 will not runto main but do a 'step' to step out of breakpoint().
21498 * config/mt-slite: add -Dusestubs.
21500 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21502 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21505 * gdb.base/signals.exp: Add test for "handle all print".
21506 * TODO: Remove "handle all print". Also remove item about
21507 checking copyright date (I don't like the idea of a spurious FAIL
21508 based on when we run the tests).
21510 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21511 for SunOS4 (reason for failure not investigated). Remove
21512 redundant test for $binfile.
21514 * gdb.base/nodebug.c (array_index): Call malloc.
21516 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21518 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21520 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21521 conventions and slightly simplify the matching regexp.
21523 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21525 * gdb.base/break.exp: Update gdb_test invocation to use new
21528 * lib/gdb.exp: If noargs is not set, set it to 0.
21530 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21533 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21535 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21537 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21538 one argument of type "<non-float parameter>".
21540 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21542 * config/rom68k.exp: New file to support Motorola IDP board.
21543 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21544 * gdb.base/break.c: Change things around so that this program
21545 doesn't depend upon args. This is necessary to make remote
21546 targets work (in general, they can't take args).
21547 * gdb.base/break.exp: Don't try to send args to program. Don't
21548 expect output. Also, replace lots of code with gdb_test.
21550 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21552 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21553 printing of '\'' (which is what the comment says we are testing,
21554 even though we were not), not '''.
21555 (test_integer_literals_rejected): Test that printing ''' is an error.
21557 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21558 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21559 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21560 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21561 Use gdb_test not test_print_accept.
21562 * lib/gdb.exp: Remove test_print_accept.
21564 * gdb.base/signals.exp (signal_tests_1): Make pass message
21565 consistent with fail message.
21567 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21568 unsigned char; the bug (PR 1821) is fixed.
21570 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21572 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21573 successful tests--makes xfailing them work right.
21575 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21577 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21578 only \r\n, not .*. The test can pass .* as the last thing in
21579 $pattern if that is what it wants. In addition to providing this
21580 flexibility, this change should speed up pattern matching in cases
21581 where the pattern already ended with .* (there were a number of
21582 them). This change also helps catch bad patterns--in the old
21583 scheme the typo "char \*" instead of "char \\*" would pass. Now
21585 * Many .exp files: Update callers.
21587 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21588 clearer and does not spuriously match multiple ('s. Likewise for
21591 * gdb.base/nodebug.exp: Test ability to call a function and pass
21592 it a string (even with no debugging info).
21594 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21595 "p '\'", which is the same as "p ''" once tcl gets done with
21596 quoting, to "p '\\'", which I suspect is what is intended (one
21597 backslash gets sent to GDB).
21599 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21601 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21603 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21604 1817) was fixed literally years ago.
21606 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21608 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21609 test, it causes stepping out of call_after_alloca_subr with
21610 optimizing compilers.
21611 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21614 * gdb.c++/templates.exp: Source templ-info.exp only if
21615 the templates executable exists.
21617 * gdb.c++/misc.cc (class Contains_static_instance,
21618 class Contains_nested_static_instance),
21619 gdb.c++/classes.exp (test_static_members): Test printing of
21620 a class that contains a static instance of the class.
21622 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21624 * gdb.base/langs2.c (cppsub_): Don't prototype.
21625 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21628 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21630 * lib/gdb.exp (skip_chill_tests): New procedure.
21632 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21634 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21636 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21637 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21639 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21641 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21643 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21644 disassemble 8, not 16, instructions for part 4.
21646 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21647 support the latter anymore.
21649 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21651 * gdb.base/callfuncs.c: Control use of prototypes based on
21652 NO_PROTOTYPES, not __STDC__.
21653 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21654 t_float_values2 tests if prototypes in use.
21656 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21657 t_double_values): When checking differences against DELTA, check
21658 that difference is within the range (-DELTA,DELTA), not just
21661 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21663 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21664 'file' command firts, then 'target', then 'load', this is due to gdb
21666 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21668 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21670 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21671 FP load/store variants.
21672 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21674 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21676 * gdb.base/term.exp: Do not give a warning if not native, it is
21677 not an abnormal condition.
21679 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21681 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21684 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21686 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21687 are getting the version number.
21689 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21690 if not native, it is not an abnormal condition.
21692 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21694 * lib/gdb.exp: Just use "file exists", rather than undocumented
21695 dejagnu procedure "findfile".
21697 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21699 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21700 (LDFLAGS): Set to -Xlinker -Ur.
21702 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21703 Removed, these values are set by lib/gdb.exp.
21705 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21707 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21709 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21710 of replicating gdb startup code.
21712 * config/mt-vxworks (LDFLAGS): Set to -r.
21713 (CFLAGS_FOR_TARGET): Removed.
21715 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21716 (gdb) and gdb for vxworks uses (vxgdb).
21718 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21719 executable is not in the tree and host != target, use sed and
21720 program_transform_name to determine the gdb name used by the
21723 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21724 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21726 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21728 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21729 floats, chars, and shorts where there are ANSI-style function
21732 * gdb.base/langs.exp, gdb.base/langs*: New test.
21733 * gdb.base/Makefile.in: Build it.
21734 * TODO: Remove item about checking that C names don't get C++
21735 demangling applied; this test tests it.
21737 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21739 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21740 went with the const70 xfail. The xfail went away a year ago.
21742 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21744 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21747 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21749 * gdb.base/a1-selftest.exp: Don't run on hp300.
21751 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21753 * Makefile.in (site.exp): Set host_alias and target_alias as well
21754 as host_triplet and target_triplet.
21756 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21758 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21760 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21761 places as other ecoff systems).
21763 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21766 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21768 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21770 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21771 variable and "variable" in addition to "data variable".
21772 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21774 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21776 * gdb.base/list1.c (long_line): Add additional statement at start
21778 * gdb.base/list.exp (test_forward_search): Update line number to
21779 reflect new statement.
21781 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21783 * gdb.base/signals.exp: Reinitialize searched source directories
21784 after gdb_start call.
21786 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21788 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21789 * gdb.stabs/Makefile.in: Likewise.
21791 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21792 change. Instead split the tests into smaller pieces.
21793 * gdb.disasm/hppa.s: Corresponding changes.
21795 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21797 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21798 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21800 * gdb.base/funcargs.exp: Modify many tests so that every test
21801 either passes or fails. Make some test names unique.
21803 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21805 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21806 Call stty to set interrupt character.
21808 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21809 for HP assembler versus GNU assembler based on actual behavior of
21810 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21812 * TODO: Suggest a few more stepping tests.
21814 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21816 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21817 restart GDB for h8300 after a continue.
21818 (return): Add pattern to match a29k-udi behavior.
21819 * gdb.base/nodebug.exp: Remove obsolete comment.
21820 * gdb.base/regs.exp: New file, testing of register displays.
21821 * gdb.base/return.exp: Fix typo in reference to $objdir.
21822 * gdb.base/whatis.exp: Always start with a fresh GDB.
21824 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21826 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21827 higher, these tests generate a lot of output.
21829 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21831 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21832 code following the catch silently ignored some errors; without the
21833 catch they should be thrown like any other tcl error. Also, the
21834 catch used "" instead of {} which meant all the callers who wanted
21835 to include one of the characters "[]$ had to quote it an extra time.
21836 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21837 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21838 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21839 Remove extra quoting.
21841 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21843 * gdb.base/commands.exp: Make test names unique; every test either
21844 passes or fails. Update some comments.
21846 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21848 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21850 The following fixes a FAIL caused by the fact that the alpha stabs
21851 configuration didn't use the ".if alpha" code in weird.def.
21852 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21853 bit pointer, so the 32 bit version works even on the alpha.
21854 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21855 Remove the stuff which allowed us to have separate versions for
21856 alpha and everything else.
21858 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21859 regexp which "info func operator\[\](" is supposed to match. Fix
21860 string to send to GDB. Note that GDB still doesn't work right. Add a
21861 new test for "info func .perator\[\](" which GDB does handle correctly.
21863 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21865 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21867 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21868 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21869 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21870 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21871 it makes the tests harder to understand and confuses test-o-matic.
21872 The preferred style is that each test provides a PASS or a FAIL,
21873 and has a unique message (e.g. "continue #54" not just "continue")
21874 which is the same for the pass and the fail.
21875 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21876 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21878 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21879 prt_accept which was basically the same thing. Likewise for
21880 test_print_reject and prt_reject.
21881 * lib/gdb.exp (test_print_reject): Add some more error message
21882 patterns to match from the former printcmds.exp (prt_reject).
21883 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21884 One defect of the passcount stuff is that some of it failed to
21885 report XPASS where appropriate.
21886 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21887 stuff before and after arg in expected pattern.
21888 (test_paddr_operator_functions): Re-do test without print_addr_of;
21889 this is the only test which seems to want extra stuff there.
21891 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21893 * gdb.base/nodebug.exp: Update new tests to reflect improved
21894 wording of gdb output.
21896 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21897 and "ptype" work on variables in files compiled without -g.
21898 Replaces commented out "maint print msymbol" tests.
21900 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21902 * gdb.base/setvar.c (dummy): Call malloc.
21904 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21905 losing with the irix4 sed.
21907 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21910 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21912 * TODO: Remove items about corefile.exp testing new exec-file and
21913 backtrace; both are now done. Add items about printing enums.
21915 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21917 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21918 "get signal $thissig" test fails.
21920 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21922 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21924 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21925 compiler warning with dec alpha compiler.
21927 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21928 extra \n from gdb_test call (this explains why the prompt test
21929 that I removed yesterday was there).
21930 (user_defined_command_test): Remove extra \n and prompt test.
21932 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21933 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21935 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21936 Also remove alpha workaround, which turns out to be because
21937 SIGABRT == SIGLOST.
21939 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21941 * gdb.base/help.exp: Don't test "help show".
21943 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21945 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21946 "set print address" is on.
21947 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21948 pass prompt to gdb_test; gdb_test already looks for the prompt.
21950 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21952 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21953 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21954 was to make sure that gdb can read a core file. But (a) the "read
21955 the corefile" part didn't make it to a1-selftest.exp, we just
21956 delete the corefile after creating it, and (b) we test reading
21957 corefiles in corefile.exp anyway. Also, this test left around a
21958 xgdb process on Solaris.
21960 * gdb.base/corefile.exp: Also test backtrace.
21962 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21964 * gdb.base/commands.exp: Test a simple user defined command with
21965 arguments and if/while statements; verify the full user command is
21966 printed by "show user".
21968 * gdb.base/commands.exp: Test if/while commands as part of a
21969 breakpoint command list; verify they appear in breakpoint
21972 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21974 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21975 than by dividing by zero.
21977 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21979 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21980 performing an inferior call with watchpoints enabled.
21981 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21984 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21986 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21989 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21990 Add additional pattern for when "int operator int(void);" appears
21991 in a different order.
21993 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21995 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21997 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21998 and "signal" with ".*".
22000 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22002 * TODO: Add note about "handle all nostop".
22004 * gdb.base/{sigall.c, sigall.exp}: New test.
22005 * gdb.base/Makefile.in: Add it.
22007 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22009 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22010 when invoking GDB, suppresses any windowing interface.
22012 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22014 * config/sim-gdb: New file, simulator testing support.
22016 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22018 * gdb.base/interrupt.exp: Test calling func1 twice.
22020 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22022 * gdb.base/list.exp (test_forward_search): Set timeout higher
22023 when we'll be getting lots of output from gdb.
22025 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22026 "init_malloc" to after the expect statement. Run it if that
22027 regexp is taken, but also for two others which happen if source
22030 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22032 * gdb.base/printcmds.exp: New test, for printing register before
22033 program is running.
22035 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22037 * gdb.base/list.exp: Correct some alternate expect patterns
22038 to reflect changes in list1.c.
22040 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22042 * TODO: Add item regarding large frames.
22044 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22046 * TODO: Remove item about enabling return.exp; it
22047 is enabled. Suggest a few more "return" tests.
22049 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22051 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22054 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22056 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22057 and pr-5646.o, so "make" is the same as "make all", not "make
22060 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22062 * gdb.base/list.exp: Adjust expectations to reflect changes in
22064 (test_forward_search): New test proc.
22065 * gdb.base/list1.c (long_line): New function, has long source line.
22067 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22069 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22070 additional line of code that was added.
22072 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22074 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22075 tests so as not to overflow expect's input buffers.
22076 * gdb.disasm/hppa.exp: Corresponding changes.
22078 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22080 Beginnings of template debugging tests.
22081 * gdb.c++/templ-info.cc: New file to test for template
22082 debugging capability of the compiler.
22083 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22085 * gdb.c++/templates.cc: Add explicit template instantiations
22086 to enable compiling with -fno-implicit-templates. Add destructor
22087 and 'value' method to T5 class for template tests.
22088 * gdb.c++/templates.exp: Add testcases for printing of template
22089 types, setting breakpoints on template methods and calling a
22092 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22094 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22095 branch target since some assemblers (gas-2.5) may emit a
22096 relocation for the branch instead of resolving it in the
22099 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22101 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22102 through signal handler.
22104 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22106 * configure.in (*-*-netware): Use config/mt-netware.
22108 * config/mt-netware: New file.
22109 * config/mt-i386-netware: Removed, separate configs for different
22110 netware architectures are no longer needed now that we have
22113 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22115 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22116 by the recent changes to use ANSI C arithmetic conversions.
22118 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22120 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22121 bug involving using inferior_pid to figure out whether to select a
22124 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22126 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22127 match the current disassembler output.
22129 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22131 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22132 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22133 types, expect "int" as type of integer values (for now).
22135 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22137 * gdb.base/commands.exp: New tests for if/while commands.
22139 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22141 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22142 by .*, since hex values have different syntax in Chill mode.
22144 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22146 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22147 linefeed from expect pattern for repeated types with indices > 9.
22149 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22151 First part of Fortran test suite.
22152 * gdb.fortran: New directory.
22153 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22155 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22157 * gdb.base/default.exp: Update expect pattern for load command
22160 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22162 * configure.in: Change i386 to i[345]86.
22163 * gdb.base/configure.in: Likewise.
22164 * gdb.c++/configure.in: Likewise.
22165 * gdb.chill/configure.in: Likewise.
22167 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22169 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22170 patterns, since that is not a valid context for comments.
22172 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22174 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22175 repeated types and repeated types with indices > 9.
22177 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22179 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22180 2417; old bug has been fixed.
22182 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22184 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22185 send the newline ourselves instead of assuming gdb_test will do
22186 so when passed an empty input string.
22188 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22191 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22193 * lib/gdb.exp (gdb_test): Don't send anything if the first
22194 argument is an empty string. This makes cases where we want to
22195 match output that is already in expect's buffers (for example,
22196 matching a breakpoint after gdb_run_cmd has been called) work
22199 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22201 * config/netware.exp: New file.
22203 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22205 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22206 the -B and -L prefixes so we can find the debugging stub.
22208 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22209 there and we are using the gcc from the tree.
22211 * gdb.base/types.c: Removed.
22213 * gdb.base/configure.in: Look for makefile fragments in ../config.
22214 Recognize i386-*-netware.
22215 * gdb.c++/configure.in: Likewise.
22217 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22219 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22220 the correct TCL syntax.
22222 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22224 * gdb.base/opaque.exp: use runto instead of messing around with
22225 breakpoints. Simplify by using gdb_test.
22227 * gdb.base/bitfields.exp: restart between tests on netware targets
22228 because breakpoints aren't relocated after target death. Run
22229 processes to completion.
22231 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22233 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22235 * Makefile.in: Remove extra tabs that confuse some versions
22236 of "make". Use the newly built gdb to test with by default,
22237 rather than the first one in the tester's search path.
22239 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22241 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22243 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22246 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22248 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22250 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22252 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22253 * gdb.base/funcargs.exp: Likewise.
22255 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22256 * gdb.base/funcargs.exp: Likewise.
22258 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22261 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22263 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22264 return,signals,twice}.exp: Handle non-existant binaries
22267 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22268 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22269 might testing a cross development system.
22271 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22273 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22274 runtest script is relative to ${srcdir}, not ${rootdir}.
22276 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22278 * gdb.base/signals.exp: Allow for optionality of breakpoint
22281 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22283 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22285 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22287 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22288 for size_t definition.
22289 * gdb.c++/templates.cc: Likewise
22291 * config/mt-i386-netware: New file.
22293 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22296 * gdb.base/Makefile.in: Added support for systems that name core
22297 files by appending "core" to the program name.
22298 * gdb.base/a1-selftest.exp: Likewise.
22300 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22302 * gdb.base/return.exp: Add comment and message for `return double'
22303 test failure on Sparc Solaris.
22305 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22307 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22309 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22311 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22312 from optimizing them away.
22313 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22314 patterns to include default constructors and assignment operators,
22315 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22316 character in the output of the virtual base pointer.
22318 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22320 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22321 expression match in print_addr_of to avoid unintented matches.
22322 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22323 versions up to 2.5.8.
22325 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22327 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22328 included file to run under newer versions of expect.
22329 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22330 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22331 Remove xfail for the virtual table of BDDHookV.
22333 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22335 * lib/gdb.exp (string_to_regexp): Set a default result.
22336 (default_gdb_start): Fix misleading message.
22338 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22340 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22341 Remove all CC, etc definitions.
22342 * config/mt-hpux: New file.
22343 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22344 (CFLAGS, LDFLAGS): Define.
22345 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22347 * Makefile.in (site.exp): Don't insert host_os, etc.
22348 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22349 (distclean): Check existence of subdir.
22350 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22351 * gdb.base/Makefile.in: General cleanup and simplification.
22352 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22353 to build executables. Use default rule to build .o files.
22354 (EXPECT, RUNTEST, CC): Fix relative pathname.
22355 (site.exp): Don't insert host_os, etc.
22356 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22357 and/or SIGUSR1 defined.
22358 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22359 * gdb.c++/Makefile.in: General cleanup and simplification.
22360 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22362 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22364 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22366 * gdb.base/recurse.exp: Misc changes to get tests running again
22367 after Kung's changes to the watchpoint code.
22368 * gdb.base/watchpoint.exp: Likewise.
22370 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22372 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22374 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22376 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22377 * lib/gdb.exp (default_gdb_start): Define.
22378 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22379 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22380 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22381 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22382 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22383 Don't call gdb_target_udi in between tests.
22385 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22387 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22388 (which was basically just a local version of the same thing). In
22389 addition to avoiding duplication, gdb_test_exact is faster.
22390 * lib/gdb.exp (gdb_test_exact): Fix typo.
22392 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22393 don't give an error.
22395 * gdb.base/term.exp: Call delete_breakpoints before starting.
22397 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22398 (t10): Add comment.
22400 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22402 Reorganization of the GDB Test Suite.
22404 * gdb.base: New directory, contains all the basic tests.
22405 * gdb.c++: New directory, tests specific to C++.
22406 * gdb.chill: New directory, tests specific to Chill.
22407 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22408 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22409 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22410 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22411 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22413 * */gdbme.*: Rename to match appropriate expect scripts.
22414 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22415 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22416 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22417 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22418 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22419 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22420 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22421 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22422 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22423 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22424 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22425 gdb.c++/virtfunc.cc: New names of C++ files.
22426 * gdb.chill/chillvars.ch: New name of Chill file.
22427 * gdb.base/configure.in, gdb.c++/configure.in,
22428 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22429 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22430 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22431 * configure.in (configdirs): Update to reflect directory changes.
22432 (target_abbrev): No longer define for any configuration.
22433 * Makefile.in: Cosmetic improvements to header comments.
22435 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22437 Various changes to gdb.t31:
22439 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22440 * gdbme.ch: Make all key-words and predefineds be upper-case.
22441 * chillvars.exp: Expect key-words and predefinds in upper-case.
22443 * chillvars.exp: Use gdb_test_exact many places.
22444 Change expected output for arrays (which now includes index labels).
22446 * pr-5020.exp, gdme.ch (module PR_5020):
22447 New test, for PR-5020.
22449 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22451 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22452 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22454 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22456 * Makefile.in: Fix bit-rot in definitions of CHILL,
22457 CHILL_FOR_TARGET and Chill_LIB.
22458 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22459 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22460 CHILL, and CHILL_LIB.
22462 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22464 * Revert the previous changes. Please see Rob's directory
22465 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22467 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22469 * Makefile.in, configure.in, config/mips-gdb.exp,
22470 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22471 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22472 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22473 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22474 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22475 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22476 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22477 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22478 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22479 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22480 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22481 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22482 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22483 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22484 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22487 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22489 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22490 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22491 Rob's new testing fragments.
22493 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22495 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22496 lib/gdb.exp: Replace error proc calls with perror.
22498 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22500 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22501 version also, match on casted version strings, and match on
22502 gdb startup case where the line numbers might be messed up.
22504 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22506 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22507 (CFLAGS): Delete it from here.
22509 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22511 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22513 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22515 * Makefile.in (RUNTEST): Default to just "runtest".
22517 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22519 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22520 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22521 the code has been restructured.
22523 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22525 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22526 \n, not just one of each.
22528 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22529 /bin/cc gives a warning if you do.
22531 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22533 * gdb.t24/demangle.exp: change expect pattern of
22534 __t10ListS_link1ZUiRCUiPT0
22536 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22538 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22539 on local variables in recursive functions.
22541 * gdb.t07/Makefile.in: Build the new test.
22543 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22545 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22546 directly. Instead compare the return values from actual calls.
22548 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22550 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22552 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22554 * From Peter Schauer with minor modifications.
22555 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22556 stops in mid-line in the caller. Add xfail for returning a float
22557 value on X86 targets.
22559 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22561 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22562 to avoid expect lossage.
22563 (fmem_LRbug_tests): Likewise.
22564 * gdb.disasm/hppa.s: Corresponding changes.
22566 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22567 conditions to work with latest dejagnu/expect.
22569 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22570 expected to fail on the PA.
22571 (backtrace in call with trampolines): Explicitly require main
22572 to be frame #1 (no trampolines should show up in backtrace).
22574 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22575 "continue -expect".
22576 * gdb.t06/break.exp: Likewise.
22577 * gdb.t07/watchpoint.exp: Likewise.
22578 * gdb.t13/bitfields.exp: Likewise.
22579 * gdb.t15/{funcargs,return}.exp: Likewise.
22580 * gdb.stabs/weird.exp: Likewise.
22581 * config/{mips,udi}-gdb.exp: Likewise.
22583 * hppa.sed: Enclose comments within a sed command to avoid
22584 losing with the old OSF1 sed.
22586 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22588 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22590 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22591 * gdb.t15/funcargs.exp: Conditionally step again to really
22592 finish from marker_call_with_trampolines. Handle the case where
22593 the first step from within call_with_trampolines already steps
22595 * gdb.t15/gdbme.c: Add comment to closing brace of
22596 call_with_trampolines for funcargs.exp.
22598 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22600 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22603 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22605 * gdb.t07/gdbme.c: More code for watchpoint testing.
22607 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22608 "Hardware watchpoint" throughout file.
22609 (test_watchpoint_triggered_in_syscall): New test.
22610 (test_complex_watchpoint): New test.
22612 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22614 * gdbme.c (call_with_trampolines): New function to try and step
22615 into. Tests trampoline problems on the PA.
22617 * funcargs.exp (localvars_in_indirect_call): No longer expect
22618 stepping into indirect call to fail on PAs.
22619 (test_stepping_over_trampolines): New test.
22621 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22623 * TODO: Add suggestions for static member function tests, and
22626 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22628 * TODO: Add suggestions for "p/a" tests.
22630 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22631 (default_gdb_exit): Replace all the hair with sending "quit" to
22632 the process with a simple close.
22634 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22636 * TODO: Add suggestions for shared library tests.
22638 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22640 * TODO: Add suggestions for x/s tests.
22642 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22644 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22645 "enable once", and "enable breakpoints once" with ".*".
22647 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22649 * TODO: Add suggestions about structure passing tests.
22651 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22653 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22654 the primary1 test, use work around if __GNUC__ < 2.
22655 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22656 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22657 Test for bad output rather than waiting for timeout. Issue
22658 second continue only if first continue failed.
22660 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22662 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22663 operator[] test with gdb_test because the old code didn't seem to
22664 be getting the quoting right with the new dejagnu.
22666 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22668 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22670 * Makefile.in: Use a fresh expect if there is one, use runtest
22671 from the src tree if there is one.
22673 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22675 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22676 next over recursive call. Revise the tests from that point on
22677 (which had been skipped) to match GDB's actual (correct) output.
22679 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22680 with next over a breakpoint whose condition is false.
22682 * gdb.t00/help.exp: Comment out "help set print" tests just like
22683 (and for same reason as) "help set" test.
22685 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22687 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22688 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22690 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22692 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22693 necessary gdb_target_udi.
22695 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22697 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22698 1838 and 2417; they are fixed.
22700 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22701 gdb.t03/ptype.exp (ptype structure, ptype union):
22702 Remove xfails; the test is looser than when the xfails were added.
22704 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22705 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22707 * gdb.t01/run.exp: Only run shell test if isnative.
22709 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22710 since "run" automatically loads if necessary. Call gdb_target_udi
22711 after the "file" since "file" kills any execution target.
22713 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22714 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22715 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22718 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22720 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22722 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22724 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22726 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22727 properly quoting regexps. This makes the second argument to
22728 demangle a fixed string, which matches the callers, instead of a
22729 shell-style pattern which is what the previous implementation
22730 used. Update some of the callers.
22732 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22734 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22735 (comib_nullified_tests): Fix typo.
22736 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22737 strings. No longer expected to fail.
22739 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22740 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22741 strings. No longer expected to fail.
22743 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22744 string. No longer expected to fail.
22746 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22748 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22749 No longer expected to fail.
22751 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22752 string. No longer expected to fail.
22754 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22756 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22757 only in the names (I probably got most of them). I was even
22758 generous with some which differed in underscores in names, and
22759 probably missed a few, and I *still* was able to remove almost a
22760 third of the file with almost no impact on testsuite coverage.
22762 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22764 * gdb.t00/default.exp: Match udi_attach error message as well as
22765 the one from child_attach.
22767 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22769 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22771 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22772 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22774 * Move test with enums and partial symbols back to
22775 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22776 Reverts the change of 26 May 93. Per today's change to
22777 stabs.texinfo, the behavior that weird.exp was expecting was
22778 unreasonable; what is important is that the compiler+gdb get
22779 things right, which happens with a recent gcc. Also fix the test
22780 to deal with native compilers which put out the stab gdb can't
22783 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22785 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22786 in the names. The main thing these accomplish is to slow things down.
22787 Many more such duplicates surely remain.
22789 * gdb.t00/help.exp: Comment out "help support" test just like
22790 (and for same reason as) "help set" test.
22792 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22794 * gdb.t06/break.exp: Remove setup_xfails for
22795 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22796 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22797 about known bug in gcc to include up through 2.5.8.
22798 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22800 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22801 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22802 with latest gcc and gdb.
22803 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22806 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22808 * configure.in (hppa*-*-*): Also configure and build stabs-only
22811 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22813 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22814 * gdb.t10/configure.in (hppa*-*-*): Use it.
22816 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22818 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22820 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22822 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22823 versions prior to 1.13.5.
22825 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22827 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22828 the prompt is at the start of a line.
22830 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22832 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22833 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22834 in the copr tests now.
22835 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22836 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22839 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22841 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22842 gdb.t31/chillvars.exp, lib/gdb.exp:
22843 Tweak to run under either version of expect.
22844 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22845 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22846 * gdb.t11/list.exp: Remove extraneous whitespace.
22848 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22850 * gdb.t16/printcmds.exp (test_print_strings): Accept
22851 "(unsigned char *) " before the string.
22853 * TODO: Add notes about printing of fancy types and GDB expressions.
22855 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22857 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22858 * gdb.t06/configure.in: Don't try to compile signals test program
22859 if doing mips-idt-ecoff.
22861 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22863 * Most .exp files: Tweak to run under either version of expect.
22865 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22867 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22868 xfails; I'm not sure why they are failing, but not because of PR 1806.
22870 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22872 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22873 defined in lib/gdb.exp.
22875 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22877 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22878 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22879 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22880 have to be typeless.
22882 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22884 * TODO: Add suggestion for copyright year test.
22886 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22888 * configure.in (*-*-lynxos*): Add stabs tests.
22890 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22892 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22893 so insert a tab before any assembler directive in column zero.
22895 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22897 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22899 (fpu_short_memory_tests): Likewise.
22901 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22903 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22904 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22905 .stabs directives in comments.
22907 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22909 * TODO: New file, describing tests we could write.
22910 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22912 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22914 * gdb.t06/signals.exp: Add kludge to force re-sync.
22916 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22917 to xgdb instead of gdb, get out of gdb.
22919 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22921 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22924 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22926 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22927 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22928 * gdb.stabs/hppa.sed: New sed script for the PA.
22930 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22932 * gdb.stabs: Re-write weird.def and configuration to use sed
22933 instead of cpp. sed is portable and POSIX; cpp is neither.
22935 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22937 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22939 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22941 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22943 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22945 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22947 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22948 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22950 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22952 * lib/gdb.exp: Comment out code which depends on non-existent
22953 `transform' procedure.
22955 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22957 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22958 * lib/gdb.exp: Transform tool name.
22959 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22960 1.1's new error handling system.
22962 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22964 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22966 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22968 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22969 They made pattern matching so slow that timeouts happened on
22970 heavily loaded systems. Now any output from "show print" which
22971 gets us back to the GDB prompt is a PASS.
22973 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22975 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22977 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22979 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22981 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22982 It is not from PR 3220.
22984 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22986 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22987 just started failing because they depended on the order the
22988 subcommands are presented, or exact docstring text. This kind of
22989 test is a pain and has minimal benefit.
22991 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22993 * gdb.t09/corefile.exp: At end of test, use "core" command with
22996 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22998 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22999 17}/Makefile.in: Make it possible to run the testsuite with Sun
23000 make and CC = cross gcc by adding explicit build rules for .o
23003 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23005 * gdb.t15/funcargs.exp: Don't put comments on same line as
23006 setup_xfail (@#$*%& tcl braindamage!).
23008 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23010 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23012 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23014 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23015 * gdb.t20/inherit.exp: remove three dumplicate entries.
23017 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23019 * gdb.t06/break.exp: For "next over recursive call", fail on any
23020 incorrect output, not just on "factorial (value=2)".
23022 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23024 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23025 working now. Add an xfail if accesing a bss variable causes
23026 a memory error if the target is not yet run.
23028 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23030 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23031 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23032 name of __st* demangling (2 strings). Did Kung really get the
23033 more than 95 others right without testing them?
23035 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23037 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23039 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23041 * configure.in (configdirs): Add gdb.disasm
23042 * gdb.disasm: New directory for GDB disassembler tests.
23043 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23045 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23047 * gdb.t00/help.exp: Don't test "help set".
23049 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23050 from within expect statements. None of these happen anymore and
23051 they cause regressions to be silently unnoticed.
23053 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23054 messages) about known failures with gcc cygnus-2.4.5-930417.
23056 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23057 comp-info.exp so it gets built if it doesn't exist.
23059 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23060 it is no longer used.
23061 * gdb.t13/comp-info.c: Removed.
23063 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23065 * gdb.t06/signals.exp: Add xfail for sun3.
23067 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23069 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23070 relevant because ^C doesn't get sent but failure can be reproduced
23073 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23075 * gdb.stabs/alpha.mt: New configuration file for alpha.
23076 * gdb.stabs/configure.in: Use it.
23077 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23078 sharing with alpha.mt, redefine long to word via preprocessor.
23079 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23081 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23083 * gdb.t00/teststrategy.exp: Change expect string so that we
23084 consume the `(xgdb)' from the command echo and from the gdb prompt.
23085 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23086 gdb currently compares all values as long, so this failure probably
23087 applies to any configuration where LONGEST is bigger than a target int.
23088 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23090 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23091 to handle opaque pointers, gcc is.
23092 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23093 as first argument. Include <sys/types.h> and change all operator
23094 new definitions to use size_t.
23095 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23096 now that we use size_t.
23098 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23100 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23101 a long or float array cast all array members to the same type.
23102 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23104 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23106 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23108 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23110 * gdb.t24 (demangle.exp): Constructors of templates have names like
23111 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23112 section 14.6 of the ARM.
23114 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23115 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23116 accomplish little and slow down the testsuite.
23118 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23119 Accept spaces various places.
23121 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23123 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23124 with watchpoint enabled.
23126 * Makefile.in: Remove definition of CC and remove the second
23127 definition of CXX (the "CXX = gcc" one remains). These definitions
23128 were causing backquotes to be expanded within backquotes, which
23131 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23133 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23135 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23137 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23138 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23139 by mips cc and contains no stabs entries.
23141 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23143 * config/vx-gdb.exp: Use fake device to load files rather than
23145 * lib/gdb.exp: New proc to do "file" command.
23146 * config/unix-gdb.exp: Use new "file" proc.
23148 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23150 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23151 Rework board rebooting slightly.
23152 (gdb_exit): Don't exit from the remote shell; there isn't one.
23153 * gdb.stabs/weird.exp: If a program is being debugged already,
23155 * gdb.t04/setvar.exp: Stop and restart gdb.
23156 * gdb.t05/expr.exp: Likewise.
23157 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23158 restart gdb and reload the program.
23159 * gdb.t08/opaque.exp: Likewise.
23160 * gdb.t12/scope.exp: Likewise.
23161 * gdb.t13/bitfields.exp: Likewise.
23162 * gdb.t15/funcargs.exp: Likewise.
23163 * gdb.t20/classes.exp: Likewise.
23164 * gdb.t03/ptype.exp: Increase timeout.
23165 * gdb.t16/printcmds.exp (test_print_string_constants,
23166 test_print_array_constants): Likewise.
23167 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23168 * gdb.t20/classes.exp (do_tests): Likewise.
23169 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23171 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23173 * gdb.stabs: Renamed *wierd* to *weird*.
23175 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23177 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23178 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23180 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23182 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23183 (do_tests): Remove xfail for whatis on one_var and two_var.
23185 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23187 * Makefile.in: Made cross building work better by adding
23188 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23190 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23192 * gdb.t15/{return.c,return.exp,Makefile.in}:
23193 New test, currently commented out.
23195 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23197 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23198 still running and removes the leftover named socket so GDb can do
23201 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23203 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23205 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23206 cross testing works better with "make check"
23207 * config/unix-gdb: Use default procedures for exit and version.
23208 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23209 with the newest VxWorks.
23211 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23213 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23216 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23217 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23219 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23221 * config/unix-gdb.exp: Remove this version of gdb_exit
23222 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23223 Rob says he'll look at it when he gets back to testing boards.
23225 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23227 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23228 an expected fail for certain ptype commands.
23230 * gdb.t20/classes.exp: Update expected results of "ptype class
23231 Base1" to account for the constructor that now appears in the type.
23233 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23235 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23236 disappeared from list.
23237 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23238 "alldone" proc with call to cleanup and exit.
23239 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23240 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23241 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23242 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23243 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23244 "alldone" proc with simple returns that suppress remaining
23245 tests. The alldone proc went away many months ago.
23247 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23249 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23251 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23253 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23255 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23256 as vax gdb will display them.
23258 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23260 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23263 * scope.exp: Change "bad value for localval" messages so each one
23266 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23267 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23269 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23271 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23273 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23274 doesn't exist (due to optimization).
23276 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23278 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23279 contains \r because the filename is long.
23281 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23282 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23284 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23286 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23287 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23289 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23291 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23293 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23295 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23297 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23298 to match does not match the passing case but still matches the
23301 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23303 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23305 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23307 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23308 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23309 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23310 Remove various versions of gdb_exit.
23311 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23313 * config/unix-gdb.exp: gdb_exit remains here, and should override
23314 the generic version, since it's doing a lot of wierd stuff that
23315 the other versions aren't. FIXME, fold it in, or abandon this
23318 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23320 * gdb.t24/demangle.exp: Add tests for PR 3220.
23322 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23324 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23326 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23328 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23329 "i386-*-*". Works for i486 as well.
23331 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23332 bug, and expand domain of xfail to all SVR4 systems, since the
23333 actual problem is likely to be in generic SVR4 /proc support.
23335 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23337 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23339 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23341 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23342 xfails for other systems. Match a missing 'Continuing.' as an
23343 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23345 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23346 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23347 Only issue warning for missing executables if -all option is used.
23349 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23350 file if -all option is used. It's like an unpredictable XFAIL.
23352 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23354 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23355 for dynamically linked binaries.
23357 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23359 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23361 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23362 to state that this is a known bug in old versions of g++.
23364 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23366 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23367 while waiting for `Continuing'.
23369 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23371 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23372 in text, data, and bss.
23373 * gdb.t10/nodebug.c: Add local and global test variables for
23374 initialized and uninitialized data.
23376 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23378 * config/unix-gdb.exp (gdb_exit): Add "wait".
23380 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23382 * gdb.t06/signals.exp: xfail the continue from the handler for all
23385 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23386 function with watchpoints enabled, the i386 call dummy starts with
23389 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23390 386 bsd names its corefiles.
23392 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23394 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23395 compilers don't grok it.
23396 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23397 with small octal ints rather than character constants, which
23398 are signed and might not fit if first promoted to int.
23400 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23402 * gdb.t09/Makefile.in (clean): Remove corefile.
23404 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23406 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23408 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23409 and Jim Kingdon (kingdon@cygnus.com)
23411 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23412 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23413 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23415 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23417 * gdb.t17/interrupt.exp: Add xfail for hppa.
23419 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23421 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23422 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23423 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23424 to determine signed-ness of bitfields and use the result to setup
23426 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23427 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23428 call line is reached if necessary.
23430 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23432 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23434 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23436 * gdb.t06/break.exp: Also test `clear' command.
23438 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23440 * gdb.t00/teststrategy.exp: Remove extra quote.
23442 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23443 watchpoint enabled to be for all non-68k machines.
23445 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23447 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23449 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23450 targets use aout.mt instead of ecoff.mt as gas understands
23451 standard aout format.
23453 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23455 * lib/gdb.exp (runto): Don't insist that function we are running to
23456 was compiled with -g.
23458 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23460 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23461 to get back into the read system call.
23462 Accept leading newline in case where we woke it up.
23464 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23466 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23467 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23468 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23469 enable ecoff configuration.
23471 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23473 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23475 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23477 * gdb.t16/printcmds.exp: Add another printf test.
23479 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23481 * configure.in: If configured -with-stabs on any target, add
23482 stabsdirs to configdirs.
23484 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23486 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23487 fun" so pattern does not match the command itself.
23489 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23491 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23493 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23495 * gdb.t17/interrupt.exp: Test for more things.
23497 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23499 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23500 compiler arranges the code and line numbers.
23502 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23504 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23506 * gdb.t00/help.exp: Increase expect input buffer size.
23508 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23510 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23512 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23514 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23516 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23517 [0-9]*, not just [0-9].
23519 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23521 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23523 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23525 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23527 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23529 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23531 * gdb.t06/signals.c: Add xfails for sun3.
23533 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23535 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23536 test_stepping tests.
23538 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23540 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23542 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23544 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23545 rather than actually putting it through cpp twice.
23547 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23549 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23551 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23554 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23556 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23558 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23559 C++ features prints as "struct", make it a pass, not an xfail.
23561 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23563 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23564 Don't require VA to print as "class" rather than "struct".
23566 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23568 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23570 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23572 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23574 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23576 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23579 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23581 * gdb.t16/printcmds.exp: Add printf tests.
23583 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23585 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23587 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23589 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23590 pass counts, to counteract any existing or future setup_xfails.
23592 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23594 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23595 {BEGIN,END}_COMMON for common block instead of STAB.
23596 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23598 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23599 intp_var should be N_GSYM not N_LSYM.
23600 wierd-aout.S: Use a label for the value of the N_SO.
23601 wierd.def: Remove all backslashes.
23602 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23604 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23606 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23607 get the expected next to inheritance3.
23609 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23611 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23612 now that gcc-2.4 gets it right.
23614 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23616 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23618 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23619 generating comp-info.exp which works for cross-compilation.
23621 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23623 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23626 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23628 * gdb.t01/run.exp: Start with a fresh gdb.
23629 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23632 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23634 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23635 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23636 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23637 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23640 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23642 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23643 test cases from bug reports.
23645 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23647 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23648 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23649 avoid spurious xfails.
23650 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23651 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23652 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23654 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23656 * gdb.t00/teststrategy.exp: Rework to provide more useful
23657 description of each test, fix problem with systems that define
23658 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23659 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23660 results for "next over recursive call" so timeouts aren't taken
23663 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23665 * gdb.t12/scope.exp: Test printing of variables before run.
23667 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23668 printed in wrong order due to sorting.
23670 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23672 * gdb.t00/teststrategy.exp: Fix expected results for printing
23673 user entered string constant. Is array of char, prints with no
23676 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23678 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23679 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23680 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23681 of struct of char arrays.
23682 * gdb.t00/radix.exp: New tests for radix commands.
23684 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23686 * gdb.t16/printcmd.exp: Print a variable before running program
23687 (with xfail for AIX).
23689 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23691 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23693 * gdb.t16/printcmd.exp: Don't print variables before running program.
23695 * gdb.t06/break.exp: Don't require envp argument to main.
23697 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23699 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23700 Add xfails for rs6000.
23702 * gdb.t02/whatis.exp: Change other tests not to re-test something
23705 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23706 each type used has a variable of that type.
23708 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23710 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23712 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23714 * configure.in: change srctrigger to be a file, not a directory
23716 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23718 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23720 * gdb.t11/list.exp: Fixed a couple of typos.
23722 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23724 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23725 is fixed and PR is closed.
23726 * gdb.t16 (gdbme.c): Add simple test string variable.
23727 * gdb.t16 (printcmds.exp): Add tests with simple test string
23728 variable, primarily for boundaries on "set print elements".
23730 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23732 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23733 Make leading 0's optional and don't expect a tab in the middle
23736 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23738 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23739 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23740 don't end command passed to gdb_test with newline.
23742 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23743 signed keyword away, don't expect signed bitfields to be signed.
23745 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23746 printing with only as many 1's as are in the field as well as printing
23747 with 32 1's (see comment).
23749 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23751 * gdb.t00/default.exp: Start with a fresh gdb.
23752 * configure.in (configdirs): Remove gdb.t31 until the chill
23753 compiler works again. It no longer is able to find chillrt0
23754 since it isn't in libchill.a anymore.
23755 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23756 wierd.o, make more modular.
23757 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23758 spurious newlines that caused problems.
23760 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23762 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23763 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23764 gdb.stabs/wierd.{exp,def}: Many new tests.
23766 * gdb.t00/default.exp: update info line for new message.
23768 * gdb.t02/{whatis.exp,gdbme.c}:
23769 Test that "char *" doesn't print as "caddr_t".
23771 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23773 * gdb.t00/help.exp: Use .* in place of some help messages which
23775 gdb.t00/default.exp: Update "info frame" test for new message.
23776 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23779 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23781 * gdb.t03/{gdbme.c,ptype.exp}:
23782 Add tests for typedef'd struct and union without tags.
23783 Also check "whatis" on a variable of a typedef'd enum without a tag.
23785 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23786 PRMS 1823; the bug still exists but isn't reproduced by this test
23787 anymore), and remove rs6000 XFAIL (the bug is fixed).
23789 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23790 duplicated from whatis.exp. For those that are left, accept
23791 "long", "long int", or "int" for long variables (whatis.exp already
23792 has an XFAIL for "int", so no need to fail it here).
23794 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23795 Deal with GCC's names for types now that GDB uses the compiler's names.
23797 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23798 setup_xfail's for sunos4. If we #defined the signed keyword away,
23799 don't expect GDB to know that char it is signed.
23801 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23803 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23805 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23806 should work on any system, regardless of debugging format.
23807 * gdb.t21/demangle.exp: Move to gdb.t24.
23808 * gdb.t24/demangle.exp: Move from gdb.t21.
23809 * gdb.t24/{Makefile.in, configure.in}: New files.
23811 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23813 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23814 * gdb.stabs: New directory.
23816 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23818 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23819 not just "Quit anyway?".
23821 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23823 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23824 that all setup_xfails are immediately followed by clear_xfails.
23826 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23828 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23829 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23830 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23831 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23832 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23833 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23834 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23835 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23836 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23837 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23838 gdb.t31/chillvars.exp, lib/gdb.exp:
23839 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23840 bug-gdb@prep.ai.mit.edu.
23842 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23844 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23845 with 0.0, not integer 0.
23847 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23849 * gdb.t06/break.exp: Update for "Kill the program" message change.
23851 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23853 * Makefile.in (GDBFLAGS): Set to -nx.
23854 * Makefile.in (site.exp): Use GDBFLAGS.
23856 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23858 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23860 (check): depend on just-check.
23861 (just-check): added so that tests can be run without a noop
23864 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23866 Switch to using configure's configdirs.
23867 * Makefile.in (Makefile): add configure.in dependency.
23868 (SUBDIRS): removed redundant assignment.
23869 * configure.in: switch subdirs assignment to configdirs.
23870 * gdb.t*/configure.in: new files.
23872 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23874 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23877 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23879 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23880 in explicit rules. Apparently this is not supported by some makes.
23882 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23884 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23886 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23888 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23891 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23893 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23895 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23897 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23898 watchpoint problem that is now fixed.
23899 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23900 uninitialized convenience variables.
23901 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23904 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23906 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23907 which causes expect to get out of sync with gdb on long output
23909 * gdb.t09/corefile.exp: Make expected pattern for core file
23910 failing signal and frame output format less sun specific.
23912 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23914 * gdb.t31/chillvars.exp: Add and remove initial dummy
23915 breakpoint, so that symbol table is forced in.
23916 (Needed at least on Sunos4, though it seems not SVR4.)
23917 * gdb.t31/chillvars.exp: Update for changed output format.
23919 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23921 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23923 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23925 * Makefile.in: Added --srcdir when invoking runtest, removed the
23926 need for a local config file. (optional now)
23928 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23930 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23931 failure count used to force early termination. Add some more
23932 expected failures for gnu style demangling.
23934 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23936 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23937 pmi variable from gdb.t20/gdbme to get optimized away.
23938 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23939 Check for written corefile upon timeout _and_ eof.
23941 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23943 * config/unix-gdb.exp: Add missing return 0.
23945 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23947 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23950 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23952 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23955 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23957 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23958 time as i860 support works.
23960 * gdb.t15/funcargs.exp: Fix expected outputs to include
23961 "backtrace 100\r" rather than just "backtrace\r", to match last
23964 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23966 * config/udi-gdb.exp (gdb_exit): Remove close command.
23967 (gdb_target_udi): New procedure to set the UDI target.
23968 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23969 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23970 Added waits for prompts after several question responses. Added
23971 some more responses used by a29k-amd-udi-gdb.
23972 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23973 pass different arguments, restart UDI connection after program
23975 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23976 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23977 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23978 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23979 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23980 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23981 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23982 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23983 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23984 after program completion.
23985 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23986 compiled with a SELECT_VECS setting.
23987 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23988 infinite recursion.
23990 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23991 Added checks for COFF results, and made them expected failures for
23992 all targets. It would be better to make them expected failures
23993 for COFF targets only.
23995 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23997 * Makefile.in: add null dvi target, don't bother to recurse
23998 through test directories for info and install-info; rename
23999 $(datadir) to be dejagnu instead of deja-gnu
24001 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24003 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24004 compiler to coredump.
24005 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24008 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24010 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24012 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24015 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24017 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24018 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24019 which in a shell. Deletes xgdb when done.
24020 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24021 Tests the return from the "set height" or "set width" commands.
24022 Added a few return codes where needed.
24024 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24026 * Makefile.in (SUBDIRS): Add gdb.t17.
24027 * configure.in (subdirs): Add gdb.t17.
24028 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24029 files to test gdb's calling of functions in the inferior with
24030 the correct arguments and gdb's ability to retrieve any
24033 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24035 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24036 may be called after gdb goes away. Previous versions of expect
24037 needed these to avoid file descriptor leaks, but they cause
24038 errors with the current revision of expect.
24039 * gdb.t00/gdbvars.exp: Use -re on expected output after
24040 setting sevenbit-strings.
24041 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24042 to set sevenbit-strings consistent across tests.
24043 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24044 set sevenbit-strings consistent across tests.
24046 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24048 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24049 expected output to match current "expect" expectations.
24051 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24053 * gdb.t00/default.exp: Change expected output for default "source"
24054 command, to match new gdb behavior which requires a filename to
24057 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24059 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24060 expected fail for i486-*-* that misses the marker2 function.
24061 * gdb.t10/crossload.exp (bfddefault): Allow successful
24062 recognition of a format to pass even if no symbols are found.
24063 Explicitly catch failures where the format is not recognized
24064 or is ambiguous, and add the reason to the fail message.
24065 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24066 the cause is and invalid target and add reason to failure message.
24067 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24068 elf32-i386, elf32-sparc, and elf32-i860.
24069 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24070 Set up expected failure for 'filename'::variable scope resolution,
24071 which is now apparently broken on all targets.
24072 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24073 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24074 gdb.t23/templates.exp: Change failure for missing binfile into
24076 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24079 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24081 * gdb.t00/default.exp: Add expected output for default "source"
24082 command, to match new gdb behavior.
24083 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24085 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24087 * config/*-gdb.exp: returns an error, rather than exiting on
24090 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24092 * gdb.t03/gdbme.c: Add pointer to struct variable.
24093 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24094 referencing struct members.
24096 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24098 * configure.in (mips-idt-ecoff): New target.
24099 * config/mips-gdb.exp: New file for remote board using MIPS remote
24100 debugging protocol.
24102 * Redid configuration scheme. Removed gdb.t*/configure.in.
24103 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24104 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24105 distclean targets. Built executables via .o files. Adjusted
24106 tests to account for source files in $(srcdir) rather than
24108 * lib/gdb.exp (runto): Don't expect () after the function name,
24109 because it may have arguments.
24111 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24113 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24114 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24115 expected failures for mips-idt-* and mips-sgi-*.
24116 * gdb.t00/default.exp (attach): Kill process if requested.
24117 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24118 that does not read core files.
24119 * gdb.t01/run.exp: Removed checks for exit status code.
24120 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24122 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24123 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24124 appropriate, rather than doing it by hand.
24125 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24127 * gdb.t10/crossload.exp: Kill existing program if needed.
24128 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24129 appropriate, rather than doing it by hand. Always increase
24130 timeout for this test, not just for VxWorks.
24132 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24134 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24135 of Chill STRUCT types and STRUCT values.
24136 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24138 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24139 struct2): New struct definitions and initializations to test
24140 simple Chill STRUCT types.
24142 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24144 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24145 the null byte at the end of strings.
24146 * gdb.t00/default.exp: Make show version insensitive to copyright
24148 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24149 to avoid dependencies on target char signedness.
24150 * gdb.t16/printcmds.exp: Update expected results for explicitly
24152 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24154 * gdb.t21/demangle.exp: Add many more patterns for template
24155 demangling, most of them being expected failures.
24156 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24157 string we are matching for, to match on the whole string.
24158 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24159 and fix a whole bunch that had incorrect expected output but were
24160 passing anyway because of the bug in "proc demangle".
24161 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24163 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24165 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24167 * gdb/testsuite: made modifications to testcases, etc., to allow
24168 them to work properly given the reorganization of deja-gnu and the
24169 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24171 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24173 * gdb/testsuite: Initial creation of gdb/testsuite.
24174 Migrated dejagnu testcases and support files for testing nm to
24175 gdb/testsuite from deja-gnu. These files were moved "as is"
24176 with no modifications. This migration is part of a major overhaul
24177 of dejagnu. The modifications to these testcases, etc., which
24178 will allow them to work with the new version of dejagnu will be
24179 made in a future update.
24181 For additional changes see gdb.mi/ChangeLog-1999-2003.
24183 ;; Local Variables:
24184 ;; mode: change-log
24187 ;; version-control: never
24190 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24191 2003, 2004, 2005 Free Software Foundation, Inc.
24192 Copying and distribution of this file, with or without modification,
24193 are permitted provided the copyright notice and this notice are preserved.