3 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
5 * gdb.base/langs.exp: Fix test which attempts to create
6 breakpoint on non-existent function to handle new pending
8 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
10 * gdb.base/pending.exp: New test.
11 * gdb.base/pending.c: New file.
12 * gdb.base/pendshr.c: Ditto.
16 * gdb.cp/overload.exp: Add overloadNamespace tests.
17 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
18 (overloadNamespace, XXX): New.
19 (main): Call XXX::marker2.
23 * gdb.base/dump.exp: Use runto_main instead of "runto main".
24 * gdb.base/finish.exp: Ditto.
25 * gdb.base/gcore.exp: Ditto.
26 * gdb.base/huge.exp: Ditto.
27 * gdb.base/info-proc.exp: Ditto.
28 * gdb.base/return2.exp: Ditto.
29 * gdb.threads/gcore-thread.exp: Ditto.
33 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
37 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
38 that opening the file succeeds on OpenBSD.
42 * gdb.threads/thread-specific.c: New file.
43 * gdb.threads/threads-specific.exp: New test script.
44 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
49 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
50 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
51 only on the "print_small_structs from print_long_arg_list" test.
55 * gdb.base/completion.exp: Kill a stray backslash.
58 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
59 agrees with the result from sending a tab.
63 * gdb.base/chng-syms.exp: Remove stray newline.
67 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
69 * gdb.asm/openbsd.inc: New file.
73 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
74 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
75 *-*solaris2*. Remove commented out default settings for
76 asm-flags. Replace gdb_compile with target_link.
80 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
81 for all tests. Remove old hp-ux and cygnus xfail cases.
85 * gdb.base/chng-syms.exp: New file.
86 * gdb.base/chng-syms.c: New file.
90 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
91 Provide arms for current output in all my configurations.
95 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
96 * lib/compiler.cc: Likewise.
97 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
98 get the right preprocessor. Eval the output directly. Remove
99 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
100 hp_f77_compiler and hp_f90_compiler completely.
101 (gdb_preprocess): Delete.
102 (get_compiler): Delete.
106 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
111 * gdb.mi/mi-stack.exp: Update copyright.
115 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
116 test for cp_lookup_transparent_type.
117 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
122 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
127 * gdb.cp/namespace.cc (C::ensureRefs): New.
128 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
132 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
133 case "-stack-list-locals 2".
134 * gdb.mi/mi-var-child.exp: Test for case
135 "-var-list-children --all-values NAME".
139 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
143 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
144 used with gdb_test_multiple.
146 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
147 read at address 0. This fixes PR testsuite/1504.
151 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
152 Remove downloading, guessing the host executable, the calls to
153 gdb_file_cmd and gdb_target_cmd, and "load" support.
154 (infer_host_exec): New function broken out from gdb_load.
155 (gdb_load): New wrapper for gdbserver_gdb_load.
156 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
157 gdb_target_cmd. Use -target-select.
158 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
159 Download binaries to the host. Clear last_mi_remote_file when
160 we load a new binary.
161 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
162 call gdbserver_gdb_load and mi_gdb_target_cmd.
166 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
171 * gdb.cp/templates.exp: Fix typo in test name of
172 "print Foo<volatile char*>::foo".
176 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
180 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
181 (clean mostlyclean): Remove empty rm.
185 * gdb.base/setvar.exp: Add copyright years.
189 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
190 PR c++/1511 and update coment.
191 * gdb.cp/templates.exp: Update patterns to match current output.
192 If changes involve something other than whitespace, KFAIL
193 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
197 * gdb.cp/namespace.exp: Add tests involving classes defined within
199 * gdb.cp/namespace.cc (C::CClass): New.
200 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
204 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
205 what debug info we have. Print a better message if something goes
206 wrong while producing the separate debug info file.
210 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
214 * gdb.base/callfuncs.c: Add copyright notice.
218 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
219 inheritance. PR gdb/1498, PR gcc/13539.
223 * gdb.threads/gcore-thread.exp: Prefix name of binary with
225 * gdb.mi/gdb669.exp: Ditto.
226 * gdb.mi/mi-pthreads.exp: Ditto.
227 * gdb.mi/mi1-pthreads.exp: Ditto.
228 * gdb.mi/mi2-pthreads.exp: Ditto.
232 * gdb.cp/member-ptr.cc: Add copyright notice.
236 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
237 some patterns for recent versions of gcc and hpacc. Delete
238 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
239 Delete tests that access a NULL pointer-to-member-data. This
240 script is still disabled for gcc.
244 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
249 * gdb.base/sepdebug.exp: New file.
250 * gdb.base/sepdebug.c: New file.
251 * lib/gdb.exp (separate_debug_filename): New procedure.
252 (gdb_gnu_strip_debug): New procedure.
256 * gdb.mi/ChangeLog: Delete file. Renamed to ...
257 * gdb.mi/ChangeLog-1999-2003: New file.
261 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
262 "Renaming a directory to a non-empty directory returns ENOTEMPTY
263 or EEXIST", treat EBUSY as an XFAIL.
267 * gdb.base/scope.exp: Remove obsolete setup_xfail for
272 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
277 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
278 and "(aCC)" decorations. Remove obsolete doco about old
283 * gdb.cp/exception.exp: Fix typo in doco.
287 * gdb.base/gdb1476.exp: Fix typo.
291 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
296 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
297 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
298 Use gdb_compile. Remove restriction on gcc. Add some patterns
299 for recent version of gdb. Delete second half, which was a copy
300 of the first half with different build flags. This test is
301 still disabled because it is still not ready for production.
305 * gdb.cp/exception.cc: Add copyright notice.
306 * gdb.cp/exception.exp: Add a notice that this file is broken
307 because of line number changes caused by addition of copyright
312 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
313 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
317 * gdb.cp/classes.exp: Accept gnu abi 2.
318 * gdb.cp/derivation.exp: Likewise.
319 * gdb.cp/overload.exp: Likewise.
320 * gdb.cp/virtfunc.exp: Likewise.
324 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
325 semicolon after end of function.
329 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
330 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
331 boilerplate code for compiling and running the program under
332 test. Add some string method tests.
336 * gdb.cp/bs15503.cc: Add copyright notice.
337 * gdb.cp/bs15503.exp: Adjust line number.
341 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
342 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
346 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
351 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
352 * gdb.cp/ctti.exp: Use the marker instead of "next".
353 With gcc, run further before bailing.
357 * gdb.cp/cttiadd.cc: Add copyright notice.
358 * gdb.cp/cttiadd1.cc: Likewise.
359 * gdb.cp/cttiadd2.cc: Likewise.
360 * gdb.cp/cttiadd3.cc: Likewise.
364 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
365 Use gdb_test, gdb_test_multiple. Use floating-point values that
366 have exact representations in IEEE-ish formats.
370 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
371 compilers. Delete duplicate call to get_compiler_info.
372 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
373 * gdb.base/volatile.exp: Likewise.
377 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
382 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
383 to test for hp-ux assembler. Fix copyright years.
387 * gdb.base/fileio.c (strerrno): Add "EBUSY".
391 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
392 when creating the read-only file. From analysis by Roland McGrath
397 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
401 * gdb.base/cvexpr.c: Be type-safe with function pointers and
406 * gdb.cp/m-static.exp: Compile one source file at a time.
407 Delete unused call to get_compiler_info.
411 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
412 * gdb.base/call-rt-st.exp: Likewise.
413 * gdb.base/nodebug.exp: Likewise.
414 * gdb.base/volatile.exp: Likewise.
415 * gdb.cp/ref-types.exp: Likewise.
416 * gdb.cp/templates.exp: Likewise.
420 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
424 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
429 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
432 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
433 sparc64-*-* and sparc*-solaris2*.
437 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
438 return ${tests}" test. The ${tests} already mentions the
443 * gdb.cp/local.exp: Accept gcc abi 2.
447 * gdb.cp/templates.exp: Accept gcc abi 2.
451 * lib/compiler.cc: Remove supports_template_debugging.
452 * gdb.cp/templates.exp: Do not test supports_template_debugging.
456 * gdb.cp/namespace.exp: Accept gcc abi 2.
460 * gdb.cp/method.exp: Accept gcc abi 2.
464 * gdb.cp/classes.exp: Generate identical results as old version.
465 * gdb.cp/derivation.exp: Likewise.
466 * gdb.cp/overload.exp: Likewise.
467 * gdb.cp/virtfunc.exp: Likewise.
471 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
472 mysterious bug with sourceware version of expect.
476 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
477 current versions of gcc, including gcc abi 2. Remove gratuitous
478 restart of test program. Use gdb_test_multiple and gdb_test for
479 all tests. Add patterns to xfail missing "const" in "const char *"
480 and kfail PR gdb/1155.
484 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
485 current versions of gcc, including gcc abi 2. Remove gratuitous
486 restart of test program. Use gdb_test_multiple and gdb_test for
487 all tests. Add patterns to kfail PR gdb/1498.
491 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
492 current versions of gcc, including gcc abi 2. Use "breakpoint"
493 and "continue" instead of restarting the target program. Use
494 gdb_test_multiple and gdb_test for all tests.
498 * gdb.asm/asm-source.exp: Update copyright year. Link statically
503 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
504 current versions of gcc, including gcc abi 2. Use "breakpoint"
505 and "continue" instead of restarting the target program several
506 times. Use gdb_test_multiple and gdb_test for all tests.
510 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
515 * gdb.base/environ.exp: Handle compiling test case from multiple
520 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
524 * gdb.base/freebpcmd.c: Add copyright notice.
526 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
530 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
534 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
538 * gdb.asm/frv.inc: New file.
539 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
543 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
544 functions to break1.c and leave prototypes behind. Add more
545 "set breakpoint NN here" comments.
546 * gdb.base/break1.c: New file.
548 * gdb.base/break.exp: Handle compiling test case from multiple
549 source files and change source file references as needed.
550 * gdb.base/completion.exp: Ditto.
551 * gdb.base/condbreak.exp: Ditto.
552 * gdb.base/define.exp: Ditto.
553 * gdb.base/ena-dis-br.exp: Ditto.
554 * gdb.base/info-proc.exp: Ditto.
555 * gdb.base/maint.exp: Ditto.
556 * gdb.base/until.exp: Ditto.
558 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
559 hardcoded line numbers.
560 * gdb.base/define.exp: Ditto.
561 * gdb.base/ena-dis-br.exp: Ditto.
562 * gdb.base/maint.exp: Ditto.
563 * gdb.base/until.exp: Ditto.
565 * gdb.base/completion.exp: Use "break1" for completion tests since
566 "break" is no longer a unique prefix.
570 * gdb.base/structs.exp (test_struct_returns): When applicable, set
571 "return_value_unimplemented". When an unimplemented struct return
572 architecture, report incorrect values as a KFAIL
576 * gdb.cp/rtti.exp: Accept new wording of warning from
581 Partial fix for PR testsuite/1456.
582 * gdb.base/scope.exp (test_at_main): Replace references to
583 gcc_compiled with calls to test_compiler_info.
584 (test_at_foo): Likewise.
585 (test_at_bar): Likewise.
589 Partial fix for PR testsuite/1456.
590 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
591 to test_compiler_info.
595 * gdb.base/so-impl-ld.exp: Update copyright notice.
599 Partial fix for PR testsuite/1456.
600 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
601 to test_compiler_info.
605 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
606 from current versions of gdb. Clean up regular expressions.
607 Delete redundant timeout case.
611 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
612 from current versions of gdb. Clean up regular expressions.
613 Delete redundant timeout case.
617 Partial fix for PR testsuite/1456.
618 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
619 gcc_compiled with call to test_compiler_info.
623 Partial fix for PR testsuite/1456.
624 * gdb.base/list.exp (test_list_function): Delete unused declaration
629 Partial fix for PR testsuite/1456.
630 * gdb.base/complex.exp: Replace reference to gcc_compiled with
631 call to test_compiler_info.
635 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
636 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
637 it to create the appropriate note.inc.
638 * gdb.asm/asmsrc1.s: Include "note.inc".
639 * gdb.asm/netbsd.inc: New file.
640 * gdb.asm/empty.inc: New file.
644 Partial fix for PR testsuite/1456.
645 * gdb.base/constvars.exp: Replace references to gcc_compiled with
646 calls to test_compiler_info.
650 Partial fix for PR testsuite/1456.
651 * gdb.base/volatile.exp: Replace references to gcc_compiled with
652 calls to test_compiler_info.
656 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
657 pattern for the KFAILs.
661 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
662 * gdb.objc/objcdecode.m: New file.
666 * gdb.objc/nondebug.exp: Test for PR objc/1236.
667 * gdb.objc/nondebug.m: New file.
671 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
672 NetBSD as it does on FreeBSD. Modelled on a similar change by
673 Mark Kettenis on 2003-05-30.
674 (link-flags): Set to "--entry _start" regardless of target.
675 Special linker flags are to be appended to $link-flags.
676 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
680 * gdb.cp/method.exp: Accept output of new demangler.
684 * gdb/class2.exp: New file.
685 * gdb/class2.cc: New file.
689 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
694 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
699 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
700 "continue" into "run".
704 Partial fix for PR testsuite/1456.
705 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
706 call to test_compiler_info.
707 * gdb.cp/ctti.exp: Likewise.
708 * gdb.cp/derivation.exp: Likewise.
709 * gdb.cp/member-ptr.exp: Likewise.
710 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
711 reference to gcc_compiled.
715 Fix PR testsuite/1463.
716 * gdb.base/structs.exp (start_structs_test): Call
717 get_debug_format before using the debug format.
721 * lib/gdb.exp (gdb_test_multiple): Add simple example.
722 * gdb.base/structs.exp: Use gdb_test_multiple.
726 * gdb.base/structs.exp: Handle and recover from internal errors.
727 Replace "foo${n}" with "foo<n>" in test messages.
729 * gdb.base/structs.exp: Update copyright. Rewrite.
730 * gdb.base/structs.c: Update copyright. Rewrite.
732 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
733 resync count exceeded.
735 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
736 from the internal error.
737 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
738 Original from Jim Blandy.
739 (gdb_test_multiple): Use gdb_internal_error_resync.
743 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
748 New testcase for PR backtrace/1435.
749 * gdb.arch/i386-unwind.exp: New file.
750 * gdb.arch/i386-unwind.c: New file.
754 * lib/gdb.exp (compiler_info): New global.
755 (test_compiler_info): New function.
756 (get_compiler_info): Set compiler_info.
757 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
758 "compiler_info" to gcc-<major>-<minor>.
762 * gdb.trace/configure: Remove.
766 * gdb.base/break.c: Add comments to aid finding line numbers for
768 * gdb.base/break.exp: Remove all references to explicit line
773 * gdb.base/shreloc.exp: Do not run for targets which do not
774 support shared objects.
778 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
779 Don't run tests if nofileio flag is given.
783 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
784 as well as 'Watchpoint'.
789 * gdb.base/annota1.exp: Match at least one occurrence of the
790 signal handler annotation.
794 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
795 as well as 'Watchpoint'.
799 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
803 * gdb.arch/gdb1291.c: New test file.
804 * gdb.arch/gdb1291.exp: New test script.
805 * gdb.arch/gdb1431.c: New test file.
806 * gdb.arch/gdb1431.exp: New test script.
810 * gdb.mi/pthreads.c: Add copyright notice.
814 * gdb.threads/pthreads.c: Add copyright notice.
818 * gdb.base/gdb1056.exp: New test script.
822 * gdb.threads/killed.exp: Use gdb_run_cmd.
826 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
828 * gdb.threads/gcore-thread.exp: Likewise.
832 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
833 type, based on char type.
834 (struct bit_flags_short_t): New bitfield type, based on short type.
835 (init_bit_flags_char): New fuction.
836 (init_bit_flags_short): Ditto.
837 (print_bit_flags_char): Ditto.
838 (print_bit_flags_short): Ditto.
839 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
843 * gdb.base/call-rt-st.exp: Update copyright year.
847 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
848 * gdb.disasm/sh3.s: Ditto.
852 * gdb.threads/switch-threads.exp: New test.
853 * gdb.threads/switch-threads.c: New source file.
857 * gdb.base/ending-run.exp: Add sh specific case.
861 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
862 * gdb.disasm/mn10200.exp: Delete obsolete file.
866 * ChangeLog: Correct an entry command.exp -> commands.exp.
867 * gdb.base/commands.exp (bp_deleted_in_command_test)
868 (temporary_breakpoint_commands): Check noargs.
872 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
873 of some print tests, where appropriate. Add tests for C::D::cd,
874 E::ce, F::cXfX, G::XgX.
875 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
879 * lib/java.exp (java_init): Import target_alias before using it.
883 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
887 * gdb.base/selftest.exp: Accomodate more instruction reordering
892 * gdb.cp/gdb1355.exp: New file.
893 * gdb.cp/gdb1355.c: New file.
897 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
898 * gdb.asm/sh.inc: New file.
902 * gdb.cp/namespace.exp: Add tests for namespace types.
903 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
904 (test_namespace): New.
908 * gdb.base/relocate.exp: Handle new gdb output at startup.
909 * gdb.stabs/weird.exp: Ditto.
913 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
917 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
922 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
926 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
927 * gdb.gdb/observer.exp: Ditto.
928 * gdb.gdb/xfullpath.exp: Ditto.
932 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
937 * gdb.base/dump.exp: Skip for ia64.
941 * gdb.asm/asm-source.exp: Add ia64 support.
942 * gdb.asm/ia64.inc: New file.
946 * gdb.cp: New directory.
947 * gdb.cp/*: Copy from gdb.c++/*.
949 * Makefile.in: Change gdb.c++ to gdb.cp.
950 * configure.in: Ditto.
951 * configure: Regnerate.
955 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
956 * gdb.arch/i386-prologue.c (gdb1338): Add function.
960 * mi-var-display.exp (-var-list-children weird): Accept function
961 pointers with argument types.
962 * mi1-var-display.exp (-var-list-children weird): Likewise.
963 * mi2-var-display.exp (-var-list-children weird): Likewise.
967 * gdb.base/annota3.exp: Add missing newline.
971 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
975 * gdb.base/float.exp: Add test for SH.
979 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
983 * gdb.base/completion.exp: Remove reduntant completion test
988 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
989 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
990 gdb.trace/save-trace.exp: Make sure that full pathnames are
995 * configure.in: Don't generate config.h from config.hin.
996 * configure: Regenerate.
997 * config.hin: Remove file.
998 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
999 * gdb.threads/pthreads.c: Ditto.
1004 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1005 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1006 Replace ld24 with seth/add3.
1010 * gdb.base/annota3.exp: New file.
1011 * gdb.base/annota3.c: New file.
1012 * gdb.c++/annota3.exp: New file.
1013 * gdb.c++/annota3.cc: New file.
1017 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1019 (do_pass): Likewise.
1020 * gdb.threads/tls.exp: Always initialize no_of_threads.
1024 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1026 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1027 * gdb.threads/tls.exp: Recognize one case of the host library not
1032 * gdb.base/fileio.exp: Use SH when running commands using
1038 * gdb.base/relocate.c (dummy): New padding array.
1042 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1044 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1045 patterns to be more general, accepting old and new output.
1046 Some output chars (such as '+') also must be quoted.
1047 Some addresses are displayed numerically instead of
1052 * gdb.base/return2.exp: Don't test long-long return.
1054 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1055 * gdb.disasm/t01_mov.exp: Ditto.
1056 * gdb.disasm/t02_mova.s: Ditto.
1057 * gdb.disasm/t02_mova.exp: Ditto.
1058 * gdb.disasm/t03_add.s: Ditto.
1059 * gdb.disasm/t03_add.exp: Ditto.
1060 * gdb.disasm/t04_sub.s: Ditto.
1061 * gdb.disasm/t04_sub.exp: Ditto.
1062 * gdb.disasm/t05_cmp.s: Ditto.
1063 * gdb.disasm/t05_cmp.exp: Ditto.
1064 * gdb.disasm/t06_ari2.s: Ditto.
1065 * gdb.disasm/t06_ari2.exp: Ditto.
1066 * gdb.disasm/t07_ari3.s: Ditto.
1067 * gdb.disasm/t07_ari3.exp: Ditto.
1068 * gdb.disasm/t08_or.s: Ditto.
1069 * gdb.disasm/t08_or.exp: Ditto.
1070 * gdb.disasm/t09_xor.s: Ditto.
1071 * gdb.disasm/t09_xor.exp: Ditto.
1072 * gdb.disasm/t10_and.s: Ditto.
1073 * gdb.disasm/t10_and.exp: Ditto.
1074 * gdb.disasm/t11_logs.s: Ditto.
1075 * gdb.disasm/t11_logs.exp: Ditto.
1076 * gdb.disasm/t12_bit.s: Ditto.
1077 * gdb.disasm/t12_bit.exp: Ditto.
1078 * gdb.disasm/t13_otr.s: Ditto.
1079 * gdb.disasm/t13_otr.exp: Ditto.
1083 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1087 * gdb.threads/tls.c : New file.
1088 * gdb.threads/tls.exp : New file.
1089 * gdb.threads/tls-main.c : New file.
1090 * gdb.threads/tls-shared.c : New file.
1091 * gdb.threads/tls-shared.exp : New file.
1095 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1099 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1100 due to insn reordering.
1104 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1108 * gdb.base/gdb1250.exp: New file.
1109 * gdb.base/gdb1250.c: New file.
1113 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1114 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1118 * gdb.threads/tls.c: New file.
1119 * gdb.threads/tls.exp: New file.
1120 * gdb.threads/tls-main.c: New file.
1121 * gdb.threads/tls-shared.c: New file.
1122 * gdb.threads/tls-shared.exp: New file.
1126 * gdb.base/annota1.exp: Make sure that we properly escape the
1127 full path of the source file. Xfail more permissive patterns,
1128 due to a compiler debug info problem.
1132 * gdb.asm/m68k.inc: New file.
1133 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1135 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1136 arguments"): Also match negative number.
1138 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1142 * gdb.base/store.c (charest): New typedef.
1143 (add_char): Rename to add_charest, update.
1144 (wack_char): Rename to wack_charest, update types. Return l + r
1145 to keep r live across the call.
1146 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1147 (wack_double, wack_doublest): Return l + r to keep r live across
1149 * gdb.base/store.exp: Accomodate store.c changes.
1153 * gdb.c++/maint.exp (test_invalid_name): New.
1154 (test_first_component): Add tests for invalid names.
1158 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1159 output of '<VTT for class>' for virtual base classes.
1163 * gdb.base/completion.exp: Tab-complete "complet" instead of
1165 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1169 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1170 * gdb.base/volatile.exp: Likewise.
1174 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1180 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1181 initial line count of 'captured_main' from 26 to 32.
1182 (test_with_self): Allow xmalloc call to be interleaved with the
1183 preceding two lines.
1187 * gdb.base/bang.exp: New testcase.
1191 * gdb.base/langs.exp: Add some tests for the "minimal" language
1196 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1201 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1206 * gdb.c++/pr-1210.cc: New file.
1207 * gdb.c++/pr-1210.exp: New file.
1211 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1216 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1217 on *-*-*bsd* instead of *-*-freebsd*.
1221 * gdb.base/store.exp: Test longest and doublest. Test all
1222 parameters. Weaken return statement match.
1223 * gdb.base/store.c: Add longest and doublest - aka long long and
1224 long double functions. Put all parameters into local register
1225 variables. Use negative values.
1229 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1230 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1232 * gdb.base/fileio.exp: Disable target when nointerrupts and
1233 noinferiorio, instead of limiting it to remote. Use remote_exec
1238 * gdb.base/float.exp: Add ia64 support.
1242 * gdb.base/fileio.exp: Run only on remote targets.
1246 * gdb.base/fileio.c: New file, testing File-I/O.
1247 * gdb.base/fileio.exp: Ditto.
1251 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1252 shared objects after relocation at load time (gdb PR/1132).
1253 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1254 as above, part of the shared object relocation test.
1258 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1259 fully filled history list.
1260 * gdb.base/gdb_history: New file.
1262 * gdb.base/signals.exp: XFAIL "continue to func1" on
1265 * gdb.base/attach.exp: When trying to attach to a nonexistent
1266 process, make it possible to specify the PID based on the target,
1267 and do so for *-*-freebsd*.
1271 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1275 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1279 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1283 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1288 * gdb.asm/asm-source.exp: Check for memory read errors in
1289 disassembler test on *BSD too.
1293 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1295 (gdbasm_call): Lose ldgp.
1296 (gdbasm_startup): Add frame information.
1297 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1301 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1306 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1311 * gdb.asm/alpha.inc: New file.
1312 * gdb.asm/asm-source.exp: Use it.
1316 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1321 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1326 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1331 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1332 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1336 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1338 Bump copyright date.
1339 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1340 (main): Call C::D::marker2.
1341 * gdb.c++/namespace1.cc: New file.
1346 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1347 there is no manager thread.
1351 * gdb.threads/schedlock.exp: Remove assumption that all threads
1352 will run in a particular small time slice. Also ensure we break
1353 in one of the child threads rather than the main thread.
1357 Add support for assembly source testing on the s390x.
1358 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1360 * gdb.asm/s390x.inc: New file.
1362 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1363 succession of 'if' statements.
1367 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1371 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1372 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1376 * gdb.base/charset.exp: Update based on new behavior of set/show
1381 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1382 variable do not give memory errors.
1386 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1387 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1388 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1389 gdb.objc/basicclass.m: : New files
1391 * lib/gdb.exp (gdb_compile_objc): New procedure.
1395 * gdb.base/signals.exp: Make backtrace tests more specific.
1399 * gdb.c++/maint.exp (test_first_component): Add tests for
1400 'operator' in more locations.
1404 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1408 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1409 func marke' instead. Update test name.
1413 * gdb.c++/maint.exp: New file.
1417 * gdb.threads/schedlock.c: Change type of thread function argument
1418 to long, to avoid warnings on 64-bit platforms.
1422 * gdb.base/attach.exp: Add new message from ptrace in case of
1423 attaching to nonexistent process.
1427 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1428 gdb.c++/userdef.cc: Place comments on the lines to which the
1429 marker function might return.
1430 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1431 gdb.c++/userdef.exp: Look for those comments to check that we've
1432 returned to the right place, instead of checking line numbers.
1436 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1437 match on sourcefile name, instead of directory name.
1441 * gdb.base/completion.exp: Use string_to_regexp to match the
1442 working directory name.
1446 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1447 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1448 after an inferior function call, report the failure, but allow the
1453 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1458 * gdb.base/break.exp: Revert last patch.
1462 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1467 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1468 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1469 matching directories by the name breakpoint.
1470 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1471 Make "continue to marker1" consistent.
1472 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1474 * lib/gdb.exp: Put "the program is no longer running", and "the
1475 program exited" in parenthesis.
1476 * lib/mi-support.exp: Ditto.
1480 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1484 * gdb.base/sizeof.c (main): Print the value of '\377'.
1485 * gdb.base/sizeof.exp: Check the sign of '\377'.
1489 * gdb.base/gdb1090.exp: New file.
1490 * gdb.base/gdb1090.cc: New file.
1494 * gdb.gdb/observer.exp: New regression test.
1498 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1499 * gdb.base/ptype.exp: Likewise.
1503 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1507 * gdb.base/ptype.exp: Actually use some typedef'd types.
1511 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1512 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1516 * gdb.base/default.exp: Fix regular expression.
1520 * gdb.base/args.exp: Fix regular expression.
1524 * gdb.base/help.exp: Allow Win32 child process.
1528 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1529 when stepping out of main().
1533 * gdb.base/default.exp: Check for win32 specific message when calling
1534 "run" without executable.
1538 * gdb.base/args.exp: Expect .exe in output.
1542 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1549 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1550 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1554 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1555 test, for PR breakpoints/38.
1556 Call test_watchpoint_and_breakpoint.
1557 * gdb.base/watchpoint.c (func3): New function.
1562 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1563 Garply<Garply<char> >:: garply".
1564 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1565 with respect to PR c++/1111; note also PR c++/1113.
1566 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1567 respect to PR c++/1062.
1568 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1572 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1573 with respect to PR c++/57.
1574 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1576 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1577 respect to PR c++/57.
1581 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1582 respect to PR c++/33 into FAILs.
1586 * configure.in: Update copyright years.
1590 * Makefile.in: Update copyright years.
1594 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1595 print class instead of struct and/or superfluous protection
1596 specifiers, as long as the resulting output is equivalent to the
1598 Delete FIXME from end of messages on tests that don't need
1603 * gdb.c++/templates.exp (do_tests): Allow const in the two
1604 Foo<volatile char *>::foo tests.
1608 * gdb.base/restore.c (main): Return zero, so exit code
1613 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1614 char *>::foo" test with respect to PR c++/33. Create a new test
1615 which is identical to that one except that it doesn't put the
1616 space between the "char" and the "*"; KFAIL it, too.
1620 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1621 template types into either PASSes or KFAILs (corresponding to PR
1622 c++/57). Tweak indentation. Update copyright.
1626 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1630 * gdb.base/exprs.exp: Remove i960 remnants.
1631 * gdb.base/funcargs.exp: Likewise.
1632 * gdb.base/list.exp: Likewise.
1633 * gdb.base/ptype.exp: Likewise.
1637 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1638 pEe->D::vg()" from XFAIL to KFAIL.
1642 * gdb.base/maint.exp: Update maint print statistics regexp to include
1647 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1651 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1652 * gdb.c++/inherit.exp: Likewise.
1653 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1654 * gdb.c++/templates.exp: Likewise.
1655 * gdb.c++/virtfunc.exp: Likewise.
1659 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1660 why the code is written that way.
1664 * gdb.base/dump.exp: Add missing copyright line.
1668 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1669 at the beginning so the breakpoint doesn't get set on the loop.
1673 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1674 output for configurations with gcc 2.95.3.
1679 * gdb.mi/mi-cli.exp: New file.
1683 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1684 Call perror and then continue.
1688 * gdb.c++/pr-1023.cc: New file.
1689 * gdb.c++/pr-1023.exp: New file.
1693 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1694 it's local to foobar. Check for it there, and check that it's not
1696 * gdb.c++/local.cc (marker2): New function.
1697 (foobar): Call marker1.
1698 (main): Call marker2 instead of marker1.
1702 * gdb.disasm/mn10200.exp: Obsolete file.
1703 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1704 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1705 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1709 * gdb.c++/overload.exp: Test intToChar(1).
1710 * gdb.c++/overload.cc (intToChar): New.
1711 (main): Call intToChar.
1715 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1717 KFAIL some of the continue_to_bp_overloaded calls, according to
1722 * gdb.base/advance.c (marker1): New marker function.
1723 * gdb.base/advance.exp: When the 'advance' command lands on the
1724 return breakpoint, it can legitimately stop on either the
1725 current line or the next line. Accommodate both outcomes.
1726 * gdb.base/until.exp: Likewise.
1731 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1732 now a list, not a tuple.
1733 * gdb.mi/mi-var-display.exp: Ditto.
1734 * gdb.mi/gdb792.exp: Ditto.
1739 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1741 * gdb.mi/mi-syn-frame.c: Part of same.
1745 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1746 gdb.mi/mi1-pthreads.exp: Return instead of calling
1747 gdb_suppress_entire_file.
1751 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1755 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1760 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1761 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1762 has been fixed in gdb/readline on 2003-01-09.
1766 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1767 * gdb.base/display.exp: Allow for leading underscore in symbol.
1768 * gdb.base/args.exp: Skip if target does not support args passing.
1772 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
1773 gdb_test. Accept a list of expect arguments as the third
1779 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1780 allow for different test tree configurations. Update some
1781 tescases accordingly.
1782 * gdb.arch/altivec-regs.exp: Ditto.
1783 * gdb.asm/asm-source.exp: Ditto.
1784 * gdb.base/advance.exp: Ditto.
1785 * gdb.base/display.exp: Ditto.
1786 * gdb.base/long_long.exp: Ditto.
1787 * gdb.base/mips_pro.exp: Ditto.
1788 * gdb.base/overlays.exp: Ditto.
1789 * gdb.base/relocate.exp: Ditto.
1790 * gdb.base/setshow.exp: Ditto.
1791 * gdb.base/step-line.exp: Ditto.
1792 * gdb.base/step-test.exp: Ditto.
1793 * gdb.base/until.exp: Ditto.
1794 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1798 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1799 corresponding to PR c++/945.
1804 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1805 corresponding to PR c++/68.
1809 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1810 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1811 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1815 * gdb.base/break.exp: Fix change of default location, because of
1816 removal of until tests.
1817 * gdb.base/help.exp: Update test for new 'until' help message.
1818 Add test for help on 'advance'.
1819 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1823 * gdb.base/default.exp: Adapt "info float" test for recent changes
1824 to that command. Add test for "info vector".
1825 * gdb.base/float.exp: New file. Add test for "info float" that
1826 resembles the old test in gdb.base/default.exp.
1830 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1834 * gdb.base/break.exp: Move the tests of until command from here...
1835 * gdb.base/until.exp: ... to here. New file. Add other tests.
1836 * gdb.base/advance.c: New file.
1837 * gdb.base/advance.exp: New file.
1841 * gdb.base/args.c: New file.
1842 * gdb.base/args.exp: New file.
1846 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1850 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1854 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1859 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1863 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1865 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1869 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1870 * gdb.mi/mi1-console.exp: Likewise.
1874 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1875 * gdb.mi/mi1-console.exp: Likewise.
1879 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1883 * gdb.base/detach.exp: New test.
1887 * Makefile.in (ALL_SUBDIRS): New variable.
1888 (subdirs, clean, distclean): Use it.
1889 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1890 regenerating Makefile, since it is generated from the top level.
1891 * gdb.asm/Makefile.in: Likewise.
1892 * gdb.base/Makefile.in: Likewise.
1893 * gdb.c++/Makefile.in: Likewise.
1894 * gdb.disasm/Makefile.in: Likewise.
1895 * gdb.java/Makefile.in: Likewise.
1896 * gdb.mi/Makefile.in: Likewise.
1897 * gdb.threads/Makefile.in: Likewise.
1898 * gdb.trace/Makefile.in: Likewise.
1902 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1903 Add copyright year 2003.
1907 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1908 When selecting a thread, 'line' and 'file' are optional.
1909 * gdb.mi/mi1-pthreads.exp: Likewise.
1913 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1919 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1920 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1922 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1923 instead of calling gdb_suppress_entire_file.
1924 * gdb.threads/print-threads.exp: Likewise.
1925 * gdb.threads/schedlock.exp: Likewise.
1927 * gdb.threads/killed.exp: Return instead of calling
1928 gdb_suppress_entire_file.
1929 * gdb.threads/linux-dp.exp: Likewise.
1930 * gdb.threads/pthreads.exp: Likewise.
1934 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1936 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1937 * gdb.base/whatis.exp: Always allow (void) after function names.
1941 * gdb.c++/casts.exp: Correct regexp.
1945 * configure.in: Call AC_CONFIG_HEADER. Don't call
1946 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1947 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1948 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1949 aforementioned directories in the AC_OUPUT call.
1950 * config.hin: New file.
1951 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1952 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1953 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1954 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1955 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1956 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1957 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1958 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1959 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1960 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1961 gdb.threads/configure.in, gdb.threads/configure,
1962 gdb.threads/config.in, gdb.trace/configure.in,
1963 gdb.trace/configure: Removed.
1967 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1968 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1972 * gdb.base/store.exp: Fix regular expressions.
1976 * configure.in: Rewrite.
1977 * configure: Regenerated.
1981 * gdb.base/psymtab.exp: New file.
1982 * gdb.base/psymtab1.c: Ditto.
1983 * gdb.base/psymtab2.c: Ditto.
1987 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1991 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1992 and current_directory initialization.
1996 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1997 rather than as part of the output file name.
1999 * gdb.base/attach.exp: There's no need to copy the test program to
2000 /tmp; that was only ever necessary on HP/UX, and this test is
2001 entirely disabled there anyway.
2005 * gdb.c++/psmang.exp: Doc fix.
2007 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2012 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2016 * gdb.c++/annota2.exp: Add copyright year 2002.
2020 * gdb.c++/try_catch.cc: Add marker comments.
2021 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2022 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2023 * gdb.c++/m-static.cc: Ditto.
2024 * gdb.c++/m-static1.cc: Ditto.
2025 * gdb.c++/try_catch.cc: Ditto.
2029 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2030 to see whether we are using the new -environment-directory
2031 command which resets via -r or the old version of the command
2032 which may prompt the user. Part of fix for gdb/741.
2036 * gdb.fortran/types.exp: Update obsolete comment.
2037 * gdb.fortran/exprs.exp: Ditto.
2038 * lib/gdb.exp: Delete obsolete code.
2039 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2040 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2041 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2042 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2043 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2044 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2045 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2046 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2047 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2048 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2049 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2050 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2051 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2052 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2053 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2054 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2055 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2056 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2057 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2058 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2059 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2060 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2061 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2062 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2063 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2064 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2065 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2066 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2067 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2068 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2069 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2070 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2071 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2072 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2073 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2074 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2075 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2079 * gdb.c++/m-data.exp: Add test for members that shadow global
2080 variables: see PR gdb/804.
2081 * gdb.c++/m-data.cc: Ditto.
2085 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2089 * gdb.base/store.c: Don't declare functions static.
2093 * gdb.base/store.exp, gdb.base/store.c: New files.
2097 * gdb.base/selftest.exp: Update for current gdb.
2101 * gdb.base/maint.exp: Only dump symbols from one source file
2106 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2111 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2112 function appearing in error message.
2116 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2120 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2121 for mi1 and current mi is in correct format. New mi startup message
2122 should be in mi console format. This is part of fix for PR gdb/604.
2126 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2127 which explicitly prints the zero offset as "+0".
2131 * gdb.threads/schedlock.c (args): Make unsigned.
2135 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2136 numbers. Allow "foo2|selected stack frame".
2137 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2138 * gdb.asm/asmsrc2.s: Likewise.
2139 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2141 * gdb.asm/mips.inc: New file.
2145 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2146 * gdb.base/help.exp: Likewise.
2150 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2151 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2155 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2159 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2160 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2161 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2162 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2163 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2164 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2165 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2169 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2170 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2171 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2172 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2173 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2174 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2175 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2179 * gdb.base/annota1.exp (info break): Make directory components of
2180 path optional since not all compilers emit this debug information.
2182 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2183 step ends up stepping out of the function instead of stopping on
2188 * lib/insight-support.exp (gdbtk_start): Figure out where
2189 the insight executable is based on where gdb is. Use this
2190 executable to start insight instead of gdb.
2194 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2198 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2199 test_isolated_complaints.
2200 (test_empty_complaint): New function.
2201 (test_empty_complaints): New function. Check no output when no
2206 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2210 * gdb.gdb/complaints.exp: New file.
2214 * gdb.base/maint.exp: Check `help maint internal-warning'.
2218 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2219 numbers, and replace them by a single breakpoint after the
2220 constructors are all finished.
2222 * gdb.c++/m-static.cc: Add test 4.
2223 * gdb.c++/m-static.h: New file.
2224 * gdb.c++/m-static1.cc: New file.
2226 * gdb.c++/printmethod.exp: New file.
2227 * gdb.c++/printmethod.cc: New file.
2229 * gdb.c++/pr-574.exp: New file.
2230 * gdb.c++/pr-574.cc: New file.
2234 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2235 embedded targets which never actually exit.
2239 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2240 "don't step after run" as unresolved or unsupported, instead of xfail.
2244 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2245 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2246 Add newline to expected string in "step out of main (status wrapper)"
2251 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2252 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2256 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2257 \000, not \0, in double-quoted string.
2261 * gdb.base/commands.exp: Don't expect a "Program exited normally"
2262 string after running the commands execution on breakpoint tests.
2266 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2270 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2274 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2276 (mi_run_to_main): Use mi_runto.
2277 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2281 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2282 regexp for stopping at main. Could have multiple event notifications.
2283 Don't assume that main was declared with no parameters.
2284 (mi_next): Use mi_step_to.
2285 (mi_step): Use mi_next_to.
2289 * gdb.base/default.exp: Fix expected string in `info float' test.
2293 * config/mips.exp: Update comments.
2294 * config/mips-idt.exp: Likewise.
2295 * config/nind.exp: Likewise.
2296 * config/slite.exp: Likewise.
2297 * config/sparclet.exp: Likewise.
2298 * config/udi.exp: Likewise.
2299 * config/vx.exp: Likewise.
2300 * config/vxworks29k.exp: Likewise.
2304 * gdb.threads/killed.exp: Fix test failure message.
2308 * lib/mi-support.exp: Update copyright.
2309 (mi_gdb_test): Increase the priority of the expected pattern
2310 so that it matches gdb_test.
2314 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2315 Use integer comparison instead of string comparison for testing
2316 whether binary was built.
2320 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2324 * gdb.threads/pthreads.exp: Move the portable thread compilation
2325 code into a function in lib/gdb.exp, and call that from here.
2326 * lib/gdb.exp (gdb_compile_pthreads): New function.
2330 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2331 expect_out so that callers can get at it.
2335 * gdb.threads/print-threads.c: New file.
2336 * gdb.threads/print-threads.exp: New file.
2337 * gdb.threads/schedlock.c: New file.
2338 * gdb.threads/schedlock.exp: New file.
2342 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2347 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2348 targets. The problem should be fixed now.
2352 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2353 2002-07-24 change that removes final dots from error messages.
2357 * gdb.base/readline.exp: New file.
2361 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2366 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2367 CHILL_FOR_TARGET and CHILL_LIB.
2368 * configure.in (configdirs): Remove gdb.chill.
2369 * configure: Regenerate.
2370 * lib/gdb.exp: Obsolete references to chill.
2371 * gdb.fortran/types.exp: Ditto.
2372 * gdb.fortran/exprs.exp: Ditto.
2376 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2377 set Irix-specific compile and link flags.
2381 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2382 source files. The ``-o'' option doesn't work with the ``-E'' option
2383 when using the Irix compiler.
2387 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2388 Improve support for reusing an exec file. Copy exec file
2389 to target, and run gdbserver on the target instead of on the host.
2393 * gdb.base/ending-run.exp: Don't expect to see the program end in
2394 some orderly fashion when we're running on a real stand-alone
2397 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2398 targets that don't support interrupts.
2402 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2404 Move comments in expect statements to inside the actions, so that they
2405 don't get matched against.
2409 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2410 function when asleep" test.
2414 * gdb.base/page.exp: Rewrite to handle problems with very long
2415 `info set' output. Update copyright.
2419 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2421 * gdb.hp/configure: Regenerate.
2422 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2423 * gdb.hp/gdb.threads-hp/configure: Delete file.
2424 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2428 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2429 setlocale, bindtextdomain and textdomain.
2433 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2434 preprocessor macro information is present.
2436 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2441 * gdb.base/overlays.exp: Record addresses of overlay
2442 functions in TCL variables rather than in GDB variables,
2443 to avoid having GDB convert them to pointers (with loss
2446 * gdb.base/d10v.ld: Merge in several years worth of
2447 default linker script changes.
2448 * gdb.base/long_long.exp: Add check for sizeof (long double).
2452 * gdb.asm/asm-source.exp: Add x86-64 target.
2453 * gdb.asm/x86_64.inc: New.
2458 * gdb.c++/m-static.cc: New file.
2459 * gdb.c++/m-static.exp: New file.
2463 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2469 * gdb.c++/m-data.cc: New file.
2470 * gdb.c++/m-data.exp: New file.
2475 * gdb.c++/try_catch.cc: New file.
2476 * gdb.c++/try_catch.exp: New file.
2480 * gdb.c++/local.exp: Accept more nested types in output.
2484 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2488 * lib/gdb.exp (gdb_wrapper_init): Just because
2489 gdb_wrapper_file exists, this does not mean that the file
2490 should not be rebuilt. That is what gdb_wrapper_initialized
2492 (default_gdb_init): Reset gdb_wrapper_initialized.
2496 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2497 the precision of the floating point test results.
2498 * gdb.base/call-rt-st.exp: Ditto.
2500 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2501 * gdb.base/call-rt-st.exp: Ditto.
2505 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2509 * configure.in (configdirs): Add gdb.arch.
2510 * configure: Regenerate.
2514 * gdb.base/completion.exp: Recognize the more detailed error
2515 messages produced by the macro expander's lexical analyzer.
2519 * gdb.arch/altivec-abi.c: New file.
2520 * gdb.arch/altivec-abi.exp: New file.
2521 * gdb.arch/altivec-regs.c: New file.
2522 * gdb.arch/altivec-regs.exp: New file.
2526 * gdb.base/maint.exp (maint print type): Update for new type
2531 * gdb.arch: New directory.
2532 * gdb.arch/configure.in: New file.
2533 * gdb.arch/configure: New file.
2534 * gdb.arch/Makefile.in: New file.
2538 * gdb.asm/asm-source.exp: Add v850 as supported target.
2539 * gdb.asm/v850.inc: New file.
2543 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2547 * gdb.base/break.exp: Check 'break "marker2"'.
2551 * gdb.base/long_long.exp: Fix typo.
2555 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2558 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2559 Recognize more detailed error message produced by the macro
2560 expander's lexical analyzer.
2561 * lib/gdb.exp (test_print_reject): Same.
2565 * gdb.c++/method.exp: Fix typo.
2569 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2570 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2571 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2572 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2573 Add iftarget clause for strongarm.
2577 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2578 (gdb_continue_to_end): Accept output from status wrapper.
2579 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2580 Clean up fail messages to match pass messages.
2582 Enable the "needs_status_wrapper" testsuite feature.
2583 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2584 (gdb_compile): Conditionally call gdb_wrapper_init.
2585 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2586 * gdb.c++/method.exp: Recognize output from status wrapper.
2591 * config/sid.exp: Include support for "rawsid" protocol.
2595 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2596 * gdb.c++/hang3.C: New file.
2600 * gdb.base/default.exp: Remove obsolete code.
2601 * gdb.c++/misc.exp: Ditto. Update copyright.
2602 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2603 * gdb.base/whatis.exp: Ditto. Update copyright.
2604 * gdb.base/scope.exp: Ditto. Update copyright.
2605 * gdb.base/ptype.exp: Ditto. Update copyright.
2606 * gdb.base/printcmds.exp: Ditto. Update copyright.
2607 * gdb.base/opaque.exp: Ditto. Update copyright.
2608 * gdb.base/list.exp: Ditto.
2609 * gdb.base/funcargs.exp: Ditto. Update copyright.
2610 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2611 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2612 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2613 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2614 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2615 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2619 * gdb.base/watchpoint.exp: Add xscale target.
2620 * gdb.base/long_long.exp: Add xscale target.
2621 * gdb.base/default.exp: Add xscale target.
2625 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2626 gdb.c++/hang.exp: New test.
2630 * gdb.base/completion.exp: Handle completions of "./Make" for
2631 more than one completion possibility, as is the case when we
2632 build and test in the source tree.
2636 * gdb.java/jmisc1.exp: New file.
2637 * gdb.java/jmisc2.exp: New file.
2641 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2645 * gdb.base/help.exp: Change 'help status' to allow for target
2646 dependent output differences.
2650 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2654 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2658 * gdb.asm/sparc64.inc: New file.
2659 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2663 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2664 instruction file directly into the build tree. Clean up at end of
2669 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2670 handle 64-bit platforms correctly.
2671 * gdb.base/maint.exp: Likewise.
2675 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2676 ``-fpic'' when compiling files comprising a shared library, but
2677 it does need additional linker flags in order to find shared
2678 libraries at run time.
2682 * gdb.base/cvexpr.c (use): New function.
2683 (main): Invoke use() on all global variables to prevent
2684 some linkers from deleting these otherwise unused symbols.
2689 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2690 handle 64-bit platforms correctly.
2694 * gdb.base/foo.c (foox): Remove section attribute; the linker
2695 script can handle this instead.
2696 * gdb.base/bar.c (barx): Same.
2697 * gdb.base/baz.c (bazx): Same.
2698 * gdb.base/grbx.c (grbxx): Same.
2700 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2701 manager doesn't automatically unmap overlays unnecessarily.
2705 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2706 stepping out of main.
2710 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2711 scope so that the nested scope tests will make sense.
2712 * gdb.c++/local.exp: Write patterns that actually work with gcc
2713 (the HP patterns "were never known to work with gcc").
2714 Keep the old aCC patterns too.
2718 * gdb.base/attach.exp: Correct target board test.
2722 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2723 in a const method. Add some xfail and fail cases for configurations
2724 that do not emit the "const ...".
2728 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2729 Accept "A * const" and "const A * const" as type of "this".
2730 Fix spelling of getFunky throughout. Make messages uniform.
2734 Work around for PR gdb/285:
2735 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2739 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2740 instructions file at run time instead of configure time.
2741 Sometimes we run the test in a directory that is not the one we
2743 * gdb.asm/configure.in: Delete creation of symlink.
2744 * gdb.asm/configure: Regenerate.
2748 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2749 xfullpath () function.
2753 * gdb.asm/Makefile.in: Correct dependencies.
2755 * gdb.asm/powerpc.inc: New file.
2756 * gdb.asm/asm-source.exp: Add PowerPC.
2757 * gdb.asm/configure.in: Likewise.
2758 * gdb.asm/configure: Regenerated.
2762 * gdb.base/relocate.exp: New file.
2763 * gdb.base/relocate.c: New file.
2767 * gdb.base/step-test.exp: Update comment regarding stopping in
2768 memcpy/bcopy calls inserted as part of the compiler runtime.
2772 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2776 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2777 (gdb_expect): Remove $notransfer hack.
2781 * gdb.c++/classes.exp ("calling method for small class"): Match
2782 updated register output.
2787 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2788 when finished. Make gdb_file_cmd send "exec-file" when
2793 * gdb.base/attach.exp: Remove extra setup_xfail.
2797 * gdb.base/default.exp: Add tests for dump, append, and restore.
2798 * gdb.base/help.exp: Add tests for dump, append, and restore.
2799 * gdb.base/dump.exp: New file, test dump, append and restore.
2800 * gdb.base/dump.c: New file.
2804 * gdb.base/help.exp: Modify expect strings to reflect
2805 clean-ups in help messages.
2809 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2810 have debugging info for those functions and the compiler uses them
2811 internally to copy structs around.
2815 * gdb.base/list.exp: Revert the change made yesterday and add note
2816 about why we don't list the default lines for remote targets.
2820 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2824 * gdb.base/list.exp: This test works on remote targets so remove
2825 the short circuit for remote targets. Update copyright.
2829 * gdb.base/attach.exp: Fix logic error that was suppressing this
2830 test for all non hppa*-*-hpux* targets, instead of the hp target.
2831 Move comments closer to the suppression point. Also now need to
2832 check that we are running natively.
2836 * gdb.base/default.exp: Add test for gcore. Update copyright.
2837 * gdb.base/help.exp: Add test for gcore. Update copyright.
2841 * gdb.base/funcargs.c: Remove extraneous ';' character.
2842 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2846 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2847 accommodate gcc v3 function signature.
2848 * gdb.mi/mi0-var-cmd-exp: Ditto.
2852 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2853 ``GNU/Linux'' or ``Linux kernel''
2854 * testsuite/gdb.threads/pthreads.c: Ditto.
2858 * gdb.threads/pthreads.c (thread1): Add a return statement.
2859 (thread2): Likewise.
2864 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2869 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2870 test "ptype bint". The test passes on all my stabs configurations.
2874 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2875 filename at a time, and watch for the ones we want to see.
2877 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2878 types of pointers to prototyped functions.
2882 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2883 signed, unsigned and straight char.
2884 (padding_char, padding_short, padding_int, padding_long,
2885 padding_long_long, padding_float, padding_double,
2886 padding_long_double): New global variables.
2887 (fill, fill_structs): New functions.
2889 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2890 for correctly sized writes. Update copyright.
2891 (get_valueof): New procedure.
2892 (get_sizeof): Call get_valueof.
2893 (check_valueof): New procedure.
2894 (check_padding): New procedure.
2898 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2899 to setup_xfail. Document some of the remaining calls.
2903 * gdb.c++/userdef.exp: Update copyright year.
2907 * gdb.c++/userdef.exp: Test overloaded operators properly.
2912 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2916 * gdb.base/a2-run.exp: Check for a remote target properly.
2917 * gdb.base/annota1.exp: Likewise.
2918 * gdb.base/list.exp: Likewise.
2919 * gdb.base/reread.exp: Likewise.
2920 * gdb.base/scope.exp: Likewise.
2921 * gdb.base/shlib-call.exp: Likewise.
2922 * gdb.base/term.exp: Likewise.
2923 * gdb.c++/annota2.exp: Likewise.
2927 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2931 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2932 (call_after_alloca): Ditto.
2936 * gdb.base/ending-run.exp: Guard "cont" test with
2937 gdb_skip_stdio_test.
2941 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2943 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2944 To here. Disable this test on non-HP platforms. Add big comment.
2948 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2949 other than d10v and m32r.
2953 * gdb.base/default.exp: Rewrite test patterns to reduce time
2954 taken to match them.
2958 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2959 Allow a start function above main.
2960 * gdb.threads/linux-dp.exp: Fix copyright date.
2964 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2965 (check_philosopher_stack): Check for manager thread before checking
2966 for a just-starting thread.
2971 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2976 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2981 * gdb.base/reread.exp: Check that GDB properly re-reads the
2982 executable file when it changes while no inferior is running.
2986 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2987 optionally accept the "shlib events" variation.
2991 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2992 call `fflush' after every `printf', so that the output is produced
2993 at predictable points, regardless of whatever buffering does (or
2994 doesn't) take place.
2995 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2996 at different points.
3000 * gdb.c++/inherit.exp: Update copyright years.
3001 * gdb.c++/method.exp: Likewise.
3005 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3006 artificial methods/arguments.
3007 * gdb.c++/derivation.exp: Likewise.
3008 * gdb.c++/inherit.exp: Likewise.
3009 * gdb.c++/method.exp: Likewise.
3010 * gdb.c++/virtfunc.exp: Likewise.
3014 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3015 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3016 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3017 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3018 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3019 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3023 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3024 anchoring the pattern matching the entry point symbol's name.
3028 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3029 continue/quit query. Update copyright.
3033 * gdb.base/gcore.exp: Remove extra debugging output.
3037 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3038 for slightly dubious v2 mangled string.
3042 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3046 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3048 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3050 * gdb.c++/derivation.exp: Likewise.
3051 * gdb.c++/templates.exp: Likewise.
3052 * gdb.c++/virtfunc.exp: Likewise.
3056 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3060 * gdb.base/gcore.exp: New test for generate-core-file command.
3061 * gdb.base/gcore.c: Testcase for above.
3062 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3066 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3070 * gdb.c++/overload.exp: Remove unconditional xfails for:
3071 print foo_instance1.overloadargs(1)
3072 print foo_instance1.overloadargs(1, 2)
3073 print foo_instance1.overloadargs(1, 2, 3)
3074 print foo_instance1.overloadargs(1, 2, 3, 4)
3075 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3076 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3077 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3078 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3079 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3080 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3081 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3082 print foo_instance1.overload1arg()
3083 print foo_instance1.overload1arg((char)arg2)
3084 print foo_instance1.overload1arg((signed char)arg3)
3085 print foo_instance1.overload1arg((unsigned char)arg4)
3086 print foo_instance1.overload1arg((int)arg7)
3087 print foo_instance1.overload1arg((unsigned int)arg8)
3088 print foo_instance1.overload1arg((float)arg11)
3089 print foo_instance1.overload1arg((double)arg12)
3093 * gdb.base/huge.exp: New test. Print a very large target data object.
3094 (skip_huge_test): New test variable. Define if you want to skip this
3095 test. The test reads an 8 megabyte data object from the target, so it
3096 might be very time consuming on remote targets with a slow connection.
3097 * gdb.base/huge.c: New file. Test case for above.
3101 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3102 g_instance.bfoo, and g_instance.cfoo.
3106 * gdb.base/break.c (multi_line_if_conditional): New function.
3107 (multi_ilne_while_conditional): Likewise.
3108 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3109 IF or WHILE condition puts the breakpoint at the start of
3112 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3113 hppa*-*-hpux* expected failure.
3114 * gdb.base/structs.exp (do_function_calls): Similarly.
3116 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3122 * gdb.base/structs.exp: Replace skip for a29k with skip for
3123 gdb,cannot_call_functions.
3124 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3125 * gdb.base/callfuncs.exp: Ditto.
3126 * gdb.base/call-rt-st.exp: Ditto.
3127 * gdb.base/call-strs.exp: Ditto.
3128 * gdb.base/callfwmall.exp: Ditto.
3129 * gdb.base/scope.exp: Obsolete xfail a29k.
3130 * gdb.c++/misc.exp: Ditto.
3131 * gdb.c++/cplusfuncs.exp: Ditto.
3132 * gdb.base/ptype.exp: Ditto.
3133 * gdb.base/printcmds.exp: Ditto.
3134 * gdb.base/opaque.exp: Ditto.
3135 * gdb.base/list.exp: Ditto.
3136 * gdb.base/funcargs.exp: Ditto.
3137 * gdb.base/default.exp: Ditto.
3141 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3142 * gdb.base/maint.exp: Add tests for maint info sections options.
3146 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3150 * gdb.asm/arm.inc: New file.
3151 * gdb.asm/asm-source.exp: Add arm targets.
3152 * gdb.asm/configure.in: Ditto.
3153 * gdb.asm/configure: Recreated from configure.in.
3157 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3159 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3160 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3161 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3162 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3164 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3165 either HP's compilers or GCC.
3167 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3168 a SIGBUS or SIGSEGV.
3170 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3172 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3173 can be compiled with either HP's compiler or GCC.
3175 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3176 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3177 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3179 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3180 to match current gdb output. Update due to using auto-solib-limit
3181 for limiting instead of overloading auto-solib-add.
3182 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3185 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
3186 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3187 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3188 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3189 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3190 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3191 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3192 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3193 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3194 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3195 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3196 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3197 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3199 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3200 a SIGTRAP to the inferior.
3204 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3205 Substitute call to target_link by call to gdb_compile.
3209 * gdb.base/break.exp: Fix HP specific search string when testing
3210 backtracing in a called function.
3212 * gdb.base/constvars.exp: Only set lang to C++ if we're
3213 compiling the test with HP's compilers.
3214 * gdb.base/volatile.exp: Similarly.
3218 * gdb.base/printcmds.exp: Expect the null character to be printed
3219 as '\0', and the '\013' to be printed as '\v'.
3220 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3221 * gdb.base/setvar.exp: Same.
3225 * gdb.base/completion.exp: Rather than completing very long
3226 filenames, which can make the readline library produce output we
3227 don't recognize, cd to the directory first, and then complete
3228 using nice, short relative paths.
3230 * gdb.base/completion.exp: On some systems, there is, in fact, a
3231 variable named `b' in scope, since GDB treats all static
3232 variables as being in scope. So use `no_var_named_this'
3235 * gdb.base/corefile.exp: Recognize the message saying that GDB
3236 can't find the core file's registers as a failure.
3240 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3241 test expect string more specific.
3245 * gdb.asm/asm-source.exp: Add support for xstormy16.
3246 * gdb.asm/configure.in: Ditto.
3247 * gdb.asm/configure: Rebuild.
3248 * gdb.asm/xstormy16.inc: New file.
3252 * gdb.base/maint.exp: Update to match changes in type dumping code.
3256 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3257 matching the entry point symbol's name at the beginning of the
3262 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3263 gdb.c++/inherit.exp, gdb.c++/method.exp,
3264 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3265 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3266 and class layout support.
3270 * gdb.c++/classes.exp: Add test for static member function.
3271 * gdb.c++/misc.cc: Add class with static member function.
3275 If GDB says it can't find the struct the function returned, report
3276 those tests as `unsupported'.
3277 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3278 Rewrite subsequent tests to use it.
3280 If GDB says it can't find the struct the function returned, report
3281 those tests as `unsupported'.
3282 * gdb.base/structs.exp (call_struct_func): New function.
3283 (do_function_calls): Use call_struct_func to call the functions
3286 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3287 whether functions are prototyped or not, so we can't possibly pass
3288 arguments to t_float_values2 properly.
3290 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3291 value of `timeout' for targets other than the mips*tx39-*.
3295 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3296 and detect whether the start symbol has a leading underscore.
3300 * gdb.base/completion.exp: Clarify indentation.
3304 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3305 variables on the S/390, not `.word'.
3309 Add assembly-source tests for s390-ibm-linux.
3310 * gdb.asm/s390.inc: New file.
3311 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3312 the S/390 architecture.
3313 * gdb.asm/configure: Regenerated.
3317 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3318 next, info source, info sources, info line, global and static
3319 variables, and static functions.
3320 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3321 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3322 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3323 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3324 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3325 (gdbasm_leave): Restore frame pointer.
3326 (gdbasm_startup): Copy stack set-up from crt0.S.
3331 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3332 to a local (non-static) variable. Copy tstruct.a to a static buffer
3333 and return a pointer to that buffer.
3334 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3338 * gdb.asm/configure.in: Fix recognition of ix86 target.
3339 * gdb.asm/configure: Regenerate.
3343 * gdb.asm/sparc.inc: New file.
3344 * gdb.asm/asm-source.exp: Recognize sparc target.
3345 * gdb.asm/configure.in: Recognize sparc target.
3346 * gdb.asm/configure: Regenerate.
3350 * gdb.asm/m32r.inc: New file.
3351 * gdb.asm/asm-source.exp: Recognize m32r target.
3352 * gdb.asm/configure.in: Recognize m32r target.
3353 * gdb.asm/configure: Regenerate.
3357 * gdb.asm/i386.inc: New file.
3358 * gdb.asm/asm-source.exp: Recognize ix86 target.
3359 * gdb.asm/configure.in: Recognize ix86 target.
3360 * gdb.asm/configure: Regenerate.
3362 * gdb.c++/namespace.exp: Fix quotes in output messages.
3366 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
3367 qualifier in a type cast expression, to designate an address
3368 in the instruction space (Harvard architecture).
3372 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3373 Tests for expressions using 'const' and 'volatile'.
3377 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3381 * lib/mi-support.exp (mi_run_to_helper): Move comments
3382 outside of gdb_expect.
3386 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3387 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3388 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3389 mi0_run_to): New functions.
3390 * gdb.mi/mi-simplerun.exp: Use them.
3391 * gdb.mi/mi0-simplerun.exp: Likewise.
3392 * gdb.mi/mi-var-cmd.exp: Likewise.
3393 * gdb.mi/mi0-var-cmd.exp: Likewise.
3397 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3398 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3402 * gdb.base/restore.exp: Include $expected value in restored test
3407 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3412 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3413 Add pass/fail message for stop at breakpoint in call dummy function.
3417 * gdb.c++/templates.exp (test_template_breakpoints):
3418 If we get an overload menu, but it does not match what
3419 we expect, we still need to issue the "cancel" command.
3420 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3421 making the whitespace optional. Argument for "new" may be
3422 "unsigned" as well as "unsigned int/long".
3423 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3424 making the whitespace optional. Also replace "(void) with
3425 "((void|)), making the keyword "void" optional.
3426 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3427 making the whitespace optional. Also replace "(void) with
3428 "((void|)), making the keyword "void" optional.
3429 * gdb.base/callfuncs.c (t_float_values): This function must
3430 _not_ be prototyped, and the following function (t_float_values2)
3431 must be prototyped (if the compiler supports it), so that GDB
3432 can be tested against both cases. Usually one case involves
3433 promotion of float to double, while the other does not.
3434 * gdb.base/callfwmall.c: Ditto.
3435 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3436 includes a stack frame for "start".
3440 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3441 pointers are 32 bits long, and that offsets of relocs are always
3442 stored in the data (REL-style), and not in the reloc entry itself
3444 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3449 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3450 and regular expression operators by using quoting.
3454 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3455 depending on what the symbol table contains.
3456 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3457 the output of the ptype command. Similarly, accept both "const &"
3462 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3463 symbol `STORAGE' to allow to choose the storage class of
3464 the local datastructures.
3465 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3470 * gdb.base/jump.exp: Allow it to run for all targets.
3474 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3475 with new double_array size.
3476 (main): Change storage class of all local variables to static.
3477 Reduce size of double_array to 9.
3478 * gdb.base/call-ar-st.exp: Increase timeout value.
3479 Change expected output for double array to match new size in
3484 * gdb.base/ending-run.exp: Create identical output when passing
3485 `step to end of run' case. Add regular expression branch satisfying
3490 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3491 that we catch the expected failure under Linux/x86.
3495 * gdb.base/setvar.exp: Escape curly braces.
3496 * gdb.stabs/weird.exp: Ditto.
3500 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3501 * gdm.mi/mi0-hack-cli.exp: Likewise.
3505 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3510 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3511 checking MI enabled.
3515 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3519 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3520 if gdb child process crashes, just signal an error.
3524 * lib/gdb.exp (test_xfail_format): Simplify.
3526 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3527 front of the variable name `format'. Simplify `if'.
3531 * gdb.threads/pthreads.exp: Wait for output and delay
3536 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3537 some incorrect output instead of timing out.
3538 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3542 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3543 check to allow additional `int'.
3547 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3548 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3552 * lib/gdb.exp (test_debug_format): New proc.
3553 (setup_xfail_format): Use new proc test_debug_format.
3554 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3555 proc; use new service proc test_debug_format.
3556 Replace all other "gcc_compiled" tests with this test.
3557 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3558 proc; use new service proc test_debug_format.
3559 Replace all other "gcc_compiled" tests with this test.
3563 * gdb.base/cvexpr.exp: New file.
3564 * gdb.base/cvexpr.c: New file
3565 Test for expressions using const and volatile keywords.
3569 * gdb.base/constvars.exp: Check for different orders of keywords
3570 and additional "int" strings in output.
3574 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3575 responses from "help maint".
3579 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3580 to localhost:NNN instead of :NNN, in case Xvfb is listening
3585 * gdb.base/recurse.exp: When checking leaving the watchpoint
3586 scope, recognize when gdb is in function's epilogue and pass.
3590 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3591 support for running tests against sid targets.
3592 (gdbtk_done): Ditto.
3596 * gdb.base/ending-run.c (main): Set stdout buffersize
3597 to the same reasonable value for any target.
3598 * gdb.base/ending-run.exp: Add a regular expression
3599 to make testsuite happy on Sanyo Stormy16 target.
3603 * gdb.base/display.c (do_loops): Add float variable `f'.
3604 Increment f in loop.
3605 * gdb.base/display.exp: Increment timeout by 60 seconds.
3606 Change float display test to use variable `f'.
3610 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3611 overflowing the limited breakpoint tables on some ROM monitors
3616 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3617 the "-ac" (disable access control) flag.
3621 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3626 * lib/gdb.exp: Move all insight-related functionality into
3628 * lib/insight-support.exp: New file.
3632 * config/sid.exp (sid_start): Never set sid verbosity; disable
3633 expect_background {} that consumed its stdout; tolerate </dev/null.
3634 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3638 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3639 CLI jump command to start it.
3640 (mi_run_to_main): Fail immediatly when unexpected output.
3644 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3645 beginning of function. Fix PR gdb/191.
3649 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3650 what to force sid endianness to.
3654 * lib/gdb.exp (gdbtk_start): Don't set environment
3655 variables for TCL_LIBRARY and friends. Insight will
3656 now figure these out for itself.
3660 * gdb.base/completion.exp: Remove the symbol "a64l" from
3661 the expect string; this is target-specific, and not related
3662 to what is being tested.
3666 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3670 * gdb.base/consecutive.exp: New file. Test stepping over
3671 breakpoints on consecutive instructions.
3672 * gdb.base/consecutive.c: New file.
3674 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3675 curly braces in regular expressions.
3679 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3680 legitimate output from stepping out of main.
3684 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3685 the empty string, do not run the tests.
3689 * gdb.base/long_long.exp: Detect size of pointer. Take into
3690 account 2-byte pointers when testing for p/a results.
3694 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3695 and defined to 1K for m68hc11.
3696 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3697 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3698 (sizeof_random_data): New variable to tell the size of the data table;
3699 don't test past this size; always run to main.
3703 * gdb.base/return2.exp: return of long long and double fails for
3704 68HC11; don't execute these tests on that platform.
3705 * gdb.base/return.exp: Return of a double fails for 68hc11.
3709 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3710 tests that print a float.
3711 * call-rt-st.exp: Likewise.
3715 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3716 running this test on Linux.
3720 * gdb.base/arithmet.exp: Remove some tests to make all test names
3725 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3726 the output of the ptype command.
3730 * gdb.base/completion.exp: Don't assume that break.c is the only
3731 source file that may contain functions named "marker".
3732 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3736 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3740 * gdb.disasm/h8300s.exp: New file.
3741 gdb.disasm/h8300s.s: Likewise.
3745 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3746 empty breakpoint tables.
3750 * lib/mi-support.exp: Update args=... part of stop-reason
3751 patterns. Accept either a list or a tuple.
3755 * lib/mi-support.exp: Remove local emacs variable defining
3756 change-log-default-name.
3760 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3761 This is operationally compatible with the previous version.
3765 * lib/gdb.exp (gdb_test): Doc fix.
3769 * gdb.base/exprs.exp: Remove a duplicate test.
3773 * gdb.base/return2.exp (main): Use values to test float and double
3774 returns that are not NaN's, to avoid being confused by IEEE
3779 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3780 non-zero if control_c fails. Terminate the test on failure,
3781 rather than wait for 12 more tests to time out.
3785 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3786 Don't forget to match the GDB prompt.
3788 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3792 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3797 * gdb.base/annota1.exp (info break): Match four or more spaces
3802 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3803 (dm_type_int_star): Likewise.
3804 (dm_type_long_star): Likewise.
3805 (dm_type_void_star): Likewise.
3809 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3810 to a known value in order to get consistent results regardless
3811 of the setting of INPUTRC or the presence or contents of .inputrc.
3815 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3816 Don't require that the main thread and the manager thread are the
3819 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3820 debugging. If test fails, issue an "unsupported" not a "fail".
3824 Don't assume that short is shorter than int.
3825 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3826 assume that shorts are smaller than ints. On a 16-bit machine,
3828 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3829 an int, is not equal to ~0 stored in an unsigned char. This tests
3830 the same thing that the previous test meant to, but works on
3831 16-bit machines, too.
3832 ("print unsigned char != (~0)"): Same test, complemented.
3836 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3837 test for (full_coverage == 0). This makes the test run faster,
3838 and prevents dejagnu getting out of step.
3842 * gdb.base/finish.exp (finish_void): Revise pattern for
3843 stopping on the call statement to not permit stopping at
3844 the start of the instructions comprising the call sequence.
3848 * gdb.base/callfuncs.exp: Make all test names unique.
3849 * gdb.base/commands.exp: Make all test names unique.
3850 * gdb.base/condbreak.exp: Make all test names unique.
3851 * gdb.base/dbx.exp: Make all test names unique.
3852 * gdb.base/default.exp: Make all test names unique.
3853 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3854 and TIMEOUT messages to their corresponding PASS message.
3855 * gdb.base/ending-run.exp: Make all test names unique.
3856 * gdb.base/long_long.exp: Remove duplicate test.
3860 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3861 stop on the call statement as well as the statement after the
3866 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3870 * gdb.base/completion.exp: Revamp test. Make it execute on all
3875 * config/gdbserver.exp (gdb_load): Handle the case
3876 in which the arguments to gdbserver are given in the
3877 baseboard configuration file.
3878 Also handle the case in which the server needs to do a
3883 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3884 set up the display for testing.
3885 (gdbtk_start): Convert all paths to paths that tcl will like.
3886 Export target information to environment.
3887 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3889 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3890 (to_tcl_path): New proc to convert a given pathname into
3891 a path acceptible as an argument to a tcl command.
3892 (_gdbtk_export_target_info): New proc to export target info
3893 into the environment for gdbtk testing.
3894 (gdbtk_done): New proc to signal end-of-test.
3898 * restore.c: Make the code of caller0 correspond to its comment.
3902 * config/sid.exp (gdb_target_sid): Check for error messages.
3903 On error or timeout, don't make expect exit (which will terminate
3904 all subsequent tests); instead just make gdb exit.
3905 (gdb_load): Check for error messages. On error or timeout,
3906 return a negative value.
3910 * gdb.c++/templates.exp: If we see the prompt for the overload
3911 list, but we haven't recognized any of the longer patterns,
3912 arrange for this test to fail, not hang.
3914 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3919 * gdb.c++/local.exp: Use the 'runto' library function.
3920 * gdb.c++/namespace.exp: Likewise.
3921 * gdb.c++/overload.exp: Likewise.
3925 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3926 * gdb.base/step-line.exp: New file. Test step/next in presence of
3928 * gdb.base/step-line.c: New file. Test program for the above.
3929 * gdb.base/step-line.inp: New file. We pretend that this file has
3930 been transformed by some other tool into step-line.c.
3934 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3935 unmangled operator names.
3939 * gdb.threads/linux-dp.exp: Recognize an additional message
3940 generated by GDB when it doesn't understand how to debug threads
3941 on the target system.
3945 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3949 * gdb.c++/derivation.exp: Use the 'runto' library function.
3953 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3957 * gdb.c++/ref-types.exp: Change handwritten code to library
3962 * gdb.base/signals.exp: Set count to 0 explicitly.
3966 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3967 (gdb_target_monitor): Add check of gdb_target_cmd return value.
3968 (gdb_load): Add support for additional target_info: gdb_download_size
3969 and gdb_load_timeout.
3973 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3974 file -- to prevent failing when the compile fails but we have no
3975 intention of running the tests anyway.
3977 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3980 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3983 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3984 * gdb.c++/namespace.exp: Ditto.
3988 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3989 * gdb.base/pointers.exp: Relax pattern match of decimals.
3993 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3994 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3995 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3996 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3997 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3998 config/sh.exp, config/sid.exp, config/slite.exp,
3999 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4000 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4001 config/vxworks.exp, config/vxworks29k.exp,
4002 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4003 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4004 gdb.base/arithmet.exp, gdb.base/assign.exp,
4005 gdb.base/async.exp, gdb.base/attach.exp,
4006 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4007 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4008 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4009 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4010 gdb.base/commands.exp, gdb.base/completion.exp,
4011 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4012 gdb.base/constvars.exp, gdb.base/corefile.exp,
4013 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4014 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4015 gdb.base/ending-run.exp, gdb.base/environ.exp,
4016 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4017 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4018 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4019 gdb.base/funcargs.exp, gdb.base/help.exp,
4020 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4021 gdb.base/logical.exp, gdb.base/long_long.exp,
4022 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4023 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4024 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4025 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4026 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4027 gdb.base/regs.exp, gdb.base/relational.exp,
4028 gdb.base/remote.exp, gdb.base/reread.exp,
4029 gdb.base/restore.exp, gdb.base/return2.exp,
4030 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4031 gdb.base/selftest.exp, gdb.base/setshow.exp,
4032 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4033 gdb.base/sigall.exp, gdb.base/signals.exp,
4034 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4035 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4036 gdb.base/step-test.exp, gdb.base/structs.c,
4037 gdb.base/structs.exp, gdb.base/structs2.exp,
4038 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4039 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4040 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4041 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4042 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4043 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4044 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4045 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4046 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4047 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4048 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4049 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4050 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4051 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4052 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4053 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4054 gdb.trace/circ.exp, gdb.trace/collection.exp,
4055 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4056 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4057 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4058 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4059 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4060 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4061 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4066 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4067 first arg is int not float.
4071 * gdb.base/reread.exp: Unsupported for non-native targets;
4072 doesn't work for remote debugging.
4077 * gdb.base/ending-run.exp: Properly handle the BSP state when
4078 stepping past the end of main.
4082 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4083 Converted HPUX fix for non-expected items following multiple
4084 step commands into general solution for all platforms.
4088 * gdb.c++/classes.exp (do_tests): Change runto statements
4089 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4090 statements demangler agnostic.
4091 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4092 (gdb_virtfunc_restart): Likewise.
4096 * gdb.c++/inherit.exp (do_tests): Change runto statements
4097 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4098 statements demangler agnostic.
4102 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4103 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4104 before calling common_routine 15 times'' tests.
4108 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4109 Helps the test script figure out which demangler is in use.
4110 (dm_type_foo_ref): Ditto.
4111 (dm_type_int_star): Ditto.
4112 (dm_type_long_star): Ditto.
4113 (dm_type_unsigned_int): Ditto.
4114 (dm_type_void): Ditto.
4115 (dm_type_void_star): Ditto.
4116 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4117 Probe the gdb demangler and set variables to accommodate
4118 formatting differences.
4119 (info_func_regexp): New function. Same as info_func, but
4120 matches against a regexp.
4121 (info_func): Match against a literal string.
4122 (print_addr_2): New function. Match against a literal string,
4123 which can be different from the input to gdb.
4124 (print_addr): Simply call print_addr_2 with the same argument twice.
4125 (test_lookup_operator_functions): Use demangler formatting variables.
4126 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4127 the tests in the same order as the C++ class declaration.
4128 (test_paddr_operator_functions): Ditto.
4129 (test_paddr_overloaded_functions): Ditto.
4130 (test_paddr_hairy_functions): Use demangler formatting variables.
4131 Add reference to gdb/19 for related tests.
4132 (do_tests): Call probe_demangler.
4136 * gdb.c++/templates.cc (printf): Remove unused function definition.
4140 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4144 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4146 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4150 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4151 Deprecate $sid_spawn_id.
4152 (sid_exit): Remove code necessary only for `spawn.'
4156 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4160 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4161 to call when tests fail. It takes gdb out of the overloaded
4162 function choice menu back to the main prompt, so that the test
4163 program stays synchronized.
4164 (set_bp_overloaded): New proc to collect all the common
4165 code for setting a breakpoint on an overloaded name. Calls
4166 take_gdb_out_of_choice_menu when needed.
4167 (menu_overload1arg): New variable to collect the repeated
4168 instances of the expected menu for an overloaded name. Change
4169 the regular expression to handle changes in g++ type encoding:
4170 "void" can be either "void" or "", and "unsigned int" can be
4171 either "unsigned int" or "unsigned".
4172 (continue_to_bp_overloaded): Change regular expressions to handle
4173 changes in g++ type encoding.
4174 (no proc): Call take_gdb_out_of_choice_menu when needed.
4175 Remove redundant calls to "info break". Accept either "canceled"
4176 or "cancelled". Change regular expressions in "info break"
4177 calls to handle changes in g++ type encoding. Give all tests
4182 * config/sid.exp: New file.
4186 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4190 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4191 Add a RE to accept a non-ascii char if one is ever presented.
4195 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
4199 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4200 in regexp. One '\' does not suffice on Linux.
4204 * gdb.base/break.exp (test_clear_command): Use a marker function
4205 rather than 'main' for the test function. Also move this
4206 test to an execution point where the marker function names are
4207 guaranteed to be bound to functions. (Executing tests after a
4208 'finish' from main runs into name conflicts with local names
4209 in __libc_start_main).
4213 * gdb.base/finish.exp: New test for gdb's "finish" command.
4214 * gdb.base/return2.exp: New test for gdb's "return" command.
4215 * gdb.base/return2.c: New source file for above.
4219 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4220 * gdb.base/miscexprs.exp: Ditto.
4221 * gdb.base/pointers.exp: Ditto.
4222 * gdb.c++/derivation.exp: Ditto.
4223 * gdb.c++/local.exp: Ditto.
4224 * gdb.c++/namespace.exp: Ditto.
4225 * gdb.c++/overload.exp: Ditto.
4226 * gdb.c++/ref-types.exp: Ditto.
4230 * gdb.base/constvars.exp: Test result of "up" command.
4231 * gdb.base/miscexprs.exp: Ditto.
4232 * gdb.base/pointers.exp: Ditto.
4233 * gdb.base/scope.exp: Ditto.
4234 * gdb.c++/derivation.exp: Ditto.
4235 * gdb.c++/local.exp: Ditto.
4236 * gdb.c++/namespace.exp: Ditto.
4237 * gdb.c++/overload.exp: Ditto.
4238 * gdb.c++/ref-types.exp: Ditto.
4242 * mips_pro.exp: Accept either "middle -> top -> main" or
4243 "middle -> main" in the backtrace, because gcc can optimize
4244 tail calls to jumps. Remove setup_xfail for the hppa case.
4245 Add a comment with the original warning messages from PR 3016,
4246 which was filed in 1993, to preserve them for posterity.
4250 * lib/gdb.exp (gdb_test): Override timeout with board info.
4254 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4255 the second kill and detach messages.
4259 * configure.in: Add AC_EXEEXT.
4260 * configure: Regenerate.
4261 * Makefile.in (just-check): Export EXEEXT.
4262 * lib/gdb.exp ($EXEEXT): Import from environment.
4263 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4264 expect "maint dump-me" on Cygwin.
4265 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4270 * gdb.base/break.exp: Test backtrace and finish from called
4271 function on all platforms, not just HP-UX.
4275 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4276 code from gdb_target_monitor, so it can be used independantly
4277 for gdbserver. Also comment out an unnecessary PUTS.
4281 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4282 * gdb.base/corefile.exp: Expect the message "Program is being
4283 debugged already" when we send the "corefile" command, since
4284 the preceeding gdb_load may have connected gdb to a remote target.
4285 * gdb.base/display.exp: Disable hardware watchpoints if new
4286 board info variable "no_hardware_watchpoints" is true.
4287 Replace single-letter commands with more readable ones.
4288 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4289 if new board info variable "no_hardware_watchpoints" is true.
4290 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4291 to see if stdio (printf) testing is possible.
4292 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4293 board info variable "no_hardware_watchpoints" is true. Use new
4294 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4299 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4300 in array print pattern match.
4304 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4305 spelling "cancelled" to U.S. spelling "canceled" to match changes
4307 * gdb.c++/ovldbreak.exp: Ditto.
4311 * gdb.base/callfuncs.c (main): Moved to end of file, call
4312 t_double_values to initialize the FPU before inferior calls are made.
4313 * gdb.base/callfuncs.exp: Test for register preservation after calling
4314 inferior functions. Add tests for continuining, finishing and
4315 returning from a stop in a call dummy.
4319 * gdb.base/commands.exp: Break up long lines, and re-indent.
4323 * config/gdbserver.exp: Rewritten from the ground up, to make it
4324 compatible with the current dejagnu tree, and to make it work with
4325 the new "gdbserver" in libremote.
4329 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4330 * gdb.base/varargs.exp: Skip entire test if no printf support.
4331 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4332 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4336 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4337 no floating point support.
4338 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4339 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4340 * gdb.base/call-rt-st.exp: Ditto.
4341 * gdb.base/call-strs.exp: Ditto.
4345 * gdb.base/sizeof.c: include <stdio.h>.
4347 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4348 'finish', otherwise uncaptured gdb_prompt would potentially
4349 throw remaining test points out of sync.
4353 * gdb.base/recurse.exp: Run tests for all targets.
4354 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4355 gnu-oldld case on ARM.
4356 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4361 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4362 * gdb.java/configure: Rebuild.
4366 * gdb.java/jv-exp.exp: New file.
4370 * configure: Rebuilt.
4371 * configure.in (configdirs): Add gdb.java.
4372 * gdb.java/jmisc.java: New file.
4373 * gdb.java/jmisc.exp: New file.
4374 * gdb.java/Makefile.in: New file.
4375 * gdb.java/configure: Rebuilt.
4376 * gdb.java/configure.in: New file.
4377 * lib/java.exp: New file.
4381 * gdb.base/exprs.exp: Test casts to a pointer including over and
4386 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4387 and the compilers sizes.
4391 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4392 (use_methods): New function.
4393 (main): Call use_methods().
4394 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4395 (do_tests): Call test_method_param_class.
4399 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4401 (test_enums): New procedure. Move enum tests from end of script
4402 to here. Set breakpoint on function name instead of line number.
4403 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4404 (enums2): New marker function.
4405 (enums1): New function.
4406 (main): Call enums1(). Move enum tests to enums1().
4410 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4411 compile/link program. Update line numbers.
4412 * gdb.asm/d10v.inc: Define ``startup''.
4413 * gdb.asm/asmsrc1.s: Add definition of _start.
4417 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4421 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4422 of 'help maint print' command.
4426 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4427 they use gdb_expect_list.
4431 * gdb.base/commands.exp: Use ``set remote
4432 memory-read-packet-size'' instead of ``set endian big'' to test
4437 * gdb.c++/templates.exp (do_tests): Make all of these work under
4438 g++, and stop skipping them.
4440 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4443 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4448 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4449 the regular expression: accept an (almost) arbitrary sequence of
4450 "frames-invalid" and "breakpoints-invalid" messages both before
4451 and after the "starting" message.
4455 * gdb.c++/local.exp: This test has never been known to work with g++.
4459 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4460 Relax the regular expression a little, make it pass on Solaris 8.
4464 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4465 a call, do not require that gdb stop on the line after the call.
4466 Instead, it is permissible for gdb to stop on the line of the
4471 * gdb.base/break.exp (bp on small function, optimized file):
4472 Add a second pass pattern. The behavior differs here between stabs
4473 and dwarf for one-line functions. Stabs preserves two line symbols
4474 (one before the prologue and one after) with the same line number,
4475 but dwarf regards these as duplicates and discards one of them.
4476 Therefore the address after the prologue (where the breakpoint is)
4477 has no exactly matching line symbol, and GDB reports the breakpoint
4478 as if it were in the middle of a line rather than at the beginning.
4482 * gdb.base/interrupt.exp: Make "pass" message say "send"
4483 rather than "send_gdb" (for consistancy).
4488 * gdb.c++/templates.cc: Properly check for GCC version number.
4489 * lib/compiler.cc: Likewise
4493 * gdb.base/break.exp: When compiled with -O2 optimization,
4494 gdb may not stop at the first line of main, due to code motion.
4498 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4499 This test depends on parsing the printf output from the target.
4500 Since the sparclet stub doesn't do stdio, this will never work.
4501 * gdb.base/call-rt-st.exp: ditto.
4502 * gdb.base/call-strs: ditto.
4506 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4508 * gdb.base/ending-run.exp: After connecting to a remote target,
4509 but before running, the target will appear to be in a random
4510 location. Specify both a file and a line for breakpoints.
4511 Also, the function that calls main may be called 'init'
4512 rather than 'start'.
4516 * gdb.base/help.exp: Update output for add-symbol-file command.
4521 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4525 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4527 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4531 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4532 values that can be represented exactly.
4533 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4534 above change, and to not check against the directory part of the source
4536 (step into print_long_arg_list): Likewise.
4537 (print print_small_structs from print_long_arg_list): Likewise.
4538 (print print_long_arg_list): Likewise.
4542 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4546 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4550 * gdb.base/commands.exp (deprecated_command_test): Add test for
4551 deprecate with no arguments.
4555 * gdb.base/break.exp: Add new test for setting breakpoints on
4556 optimized code so we can test breakpoints work even when function
4557 prologues may be optimized away
4562 * gdb.base/commands.exp : Added command deprecator tests.
4566 * gdb.base/help.exp: Added test for new apropos command.
4570 * gdb.base/pointers.c (usevar): New function.
4571 (main): Make sure that global variables v_int_pointer2, rptr,
4572 and y are all referenced someplace in the program by calling
4573 usevar() on them. [Some linkers delete symbols which are
4574 never referenced. The space remains, but there's no way to
4575 get a (symbolic) handle on the variable from the debugger.]
4579 * gdb.base/printcmds.c: Add typedeffed arrays.
4581 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4582 procedure to test arrays that are typedef'd.
4586 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4587 the library directories.
4591 * configure.in (configdirs): Add sub directory gdb.mi.
4592 * configure: Re-generate.
4594 * gdb.mi: New directory.
4598 * gdb.base/long_long.exp: Correct test suite failure when printing
4599 a long long value as a double on ARM platforms.
4603 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4604 default source file is set properly before running this test.
4608 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4609 gdbtk/library directory, not in gdbtcl2.
4613 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4614 backslash from regexp pattern.
4616 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4617 procedure. Use it to run all the "continue to bp overloaded"
4618 tests. Note that this changes the names of the tests slightly.
4619 If the breakpoint hit message includes a hex PC value, because
4620 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4621 from the real source code, still consider that a pass.
4623 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4624 XFAIL here if the breakpoint message contains a hex address. Note
4625 similar change on 1999-11-02.
4627 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4629 * gdb.base/ptype.exp: Establish a default source file before
4630 calling get_debug_format.
4634 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4638 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4639 of successive stepi commands -- while in the prologue we should see
4640 the function entry bracket.
4644 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4645 reach __change_mode() when stepping through the end of main().
4649 * gdb.base/default.exp: Fix expected pattern.
4650 * gdb.base/help.exp: Same.
4654 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4655 Don't use xfail's because that affects only the following test.
4657 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4660 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4664 * gdb.base/display.exp: Some yacc parsers like to say
4665 "A syntax error" rather than "A parse error". Accept both.
4669 * gdb.base/default.exp: Remove OS dependent string from "target
4671 * gdb.base/help.exp: Same for "help target remote" test.
4677 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4678 prompt (cleanup rather than necessity, but still might keep output
4679 from spilling to next test).
4683 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4684 AIX, which defines them in <sys/types.h>.
4688 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4693 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
4695 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4696 outermost frame disallowed".
4700 * gdb.base/setvar.exp: New tests for setting the value of a struct
4701 with a constant list.
4705 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4706 require the user to type a cast before setting the value of a struct.
4710 * gdb.base/default.exp: Expect the new 'info float' command on
4713 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4714 LinuxThreads libraries that don't support debugging.
4718 * gdb.base/remote.c: Fill the buffer with truely random data.
4719 Change the buffer type to ``unsigned char'' to simplify size
4722 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4723 stub only handles 400-1 byte packets. Verify that the download
4728 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4729 tests, using UNRESOLVED for the untested cases. Also, does not wait
4730 for a timeout if the prompt was received before a recognizable pattern.
4734 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4738 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4743 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4745 * gdb.c++/local.exp: Be more flexible in recognizing local class
4746 name mangling. Don't allow horribly truncated method names.
4747 * gdb.c++/derivation.exp: Expect protected inheritance.
4748 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4749 * gdb.c++/virtfunc.exp: Likewise.
4750 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4751 when printing a nested enum.
4755 * gdb.base/step-test.exp: Properly await GDB's response to setting
4756 a breakpoint on the call to large_struct_by_value.
4758 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4759 just because we have debug info for the `start' function.
4763 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4764 "Unknown signal" messages, which indicate (on LinuxThreads) that
4765 GDB doesn't know how to debug threads on this system. This is
4766 better than hanging while philosopher 0 dumps chatter into gdb.log.
4770 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4774 * gdb.base/coremaker2.c: Add sample program for generating
4775 cores that is more self contained than coremaker.c. Eventually
4776 I'll add more code to this and tie it into the testsuite.
4780 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4784 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4786 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4789 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4791 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4792 'continue with watch' test point.
4796 Merged from p2linux-990323-branch:
4798 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4802 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4803 {limit,fixed}''. Test ``set download-write-size''.
4807 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4812 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4816 * gdb.base/break.exp: Fix "stub continue" pattern.
4820 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4824 * gdb.base/display.exp ("finish"): Add timeout clause.
4826 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4827 plain prompt clause, so this doesn't have to time out in order to
4830 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4831 breakpoint hit messages include an address.
4833 * gdb.base/display.exp: Don't forget to escape parens in regular
4834 expressions. Unix regexp notatation sucks.
4838 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4839 order for 'signalled' message.
4844 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4845 * gdb.base/annota1.c: Add code for tests to work with.
4849 * gdb.base/remote.exp: New test for remote downloading settings.
4850 * gdb.base/remote.c: New file with large .data.
4854 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4855 for LinuxThreads support, merged from the Code Fusion branch.
4859 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4860 containing exp_continue into a while within an expect. Don't
4861 attempt a start more than three times. Check return value from
4866 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4871 * gdb.base/break.c (main): Added a statement that we can step
4873 * gdb.base/break.exp: Added tests for setting a breakpoint
4874 at an offset and stepping onto a breakpoint.
4878 * gdb.base/help.exp (help add-symbol-file): Update to match current
4883 * gdb.base/break.exp: Code locations are in hex, don't forget!
4888 * condbreak.exp: Use break.c as test program.
4889 * condbreak.c: Remove, redundant with break.c.
4893 * config/monitor.exp (gdb_target_monitor): Disable X- and
4894 Z-packets if the target needs it.
4898 * gdb.c++/overload.exp: Added tests for listing overloaded
4899 functions with function pointers in the arg, explicitly calling
4900 out the version you want.
4904 * long_long.exp: Add variations of test cases that work for
4905 targets with 16-bit ints and 32-bit doubles.
4909 * break.c (main): Compare a possibly-uninitialized argc with an
4910 unlikely value that fits in 16 bits.
4914 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4915 0xfeeb, don't want negative numbers if ints are 16 bits.
4917 * lib/gdb.exp (skip_cplus_tests): New proc.
4918 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4919 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4920 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4921 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4922 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4923 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4924 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4925 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4927 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4931 * gdb.base/corefile.exp (up): Allow a parameter to appear
4932 in the frame that we're going up to.
4936 * gdb.base/default.exp (info float): Expect some output now.
4938 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4939 returning floating-point values to fail on the x86.
4940 * gdb.base/callfwmall.exp (do_function_calls): Same.
4942 * gdb.base/list.exp (test_listsize): Correct expectations for
4943 listing line 1 with listsize 2. Also, listing a single line
4944 works now, as does listing three lines. [Kevin's note: There
4945 were a number of other cases fixed too where the expectations
4950 * gdb.base/selftest.exp: Add case for when version prints as
4951 constant string instead of char pointer.
4955 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4956 stepping out of main.
4958 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4961 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4962 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4964 * gdb.c++/ovldbreak.exp: Update match string in test that
4965 includes a warning of multiple breakpoints.
4969 * gdb.base/display.exp: Improve precision of step-after-finish
4972 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4975 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4976 configs when using G++, not just hppa*.
4980 * gdb.base/async.c: New file.
4981 * gdb.base/async.exp: New file.
4985 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4990 * gdb.base/display.exp: "finish" can leave us mid-line on many
4991 targets, deal with it. Add a small constant to main, instead of
4992 1000 since main+1000 may not be a valid address in the target.
4994 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4997 * gdb.base/attach.exp: Handle another hpux11 error message variant
4998 when attaching to a process that does not exist.
5002 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5003 characters in 'continue to 1241' test.
5007 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5008 stop in print_long_arg_list, define and use a whitespace
5009 variable in print_small_structs test, add an XFAIL for Solaris.
5010 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5011 interested enough to fix.
5015 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5016 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5017 proc knows about targets other than the natives.
5018 (test_assign): Use "gdb_run_cmd" to "run" the target.
5019 Check that we've actually hit the breakpoint at main.
5020 When we attempt to assign a value to a local variable, check
5021 that the variable is in the current scope, i.e., don't use
5022 a test with an empty result.
5026 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5032 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5033 gdb.compat, gdb.threads-hp.
5034 gdb.hp/configure, gdb.hp/configure.in: New files.
5035 gdb.hp/Makefile.in: Recurse into new subdirs.
5036 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5037 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5039 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5043 * gdb.base/display.exp: Help expect by putting a newline in the
5044 funky printf, remove a bogus p/a test.
5048 * gdb.base/display.exp: Make sure that when we say 'run', we are
5049 connected to the target. This is necessary when running not
5054 * gdb.base/step-test.exp: Removed some extraneous messages.
5056 * gdb.base/long_long.exp: Don't run memory examination tests
5057 on little-endian targets (they will need a different set of
5062 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5063 until somebody decides to fix GDB.
5065 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5067 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5068 matches for a couple x/2 commands.
5072 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5073 by merging in ref-types2 tests.
5074 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5077 * gdb.c++/Makefile.in: Add standard actions.
5078 (EXECUTABLES): Rename from PROGS, update list.
5079 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5081 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5083 * gdb.c++/anon-union.exp: Fix tests to match.
5084 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5085 expect matches to handle output variations.
5086 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5087 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5088 output, add HP alternatives for new and delete prints.
5089 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5090 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5091 * gdb.c++/demangle.exp: Use $style when reporting failure.
5092 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5093 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5095 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5097 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5098 * gdb.c++/method.exp: Add match alternatives.
5099 * gdb.c++/misc.cc: Add bool types.
5100 * gdb.c++/misc.exp: Add tests for bool types.
5101 * gdb.c++/overload.exp: Add xfails.
5102 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5103 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5104 add some more template parameter tests (only for HP currently).
5105 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5106 * gdb.c++/virtfunc.cc: Add return type and value for main.
5107 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5112 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5116 * gdb.base/signals.exp: Don't expect getting a backtrace from
5117 within a signal handler to fail on Linux.
5122 * lib/gdb.exp: Remove some gratuitious semicolons.
5123 (delete_breakpoints): Increase timeout.
5124 (gdb_expect): Add -notransfer option.
5125 (gdb_test): Use -notransfer option.
5126 (get_compiler_info): Add f77 case.
5127 (get_compiler): New proc, split out from gdb_preprocess, add f77
5129 (gdb_preprocess): Call get_compiler.
5131 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5132 * gdb.base/attach.exp, gdb.base/display.exp,
5133 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5134 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5135 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5136 third arg to gdb_test.
5137 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5138 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5139 HP-UX xfails, add others.
5140 * gdb.base/completion.exp: Reflect name change of self-test.
5141 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5142 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5143 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5145 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5146 useless HP-UX 10.30 references.
5147 * gdb.base/maint.exp: Loosen matches.
5148 * gdb.base/pointers.c (main): Declare more_code.
5149 * gdb.base/pointers.exp: Match on output of a `next'.
5150 * gdb.base/structs.c: Add prototypes.
5151 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5152 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5156 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5161 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5162 Fix run to main failures. Watchpoint can be hardware watchpoint.
5164 * gdb.base/annota1.exp: Clean up some more, in case printf has
5165 debug info. Deal with lack of signal hanlder info in stack.
5168 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5172 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5173 gdb.base/foll-vfork.exp: Don't run for crosses.
5177 * gdb.base/configure.in: Check for gdbvars.exp instead of
5179 * gdb.base/configure: Re-generate.
5183 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5184 in trying to run first and name is too long.
5186 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5187 pointers2.c and pointers2.exp, respectively.
5188 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5193 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5194 callfuncs2.c and callfuncs2.exp.
5196 * gdb.base/list.exp: Remove mistaken xfails.
5197 * gdb.base/list0.h: Add optional prototypes.
5201 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5203 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5204 * ptype.exp: Move test for get_debug_format to before its first
5209 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5210 * gdb.base/annota2.cc, annota2.exp: Move from here.
5211 * gdb.c++/annota2.cc, annota2.exp: To here.
5212 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5216 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5217 a consistent format.
5222 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5223 HP compilers, also set the globals $true and $false.
5225 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5226 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5227 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5228 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5229 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5230 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5231 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5232 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5233 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5234 whatis.c} Add C++ compatible function definitions and return
5235 types, add includes for library functions.
5236 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5237 * gdb.base/step-test.c (myglob): Rename from glob.
5238 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5239 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5240 files, move here from gdb.hp.
5241 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5242 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5243 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5244 Adjust line numbers in regexps.
5246 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5247 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5250 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5251 foll-vfork.exp: New files, move here from gdb.hp.
5252 * gdb.base/page.exp: New file, test of pagination command.
5254 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5256 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5258 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5259 gdb.base/solib.exp: Fix compiler invocation process.
5261 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5262 HP-UX 11, turn off overload resolution explicitly.
5263 * gdb.base/commands.exp: Set argument list explicitly, add
5265 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5267 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5268 expressions properly.
5269 * gdb.base/corefile.exp: Loosen the match slightly.
5270 * gdb.base/default.exp: Allow "Error accessing memory" message
5272 * gdb.base/display.exp: Skip over x/0 j if PA64.
5273 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5274 * gdb.base/interrupt.exp: Ditto.
5275 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5277 * gdb.base/list.exp: Add xfails for HP-UX.
5278 * gdb.base/long_long.exp: Refine some of the numeric matches.
5279 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5280 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5281 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5282 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5283 * gdb.base/ptype.exp: Succeed on more varieties of output.
5284 * gdb.base/scope.exp: Add xfails for HP-UX.
5285 * gdb.base/sect-cmd.exp: Add more cases.
5286 * gdb.base/setvar.exp: Add xfails for HP-UX.
5287 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5288 * gdb.base/signals.exp: Match on void symbolically.
5289 * gdb.base/step-test.exp: Add case for PA64.
5290 * gdb.base/term.exp: Add exit and restart.
5291 * gdb.base/twice.exp: Clean up after self.
5292 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5293 * gdb.base/whatis.exp: Allow more ways to pass tests.
5295 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5300 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5302 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5303 print_double_array(double_array)", "continuing to breakpoint
5304 1018", "print print_double_array(array_d)" and "continuing to
5309 * Makefile.in: Add empty html and install-html targets.
5313 * config/mt-*: Remove, these haven't been used since 1996.
5317 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5318 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5319 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5323 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5324 simpler match case for the ptype of the big class.
5328 * gdb.exp: Fix test for gdb_prompt existence.
5332 * gdb.exp (gdb_test): Add fail after calls to perror.
5336 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5340 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5344 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5345 malloc() is linked in.
5349 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5352 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5356 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5360 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5361 * gdb.base/mips_pro.exp: Likewise.
5365 * gdb.c++/templates.cc: Change all "new" operators to throw
5367 * gdb.c++/cplusfuncs.cc: Likewise.
5369 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5373 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5374 * gdb.base/ending-run.exp: When stepping out of main, accept a
5375 step into an arbitrary assembler file.
5379 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5380 "breakpoint-invalid" to be printed.
5381 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5382 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5383 * gdb.base/annota2.cc: Initialize a.x to 0.
5387 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5388 when "skip_float_tests" set.
5389 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5390 "print print_ten_doubles", and "step into print_long_arg_list".
5391 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5392 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5393 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5394 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5395 "skip_float_tests" is set.
5396 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5397 when "skip_float_tests" set.
5401 * gdb.base/annota2.cc: Include stdio.h.
5405 * gdb.base/crossload.exp: Remove, this has been disabled ever
5406 since BFD stopped including all targets, and cross-GDB gets
5407 plenty of testing anyway.
5408 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5409 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5410 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5411 * gdb.base/README: Remove, was doc for this.
5412 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5417 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5420 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5421 * gdb.base/annota2.exp: New file. More annotation tests.
5422 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5423 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5427 * config/cfdbug.exp: New file.
5431 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5432 Marcus Daniel's and Dale Hawkins's demangler crashes.
5434 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5435 test_lucid_style_demangling, test_arm_style_demangling,
5436 test_hp_style_demangling): Try Tom Tromey's core-dumping
5437 identifier under each demangling style.
5441 * gdb.c++/demangle.exp: Include the current demangling style
5443 (current_demangling_style): New global variable.
5444 (set_demangling_style, test_demangling_core, test_demangling,
5445 test_demangling_exact): New functions.
5446 (test_gnu_style_demangling, test_lucid_style_demangling,
5447 test_arm_style_demangling, test_hp_style_demangling): Use those,
5448 instead of calling gdb_test and gdb_test_exact directly.
5449 (catch_demangling_errors): New function, which reports errors
5450 signalled by the demangling test functions in an orderly way.
5451 (do_tests): Use catch_demangling_errors.
5455 * gdb.base/signals.exp (test_handle_all_print): Use () for
5456 grouping in expressions, not {}.
5458 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5463 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5468 * gdb.stabs/weird.exp: Test for CC being defined before
5469 looking at its value.
5473 * gdb.base/call-ar-st.exp: Remove stray '#'.
5474 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5475 "short int" and "long int".
5476 * gdb.c++/overload.cc: Cast the string added in the previous
5477 change, to mollify finicky HP compiler.
5478 * gdb.hp/reg-test.exp (testfile): Fix file name.
5479 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5481 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5482 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5483 alternate form of enum ptype.
5487 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5488 * gdb.hp/*.exp: Change all to run compiler probe only after
5489 passing skip_hp_tests, so as not to waste time on guaranteed
5492 * gdb.c++/overload.cc: Pass string instead of char addr, always
5494 * gdb.c++/templates.cc: Fix syntax error.
5498 * gdb.base/commands.exp: Add test for correct position of '>'
5499 when issuing the 'commands' command after a 'while' or 'if'
5504 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5506 * gdb.c++/method.exp: It was testing an uninitialized int on the
5507 stack and assuming it was positive.
5509 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5511 * gdb.base/step-test.exp: Catch a case where finish is broken and
5512 keep it from killing the rest of the tests.
5513 Use gdb_continue_to_end.
5515 * gdb.base/sigall.exp: use gdb_continue_to_end.
5517 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5519 * gdb.base/display.exp: use runto_main, not run.
5521 * gdb.base/default.exp: Check for the current error message in the
5522 r abbreviation test.
5523 Add strongarm to the targets that know info float.
5525 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5526 run which doesn't work with monitors.
5528 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5530 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5532 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5533 program. Traps the case (in Cygmon) when the program never really
5534 exits. Same as Mark's continue_to_exit, but I had put it in a lot
5535 more places, so I used my name. Sorry Mark...
5537 * config/monitor.exp (gdb_target_monitor): added another
5538 target_info parameter: remotebinarydownload. This will set the
5539 remotebinarydownload flag if this is causing some boards trouble.
5543 * lib/gdb.exp (continue_to_exit): New function.
5545 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5546 * gdb.base/ending-run.exp: Ditto.
5547 * gdb.base/step-test.exp: Ditto.
5551 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5556 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5560 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5561 descriptions of types (short unsigned int vs unsigned short, etc).
5565 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5566 a call to strlen; sometimes we do have sources.
5570 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5571 character, so GDB won't print garbage after its end.
5573 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5574 breakpoint there instead. Sometimes GCC emits memcpy to handle
5575 the large structures being passed by value, so we step into that
5576 instead of sum_array_print, which obscures what we're really testing.
5577 * gdb.base/step-test.exp: However, we do want a test that notices
5578 the bizarre steps into memcpy, so do that here. Add check for
5579 stepping into function calls that pass large structures by value.
5580 ("Is that a noun clause, or are you just happy to see me?")
5581 Remove all references to specific line numbers.
5582 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5583 New type and function.
5584 (main): Call large_struct_by_value, passing it a large struct by value.
5585 * lib/gdb.exp (gdb_get_line_number): New function.
5587 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5592 * lib/gdb.exp: Doc fixes.
5596 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5600 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5601 commands. They're not germane to this test, and they don't work
5602 that way on remote targets.
5606 * Changelog entries merged over from gdb development branch.
5610 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5611 for outputting results of test run.
5615 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5619 * lib/gdb.exp (debug_format): initialize
5623 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5624 * gdb.base/call-rt-st.c: Ditto.
5628 * gdb.threads/pthreads.exp (horiz): New variable.
5629 (test_startup): Fix regexps that capture thread numbers.
5633 * gdb.base/smoke.exp: Disambiguate two test case names (both
5638 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5643 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5644 actual output formatting.
5645 * gdb.base/smoke.exp: GDB removes leading 0's.
5646 * gdb.base/volatile.exp: Don't check type of remuneration;
5647 that variable is no longer defined in constvars.c.
5648 * gdb.base/step-test.c (main): Exit with explicit exit code.
5649 * gdb.base/step-test.exp: Remove two nexti checks--they are
5654 * gdb.base/help.exp ("help delete display"): Fix test to match
5657 * gdb.base/long_long.c (known_types): Initialize values to zero.
5658 * gdb.base/long_long.exp: Step one more line
5659 so 'dec' is initialized in "get to known place". GDB removes
5660 leading zeros. Explicitly ask for hex formatting. Use
5661 unique test case names.
5665 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5667 * gdb.c++/method.exp: Add missing close brace.
5671 * gdb.base/maint.exp: Use 'set height 0' to disable page
5672 prompting, not 'set height 400'.
5674 Fix a bunch of timeouts.
5675 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5676 four separate tests, so expect doesn't take forever to match a ton
5677 of text against a regexp with lots of .* forms.
5678 ("maint print psymbols", "maint print symbols"): Make some of
5679 these greps more selective, so that expect doesn't try to wade
5680 through huge piles of output and time out.
5682 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5684 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5685 tests: one which doesn't expect shlib events to be reported, and
5686 another which does, but is XFAIL for all platforms other than
5689 * gdb.base/break.exp: Teach the test suite that the `catch
5690 fork', `catch vfork', and `catch exec' commands produce error
5691 messages on platforms that don't provide these features.
5695 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5696 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5697 (shortening names from solib_threshold.exp etc), won't run on
5698 anything but HP-UX for the foreseeable future.
5699 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5704 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5705 gdb.trace/Makefile.in (clean): Remove all test executables.
5709 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5710 successfully re-sets breakpoints in shared libraries.
5711 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5715 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5716 and compiled w/o GCC.
5718 * gdb.hp/watch-cmd.exp: ditto.
5720 * gdb.hp/watch-hp.exp: ditto.
5722 * gdb.hp/xdb1.exp: ditto.
5724 * gdb.hp/xdb2.exp: ditto.
5726 * gdb.hp/dbx.exp: ditto.
5730 * constvars.c: Remove C++-isms.
5731 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5736 The following changes are part of the HP merge.
5738 * gdb.base/break.exp: new tests to verify that catchpoints for
5739 fork, vfork, and exec don't trigger inappropriately.
5741 * gdb.base/opaque.exp: compile one file at a time, then link.
5743 * gdb.base/signals.exp: be more restrictive about which hppa
5744 systems receive a setup_xfail. new tests.
5746 * gdb.base/solib_threshold.build: new file.
5747 * gdb.base/solib_threshold.exp: new file.
5748 * gdb.base/solib_threshold.link_opts: new file.
5749 * gdb.base/solib_threshold.mk: new file.
5750 * gdb.base/gen_solib_threshold.c: new file.
5752 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5753 tests. New tests for enums inside classes.
5755 * gdb.c++/compiler.cc: indicate support of template debugging.
5757 * gdb.c++/demangle.exp: run hp style demangling tests.
5759 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5762 * gdb.c++/misc.cc: changes to support new tests.
5764 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5765 to support new tests.
5767 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5768 gcc, then skip these tests.
5772 The following files are part of the HP merge; some had longer
5773 names at HP, but have been renamed to be no more than 14
5774 characters in length.
5776 * gdb.hp/ambiguous.cc: new file.
5777 * gdb.hp/ambiguous.exp: new file.
5778 * gdb.hp/attach.exp: new file.
5779 * gdb.hp/attach2.exp: new file.
5780 * gdb.hp/classes-hp.exp: new file.
5781 * gdb.hp/ctti.exp: new file.
5782 * gdb.hp/ctti-add.cc: new file.
5783 * gdb.hp/ctti-add1.cc: new file.
5784 * gdb.hp/ctti-add2.cc: new file.
5785 * gdb.hp/ctti-add3.cc: new file.
5786 * gdb.hp/dbx.exp: new file.
5787 * gdb.hp/exception.cc: new file.
5788 * gdb.hp/exception.exp: new file.
5789 * gdb.hp/foll-exec.c: new file.
5790 * gdb.hp/foll-exec.exp: new file.
5791 * gdb.hp/foll-fork.c: new file.
5792 * gdb.hp/foll-fork.exp: new file.
5793 * gdb.hp/foll-vfork.c: new file.
5794 * gdb.hp/foll-vfork.exp: new file.
5795 * gdb.hp/inherit-hp.exp: new file.
5796 * gdb.hp/more-steps.exp: new file.
5797 * gdb.hp/namespace.cc: new file.
5798 * gdb.hp/namespace.exp: new file.
5799 * gdb.hp/optimize.exp: new file.
5800 * gdb.hp/pxdb.c: new file.
5801 * gdb.hp/pxdb.exp: new file.
5802 * gdb.hp/quicksort.exp: new file.
5803 * gdb.hp/reg-test.exp: new file.
5804 * gdb.hp/reg-test.s: new file.
5805 * gdb.hp/sized-enum.c: new file.
5806 * gdb.hp/sized-enum.exp: new file.
5807 * gdb.hp/start-stop.exp: new file.
5808 * gdb.hp/templ-hp.cc: new file.
5809 * gdb.hp/templ-hp.exp: new file.
5810 * gdb.hp/thr-lib.c: new file.
5811 * gdb.hp/thr-lib.exp: new file.
5812 * gdb.hp/thr-lib.h: new file.
5813 * gdb.hp/thr-liblib.c: new file.
5814 * gdb.hp/virtfun-hp.c: new file.
5815 * gdb.hp/virtfun-hp.exp: new file.
5816 * gdb.hp/watch-cmd.exp: new file.
5817 * gdb.hp/watch-hp.exp: new file.
5818 * gdb.hp/xdb1.exp: new file.
5819 * gdb.hp/xdb2.exp: new file.
5820 * gdb.hp/xdb3.exp: new file.
5824 The following files are part of the HP merge; some had longer
5825 names at HP, but have been renamed to be no more than 14
5826 characters in length.
5828 * gdb.base/ss.h: new file.
5829 * gdb.base/call-ar-st.c: new file.
5830 * gdb.base/call-ar-st.exp: new file.
5831 * gdb.base/call-rt-st.c: new file.
5832 * gdb.base/call-rt-st-exp: new file.
5833 * gdb.base/call-strs.exp: new file.
5834 * gdb.base/ena-dis-br.exp: new file.
5835 * gdb.base/environ.exp: new file.
5836 * gdb.base/long_long.exp: new file.
5837 * gdb.base/sect-cmd.exp: new file.
5838 * gdb.base/shlib-cl2.exp: new file.
5839 * gdb.base/smoke.exp: new file.
5840 * gdb.base/so-impl-ld.c: new file.
5841 * gdb.base/so-impl-ld.exp: new file.
5842 * gdb.base/so-indr-cl.c: new file.
5843 * gdb.base/so-indr-cl.exp: new file.
5844 * gdb.base/varargs.exp: new file.
5845 * gdb.base/volatile.exp: new file.
5846 * gdb.base/whatis-exp.exp: new file.
5847 * gdb.base/display.exp: new file.
5848 * gdb.c++/derivation.exp: new file.
5849 * gdb.c++/local.exp: new file.
5850 * gdb.c++/member-ptr.exp: new file.
5851 * gdb.c++/overload.exp: new file.
5852 * gdb.c++/ovldbreak.exp: new file.
5853 * gdb.c++/ref-types.exp: new file.
5854 * gdb.c++/ref-types2.exp: new file.
5855 * gdb.c++/userdef.exp: new file.
5859 * gdb.base/default.exp: Reflect wording change in remote.c.
5863 * gdb.base/help.exp: Update to reflect current text.
5867 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5868 they're stack variables and contain garbage.
5869 * gdb.c++/anon-union.exp: new file.
5871 The following changes were made by David Taylor
5876 * gdb.base/bitops.exp: new file.
5877 * gdb.base/default.exp: change expected messages for catch and
5878 info catch tests to reflect HP merge changes.
5879 * gdb.base/enable-disable-break.exp
5880 * gdb.base/ending-run.c: new file.
5881 * gdb.base/long_long.c: new file.
5882 * gdb.base/maint.exp: new file.
5883 * gdb.base/pointers2.exp: new file.
5884 * gdb.base/shlib-call2.exp: new file.
5885 * gdb.base/solib.exp: new file.
5886 * gdb.base/step-test.c: new file.
5887 * gdb.c++/anon-union.cc: new file.
5888 * gdb.c++/local.cc: new file.
5889 * gdb.c++/member-pointer.cc: new file.
5890 * gdb.c++/method.cc: new file.
5891 * gdb.c++/ref-types.cc: new file.
5892 * gdb.c++/ref-types2.cc: new file.
5893 * gdb.c++/userdef.cc: new file.
5895 * gdb.base/scope.exp: compile one file at a time, then link.
5896 * gdb.base/langs.exp: ditto.
5897 * gdb.base/list.exp: ditto.
5901 The following changes were made by David Taylor
5906 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5907 skip tests. When compiling pass c++ flag to gdb_compile.
5910 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5911 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5912 (skip_hp_tests): new function.
5913 (gdb_preprocess): new function.
5915 * configure.in (hpdir): decide whether to configure gdb.hp.
5916 * configure: regenerated.
5918 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5920 (EXECUTABLES): update to reflect new additions.
5921 * gdb.base/commands.exp: update message expected.
5922 * gdb.base/default.exp: add copyright notice.
5923 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5924 * gdb.base/help.exp: update messages to reflect current text.
5925 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5926 targets for recurse tests.
5927 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5930 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5931 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5933 * gdb.c++/misc.exp: ditto.
5934 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5935 run the tests. tell gdb_compile that it's a c++ compilation.
5937 * gdb.threads/pthreads.exp: fix typo in message.
5939 * gdb.base/all-bin.exp: new file.
5940 * gdb.base/arithmet.exp: new file.
5941 * gdb.base/assign.exp: new file.
5942 * gdb.base/completion.exp: new file.
5943 * gdb.base/cond-expr.exp: new file.
5944 * gdb.base/condbreak.exp: new file.
5945 * gdb.base/define.exp: new file.
5946 * gdb.base/dollar.exp: new file.
5947 * gdb.base/environment.exp: new file.
5948 * gdb.base/eval-skip.exp: new file.
5949 * gdb.base/jump.exp: new file.
5950 * gdb.base/logical.exp: new file.
5951 * gdb.base/pointers.exp: new file.
5952 * gdb.base/relational.exp: new file.
5953 * gdb.base/section_command.exp: new file.
5954 * gdb.base/whatis-expr.exp: new file.
5956 * gdb.base/all-types.c: new file.
5957 * gdb.base/call-array-struct.c: new file.
5958 * gdb.base/call-return-struct.c: new file.
5959 * gdb.base/call-strings.c: new file.
5960 * gdb.base/callfuncs2.c: new file.
5961 * gdb.base/condbreak.c: new file.
5962 * gdb.base/constvars.c: new file.
5963 * gdb.base/display.c: new file.
5964 * gdb.base/int-type.c: new file.
5965 * gdb.base/jump.c: new file.
5966 * gdb.base/miscexprs.c: new file.
5967 * gdb.base/pointers.c: new file.
5968 * gdb.base/pointers2.c: new file.
5969 * gdb.base/shmain.c: new file.
5970 * gdb.base/shr1.c: new file.
5971 * gdb.base/shr2.c: new file.
5972 * gdb.base/solib.c: new file.
5973 * gdb.base/solib1.c: new file.
5974 * gdb.base/solib2.c: new file.
5975 * gdb.base/varargs.c: new file.
5976 * gdb.c++/derivation.cc: new file.
5977 * gdb.c++/overload.cc: new file.
5978 * gdb.c++/ovldbreak.cc: new file.
5979 * gdb.hp/attach.c: new file.
5980 * gdb.hp/attach2.c: new file.
5981 * gdb.hp/average.c: new file.
5982 * gdb.hp/compiler.c: new file.
5983 * gdb.hp/compiler.cc: new file.
5984 * gdb.hp/execd-program.c: new file.
5985 * gdb.hp/follow-exec.c: new file.
5986 * gdb.hp/follow-fork.c: new file.
5987 * gdb.hp/follow-vfork-and-exec.c: new file.
5988 * gdb.hp/misc-hp.cc: new file.
5989 * gdb.hp/more-steps.c: new file.
5990 * gdb.hp/optimize.c: new file.
5991 * gdb.hp/quicksort.c: new file.
5992 * gdb.hp/run-hp.c: new file.
5993 * gdb.hp/start-stop.c: new file.
5994 * gdb.hp/sum.c: new file.
5995 * gdb.hp/templates-hp.cc: new file.
5996 * gdb.hp/thread-local-in-lib.c: new file.
5997 * gdb.hp/thread-local-in-lib.h: new file.
5998 * gdb.hp/thread-local-in-lib.lib.c: new file.
5999 * gdb.hp/vforked-program.c: new file.
6000 * gdb.hp/virtfunc-hp.cc: new file.
6001 * gdb.hp/watchpoint-hp.c: new file.
6002 * gdb.hp/xdb.c: new file.
6003 * gdb.hp/xdb0.c: new file.
6004 * gdb.hp/xdb0.h: new file.
6005 * gdb.hp/xdb1.c: new file.
6009 The following change was made by Edith Epstein
6011 originally made by HP; HP did not create ChangeLog entries.
6013 * gdb.c++/demangle.exp: changed the expected output for some
6014 ARM-style mangling -- removed second reference to datatype.
6015 For example, maint demangle __dt__11T1__pt__2_cFv
6016 T1<char>::~T1<char>(void)
6018 maint demangle __dt__11T1__pt__2_cFv
6021 (test_hp_style_demangling): new hp specific demangling test cases.
6025 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6026 * gdb.trace/backtrace.exp: Likewise.
6027 * gdb.trace/circ.exp: Likewise.
6028 * gdb.trace/collection.exp: Likewise.
6029 * gdb.trace/deltrace.exp: Likewise.
6030 * gdb.trace/infotrace.exp: Likewise.
6031 * gdb.trace/limits.exp: Likewise.
6032 * gdb.trace/packetlen.exp: Likewise.
6033 * gdb.trace/passc-dyn.exp: Likewise.
6034 * gdb.trace/passcount.exp: Likewise.
6035 * gdb.trace/report.exp: Likewise.
6036 * gdb.trace/save-trace.exp: Likewise.
6037 * gdb.trace/tfind.exp: Likewise.
6038 * gdb.trace/tracecmd.exp: Likewise.
6039 * gdb.trace/while-dyn.exp: Likewise.
6040 * gdb.trace/while-stepping.exp: Likewise.
6044 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6049 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6054 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6055 remote dos host testing right.
6059 * gdb.base/corefile.exp: remove some xfails.
6063 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6064 have different timestamps.
6068 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6069 gdb.base/default.exp: Replace "exec" with "executable".
6073 * gdb.base/default.exp: Change else if to elseif from previous
6078 * gdb.base/default.exp: Add brace missing from previous delta.
6082 * gdb.base/default.exp: Support test for info float for all
6083 varieties of arm toolchain.
6087 * gdb.trace/*.exp: remove "remote_download" command.
6091 * gdb.trace/*.exp: remove -gdwarf from compile.
6095 * gdb.trace/configure.in(AC_INIT): typo
6096 * gdb.trace/configure: regenerated
6100 * config/m68k-emc.exp: New file.
6101 * lib/<emc-support.exp trace-support.exp}: New files.
6102 * configure.in: add new test directory gdb.trace.
6103 * gdb.trace/{configure configure.in Makefile.in}: New files.
6104 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6105 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6106 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6107 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6108 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6109 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6110 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6114 * gdb.c++/classes.exp: Change all regular expressions to match
6115 arbitrary combinations of newline/carriage-return, so that they
6116 will work equally well on Unix and Windows.
6117 * gdb.c++/inherit.exp: ditto.
6118 * gdb.c++/virtfunc.exp: ditto.
6122 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6126 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6127 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6128 to use a0-a3/d0-d3 as needed.
6132 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6133 * gdb.disasm/am33.exp: Corresponding changes.
6137 * gdb.base/callfuncs.exp: add cmp10 test.
6138 * gdb.base/callfuncs.c (cmp10): new function.
6142 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6143 into two parts to get around a synchronization problem in expect.
6147 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6149 * configure.in: Add options for gdbtk testsuite.
6151 * configure: Regenerate.
6153 * gdb.gdbtk: New directory to hold gdbtk tests.
6157 * gdb.fortran/types.exp: Escape brackets in expect patterns
6158 for test_float_literal_types_accepted tests.
6159 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6164 * am33.exp: Just compile, do not link the testcase.
6165 * am33.s: Add ".am33" pseudoop to force am33 mode.
6169 * gdb.base/setshow.exp: make sure $pc is sane.
6171 * gdb.stabs/weird.exp: split expect patterns properly.
6175 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6176 * gdb.disasm/am33.exp: Run it.
6180 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6181 match processing (and eliminate spurious timeouts when running).
6185 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6186 exception test, but conditionalize it on target [mach | gnu].
6190 * gdb.base/overlays.exp: fixup compile line for linker script.
6194 * gdb.fortran/types.exp: don't guess at float size.
6198 * gdb.base/exprs.exp: delete test that depends on int size.
6202 * config/sim.exp: Removed checks for target triplets.
6203 (gdb_target_sim): Use gdb,target_sim_options.
6207 * gdb.base/reread.exp: New file.
6208 * gdb.base/reread1.c: New file.
6209 * gdb.base/reread2.c: New file.
6213 * config/sim.exp: Use 'target sim -sparclite' when running
6218 * gdb.base/structs2.exp: New file.
6219 * gdb.base/structs2.c: New file.
6223 * gdb.asm/common.inc: New file.
6224 * gdb.asm/d10v.inc: New file.
6225 * asm-source.exp: Pass -I's to gas to find .inc files.
6226 Update line numbers in expected output.
6227 * asmsrc1.s: Rewrite.
6228 * asmsrc2.s: Rewrite.
6229 * configure.in: Create arch.inc symlink.
6230 * configure: Regenerate.
6231 * Makefile.in (distclean): Delete arch.inc.
6235 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6236 (t_enum_value2): ditto
6237 (t_enum_value3): ditto
6241 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6242 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6244 Use gdb_test instead of send_gdb/gdb_expect sequences.
6248 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6253 * gdb.base/branches.c: Code with lots of loops and
6254 subroutines. Used to test gdbs ability to single step through PC
6255 changes, especially to test mips-tdep.c:mips_next_pc
6259 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6260 more rigorous EGCS C++ error checking.
6264 * gdb.base/help.exp: Clean up `help set args' and `help show args'
6266 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
6267 function when asleep.
6268 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
6269 for i*86 Linux and SVR4 signal handling problems.
6270 Remove linux xfail for `next to handler in signals_tests_1', fixed
6271 by recent infrun.c change.
6272 Limit backtrace to 10 frames to avoid timeout problems with infinite
6274 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6279 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6280 for a newline from gdb before continuing.
6281 (default_gdb_exit): Just look for y or n.
6282 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6283 it does, fail the rests of the tests in the file.
6287 * config/cygmon.exp: New file.
6291 * gdb.base/list.exp: Fix problem with "list default lines around
6292 main" test on remote targets.
6294 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6295 run test on remote targets.
6299 * gdb.asm: New directory.
6300 * configure.in: Configure it.
6301 * configure: Regenerate.
6302 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6303 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6307 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6311 * gdb.base/overlays (several files): Merge the two overlay
6312 managers into one. Change variables (foox, barx, bazx, grbxx)
6313 back into ints but force them to load in their proper sections.
6317 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6318 on-chip insn memory and IMAP1 to upper 128k.
6319 (D10VCopy): Handle memory regions crossing 16k boundaries.
6320 (D10VCopy): Transfer data in 32 bit chunks.
6324 * gdb.base/overlays.c (main): Exit normally when result is
6327 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6328 map. Include space for printf in .text segment.
6330 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6331 updated d10v memory VMA/LMA map.
6332 (D10VCopy): Call D10VTranslate.
6336 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6338 * gdb.base/bar.c (barx, bar): Change variable to small array so
6339 that it won't be put into the .sdata - small data -
6340 section. Update reference.
6341 * gdb.base/baz.c (bazx, baz): Ditto.
6342 * gdb.base/foo.c (foox, foo): Ditto.
6343 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6345 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6350 * gdb.base/overlays.exp: fix up and get working again.
6351 Add tests for backtraces from an overlay function.
6355 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6356 "calling function with watchpoint enabled".
6360 * gdb.base/break.exp (test_next_with_recursion): Remove
6361 gdb_suppress_tests for d10v-*-*.
6362 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6363 pending review of whether it is useful or not.
6367 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6371 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6372 * config/dve.exp: New file to support Densan boards.
6376 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6381 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6384 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6388 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6391 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6392 target_sizeof_long and target_bigendian_p.
6393 (structs_by_value, structs_by_reference): Check values according
6394 to targets word size and endianess.
6398 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6403 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6404 Update test of set args help to match source change.
6408 * gdb.base/default.exp: Expect help system output to be in
6410 * gdb.base/help.exp: Ditto.
6414 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6415 "i*86-pc-linux-gnu*".
6416 * gdb.base/interrupt.exp: Ditto.
6417 * gdb.base/corefile.exp: Ditto.
6419 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6420 define vxworks when building the testcase.
6422 * gdb.base/ptype.exp: Fix testnames to be unique.
6423 * gdb.base/radix.exp: Ditto.
6424 * gdb.base/term.exp: Ditto.
6425 * gdb.base/whatis.exp: Ditto.
6426 * gdb.c++/classes.exp: Ditto.
6430 * gdb.base/callfuncs.exp: Fix indentation.
6432 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6433 suppress_flag has been set.
6434 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6439 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6442 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6443 set_debug_traps() and breakpoint().
6444 * gdb.c++/misc.cc (main): Ditto.
6445 * gdb.c++/templates.cc (main): Ditto.
6446 * gdb.c++/virtfunc.cc (main): Ditto.
6450 * lib/gdb.exp(gdb_step_for_stub): New function.
6451 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6452 exists, reload the executable and do a "continue" instead of
6454 (runto_main): Use gdb_step_for_stub.
6456 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6457 tests to have unique names.
6458 * gdb.base/callfuncs.exp: Ditto.
6459 * gdb.base/commands.exp: Ditto.
6460 * gdb.base/default.exp: Ditto.
6461 * gdb.base/help.exp: Ditto.
6462 * gdb.base/list.exp: Ditto.
6463 * gdb.base/opaque.exp: Ditto.
6464 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6467 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6468 * gdb.c++/cplusfuncs.cc: Ditto.
6469 * gdb.c++/virtfunc.cc: Ditto.
6471 * config/monitor.exp: Keep track of the last file we saw, rather
6472 than trying to get the info from gdb.
6474 * gdb.fortran/types.exp: Move comment to previous line.
6478 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6484 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6485 string from GDB when it connects.
6487 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6491 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6492 if we can't get a debug format from GDB (we may be testing an
6493 older GDB). Use a 10 second timeout when checking for the format.
6495 * gdb.stabs/weird.exp: Fix quoting.
6497 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6501 * config/arm-ice.exp: New file.
6505 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6506 until it has been modified to work with the new testsuite.
6508 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6509 testcase won't compile, cause all of the testcases in the file to
6512 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6513 (gdb_clear_suppressed): New procedure.
6514 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6515 it contains a positive value.
6519 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6521 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6525 * lib/gdb.exp (setup_xfail_format): New function.
6526 (get_debug_format): New function to get debug format.
6527 (debug_format): New global variable to hold last value set
6528 by get_debug_format.
6529 * gdb.base/list.exp: Call get_debug_format and expect some
6530 tests to fail for DWARF 1 and COFF formats.
6531 * gdb.c++/ptype.exp: Ditto.
6532 * gdb.c++/classes.exp: Ditto.
6533 * gdb.c++/cplusfuncs.exp: Ditto.
6534 * gdb.c++/inherit.exp: Ditto.
6535 * gdb.c++/templates.exp: Ditto.
6536 * gdb.c++/virtfunc.exp: Ditto.
6540 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6541 host doesn't have a currently-open connection.
6543 * config/sparclet.exp: Cleanups and fixes to make it generic for
6544 any gdb stub target. Handle cases where gdb doesn't respond when
6545 interrupted in a sane fashion.
6547 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6548 same thing in a totally different way.
6550 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6552 (gdb_start): We set the global gdb_prompt variable in
6553 default_gdb_init now.
6557 * gdb.base/printcmds.exp: Fix "check for floating addition"
6558 regexp to accept results within approx +/- .01 of exact value.
6559 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6563 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6565 (gdb_expect): Add optional timeout parameter, and add timeout
6566 value to various calls.
6567 (gdb_suppress_tests): Only give one warning message per group.
6571 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6572 global variables. Handle getting a value for $timeout more
6577 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6579 (default_gdb_init): New procedure; allow gdb_init to be overridden
6580 by a target configuration file.
6581 (gdb_expect): Pass the timeout to remote_expect.
6583 * config/monitor.exp(gdb_load): Fix typo in regexp.
6587 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6591 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6592 here. Call gdb_target_exec before rebooting the target, to make
6593 sure the connection to the target is closed.
6594 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6595 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6596 Also detect "Timeout reading from remote" error.
6598 * config/gdbserver.exp: Pass the executable being loaded to
6599 gdb_target_monitor. Don't call gdb_file_cmd here; let
6600 gdb_target_monitor do it.
6602 * gdb.disasm/hppa.exp: Don't use exec_output.
6606 * gdb.base/list.exp: If we're debugging a non-native target,
6607 try to set the pc register to point to the start of the
6608 program before doing the first list command.
6610 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6611 test_calls after restarting.
6613 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6616 * gdb.base/watchpoint.exp: Fix typo.
6618 * gdb.base/setshow.exp: Check for use_gdb_stub.
6620 * gdb.base/break.exp: Fix continue until exit test for the gdb
6622 * gdb.base/langs.exp: Ditto.
6624 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6625 gdb_load_offset. If we weren't given a file to load, figure out
6626 what the current file is and use it.
6628 * config/i386-bozo.exp: New file.
6632 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6635 * config/proelf.exp: New entry.
6639 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6642 * gdb.base/watchpoint.exp: Don't run the test_stepping
6643 tests if gdb can't call functions on the target.
6645 * gdb.base/setshow.exp: Don't run the set prompt tests if
6646 the board has gdb_prompt set.
6650 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6651 * gdb.base/commands.exp: Likewise.
6652 * gdb.base/setshow.exp: Likewise.
6656 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6659 * config/i960.exp: New file.
6663 * gdb.base/funcargs.exp: Check for gdb,short_int target
6664 feature instead of looking for explicit target triplets.
6668 * gdb.base/printcmds.exp: add a couple more tests a la
6669 "p 123DEADBEEF", to check parse_number.
6670 * top.c: change "to enable to enable" to "to enable" in a couple
6675 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6680 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6681 where the test executable is run with explicit args.
6682 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6686 * gdb.base/run.c: Use FAKEARGV to build test executable that
6687 does not require a command line arg, since most simulators
6688 don't currently support passing such an arg into the simulated
6690 * gdb.base/commands.exp: Change tests to insert the proper
6691 value as the arg to the first recursive factorial call. Change
6692 compilation line to define FAKEARGV at compile time.
6696 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6697 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6698 function with watchpoint enabled" test.
6702 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6703 Don't call gdb_test when the command doesn't return to a gdb prompt.
6705 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6706 "Tests restarted" messages.
6710 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6714 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6715 for INFO SYMBOL; add help tests for OVERLAY commands.
6716 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6717 add tests for OVERLAY commands
6718 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6719 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6720 * gdb.base/sigall.c: add usestubs code frag
6721 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
6725 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6727 (gdb_stop_suppressing_tests): Note that tests have restarted.
6731 * config/h8300.exp: New file.
6735 * gdb.base/setshow.exp: Check for the existence of a
6736 feature, not its value.
6740 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6742 * gdb.base/scope.exp: It's now init0(), not init().
6744 * gdb.base/scope0.c: For now, change init() to be init0().
6746 * config/monitor.exp: Use gdb_serial in preference to serial
6749 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6750 and it's not already set.
6754 * gdb.base/setshow.exp: Only test the run command if the target
6755 isn't using a stub and if it supports argument passing.
6759 * config/udi.exp(gdb_start): Make sure UDICONF is set
6760 properly before starting gdb.
6764 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6765 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6766 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6770 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6771 specialized code to reboot the board, use remote_reboot instead.
6773 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6775 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6777 * config/monitor.exp: Make sure we disconnect from the target.
6778 Also, try a reboot/reload cycle instead of failing if the
6783 * gdb.base/default.exp: Don't set match_max.
6784 * gdb.base/help.exp: Ditto.
6785 * gdb.base/list.exp: Ditto.
6786 * gdb.base/signals.exp: Ditto.
6788 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6789 set, use remote_ld to download the testcase instead of
6794 * config/vr5000.exp: New file.
6796 * config/monitor.exp(gdb_target_monitor): Add pattern for
6797 "Ending remote" to detect errors in connecting.
6799 * gdb.base/setshow.exp: Add .* within auto language test.
6801 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6804 * config/monitor.exp(gdb_load): Check for a failure when loading,
6805 and reboot the board if necessary.
6807 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6808 a set of tests. Remove print.* from the patterns being checked.
6812 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6813 refer to gdb_spawn_id.
6815 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6817 * config/sparclet.exp: Ditto.
6818 * config/sparclet-old.exp: Ditto.
6819 * config/slite.exp: Ditto.
6820 * config/sim.exp: Ditto.
6821 * gdb.base/funcargs.exp: Ditto.
6823 * lib/gdb.exp:Remove references to gdb_spawn_id.
6824 (gdb_expect): Move to remote.exp.
6828 * config/monitor.exp: Detect the "Couldn't establish connection"
6833 * gdb.base/bitfields.exp: Use runto instead of explicit
6834 gdb_run_cmd/gdb_expect sequences.
6836 * gdb.base/break.exp(text_next_with_recursion): Add match for
6839 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6840 We also need to handle the "A program is being debugged already"
6841 prompt from gdb. Use gdb_test to set the baud rate.
6843 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6844 to 20000. Really. I mean it.
6848 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6849 fails. If suppress_flag is set, skip perror message about not
6850 being able to send to GDB.
6851 (send_gdb): If suppress_flag is set, don't try to send commands to
6853 (gdb_expect): If suppress_flag is set, always fail immediately.
6854 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6855 (gdb_init): Call gdb_stop_suppressing_tests.
6856 (default_gdb_exit): Ditto.
6857 (default_gdb_start): Ditto.
6859 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6860 gdb_stop_suppressing_tests as appropriate.
6861 * gdb.base/break.exp: Ditto.
6862 * gdb.base/callfuncs.exp: Ditto.
6863 * gdb.base/commands.exp: Ditto.
6864 * gdb.base/exprs.exp: Ditto.
6865 * gdb.base/funcargs.exp: Ditto.
6866 * gdb.base/list.exp: Ditto.
6867 * gdb.base/recurse.exp: Ditto.
6868 * gdb.base/scope.exp: Ditto.
6869 * gdb.base/structs.exp: Ditto.
6870 * gdb.c++/inherit.exp: Ditto.
6874 * config/vr4300.exp: New file.
6876 * gdb.*/*.exp: Call gdb_expect instead of expect.
6878 * lib/gdb.exp(gdb_expect): New function.
6882 * lib/gdb.exp(gdb_init): New function.
6884 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6885 for each individual variable set.
6887 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6890 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6892 * gdb.base/scope.exp: Use gdb_test.
6894 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6895 aborting; the testsuite driver will do that for us (see
6896 gdb_finish). Also, use gdb_test in a few more places.
6900 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6904 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6905 and "add_tests" are not at the same address.
6909 * gdb.base/ptype.exp: Use gdb_test.
6913 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6914 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6915 left in. No longer expect them to fail.
6917 * gdb.stabs/*.mt; Deleted, no longer used.
6918 * gdb.stabs/configure.in: Remove references to target makefile
6920 * gdb.stabs/configure: Rebuilt.
6922 * gdb.disasm/*.mt: Deleted, no longer used.
6923 * gdb.disasm/configure.in: Remove references to target makefile
6924 frags. Use "sh3.s" as the unique filename for this directory.
6925 * gdb.disasm/configure: Rebuilt.
6927 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6928 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6929 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6933 * config/udi.exp: Use mondfe,name instead of remote_host.
6937 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6938 a function with a watchpoint enabled on the mn10200.
6940 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6941 before trying to create it!
6945 * config/vx.exp: Use hostname instead of netport.
6947 * config/vxworks.exp: New file.
6949 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6951 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6952 gdb before assuming everything worked. Send a ^C if a timeout
6955 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6956 $gdb_spawn_id directly.
6957 (gdb_run_cmd): Try _start as well as start. Use the target feature
6958 gdb,start_symbol as the symbol to start from when jumping.
6962 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6965 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6966 it doesn't lose for 16bit integer systems.
6970 * gdb.fortran/types.exp: If the target doesn't support "double"
6971 data types, then expect "real" types to only be 4 bytes.
6973 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6974 call tests if the target doesn't support inferior function calls.
6976 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6981 * gdb.base/help.exp: Disable "help set", "help show", and
6982 "help support". Simplify regexp for "help stack".
6984 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6985 to 60 seconds. Temporarily set match_max to 15000 around the
6986 "info copying" test.
6988 * gdb.base/nodebug.exp: Don't try to do an inferior function
6989 call if the target doesn't support them.
6990 * gdb.base/printcmds.exp: Likewise.
6991 * gdb.base/setvar.exp: Likewise.
6992 * gdb.base/structs.exp: Likewise.
6993 * gdb.c++/templates.exp: Likewise.
6994 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6996 * gdb.base/recurse.exp: Enable for the mn10200.
6998 * configure.in: Do configure gdb.stabs directory for *-*-elf
7000 * configure: Rebuilt.
7002 * gdb.base/break.exp: Check for gdb,noresults before testing
7003 exit status and/or results from the target.
7004 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7005 * lib/gdb.exp: Remove old (now bogus) initialization of
7006 noinferior, noargs, noresults and nosignals.
7010 * config/sh.exp: New file.
7012 * config/slite.exp: Try to connect multiple times to the board
7013 before rebooting. Only send a "monitor run" if need_monitor_run
7016 * gdb.base/break.exp: Don't do the "stub continue" test if
7017 the target has gdb_stub set.
7019 * gdb.base/callfuncs.exp: Increase the timeout.
7021 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7022 if the target has gdb,noinferiorio set.
7024 * gdb.base/list.exp: Increase match_max to 10000 characters.
7026 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7028 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7031 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7035 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7036 trying to delete the copy of gdb. Catch the file delete so we
7037 don't die if the delete fails; also, the file should be copied to
7038 the host, not to the build.
7042 * lib/gdb.exp(gdb_test): Surround the result pattern with
7043 parenthesis in case it contains multiple regexps separated
7046 * gdb.base/watchpoint.exp: Use gdb_test.
7047 * gdb.base/default.exp: Ditto.
7051 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7053 * gdb.base/scope.exp: Use gdb_test.
7054 * gdb.c++/classes.exp: Ditto.
7055 * gdb.c++/inherit.exp: Ditto.
7059 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7060 remote_exec instead.
7061 * gdb.base/corefile.exp: Don't be ridiculous.
7062 * gdb.base/*.c: Add missing stub invocations.
7066 * config/slite.exp: Miscellaneous fixes.
7068 * lib/gdb.exp: Fix runto.
7070 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7073 * gdb.base/watchpoint.exp: Fix regexp.
7075 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7076 close and wait commands, as the descriptor may now be
7077 invalid. Always call "remote_close host".
7081 Major rewrite for testsuite revision.
7083 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7084 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7085 instead of relying on spawn_id to always contain a valid
7087 (get_compiler_info): New procedure to build the ${binfile}.ci
7088 file, instead of replicating this in N different places.
7089 (gdb_compile): New procedure.
7091 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7092 appropriate arguments) instead of compile. Use gdb_test in a lot
7093 more places. Use send_gdb instead of send. Always run gdb_start
7094 at the start of a testcase, as this is no longer done magically.
7096 config/*-gdb.exp: Rename without the -gdb suffix.
7098 config/mips.exp: Use remote_close instead of exit_remote_shell.
7099 config/monitor.exp: Use target_info instead of looking at
7101 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7105 * gdb.c++/templates.exp (test_ptype_of_templates),
7106 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7107 Update expect patterns for destructors and assignment operators
7108 to match corresponding c-typeprint.c changes.
7109 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7110 to destructor breakpoint test, GDB should be able to set the
7111 destructor breakpoint without specifying arguments.
7115 * gdb.threads/pthreads.exp: Change result for failure to compile due
7116 to lack of pthreads runtime support from an error to simply an
7117 unsupported test, per dejagnu standards.
7121 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7122 where GDB exits to reduce pattern match time.
7123 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7125 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7129 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7130 * gdb.base/default.exp: ditto.
7131 * gdb.base/nodebug.exp: ditto.
7132 * gdb.base/printcmds.exp: ditto.
7133 * gdb.base/ptype.exp: ditto.
7134 * gdb.base/setvar.exp: ditto.
7135 * gdb.base/structs.exp: ditto.
7136 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7140 * configure, */configure: Rebuild with autoconf 2.12.
7144 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7145 use new i*86-pc-linux*-gnu quads.
7146 * gdb.base/corefile.exp: Ditto.
7147 * gdb.base/signals.exp: Ditto.
7148 * gdb.base/sigall.exp: Ditto.
7149 * gdb.base/interrupt.exp: Ditto.
7151 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7152 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7155 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7156 linux. This allows the test case to at least compile on latest
7157 linux, but still not run due to missing the threads runtime library.
7161 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7162 directory to search gdb directory. Accept and step over conditional
7163 stack alignment code. Consume $prompt in failure cases.
7164 Reset timeout to $oldtimeout instead of some arbitrary value.
7165 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7166 timeout problems with infinite stack backtraces.
7167 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7168 Accept function parameters for linkfunc member.
7172 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7173 (CXXFLAGS): Remove, unreferenced.
7174 (B_OPTIONS): Add for -B options and add code to initialize with
7175 previous -B options and also add -B option to pick up cross compiled
7177 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7178 doing cross compiles.
7179 (target_alias): Declare global.
7180 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7181 to verify that gcc exists in build tree, and if so set CC to that
7182 gcc and to use B_OPTIONS and TARGET_INCLUDES.
7186 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7187 ptype test for anonymous union. Fixup testcase to match
7188 current gcc debug output.
7192 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7193 force argument to an unsigned long type.
7197 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7198 tests and anonymous union print/ptype tests.
7199 * gdb.base/list.exp (test_forward-search): Increase timeout by
7200 5 minutes for the "search extremely long line" case.
7201 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7202 completely optional and that the pass/fail messages use the command as
7203 the message if that third arg is a null string.
7204 (gdb_test_exact): Arrange that a null string pattern means match a
7205 null string output rather than any output, which might include random
7207 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7209 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7210 always failing and failure is now exposed by gdb.exp changes.
7214 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7215 weren't being noted.
7219 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7220 * gdb.stabs/weird.exp: Remove v_comb xfails.
7224 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7225 list.exp scope.exp watchpoint.exp]
7226 Make all timeout error msgs explicitly say "(timeout)".
7230 * config/monitor.exp: Increase download timeout to 1000 seconds.
7234 * config/m32r.exp: Increase timeout to 120 seconds.
7238 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7239 and accept older ordering as obsolescent gcc or gdb.
7240 * gdb.c++/templates.exp: Ditto.
7241 * gdb.c++/virtfunc.exp: Ditto.
7245 * gdb.base/coremaker.c: Add code to mmap some data so we
7246 can check that it ends up in the core file.
7247 * gdb.base/corefile.exp: Add test to read mmapped data
7252 * config/m32r.exp: New file.
7256 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7257 that cflags can contains -gstabs, and work correctly for other tests.
7261 * gdb.base/setshow.exp: New file, tests show and set.
7262 * gdb.base/setshow.c: New file, tests show and set.
7263 * gdb.base/help.exp: Add test for help set|show annotate.
7264 * gdb.base/default.exp: Add test for set|show annotate.
7268 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7270 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7275 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7276 and width commands. This is done elsewhere.
7277 * (gdb_start): Don't call gdb_start_sim here. That's already
7278 done in gdb_load. This fixes lots of failures in default.exp.
7283 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7284 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7285 in the same we we treat other failures (since it may be an expected
7286 condition), rather than as an error.
7287 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7292 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7293 (distclean maintainer-clean realclean): No need to remove files
7294 twice. Nuke the duplicates.
7295 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7296 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7297 Remove config.h along with other config files.
7301 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7302 "p func1 ()" and note that rests of tests are skipped.
7303 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7304 setup_xfails for "print func2::coremaker_local".
7305 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7306 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7307 affected by the previous run test.
7308 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7309 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7310 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7311 "pass int powerset tuple" and "pass modeless int powerset tuple".
7312 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7313 "real write 4" and "real write 8".
7314 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7315 setup_xfails for "print vs1 after tuple assign 2",
7316 "print \$i after tuple assign 2", and
7317 "print vs2 after tuple assign 2".
7318 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7319 meaningful error message and return -1 so the caller can
7320 suppress further tests and avoid a cascade of errors.
7324 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7325 format for printing version.
7326 * gdb.base/default.exp: Ditto.
7327 * gdb.base/interrupt.exp: Fix problem with cascade of
7328 errors if child process dies while calling a function.
7332 * Makefile.in (VPATH): Add
7333 * Makefile.in (Makefile, config.status): Fix rules so things get
7334 remade when necessary.
7338 * Makefile.in (just-check): Add path to sibling expect dir
7339 to environment variable specified by RPATH_ENVVAR.
7343 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7344 (just-check): Add shared library paths for libstdc++, tk,
7345 tcl, bfd, and opcodes to the environment variable specified
7347 * configure.in: Add support to recognize --enable-shared flag
7348 and generate correct value for RPATH_ENVVAR.
7349 * configure: Regenerated with autoconf.
7353 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7354 include all osf versions.
7355 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7356 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7357 when target is linux. When failing to build pthreads test
7358 executable, give more meaningful message.
7359 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7360 arg for pthread_create.
7364 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7365 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7366 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7367 and -lpthreads (everybody else).
7368 (test_startup): Fail gracefully if threads are not supported.
7369 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7370 "p/c array_index("abcdef",2)" when not gcc compiled.
7371 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7372 "print func2::coremaker_local" when not gcc compiled.
7373 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7374 "ptype on opaque struct tagname (statically)",
7375 "ptype on opaque struct tagname (dynamically) 1", and
7376 "ptype on opaque struct tagname (dynamically) 2"
7377 for not compiled with gcc.
7378 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7379 backtrace when compiled with gcc.
7380 * lib/gdb.exp (runto_main): Return result of "runto main" rather
7381 than always return success.
7385 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7389 * gdb.base/structs.exp: Undo last change.
7393 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7394 encapsulate all the steps/nexts done during self test, starting
7395 at main, and makes them less sensitive to optimization issues.
7396 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7397 signal handler" test.
7398 * gdb.threads/pthreads.exp: Only run this for native configs.
7399 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7400 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7402 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7403 for "runto test_calls(void)" test.
7407 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7408 and don't expect address info in breakpoint confirmations.
7412 * gdb.base/list.exp (test_forward_search): Increase timeout
7413 temporarily by 60 seconds for searching extremely long line,
7414 and then reset to old value when done. Increase expect input
7419 * gdb.base/list.exp (test_forward_search): Fix to handle very
7420 long source line without overflowing expect's input buffer.
7424 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7427 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7430 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7433 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7438 * configure.in (configdirs): Add gdb.threads.
7439 * configure: Regenerated with autoconf.
7440 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7441 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7442 * gdb.threads/configure: New, generated with autoconf.
7446 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7450 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7451 each signal's status in the output of "handle all print".
7452 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7453 the \r\n sequence that immediately precedes the gdb prompt.
7454 * gdb.base/a1-selftest.exp: Save original timeout and restore
7459 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7464 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7468 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7469 timeout by 60 seconds.
7473 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7474 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7479 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7480 gdb initialization, also report how long dejagnu waited. Restore
7481 old timeout before doing error return. Temporarily increase timeout
7482 by 3 minutes to allow for slow startups over heavy NFS use.
7486 * lib/gdb.exp: Report timeout value for verbosity level 2.
7487 * config/gdbserver.exp: Ditto.
7488 * config/hppro.exp: Ditto.
7489 * config/mips-gdb.exp: Ditto.
7490 * config/monitor.exp: Ditto.
7491 * config/netware.exp: Ditto.
7492 * config/sim-gdb.exp: Ditto.
7493 * config/slite-gdb.exp: Ditto.
7494 * config/udi-gdb.exp: Ditto.
7495 * config/unix-gdb.exp: Ditto.
7496 * config/vx-gdb.exp: Ditto.
7497 * gdb.base/a1-selftest.exp: Ditto.
7498 * gdb.base/a2-run.exp: Ditto.
7499 * gdb.base/break.exp: Ditto.
7500 * gdb.base/corefile.exp: Ditto.
7501 * gdb.base/list.exp: Ditto.
7502 * gdb.base/recurse.exp: Ditto.
7503 * gdb.base/scope.exp: Ditto.
7504 * gdb.base/signals.exp: Ditto.
7508 * gdb.threads/Makefile.in (docdir): Removed.
7512 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7513 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7515 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7516 autoconf 2.5 or higher.
7517 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7521 * configure: Regenerated.
7522 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7523 avoid name clashes with SunOS headers.
7527 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7531 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7532 prototype information ends up in the compiler info file.
7536 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7537 attempting to regenerate it. Eliminate use of a temporary file
7538 and just generate the info file directly. Source it immediately,
7539 for consistency of use.
7540 * gdb.base/corefile.exp: Ditto
7541 * gdb.base/exprs.exp: Ditto.
7542 * gdb.base/funcargs.exp: Ditto.
7543 * gdb.base/langs.exp: Ditto.
7544 * gdb.base/list.exp: Ditto.
7545 * gdb.base/mips_pro.exp: Ditto.
7546 * gdb.base/nodebug.exp: Ditto.
7547 * gdb.base/opaque.exp: Ditto.
7548 * gdb.base/ptype.exp: Ditto.
7549 * gdb.base/scope.exp: Ditto.
7550 * gdb.base/setvar.exp: Ditto.
7551 * gdb.base/signals.exp: Ditto.
7552 * gdb.base/whatis.exp: Ditto.
7553 * gdb.c++/templates.exp: Ditto.
7554 * gdb.c++/virtfunc.exp: Ditto.
7555 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7556 whether or not to add -lstdc++ to the compile command line args.
7560 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7561 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7562 Increase timeout, a lot of single stepping might be needed if the
7563 target has no hardware watchpoints.
7567 * gdb.base/break.exp: Ignore compiler warnings when compiling
7569 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7570 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7572 * gdb.base/exprs.exp: Add h8300 xfails.
7573 * gdb.base/funcargs.exp: Likewise.
7574 * gdb.base/nodebug.exp: Likewise.
7575 * gdb.base/printcmds.exp: Likewise.
7576 * gdb.base/ptype.exp: Likewise.
7577 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7579 * gdb.base/return.exp: Handle float/double precision problems
7581 * gdb.base/funcargs.c: Explicitly make last constant argument to
7582 call_after_alloca_subr an unsigned long type.
7583 * gdb.base/return.c: Include stdio.h.
7587 * config/abug.exp: New file for the older Motorola Bug monitor
7588 that runs on the mvme13x series VME boards.
7589 * config/monitor.exp: Use the new config array for target settings
7594 * sim-gdb.exp: Make the SH simulator allocate less space when
7599 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7604 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7605 "rs6000-*-*" for "list function in include file" when gcc compiled.
7606 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7607 for "p ctable1[120]".
7608 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7609 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7610 Remove setup_xfail for "rs6000-*-*" for
7611 "print 'scope0.c'::filelocal before run".
7612 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7613 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7614 since some compilers don't allow both options to be given
7615 on the same command line. Create object file and move it.
7619 * gdb.base/corefile.exp: Always regenerate the core file, since
7620 we always regenerate the coremaker program. Detect special case
7621 where registers cannot be read from core file.
7626 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7627 * gdb.c++/templates.exp: Only match on basename of file since
7628 some formats like xcoff don't encode directory information.
7629 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7630 and rs6000 AIX xcoff targets.
7631 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7632 * configure: Regenerate.
7633 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7634 here, rather than in distclean.
7638 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7639 defined, and use it to compile the test case with -O2. The
7640 native compilation still uses no optimization.
7641 * gdb.base/mips_pro.c: Remove inline assembly code since
7642 it is compiled PIC by default, which results in assembler
7643 warnings that make the testsuite think the compilation
7648 * gdb.c++/misc.exp: Add note to message for
7649 "print s.a for foo struct" that this is a known gcc 2.7.2
7654 * gdb.base/break.exp: Fix pattern for matching "Delete all
7655 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7656 setup_xfail for deleting all breakpoints test. Fix various
7657 timeout messages to include "(timeout)".
7658 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7659 for "p t_float_values2(3.14159,float_val2)".
7660 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7661 for "continue to call2g" when gcc compiled.
7662 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7663 "up to foo in langs.exp", "show language at foo in langs.exp",
7664 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7665 and "show language at fsub in langs.exp".
7666 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7667 "list line 1 in include file", "list message for lines past EOF",
7668 "list function in include file", "list list0.h:foo", and
7669 "list filename:function; nonexistant function".
7670 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7671 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7672 and "ptype t_char_array" to be for native cc only.
7676 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7677 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7678 "print func2::coremaker_local", and "backtrace in corefile.exp".
7682 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7683 "bt in signals.exp". This problem only appears when running
7684 the testsuite, and then only intermittently.
7688 * gdb.base/return.exp (return_tests): Differentiate between
7689 two tests of continuing.
7693 * */Makefile.in (maintainer-clean): Remove config.log.
7694 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7695 * gdb.c++/Makefile.in (PROGS): Add inherit.
7696 (clean): Remove *.ci.
7700 * gdb.c++/misc.cc: Add test code from Mike Stump.
7701 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7705 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7706 to "alpha-*-osf2*" and add comment.
7707 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7708 setup_xfail for "step over execarg initialization" and
7709 "step over corearg initialization".
7710 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7711 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7712 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7713 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7714 "print func2::coremaker_local", and "backtrace in corefile.exp".
7715 * gdb.base/signals.exp: Build and source signals.ci.
7716 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7718 * lib/gdb.exp: Move verbose statements outside conditionals.
7722 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7723 Feb 3 procfs.c change.
7727 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7731 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7732 from dejagnu's apparent default of 10 seconds, which gives random
7733 results when running the tests over NFS on moderately loaded systems.
7734 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7738 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7739 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7744 * configure.in (CY_AC_PATH_TCLH): Remove.
7745 * configure: Regenerate.
7749 * gdb.c++/Makefile.in (clean): Add missing '{'.
7753 * lib/gdb.exp: Provide a default value for noinferior.
7755 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7760 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7761 the executable, not the .o to run the tests from.
7765 * gdb.base/break.exp: Don't test for program exit or exit status
7766 if $noresults if nonzero.
7767 * gdb.base/langs.exp: Likewise.
7768 * gdb.base/watchpoint.exp: Likewise.
7770 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7771 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7772 trying to compile the testcase.
7776 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7777 * gdb.base/signals.exp (continue to handler): Likewise.
7781 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7783 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7787 * gdb.base/corefile.exp: Recognize "not found" as failure
7788 when trying to determine if a core file was generated.
7789 If no core file was generate the first time, try again without
7790 the ulimit -c to work around braindamaged shells.
7794 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7795 [] tests with "test" and enclose string in quotes.
7796 * gdb.stabs/configure: Rebuild
7800 Changes in sync with expect:
7801 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7802 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7803 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7804 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7805 argument to AC_REQUIRE.
7806 * configure: Regenerated.
7810 * gdb.base/corefile.exp: When generating a core, discard any
7811 error messages about ulimit not found and the "core dumped"
7812 message from the shell that runs the coredumper.
7816 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7818 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7819 which sed script to run. Expect failure for v_comb test
7824 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7825 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7829 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7830 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7831 "sparc-sun-solaris*" xfails for "p v_comb".
7832 * lib/gdb.exp (default_gdb_start): Fix typo.
7833 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7834 messages to not include the full program name that caused
7835 the core dump since some systems (such as solaris) apparently
7836 truncate this path to about 80 characters.
7837 When generating a core file first try increasing the core file
7838 size limit to unlimited since some systems may default it to
7839 zero, and it is harmless to try it. Move the test for failing
7840 to generate a core file to where it will actually get executed.
7841 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7842 new gdb result from g++ debug info improvements and make old
7843 pattern obsolescent. Also account for size_t differences
7844 (may be int or long).
7845 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7846 initialization before function call is placed in the delay slot
7847 and thus appears to be skipped over by commands such as "next".
7851 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7855 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7856 input source file; fix code to compile test to deal with this
7858 * gdb.c++/*.exp: Likewise.
7862 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7863 "bt in signals.exp".
7867 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7868 "step over execarg initialization" and
7869 "step over corearg initialization".
7873 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7874 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7879 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7880 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7881 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7882 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7883 configure.in}: Major reworking for autoconfig.
7884 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7885 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7887 * config/unix-gdb.exp: Make GDB global.
7888 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7889 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7890 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7891 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7892 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7893 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7894 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7895 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7896 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7897 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7898 pr-8136.exp, result.exp, string.exp, tuples.exp},
7899 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7900 to returns as necessary, arrange for test to compile own testcase
7902 * lib/gdb.exp: Changes for testsuite to compile own test cases.
7906 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7907 clear_xfail at end of test which might not call either pass or fail.
7908 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7909 "backtrace through signal handler".
7913 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7914 continuing from a job control stop signal.
7915 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7919 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7920 * gdb.base/corefile.exp: Likewise.
7921 * gdb.base/funcargs.exp: Likewise.
7925 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7926 * config/monitor.exp: Add support for setting baud rate.
7930 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7931 i*86-*-linux* xfails for "backtrace through signal handler".
7932 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7933 "print func2::coremaker_local".
7934 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7935 alpha-dec-osf2* xfail for
7936 "delete all breakpoints when none".
7940 * gdb.base/break.exp: Change test that deletes all breakpoints
7941 when no user breakpoints are installed. A post 4.15 change
7942 causes gdb to no longer prompt in this case.
7946 * gdb.base/return.exp (return_tests): Change xfail for test
7947 "correct value returned double test" to stop xfailing at
7948 Solaris 2.5. Apparently the bug has been fixed.
7952 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7953 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7957 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7958 * gdb.disasm/hppa.s: Corresponding changes.
7962 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7964 * config/mt-hpux: Deleted.
7968 * Many files: When warning about suppressed tests due to a
7969 nonexistant test binary, avoid incrementing the warning count.
7973 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
7977 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7978 "sparc-*-solaris2*".
7982 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7983 Add global and local variables and initialize them.
7984 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7985 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7986 extracts the file name and terminating signal from the core file.
7987 * TODO: Remove note about tests for correct mapping of corefile.
7988 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7989 from optimizing it away.
7990 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7991 handles common blocks.
7995 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7996 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8000 * Makefile.in (maintainer-clean): New target, synonym for
8002 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8003 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8004 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8005 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8006 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8007 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8011 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8012 xfails when not gcc compiled for "print foo::funclocal".
8013 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8014 "print foo::funclocal at foo",
8015 "print 'scope1.c'::foo::funclocal at foo",
8016 "print foo::funclocal_bss at foo",
8017 "print 'scope1.c'::foo::funclocal_bss at foo",
8018 "print foo::funclocal_ro at foo",
8019 "print 'scope1.c'::foo::funclocal_ro at foo",
8020 "print bar::funclocal at foo" and
8021 "print 'scope1.c'::bar::funclocal at foo".
8022 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8023 gcc compiled for "print foo::funclocal at bar".
8024 Expand all messages to ensure that they identify that
8025 the test is at bar().
8026 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8028 "ptype on opaque struct pointer (statically)",
8029 "ptype on opaque struct tagname (statically)",
8030 "ptype on opaque struct pointer (dynamically) 1",
8031 "ptype on opaque struct tagname (dynamically) 1",
8032 "ptype on opaque struct pointer (dynamically) 2" and
8033 "ptype on opaque struct tagname (dynamically) 2
8034 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8040 "whatis bsslocal", and
8042 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8043 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8044 when not gcc compiled.
8045 * gdb.base/funcargs.exp (float_and_integral_args): Add
8046 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8048 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8049 "backtrace from call6a" when not gcc compiled.
8050 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8051 "backtrace from call7a" when not gcc compiled.
8052 * gdb.base/callfuncs.exp (do_function_calls):
8053 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8054 "p t_char_array_values(char_array_val2,char_array_val1)",
8055 "p t_char_array_values(char_array_val1,char_array_val2)",
8056 "p t_char_array_values("carray 1","carray 2")",
8057 "p t_char_array_values("carray 1",char_array_val2)",
8058 "p t_char_array_values(char_array_val1,"carray 2")",
8059 "p sum_args(1,{2})",
8060 "p sum_args(2,{2,3})",
8061 "p sum_args(3,{2,3,4})",
8062 "p sum_args(4,{2,3,4,5})"
8063 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8064 "backtrace in corefile.exp" when not gcc compiled.
8068 * gdb.base/signals.exp: Rewrite `handle all print' test as
8069 a procedure. Accept blanks or TABs as whitespace, increase
8070 timeout and expect input buffer size for the large output
8071 from the command. Remove "i*86-*-bsdi2.0" xfail.
8075 * gdb.base/setvar.exp: Add new testcases for truncation when
8076 assigning invalid values to bitfields.
8080 * gdb.base/callfuncs.exp (do_function_calls): Remove
8081 mips-sgi-irix* xfail for
8082 "call inferior func with struct - returns char *"
8083 and fix test so that an optional (unsigned char *) cast is
8084 accepted in the result.
8088 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8089 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8090 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8091 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8092 that accidentally got checked in.
8096 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
8097 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8099 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8100 Add mips-sgi-irix5* xfail for not gcc compiled.
8101 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8102 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8103 "p top", "whatis top", "p middle", and "whatis middle".
8104 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8105 "whatis signed char" for not gcc compiled.
8106 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8107 "set variable signed char=-1 (-1)" and
8108 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8109 * gdb.base/funcargs.exp (float_and_integral_args):
8110 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8111 Add mips-sgi-irix* xfail when not gcc compiled for
8112 "continue to call2b".
8113 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8114 "continue to call2g".
8115 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8116 "backtrace from call6a"
8117 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8118 "backtrace from call7k".
8119 Add mips-sgi-irix5* xfail when not gcc compiled for
8120 "backtrace from call7a".
8121 (localvars_after_alloca): Fix gdb_test cmds for
8122 "print * after runto ...".
8123 Remove rs6000-*-* xfails for
8124 "print i after runto localvars_after_alloca" and
8125 "print l after runto localvars_after_alloca"
8127 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8128 when not compiled with gcc, for:
8129 "print signed char == (minus)",
8130 "print signed char != (minus)",
8131 "print signed char < (minus)",
8132 "print signed char > (minus)".
8133 * gdb.base/callfuncs.exp (do_function_calls):
8134 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8135 "call inferior func with struct - returns char *".
8136 * gdb.base/return.exp (return_tests): Change xfail for
8137 "correct value returned double test" to include Solaris 2.4.
8138 * gdb.base/funcargs.exp (float_and_integral_args):
8139 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8143 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8144 enumeration bitfields if compiling with GNU C.
8145 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8150 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8151 test for PRO targets.
8153 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8154 breakpoints in the inferior at any given time by making
8155 two groups of breakpoints for call2*, call6* and call7*
8160 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8161 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8162 from optimizing it away.
8163 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8164 "call inferior func with struct".
8168 * configure.in: Only configure gdb.chill for particular targets.
8172 * gdb.base/Makefile.in: Add action to .c.o transformation
8173 rule that generates a .ci file for each .o file and remove
8174 explicit .c.o rules except for callfuncs.o.
8175 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8176 generates a .ci file for each .o file and remove explicit
8178 (clean): Remove *.tmp *.ci files.
8179 (EXECUTABLES): Remove templ-info.exp.
8180 * gdb.base/compiler.c: New file.
8181 * gdb.c++/compiler.cc: New file
8182 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8183 Change rs6000-*-* xfail for
8184 "print 'scope0.c'::filelocal_ro" and
8185 "print 'scope1.c'::filelocal" and
8186 "print 'scope1.c'::filelocal_bss" and
8187 "print 'scope1.c'::filelocal_ro" and
8188 "print 'scope1.c'::foo::funclocal" and
8189 "print 'scope1.c'::foo::funclocal_ro" and
8190 "print 'scope1.c'::bar::funclocal" and
8191 "print 'scope0.c'::filelocal_ro" and
8192 "print 'scope1.c'::filelocal at foo" and
8193 "print 'scope1.c'::filelocal_bss at foo" and
8194 "print 'scope1.c'::filelocal_ro at foo" and
8195 "print 'scope1.c'::foo::funclocal at foo" and
8196 "print 'scope1.c'::foo::funclocal_bss at foo" and
8197 "print 'scope1.c'::foo::funclocal_ro at foo" and
8198 "print 'scope1.c'::bar::funclocal at foo" and
8199 "print 'scope0.c'::filelocal_ro" and
8200 "print 'scope1.c'::filelocal" and
8201 "print 'scope1.c'::filelocal_bss" and
8202 "print 'scope1.c'::filelocal_ro" and
8203 "print 'scope1.c'::foo::funclocal" and
8204 "print 'scope1.c'::foo::funclocal_bss" and
8205 "print 'scope1.c'::foo::funclocal_ro" and
8206 "print 'scope1.c'::bar::funclocal" and
8207 "print 'scope1.c'::bar::funclocal_bss"
8208 to only be xfail'd when not compiled with gcc.
8209 Add rs6000-*-* xfail for
8210 "print 'scope0.c'::filelocal_bss before run"
8211 when compiled with gcc.
8212 (test_at_main): Add rs6000-*-* xfail for
8213 "print filelocal_ro in test_at_main"
8214 when compiled with gcc.
8215 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
8216 Add rs6000-*-aix* xfail for
8217 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8218 "ptype t_char_array", not compiled with gcc.
8219 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8220 xfail for "list foo (in include file)" when gcc compiled.
8221 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8222 (integral_args): Add rs6000-*-* xfail for
8223 "run to call0a" if not compiled with gcc.
8224 (unsigned_integral_args): Add rs6000-*-* xfail for
8225 "run to call1a" if not compiled with gcc.
8226 (float_and_integral_args): Add rs6000-*-* xfail for
8227 "run to call2a" if not compiled with gcc and for
8228 "continue to call2b" for any compiler.
8229 Add rs6000-*-* xfail to
8230 "print f1 after run to call2a" for gcc compiled.
8231 (discard_and_shuffle): Add rs6000-*-* xfail for
8233 (shuffle_round_robin): Add rs6000-*-* xfail for
8234 "backtrace from call7a" if not compiled with gcc.
8235 Add rs6000-*-* xfail for
8236 "backtrace from call7b" if compiled with gcc.
8237 (call_after_alloca): Add rs6000-*-* xfail for
8238 "print c in call_after_alloca" and
8239 "print s in call_after_alloca" and
8240 "backtrace from call_after_alloca_subr"
8241 if not compiled with gcc.
8242 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8243 "print c in localvars_in_indirect_call" and
8244 "print c in localvars_in_indirect_call" and
8245 "backtrace in indirectly called function" and
8246 "stepping into indirectly called function"
8247 if not compiled with gcc.
8248 (localvars_after_alloca): Add rs6000-*-* xfail for
8249 "print c after runto localvars_after_alloca" and
8250 "print s after runto localvars_after_alloca" and
8251 "print i after runto localvars_after_alloca" and
8252 "print l after runto localvars_after_alloca"
8254 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8255 than whatis-info.exp.
8256 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8257 than opaque-info.exp.
8258 Setup rs6000-*-* xfail for
8259 "ptype on opaque struct pointer (statically)" and
8260 "ptype on opaque struct pointer (dynamically)" when
8261 not compiled with gcc.
8262 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8263 rather than callf-info.exp.
8264 (do_function_calls): Add clear_xfail for rs6000-*-* for
8265 "p t_float_values2(3.14159,float_val2)". Seems to work
8266 fine there, both with xlc and gcc. Need to find out what
8267 it is doing right and fix other platforms.
8268 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8269 "call inferior func with struct - returns int",
8270 "call inferior func with struct - returns long",
8271 "call inferior func with struct - returns float",
8272 "call inferior func with struct - returns double",
8273 "call inferior func with struct - returns char *",
8274 but only if not gcc compiled (presumes xlc compiled).
8275 Change rs6000-*-* xfails for
8276 "call inferior func with struct - returns char" and
8277 " call inferior func with struct - returns short" to only
8278 xfail if not using gcc.
8279 (clean mostlyclean): Remove *.ci and *.tmp files.
8280 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8281 than templ-info.exp.
8282 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8283 Add rs6000-*-* xfail for "up to foo in langs.exp"
8284 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8285 when not gcc compiled.
8289 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8290 * gdb.base/corefile.exp: Likewise.
8291 * gdb.base/list.exp: Likewise.
8292 * gdb.base/scope.exp: Likewise.
8293 * gdb.base/siganls.exp: Likewise.
8295 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8297 * gdb.base/whatis.exp: Likewise.
8301 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8302 failure (opcode table has been fixed to match reality).
8306 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8307 "call inferior func with struct - returns char",
8308 "call inferior func with struct - returns short"
8310 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8311 "print 'scope0.c'::filelocal at main",
8312 "print 'scope0.c'::filelocal_bss in test_at_main",
8313 "print 'scope0.c'::filelocal at foo",
8314 "print 'scope0.c'::filelocal_bss in test_at_foo",
8315 "print 'scope0.c'::filelocal at bar",
8316 "print 'scope0.c'::filelocal_bss in test_at_bar"
8318 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8319 in source file 1". This bug seems to have been fixed with both
8320 gcc and native cc (was native assembler bug?).
8324 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8325 "backtrace through signal handler" to "i*86-*-sysv4*".
8326 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8327 continue" case. Add "known SVR4 bug" to fail message.
8328 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8329 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8330 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8331 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8332 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8333 "up to foo in langs.exp", "show language at foo in
8334 langs.exp", "up to cppsub_ in langs.exp", "show
8335 language at cppsub_ in langs.exp", "up to fsub in
8336 langs.exp", and "show language at fsub in langs.exp".
8337 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8338 "bactrace in corefile.exp".
8339 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8340 "call inferior function with struct - returns float" and
8341 "call inferior function with struct - returns double".
8345 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8346 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8347 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8348 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8352 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8353 (or overriden) "CHILL" macro rather then bare "gcc".
8354 Also look for ../../gcc/xgcc since that is what we will
8355 actually need, not "Makefile". Remove following assignment
8356 of CHILL to CHILL_FOR_TARGET because that results in
8357 recursive definition.
8361 * gdb.base/corefile.exp: Change xfail for backtrace in
8362 corefile.exp from linuxaout to all linux.
8363 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8364 cases where we miss the breakpoint at the signal handler
8365 for some reason. Setup xfail for linuxoldld/linuxaout and
8366 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8367 hitting SIGURG breakpoint.
8368 * gdb.base/signals.exp: Setup xfail for "next" acting like
8369 continue to add linuxoldld. Setup xfail for all linux for
8370 "next to handler in signals_tests_1", "backtrace in
8371 signals_tests_1", "continue to func1", "pass SIGUSR1",
8372 and continue to handler".
8376 * Update all FSF addresses except those in COPYING* files.
8380 * gdb.base/a2-run.exp: Change messages to be more explicit about
8381 the status of args, and quote binfile in results.
8385 * gdb.base/callfuncs.exp: Add tests for passing structs to
8386 inferior functions and return various types.
8387 * gdb.base/callfuncs.c: Add functions to receive a struct
8388 and return a member of the struct, in various types.
8392 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8396 * config/vxworks29k.exp: New file, sources vxworks.exp.
8400 * config/gdbremote.exp: New file. Testing framework using
8405 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8406 "call function when asleep" and "send end of file".
8407 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8408 for "backtrace in corefile.exp".
8409 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8410 for "backtrace through signal handler".
8411 * gdb.base/corefile.exp: Make sure we actually generate a core file
8412 before trying the core tests. Some systems allow the user to suppress
8413 generation of core files and default to that (linux for example).
8414 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8415 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8419 * gdb.threads: New directory with some crude multi-threaded
8420 gdb tests (step.exp and step2.exp).
8421 * config/mt-lynx (STEP_EXECUTABLE): Define.
8422 (THREADFLAGS): Define.
8426 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8428 * gdb.base/signals.exp: Disable whole file for lynx until
8431 * gdb.base/signals.exp: xfail test where "next" acts like
8432 "continue" for lynx.
8434 * gdb.base/interrupt.exp: xfail test for calling function while
8435 inferior is asleep for lynx.
8437 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8438 than one cr-lf after each command.
8442 * configure.in: Reinstate setting of stabsdirs variable, fix
8443 typo in setting up configdirs for native builds.
8445 * gdb.base/return.exp: Fix typo in return double test.
8446 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8447 compiler from optimizing them away.
8451 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8452 sequences to be echo'd by gdb when using gdb_test.
8453 * gdb.chill/chexp.exp: Likewise.
8454 * gdb.fortran/exprs.exp: Likewise
8458 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8459 after the inferior gdb has started.
8461 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8463 * gdb.base/funcargs.exp: Likewise.
8464 * gdb.base/gdbvars.exp: Likewise.
8465 * gdb.base/interrupt.exp: Likewise.
8466 * gdb.base/list.exp: Likewise.
8467 * gdb.base/watchpoint.exp: Likewise.
8468 * gdb.c++/demangle.exp: Likewise.
8469 * gdb.c++/inherit.exp: Likewise.
8470 * gdb.chill/chexp.exp: Likewise.
8471 * gdb.fortran/exprs.exp: Likewise.
8473 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8474 test if we can't handle IO to/from the inferior.
8476 * gdb.c++/misc.exp: Always check for a program already being
8477 started after sending a "run" command to gdb.
8479 * gdb.base/twice.exp: Start with a fresh gdb.
8481 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8482 only depend on gdb's expression code, not the chill runtime.
8484 * gdb.base/return.c: Put return values into variables so we
8485 can have gdb print them rather than depending on the program
8487 * gdb.base/return.exp: Corresponding changes.
8489 * lib/gdb.exp: Provide default value for noinferiorio.
8490 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8493 * gdb.base/break.exp: Always check for a program already being
8494 started after sending a "run" command to gdb.
8495 (text_next_with_recursion): Don't check the output from the
8496 program's printf statement. Instead just make sure the program
8499 * gdb.base/commands.exp: Protect tests which need arguments with
8500 $noargs conditionals.
8504 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8505 of structure member arrays to match gdb/valops.c:value_addr change.
8509 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8514 * configure.in (configdirs): Remove gdb.chill from default list
8515 of subdirs and then add it back in only if doing a native build.
8516 The current chill compiler does not yet work in any cross build.
8517 * Revert all signal changes from Jul 6.
8518 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8519 for sh-hms targets, allowing these tests to link, with no other
8520 changes. Testing is suppressed by setting "nosignals" in site.exp.
8524 * configure.in (signaldirs): Define and add to configdirs for all
8525 targets except some specific ones that are known to not support signals.
8526 Also clean up formatting.
8527 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8528 (signals, sigall): Remove rules to build.
8529 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8530 Moved to new gdb.signals directory.
8531 * gdb.signals: New test directory.
8532 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8533 signals.c signals.exp}: New or moved files.
8537 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8541 * gdb.base/return.exp: Xfail `return double' test failure
8542 on at least Solaris 2.3 and handle future/past versions on
8543 a case by case basis as appropriate. Also update message
8544 to include i*86 failures.
8548 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8550 * lib/gdb.exp: Fix comment which erroneously identified
8551 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8552 gdb_file_cmd not gdb_load).
8553 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8555 * gdb.base/setvar.exp: Make test names consistent between pass and
8556 fail cases. Use gdb_test more.
8560 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8564 * gdb.base/help.exp: Fix expected help string for `show commands'.
8568 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8570 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8575 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8576 that loop eventually terminates. Fix Connection refused logic so
8577 that testsuite will expire nicely.
8581 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8582 config/rom68k.exp: New tcl glue for the appropriate monitors.
8583 These all just end up calling monitor.exp.
8584 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8585 refused' by retrying. Cleanup some timeout issues.
8586 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8587 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8588 callers don't have to set/restore global timeout variable.
8590 * The following set of changes centralizes management of the global
8591 timeout variable. This way, it can be set in one target dependent
8592 place instead of dozens of places scattered throughout the test suite.
8593 If you need to lengthen a timeout, then you should either set timeout
8594 in one of the config/{target}.exp files, or multiply it by a factor.
8595 Setting it to an absolute value is always going to lose for some
8597 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8598 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8599 * gdb.base/funcargs.exp: Don't set timeout.
8600 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8601 * gdb.base/printcmds.exp (test_print_string_constants
8602 test_print_array_constants): Don't set timeout.
8603 * gdb.base/ptype.exp: Don't set timeout.
8604 * gdb.base/recurse.exp: Don't set timeout.
8605 * gdb.base/return.exp: Don't set timeout.
8606 * gdb.base/watchpoint.exp: Don't set timeout.
8607 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8608 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8612 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8616 * lib/gdb.exp: Disable chill tests for irix5.
8620 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8621 each test pass or fail.
8625 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8630 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8634 * config/est.exp: Fix copyright and comments. Remove dead code.
8635 Use targetname, serialport and baud variables instead of fixed
8637 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8638 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8642 * gdb.base/watchpoint.exp: Don't run
8643 test_watchpoint_triggered_in_syscall for sunos.
8647 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8648 they don't seem to exist. Do include stdio.h.
8652 * gdb.base/a1-selftest.exp: Add alpha xfail.
8656 * gdb.base/watchpoint.c (main): Prompt before calling read().
8657 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8658 Revise accordingly. Remove cruft about sending "123" several
8659 times, until it gets noticed. Clean up the "print buf[0]" stuff
8660 so that it passes or fails, and waits for prompts in the usual way.
8664 * gdb.base/recurse.exp: Fix comment.
8666 * TODO: Remove item about printing variables in nodebug.exp. Add
8667 item about enabling tests which are only run on some targets.
8669 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8670 fail, make test names unique, use new gdb_test convention
8671 regarding pattern, use gdb_test more, etc.).
8673 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8674 fail, make test names unique, etc.).
8678 * gdb.base/nodebug.c: Change return type of top and middle to
8680 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8681 are fixed by the recent mdebugread.c changes. Allow `short ()'
8682 as type for top and middle.
8686 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8687 nearly as I can tell, the whole thing was an accident in Stu's
8688 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8689 to replace a send/expect pair with gdb_test, but ended up only
8690 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8691 of 30 Mar 1995 took care of it, but left this vestigial comment
8692 which I am now nuking.
8696 * gdb.base/break.exp: Look for different line number for
8697 breakpoint at main depending on usestubs.
8701 * gdb.base/list.exp: Adjust some alternate expect patterns to
8702 match recent list0.c change. Add alternate expect pattern for
8703 output from `list default lines around main' for optimizing
8708 * lib/gdb.exp: If nosignals is not set, set it to 0.
8712 * config/slite-gdb.exp: Responds to load symbol table prompt.
8713 * gdb.base/break.exp: Adjust line number, fix rerun.
8714 * gdb.base/langs0.c: Add #ifdef usestubs.
8718 * gdb.base/list.exp: Adjust line contents after adding new lines in
8719 list0.c. Also fix a syntax error.
8721 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8722 * gdb.base/break.exp: ditto.
8723 * gdb.base/list.exp: ditto.
8724 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8725 * gdb.base/run.c: ditto.
8726 * gdb.base/list0.c: ditto.
8727 * gdb.base/funcargs.c: ditto.
8731 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8732 $targetname, $serialport and $baud instead of hardwired variables.
8733 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8734 target doesn't support signals.
8738 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8742 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8743 Don't rely on the value of an auto variable before it has been
8744 initialized. Use gdb_test more.
8748 * lib/gdb.exp (default_gdb_version): A version number must start
8749 with a digit, but other than that contains all characters up to
8750 the first whitespace character.
8754 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8758 * gdb.c++/*.exp: Warn if executable does not exist. The original
8759 reason for skipping the warning was that configure.in sometimes
8760 intentionally skipped building the executables but the tcl code
8761 had no way of knowing. That (a) was always bogus with respect to
8762 error handling, (b) is no longer true (right now there is no way
8765 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8769 * gdb.base/list.exp: Add expect patterns for output from
8770 SunPRO compiled executables.
8771 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8776 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8777 number (we are already testing that the correct source line text
8780 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8781 that is what is intended, but something needed to be done to get
8782 sunos4 native working again.
8784 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8786 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8787 apparently went with a (very) old xfail.
8791 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8792 runto_main is a proc in gdb.exp that will do 'step' for target use
8794 * gdb.base/exprs.exp: ditto.
8795 * gdb.base/interrupt.exp: ditto.
8796 * gdb.base/opaque.exp: ditto.
8797 * gdb.base/printcmds.exp: ditto.
8798 * gdb.base/ptype.exp: ditto.
8799 * gdb.base/scope.exp: ditto.
8800 * gdb.base/setvar.exp: ditto.
8801 * gdb.base/signals.exp: ditto.
8802 * gdb.base/twice.exp: ditto.
8803 * gdb.c++/classes.exp: ditto.
8804 * gdb.c++/inherit.exp: ditto.
8805 * gdb.c++/templates.exp: ditto.
8806 * gdb.base/break.exp: no run and hit main for stubs. Change line
8807 numbers for breakpoints and info breakpoint.
8808 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8810 * gdb.base/callfuncs.c: ditto.
8811 * gdb.base/exprs: ditto.
8812 * gdb.base/interrupt.c: ditto.
8813 * gdb.base/opaque0.c: ditto.
8814 * gdb.base/printcmds.c: ditto.
8815 * gdb.base/ptype.c: ditto.
8816 * gdb.base/scope0.c: ditto.
8817 * gdb.base/setvar.c: ditto.
8818 * gdb.base/signals.c: ditto.
8819 * gdb.base/twice.c: ditto.
8820 * gdb.c++/misc.cc: ditto.
8821 * gdb.c++/templates.cc: ditto.
8825 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8827 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8828 somewhere between `read' and `main.c'. I'm pretty sure the
8829 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8830 and it isn't particularly useful.
8832 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8836 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8840 * config/mt-slite: add LIBS and -nostdlib.
8841 * config/slite-gdb.exp: add this new file to support sparclite target.
8845 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8847 * gdb.base/a2-run.exp: Change argument to istarget from
8848 "*-*-vxworks" to "*-*-vxworks*".
8849 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8853 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8854 will not runto main but do a 'step' to step out of breakpoint().
8855 * config/mt-slite: add -Dusestubs.
8859 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8862 * gdb.base/signals.exp: Add test for "handle all print".
8863 * TODO: Remove "handle all print". Also remove item about
8864 checking copyright date (I don't like the idea of a spurious FAIL
8865 based on when we run the tests).
8867 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8868 for SunOS4 (reason for failure not investigated). Remove
8869 redundant test for $binfile.
8871 * gdb.base/nodebug.c (array_index): Call malloc.
8873 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8877 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8878 conventions and slightly simplify the matching regexp.
8882 * gdb.base/break.exp: Update gdb_test invocation to use new
8885 * lib/gdb.exp: If noargs is not set, set it to 0.
8887 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8890 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8894 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8895 one argument of type "<non-float parameter>".
8899 * config/rom68k.exp: New file to support Motorola IDP board.
8900 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8901 * gdb.base/break.c: Change things around so that this program
8902 doesn't depend upon args. This is necessary to make remote
8903 targets work (in general, they can't take args).
8904 * gdb.base/break.exp: Don't try to send args to program. Don't
8905 expect output. Also, replace lots of code with gdb_test.
8909 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8910 printing of '\'' (which is what the comment says we are testing,
8911 even though we were not), not '''.
8912 (test_integer_literals_rejected): Test that printing ''' is an error.
8914 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8915 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8916 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8917 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8918 Use gdb_test not test_print_accept.
8919 * lib/gdb.exp: Remove test_print_accept.
8921 * gdb.base/signals.exp (signal_tests_1): Make pass message
8922 consistent with fail message.
8924 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8925 unsigned char; the bug (PR 1821) is fixed.
8927 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8929 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8930 successful tests--makes xfailing them work right.
8934 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8935 only \r\n, not .*. The test can pass .* as the last thing in
8936 $pattern if that is what it wants. In addition to providing this
8937 flexibility, this change should speed up pattern matching in cases
8938 where the pattern already ended with .* (there were a number of
8939 them). This change also helps catch bad patterns--in the old
8940 scheme the typo "char \*" instead of "char \\*" would pass. Now
8942 * Many .exp files: Update callers.
8944 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8945 clearer and does not spuriously match multiple ('s. Likewise for
8948 * gdb.base/nodebug.exp: Test ability to call a function and pass
8949 it a string (even with no debugging info).
8951 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8952 "p '\'", which is the same as "p ''" once tcl gets done with
8953 quoting, to "p '\\'", which I suspect is what is intended (one
8954 backslash gets sent to GDB).
8956 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8960 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8961 1817) was fixed literally years ago.
8965 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8966 test, it causes stepping out of call_after_alloca_subr with
8967 optimizing compilers.
8968 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8971 * gdb.c++/templates.exp: Source templ-info.exp only if
8972 the templates executable exists.
8974 * gdb.c++/misc.cc (class Contains_static_instance,
8975 class Contains_nested_static_instance),
8976 gdb.c++/classes.exp (test_static_members): Test printing of
8977 a class that contains a static instance of the class.
8981 * gdb.base/langs2.c (cppsub_): Don't prototype.
8982 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8987 * lib/gdb.exp (skip_chill_tests): New procedure.
8989 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8993 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8994 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8998 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9000 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9001 disassemble 8, not 16, instructions for part 4.
9003 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9004 support the latter anymore.
9006 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9008 * gdb.base/callfuncs.c: Control use of prototypes based on
9009 NO_PROTOTYPES, not __STDC__.
9010 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9011 t_float_values2 tests if prototypes in use.
9013 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9014 t_double_values): When checking differences against DELTA, check
9015 that difference is within the range (-DELTA,DELTA), not just
9020 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9021 'file' command firts, then 'target', then 'load', this is due to gdb
9023 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9027 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9028 FP load/store variants.
9029 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9033 * gdb.base/term.exp: Do not give a warning if not native, it is
9034 not an abnormal condition.
9038 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9043 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9044 are getting the version number.
9046 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9047 if not native, it is not an abnormal condition.
9051 * lib/gdb.exp: Just use "file exists", rather than undocumented
9052 dejagnu procedure "findfile".
9056 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9057 (LDFLAGS): Set to -Xlinker -Ur.
9059 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9060 Removed, these values are set by lib/gdb.exp.
9062 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9066 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9067 of replicating gdb startup code.
9069 * config/mt-vxworks (LDFLAGS): Set to -r.
9070 (CFLAGS_FOR_TARGET): Removed.
9072 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9073 (gdb) and gdb for vxworks uses (vxgdb).
9075 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9076 executable is not in the tree and host != target, use sed and
9077 program_transform_name to determine the gdb name used by the
9080 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9081 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9085 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9086 floats, chars, and shorts where there are ANSI-style function
9089 * gdb.base/langs.exp, gdb.base/langs*: New test.
9090 * gdb.base/Makefile.in: Build it.
9091 * TODO: Remove item about checking that C names don't get C++
9092 demangling applied; this test tests it.
9096 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9097 went with the const70 xfail. The xfail went away a year ago.
9099 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9101 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9104 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9106 * gdb.base/a1-selftest.exp: Don't run on hp300.
9110 * Makefile.in (site.exp): Set host_alias and target_alias as well
9111 as host_triplet and target_triplet.
9115 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9117 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9118 places as other ecoff systems).
9120 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9125 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9127 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9128 variable and "variable" in addition to "data variable".
9129 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9131 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9133 * gdb.base/list1.c (long_line): Add additional statement at start
9135 * gdb.base/list.exp (test_forward_search): Update line number to
9136 reflect new statement.
9140 * gdb.base/signals.exp: Reinitialize searched source directories
9141 after gdb_start call.
9145 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9146 * gdb.stabs/Makefile.in: Likewise.
9148 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9149 change. Instead split the tests into smaller pieces.
9150 * gdb.disasm/hppa.s: Corresponding changes.
9154 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9155 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9157 * gdb.base/funcargs.exp: Modify many tests so that every test
9158 either passes or fails. Make some test names unique.
9162 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9163 Call stty to set interrupt character.
9165 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9166 for HP assembler versus GNU assembler based on actual behavior of
9167 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9169 * TODO: Suggest a few more stepping tests.
9173 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9174 restart GDB for h8300 after a continue.
9175 (return): Add pattern to match a29k-udi behavior.
9176 * gdb.base/nodebug.exp: Remove obsolete comment.
9177 * gdb.base/regs.exp: New file, testing of register displays.
9178 * gdb.base/return.exp: Fix typo in reference to $objdir.
9179 * gdb.base/whatis.exp: Always start with a fresh GDB.
9183 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9184 higher, these tests generate a lot of output.
9188 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9189 code following the catch silently ignored some errors; without the
9190 catch they should be thrown like any other tcl error. Also, the
9191 catch used "" instead of {} which meant all the callers who wanted
9192 to include one of the characters "[]$ had to quote it an extra time.
9193 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9194 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9195 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9196 Remove extra quoting.
9200 * gdb.base/commands.exp: Make test names unique; every test either
9201 passes or fails. Update some comments.
9203 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9207 The following fixes a FAIL caused by the fact that the alpha stabs
9208 configuration didn't use the ".if alpha" code in weird.def.
9209 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9210 bit pointer, so the 32 bit version works even on the alpha.
9211 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9212 Remove the stuff which allowed us to have separate versions for
9213 alpha and everything else.
9215 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9216 regexp which "info func operator\[\](" is supposed to match. Fix
9217 string to send to GDB. Note that GDB still doesn't work right. Add a
9218 new test for "info func .perator\[\](" which GDB does handle correctly.
9220 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9224 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9225 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9226 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9227 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9228 it makes the tests harder to understand and confuses test-o-matic.
9229 The preferred style is that each test provides a PASS or a FAIL,
9230 and has a unique message (e.g. "continue #54" not just "continue")
9231 which is the same for the pass and the fail.
9232 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9233 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9235 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9236 prt_accept which was basically the same thing. Likewise for
9237 test_print_reject and prt_reject.
9238 * lib/gdb.exp (test_print_reject): Add some more error message
9239 patterns to match from the former printcmds.exp (prt_reject).
9240 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9241 One defect of the passcount stuff is that some of it failed to
9242 report XPASS where appropriate.
9243 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9244 stuff before and after arg in expected pattern.
9245 (test_paddr_operator_functions): Re-do test without print_addr_of;
9246 this is the only test which seems to want extra stuff there.
9250 * gdb.base/nodebug.exp: Update new tests to reflect improved
9251 wording of gdb output.
9253 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9254 and "ptype" work on variables in files compiled without -g.
9255 Replaces commented out "maint print msymbol" tests.
9259 * gdb.base/setvar.c (dummy): Call malloc.
9261 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9262 losing with the irix4 sed.
9264 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9269 * TODO: Remove items about corefile.exp testing new exec-file and
9270 backtrace; both are now done. Add items about printing enums.
9274 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9275 "get signal $thissig" test fails.
9277 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9281 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9282 compiler warning with dec alpha compiler.
9284 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9285 extra \n from gdb_test call (this explains why the prompt test
9286 that I removed yesterday was there).
9287 (user_defined_command_test): Remove extra \n and prompt test.
9289 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9290 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9292 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9293 Also remove alpha workaround, which turns out to be because
9296 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9298 * gdb.base/help.exp: Don't test "help show".
9302 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9303 "set print address" is on.
9304 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9305 pass prompt to gdb_test; gdb_test already looks for the prompt.
9307 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9309 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9310 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9311 was to make sure that gdb can read a core file. But (a) the "read
9312 the corefile" part didn't make it to a1-selftest.exp, we just
9313 delete the corefile after creating it, and (b) we test reading
9314 corefiles in corefile.exp anyway. Also, this test left around a
9315 xgdb process on Solaris.
9317 * gdb.base/corefile.exp: Also test backtrace.
9321 * gdb.base/commands.exp: Test a simple user defined command with
9322 arguments and if/while statements; verify the full user command is
9323 printed by "show user".
9325 * gdb.base/commands.exp: Test if/while commands as part of a
9326 breakpoint command list; verify they appear in breakpoint
9331 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9332 than by dividing by zero.
9336 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9337 performing an inferior call with watchpoints enabled.
9338 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9343 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9346 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9347 Add additional pattern for when "int operator int(void);" appears
9348 in a different order.
9352 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9354 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9355 and "signal" with ".*".
9359 * TODO: Add note about "handle all nostop".
9361 * gdb.base/{sigall.c, sigall.exp}: New test.
9362 * gdb.base/Makefile.in: Add it.
9366 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9367 when invoking GDB, suppresses any windowing interface.
9371 * config/sim-gdb: New file, simulator testing support.
9375 * gdb.base/interrupt.exp: Test calling func1 twice.
9379 * gdb.base/list.exp (test_forward_search): Set timeout higher
9380 when we'll be getting lots of output from gdb.
9382 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9383 "init_malloc" to after the expect statement. Run it if that
9384 regexp is taken, but also for two others which happen if source
9389 * gdb.base/printcmds.exp: New test, for printing register before
9394 * gdb.base/list.exp: Correct some alternate expect patterns
9395 to reflect changes in list1.c.
9399 * TODO: Add item regarding large frames.
9401 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9403 * TODO: Remove item about enabling return.exp; it
9404 is enabled. Suggest a few more "return" tests.
9408 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9413 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9414 and pr-5646.o, so "make" is the same as "make all", not "make
9419 * gdb.base/list.exp: Adjust expectations to reflect changes in
9421 (test_forward_search): New test proc.
9422 * gdb.base/list1.c (long_line): New function, has long source line.
9426 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9427 additional line of code that was added.
9431 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9432 tests so as not to overflow expect's input buffers.
9433 * gdb.disasm/hppa.exp: Corresponding changes.
9437 Beginnings of template debugging tests.
9438 * gdb.c++/templ-info.cc: New file to test for template
9439 debugging capability of the compiler.
9440 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9442 * gdb.c++/templates.cc: Add explicit template instantiations
9443 to enable compiling with -fno-implicit-templates. Add destructor
9444 and 'value' method to T5 class for template tests.
9445 * gdb.c++/templates.exp: Add testcases for printing of template
9446 types, setting breakpoints on template methods and calling a
9451 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9452 branch target since some assemblers (gas-2.5) may emit a
9453 relocation for the branch instead of resolving it in the
9458 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9459 through signal handler.
9463 * configure.in (*-*-netware): Use config/mt-netware.
9465 * config/mt-netware: New file.
9466 * config/mt-i386-netware: Removed, separate configs for different
9467 netware architectures are no longer needed now that we have
9472 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9473 by the recent changes to use ANSI C arithmetic conversions.
9477 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9478 bug involving using inferior_pid to figure out whether to select a
9483 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9484 match the current disassembler output.
9488 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9489 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9490 types, expect "int" as type of integer values (for now).
9494 * gdb.base/commands.exp: New tests for if/while commands.
9498 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9499 by .*, since hex values have different syntax in Chill mode.
9503 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9504 linefeed from expect pattern for repeated types with indices > 9.
9508 First part of Fortran test suite.
9509 * gdb.fortran: New directory.
9510 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9514 * gdb.base/default.exp: Update expect pattern for load command
9519 * configure.in: Change i386 to i[345]86.
9520 * gdb.base/configure.in: Likewise.
9521 * gdb.c++/configure.in: Likewise.
9522 * gdb.chill/configure.in: Likewise.
9526 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9527 patterns, since that is not a valid context for comments.
9531 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9532 repeated types and repeated types with indices > 9.
9536 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9537 2417; old bug has been fixed.
9541 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9542 send the newline ourselves instead of assuming gdb_test will do
9543 so when passed an empty input string.
9545 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9550 * lib/gdb.exp (gdb_test): Don't send anything if the first
9551 argument is an empty string. This makes cases where we want to
9552 match output that is already in expect's buffers (for example,
9553 matching a breakpoint after gdb_run_cmd has been called) work
9558 * config/netware.exp: New file.
9562 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9563 the -B and -L prefixes so we can find the debugging stub.
9565 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9566 there and we are using the gcc from the tree.
9568 * gdb.base/types.c: Removed.
9570 * gdb.base/configure.in: Look for makefile fragments in ../config.
9571 Recognize i386-*-netware.
9572 * gdb.c++/configure.in: Likewise.
9576 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9577 the correct TCL syntax.
9581 * gdb.base/opaque.exp: use runto instead of messing around with
9582 breakpoints. Simplify by using gdb_test.
9584 * gdb.base/bitfields.exp: restart between tests on netware targets
9585 because breakpoints aren't relocated after target death. Run
9586 processes to completion.
9588 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9592 * Makefile.in: Remove extra tabs that confuse some versions
9593 of "make". Use the newly built gdb to test with by default,
9594 rather than the first one in the tester's search path.
9598 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9600 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9605 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9607 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9609 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9610 * gdb.base/funcargs.exp: Likewise.
9612 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9613 * gdb.base/funcargs.exp: Likewise.
9615 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9620 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9621 return,signals,twice}.exp: Handle non-existant binaries
9624 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9625 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9626 might testing a cross development system.
9630 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9631 runtest script is relative to ${srcdir}, not ${rootdir}.
9635 * gdb.base/signals.exp: Allow for optionality of breakpoint
9640 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9644 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9645 for size_t definition.
9646 * gdb.c++/templates.cc: Likewise
9648 * config/mt-i386-netware: New file.
9650 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9653 * gdb.base/Makefile.in: Added support for systems that name core
9654 files by appending "core" to the program name.
9655 * gdb.base/a1-selftest.exp: Likewise.
9659 * gdb.base/return.exp: Add comment and message for `return double'
9660 test failure on Sparc Solaris.
9664 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9668 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9669 from optimizing them away.
9670 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9671 patterns to include default constructors and assignment operators,
9672 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9673 character in the output of the virtual base pointer.
9677 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9678 expression match in print_addr_of to avoid unintented matches.
9679 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9680 versions up to 2.5.8.
9684 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9685 included file to run under newer versions of expect.
9686 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9687 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9688 Remove xfail for the virtual table of BDDHookV.
9692 * lib/gdb.exp (string_to_regexp): Set a default result.
9693 (default_gdb_start): Fix misleading message.
9697 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9698 Remove all CC, etc definitions.
9699 * config/mt-hpux: New file.
9700 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9701 (CFLAGS, LDFLAGS): Define.
9702 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9704 * Makefile.in (site.exp): Don't insert host_os, etc.
9705 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9706 (distclean): Check existence of subdir.
9707 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9708 * gdb.base/Makefile.in: General cleanup and simplification.
9709 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9710 to build executables. Use default rule to build .o files.
9711 (EXPECT, RUNTEST, CC): Fix relative pathname.
9712 (site.exp): Don't insert host_os, etc.
9713 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9714 and/or SIGUSR1 defined.
9715 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9716 * gdb.c++/Makefile.in: General cleanup and simplification.
9717 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9719 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9723 * gdb.base/recurse.exp: Misc changes to get tests running again
9724 after Kung's changes to the watchpoint code.
9725 * gdb.base/watchpoint.exp: Likewise.
9729 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9733 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9734 * lib/gdb.exp (default_gdb_start): Define.
9735 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9736 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9737 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9738 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9739 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9740 Don't call gdb_target_udi in between tests.
9744 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9745 (which was basically just a local version of the same thing). In
9746 addition to avoiding duplication, gdb_test_exact is faster.
9747 * lib/gdb.exp (gdb_test_exact): Fix typo.
9749 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9750 don't give an error.
9752 * gdb.base/term.exp: Call delete_breakpoints before starting.
9754 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9759 Reorganization of the GDB Test Suite.
9761 * gdb.base: New directory, contains all the basic tests.
9762 * gdb.c++: New directory, tests specific to C++.
9763 * gdb.chill: New directory, tests specific to Chill.
9764 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9765 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9766 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9767 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9768 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9770 * */gdbme.*: Rename to match appropriate expect scripts.
9771 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9772 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9773 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9774 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9775 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9776 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9777 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9778 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9779 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9780 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9781 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9782 gdb.c++/virtfunc.cc: New names of C++ files.
9783 * gdb.chill/chillvars.ch: New name of Chill file.
9784 * gdb.base/configure.in, gdb.c++/configure.in,
9785 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9786 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9787 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9788 * configure.in (configdirs): Update to reflect directory changes.
9789 (target_abbrev): No longer define for any configuration.
9790 * Makefile.in: Cosmetic improvements to header comments.
9794 Various changes to gdb.t31:
9796 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9797 * gdbme.ch: Make all key-words and predefineds be upper-case.
9798 * chillvars.exp: Expect key-words and predefinds in upper-case.
9800 * chillvars.exp: Use gdb_test_exact many places.
9801 Change expected output for arrays (which now includes index labels).
9803 * pr-5020.exp, gdme.ch (module PR_5020):
9804 New test, for PR-5020.
9808 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9809 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9813 * Makefile.in: Fix bit-rot in definitions of CHILL,
9814 CHILL_FOR_TARGET and Chill_LIB.
9815 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9816 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9817 CHILL, and CHILL_LIB.
9821 * Revert the previous changes. Please see Rob's directory
9822 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9826 * Makefile.in, configure.in, config/mips-gdb.exp,
9827 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9828 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9829 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9830 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9831 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9832 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9833 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9834 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9835 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9836 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9837 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9838 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9839 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9840 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9841 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9846 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9847 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9848 Rob's new testing fragments.
9852 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9853 lib/gdb.exp: Replace error proc calls with perror.
9857 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9858 version also, match on casted version strings, and match on
9859 gdb startup case where the line numbers might be messed up.
9863 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9864 (CFLAGS): Delete it from here.
9868 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9872 * Makefile.in (RUNTEST): Default to just "runtest".
9876 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9877 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9878 the code has been restructured.
9882 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9883 \n, not just one of each.
9885 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9886 /bin/cc gives a warning if you do.
9890 * gdb.t24/demangle.exp: change expect pattern of
9891 __t10ListS_link1ZUiRCUiPT0
9895 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9896 on local variables in recursive functions.
9898 * gdb.t07/Makefile.in: Build the new test.
9902 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9903 directly. Instead compare the return values from actual calls.
9907 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9911 * From Peter Schauer with minor modifications.
9912 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9913 stops in mid-line in the caller. Add xfail for returning a float
9914 value on X86 targets.
9918 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9919 to avoid expect lossage.
9920 (fmem_LRbug_tests): Likewise.
9921 * gdb.disasm/hppa.s: Corresponding changes.
9923 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9924 conditions to work with latest dejagnu/expect.
9926 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9927 expected to fail on the PA.
9928 (backtrace in call with trampolines): Explicitly require main
9929 to be frame #1 (no trampolines should show up in backtrace).
9931 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9933 * gdb.t06/break.exp: Likewise.
9934 * gdb.t07/watchpoint.exp: Likewise.
9935 * gdb.t13/bitfields.exp: Likewise.
9936 * gdb.t15/{funcargs,return}.exp: Likewise.
9937 * gdb.stabs/weird.exp: Likewise.
9938 * config/{mips,udi}-gdb.exp: Likewise.
9940 * hppa.sed: Enclose comments within a sed command to avoid
9941 losing with the old OSF1 sed.
9945 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9947 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9948 * gdb.t15/funcargs.exp: Conditionally step again to really
9949 finish from marker_call_with_trampolines. Handle the case where
9950 the first step from within call_with_trampolines already steps
9952 * gdb.t15/gdbme.c: Add comment to closing brace of
9953 call_with_trampolines for funcargs.exp.
9957 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9962 * gdb.t07/gdbme.c: More code for watchpoint testing.
9964 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9965 "Hardware watchpoint" throughout file.
9966 (test_watchpoint_triggered_in_syscall): New test.
9967 (test_complex_watchpoint): New test.
9971 * gdbme.c (call_with_trampolines): New function to try and step
9972 into. Tests trampoline problems on the PA.
9974 * funcargs.exp (localvars_in_indirect_call): No longer expect
9975 stepping into indirect call to fail on PAs.
9976 (test_stepping_over_trampolines): New test.
9980 * TODO: Add suggestions for static member function tests, and
9985 * TODO: Add suggestions for "p/a" tests.
9987 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9988 (default_gdb_exit): Replace all the hair with sending "quit" to
9989 the process with a simple close.
9993 * TODO: Add suggestions for shared library tests.
9997 * TODO: Add suggestions for x/s tests.
10001 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10002 "enable once", and "enable breakpoints once" with ".*".
10006 * TODO: Add suggestions about structure passing tests.
10010 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10011 the primary1 test, use work around if __GNUC__ < 2.
10012 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10013 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10014 Test for bad output rather than waiting for timeout. Issue
10015 second continue only if first continue failed.
10019 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10020 operator[] test with gdb_test because the old code didn't seem to
10021 be getting the quoting right with the new dejagnu.
10025 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10027 * Makefile.in: Use a fresh expect if there is one, use runtest
10028 from the src tree if there is one.
10032 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10033 next over recursive call. Revise the tests from that point on
10034 (which had been skipped) to match GDB's actual (correct) output.
10036 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10037 with next over a breakpoint whose condition is false.
10039 * gdb.t00/help.exp: Comment out "help set print" tests just like
10040 (and for same reason as) "help set" test.
10044 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10045 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10049 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10050 necessary gdb_target_udi.
10052 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10054 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10055 1838 and 2417; they are fixed.
10057 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10058 gdb.t03/ptype.exp (ptype structure, ptype union):
10059 Remove xfails; the test is looser than when the xfails were added.
10061 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10062 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10064 * gdb.t01/run.exp: Only run shell test if isnative.
10066 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10067 since "run" automatically loads if necessary. Call gdb_target_udi
10068 after the "file" since "file" kills any execution target.
10070 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10071 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10072 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10077 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10079 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10083 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10084 properly quoting regexps. This makes the second argument to
10085 demangle a fixed string, which matches the callers, instead of a
10086 shell-style pattern which is what the previous implementation
10087 used. Update some of the callers.
10091 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10092 (comib_nullified_tests): Fix typo.
10093 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10094 strings. No longer expected to fail.
10096 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10097 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10098 strings. No longer expected to fail.
10100 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10101 string. No longer expected to fail.
10105 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10106 No longer expected to fail.
10108 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10109 string. No longer expected to fail.
10113 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10114 only in the names (I probably got most of them). I was even
10115 generous with some which differed in underscores in names, and
10116 probably missed a few, and I *still* was able to remove almost a
10117 third of the file with almost no impact on testsuite coverage.
10121 * gdb.t00/default.exp: Match udi_attach error message as well as
10122 the one from child_attach.
10124 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10126 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10128 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10129 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10131 * Move test with enums and partial symbols back to
10132 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10133 Reverts the change of 26 May 93. Per today's change to
10134 stabs.texinfo, the behavior that weird.exp was expecting was
10135 unreasonable; what is important is that the compiler+gdb get
10136 things right, which happens with a recent gcc. Also fix the test
10137 to deal with native compilers which put out the stab gdb can't
10142 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10143 in the names. The main thing these accomplish is to slow things down.
10144 Many more such duplicates surely remain.
10146 * gdb.t00/help.exp: Comment out "help support" test just like
10147 (and for same reason as) "help set" test.
10151 * gdb.t06/break.exp: Remove setup_xfails for
10152 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10153 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10154 about known bug in gcc to include up through 2.5.8.
10155 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10157 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10158 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10159 with latest gcc and gdb.
10160 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10165 * configure.in (hppa*-*-*): Also configure and build stabs-only
10170 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10171 * gdb.t10/configure.in (hppa*-*-*): Use it.
10175 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10179 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10180 versions prior to 1.13.5.
10184 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10185 the prompt is at the start of a line.
10189 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10190 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10191 in the copr tests now.
10192 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10193 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10198 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10199 gdb.t31/chillvars.exp, lib/gdb.exp:
10200 Tweak to run under either version of expect.
10201 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10202 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10203 * gdb.t11/list.exp: Remove extraneous whitespace.
10207 * gdb.t16/printcmds.exp (test_print_strings): Accept
10208 "(unsigned char *) " before the string.
10210 * TODO: Add notes about printing of fancy types and GDB expressions.
10214 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10215 * gdb.t06/configure.in: Don't try to compile signals test program
10216 if doing mips-idt-ecoff.
10220 * Most .exp files: Tweak to run under either version of expect.
10224 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10225 xfails; I'm not sure why they are failing, but not because of PR 1806.
10229 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10230 defined in lib/gdb.exp.
10234 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10235 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10236 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10237 have to be typeless.
10241 * TODO: Add suggestion for copyright year test.
10245 * configure.in (*-*-lynxos*): Add stabs tests.
10249 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10250 so insert a tab before any assembler directive in column zero.
10252 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10254 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10256 (fpu_short_memory_tests): Likewise.
10260 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10261 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10262 .stabs directives in comments.
10266 * TODO: New file, describing tests we could write.
10267 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10271 * gdb.t06/signals.exp: Add kludge to force re-sync.
10273 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10274 to xgdb instead of gdb, get out of gdb.
10278 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10283 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10284 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10285 * gdb.stabs/hppa.sed: New sed script for the PA.
10289 * gdb.stabs: Re-write weird.def and configuration to use sed
10290 instead of cpp. sed is portable and POSIX; cpp is neither.
10294 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10298 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10302 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10304 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10305 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10309 * lib/gdb.exp: Comment out code which depends on non-existent
10310 `transform' procedure.
10314 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10315 * lib/gdb.exp: Transform tool name.
10316 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10317 1.1's new error handling system.
10321 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10325 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10326 They made pattern matching so slow that timeouts happened on
10327 heavily loaded systems. Now any output from "show print" which
10328 gets us back to the GDB prompt is a PASS.
10330 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10332 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10336 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10338 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10339 It is not from PR 3220.
10343 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10344 just started failing because they depended on the order the
10345 subcommands are presented, or exact docstring text. This kind of
10346 test is a pain and has minimal benefit.
10350 * gdb.t09/corefile.exp: At end of test, use "core" command with
10353 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10355 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10356 17}/Makefile.in: Make it possible to run the testsuite with Sun
10357 make and CC = cross gcc by adding explicit build rules for .o
10362 * gdb.t15/funcargs.exp: Don't put comments on same line as
10363 setup_xfail (@#$*%& tcl braindamage!).
10367 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10371 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10372 * gdb.t20/inherit.exp: remove three dumplicate entries.
10376 * gdb.t06/break.exp: For "next over recursive call", fail on any
10377 incorrect output, not just on "factorial (value=2)".
10381 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10382 working now. Add an xfail if accesing a bss variable causes
10383 a memory error if the target is not yet run.
10387 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10388 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10389 name of __st* demangling (2 strings). Did Kung really get the
10390 more than 95 others right without testing them?
10394 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10398 * configure.in (configdirs): Add gdb.disasm
10399 * gdb.disasm: New directory for GDB disassembler tests.
10400 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10404 * gdb.t00/help.exp: Don't test "help set".
10406 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10407 from within expect statements. None of these happen anymore and
10408 they cause regressions to be silently unnoticed.
10410 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10411 messages) about known failures with gcc cygnus-2.4.5-930417.
10413 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10414 comp-info.exp so it gets built if it doesn't exist.
10416 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10417 it is no longer used.
10418 * gdb.t13/comp-info.c: Removed.
10422 * gdb.t06/signals.exp: Add xfail for sun3.
10426 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10427 relevant because ^C doesn't get sent but failure can be reproduced
10432 * gdb.stabs/alpha.mt: New configuration file for alpha.
10433 * gdb.stabs/configure.in: Use it.
10434 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10435 sharing with alpha.mt, redefine long to word via preprocessor.
10436 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10438 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10440 * gdb.t00/teststrategy.exp: Change expect string so that we
10441 consume the `(xgdb)' from the command echo and from the gdb prompt.
10442 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10443 gdb currently compares all values as long, so this failure probably
10444 applies to any configuration where LONGEST is bigger than a target int.
10445 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10447 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10448 to handle opaque pointers, gcc is.
10449 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10450 as first argument. Include <sys/types.h> and change all operator
10451 new definitions to use size_t.
10452 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10453 now that we use size_t.
10457 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10458 a long or float array cast all array members to the same type.
10459 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10461 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10463 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10467 * gdb.t24 (demangle.exp): Constructors of templates have names like
10468 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10469 section 14.6 of the ARM.
10471 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10472 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10473 accomplish little and slow down the testsuite.
10475 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10476 Accept spaces various places.
10480 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10481 with watchpoint enabled.
10483 * Makefile.in: Remove definition of CC and remove the second
10484 definition of CXX (the "CXX = gcc" one remains). These definitions
10485 were causing backquotes to be expanded within backquotes, which
10490 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10494 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10495 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10496 by mips cc and contains no stabs entries.
10500 * config/vx-gdb.exp: Use fake device to load files rather than
10502 * lib/gdb.exp: New proc to do "file" command.
10503 * config/unix-gdb.exp: Use new "file" proc.
10507 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10508 Rework board rebooting slightly.
10509 (gdb_exit): Don't exit from the remote shell; there isn't one.
10510 * gdb.stabs/weird.exp: If a program is being debugged already,
10512 * gdb.t04/setvar.exp: Stop and restart gdb.
10513 * gdb.t05/expr.exp: Likewise.
10514 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10515 restart gdb and reload the program.
10516 * gdb.t08/opaque.exp: Likewise.
10517 * gdb.t12/scope.exp: Likewise.
10518 * gdb.t13/bitfields.exp: Likewise.
10519 * gdb.t15/funcargs.exp: Likewise.
10520 * gdb.t20/classes.exp: Likewise.
10521 * gdb.t03/ptype.exp: Increase timeout.
10522 * gdb.t16/printcmds.exp (test_print_string_constants,
10523 test_print_array_constants): Likewise.
10524 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10525 * gdb.t20/classes.exp (do_tests): Likewise.
10526 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10530 * gdb.stabs: Renamed *wierd* to *weird*.
10534 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10535 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10539 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10540 (do_tests): Remove xfail for whatis on one_var and two_var.
10544 * Makefile.in: Made cross building work better by adding
10545 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10549 * gdb.t15/{return.c,return.exp,Makefile.in}:
10550 New test, currently commented out.
10554 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10555 still running and removes the leftover named socket so GDb can do
10560 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10562 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10563 cross testing works better with "make check"
10564 * config/unix-gdb: Use default procedures for exit and version.
10565 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10566 with the newest VxWorks.
10570 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10573 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10574 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10576 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10578 * config/unix-gdb.exp: Remove this version of gdb_exit
10579 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10580 Rob says he'll look at it when he gets back to testing boards.
10584 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10585 an expected fail for certain ptype commands.
10587 * gdb.t20/classes.exp: Update expected results of "ptype class
10588 Base1" to account for the constructor that now appears in the type.
10592 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10593 disappeared from list.
10594 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10595 "alldone" proc with call to cleanup and exit.
10596 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10597 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10598 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10599 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10600 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10601 "alldone" proc with simple returns that suppress remaining
10602 tests. The alldone proc went away many months ago.
10606 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10608 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10612 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10613 as vax gdb will display them.
10617 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10620 * scope.exp: Change "bad value for localval" messages so each one
10623 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10624 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10626 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10630 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10631 doesn't exist (due to optimization).
10635 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10636 contains \r because the filename is long.
10638 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10639 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10643 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10644 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10646 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10648 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10652 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10654 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
10655 to match does not match the passing case but still matches the
10660 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10664 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10665 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10666 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10667 Remove various versions of gdb_exit.
10668 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10670 * config/unix-gdb.exp: gdb_exit remains here, and should override
10671 the generic version, since it's doing a lot of wierd stuff that
10672 the other versions aren't. FIXME, fold it in, or abandon this
10677 * gdb.t24/demangle.exp: Add tests for PR 3220.
10681 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10685 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10686 "i386-*-*". Works for i486 as well.
10688 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10689 bug, and expand domain of xfail to all SVR4 systems, since the
10690 actual problem is likely to be in generic SVR4 /proc support.
10694 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10698 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10699 xfails for other systems. Match a missing 'Continuing.' as an
10700 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10702 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10703 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10704 Only issue warning for missing executables if -all option is used.
10706 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10707 file if -all option is used. It's like an unpredictable XFAIL.
10711 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10712 for dynamically linked binaries.
10714 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10718 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10719 to state that this is a known bug in old versions of g++.
10723 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10724 while waiting for `Continuing'.
10728 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10729 in text, data, and bss.
10730 * gdb.t10/nodebug.c: Add local and global test variables for
10731 initialized and uninitialized data.
10735 * config/unix-gdb.exp (gdb_exit): Add "wait".
10739 * gdb.t06/signals.exp: xfail the continue from the handler for all
10742 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10743 function with watchpoints enabled, the i386 call dummy starts with
10746 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10747 386 bsd names its corefiles.
10751 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10752 compilers don't grok it.
10753 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10754 with small octal ints rather than character constants, which
10755 are signed and might not fit if first promoted to int.
10759 * gdb.t09/Makefile.in (clean): Remove corefile.
10763 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10768 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10769 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10770 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10774 * gdb.t17/interrupt.exp: Add xfail for hppa.
10778 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10779 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10780 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10781 to determine signed-ness of bitfields and use the result to setup
10783 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10784 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10785 call line is reached if necessary.
10789 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10793 * gdb.t06/break.exp: Also test `clear' command.
10797 * gdb.t00/teststrategy.exp: Remove extra quote.
10799 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10800 watchpoint enabled to be for all non-68k machines.
10802 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10806 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10807 targets use aout.mt instead of ecoff.mt as gas understands
10808 standard aout format.
10812 * lib/gdb.exp (runto): Don't insist that function we are running to
10813 was compiled with -g.
10815 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10817 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10818 to get back into the read system call.
10819 Accept leading newline in case where we woke it up.
10823 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10824 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10825 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10826 enable ecoff configuration.
10830 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10834 * gdb.t16/printcmds.exp: Add another printf test.
10838 * configure.in: If configured -with-stabs on any target, add
10839 stabsdirs to configdirs.
10843 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10844 fun" so pattern does not match the command itself.
10848 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10852 * gdb.t17/interrupt.exp: Test for more things.
10856 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10857 compiler arranges the code and line numbers.
10859 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10863 * gdb.t00/help.exp: Increase expect input buffer size.
10867 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10869 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10871 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10873 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10874 [0-9]*, not just [0-9].
10878 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10880 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10884 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10888 * gdb.t06/signals.c: Add xfails for sun3.
10890 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10892 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10893 test_stepping tests.
10897 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10899 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10901 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10902 rather than actually putting it through cpp twice.
10904 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10908 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10913 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10915 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10916 C++ features prints as "struct", make it a pass, not an xfail.
10920 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10921 Don't require VA to print as "class" rather than "struct".
10925 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10929 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10933 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10938 * gdb.t16/printcmds.exp: Add printf tests.
10940 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10942 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10946 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10947 pass counts, to counteract any existing or future setup_xfails.
10951 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10952 {BEGIN,END}_COMMON for common block instead of STAB.
10953 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10955 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10956 intp_var should be N_GSYM not N_LSYM.
10957 wierd-aout.S: Use a label for the value of the N_SO.
10958 wierd.def: Remove all backslashes.
10959 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10963 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10964 get the expected next to inheritance3.
10968 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10969 now that gcc-2.4 gets it right.
10973 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10975 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10976 generating comp-info.exp which works for cross-compilation.
10980 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10985 * gdb.t01/run.exp: Start with a fresh gdb.
10986 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10991 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10992 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10993 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10994 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10999 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11000 test cases from bug reports.
11004 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11005 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11006 avoid spurious xfails.
11007 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11008 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11009 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11013 * gdb.t00/teststrategy.exp: Rework to provide more useful
11014 description of each test, fix problem with systems that define
11015 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11016 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11017 results for "next over recursive call" so timeouts aren't taken
11022 * gdb.t12/scope.exp: Test printing of variables before run.
11024 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11025 printed in wrong order due to sorting.
11029 * gdb.t00/teststrategy.exp: Fix expected results for printing
11030 user entered string constant. Is array of char, prints with no
11033 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11035 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11036 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11037 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11038 of struct of char arrays.
11039 * gdb.t00/radix.exp: New tests for radix commands.
11043 * gdb.t16/printcmd.exp: Print a variable before running program
11044 (with xfail for AIX).
11048 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11050 * gdb.t16/printcmd.exp: Don't print variables before running program.
11052 * gdb.t06/break.exp: Don't require envp argument to main.
11054 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11056 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11057 Add xfails for rs6000.
11059 * gdb.t02/whatis.exp: Change other tests not to re-test something
11062 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11063 each type used has a variable of that type.
11067 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11069 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11071 * configure.in: change srctrigger to be a file, not a directory
11075 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11077 * gdb.t11/list.exp: Fixed a couple of typos.
11081 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11082 is fixed and PR is closed.
11083 * gdb.t16 (gdbme.c): Add simple test string variable.
11084 * gdb.t16 (printcmds.exp): Add tests with simple test string
11085 variable, primarily for boundaries on "set print elements".
11089 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11090 Make leading 0's optional and don't expect a tab in the middle
11093 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11095 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11096 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11097 don't end command passed to gdb_test with newline.
11099 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11100 signed keyword away, don't expect signed bitfields to be signed.
11102 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11103 printing with only as many 1's as are in the field as well as printing
11104 with 32 1's (see comment).
11108 * gdb.t00/default.exp: Start with a fresh gdb.
11109 * configure.in (configdirs): Remove gdb.t31 until the chill
11110 compiler works again. It no longer is able to find chillrt0
11111 since it isn't in libchill.a anymore.
11112 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11113 wierd.o, make more modular.
11114 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11115 spurious newlines that caused problems.
11119 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11120 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11121 gdb.stabs/wierd.{exp,def}: Many new tests.
11123 * gdb.t00/default.exp: update info line for new message.
11125 * gdb.t02/{whatis.exp,gdbme.c}:
11126 Test that "char *" doesn't print as "caddr_t".
11130 * gdb.t00/help.exp: Use .* in place of some help messages which
11132 gdb.t00/default.exp: Update "info frame" test for new message.
11133 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11138 * gdb.t03/{gdbme.c,ptype.exp}:
11139 Add tests for typedef'd struct and union without tags.
11140 Also check "whatis" on a variable of a typedef'd enum without a tag.
11142 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11143 PRMS 1823; the bug still exists but isn't reproduced by this test
11144 anymore), and remove rs6000 XFAIL (the bug is fixed).
11146 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11147 duplicated from whatis.exp. For those that are left, accept
11148 "long", "long int", or "int" for long variables (whatis.exp already
11149 has an XFAIL for "int", so no need to fail it here).
11151 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11152 Deal with GCC's names for types now that GDB uses the compiler's names.
11154 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11155 setup_xfail's for sunos4. If we #defined the signed keyword away,
11156 don't expect GDB to know that char it is signed.
11158 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11162 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11163 should work on any system, regardless of debugging format.
11164 * gdb.t21/demangle.exp: Move to gdb.t24.
11165 * gdb.t24/demangle.exp: Move from gdb.t21.
11166 * gdb.t24/{Makefile.in, configure.in}: New files.
11170 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11171 * gdb.stabs: New directory.
11175 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11176 not just "Quit anyway?".
11180 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11181 that all setup_xfails are immediately followed by clear_xfails.
11185 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11186 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11187 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11188 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11189 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11190 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11191 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11192 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11193 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11194 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11195 gdb.t31/chillvars.exp, lib/gdb.exp:
11201 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11202 with 0.0, not integer 0.
11206 * gdb.t06/break.exp: Update for "Kill the program" message change.
11210 * Makefile.in (GDBFLAGS): Set to -nx.
11211 * Makefile.in (site.exp): Use GDBFLAGS.
11215 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11217 (check): depend on just-check.
11218 (just-check): added so that tests can be run without a noop
11223 Switch to using configure's configdirs.
11224 * Makefile.in (Makefile): add configure.in dependency.
11225 (SUBDIRS): removed redundant assignment.
11226 * configure.in: switch subdirs assignment to configdirs.
11227 * gdb.t*/configure.in: new files.
11231 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11236 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11237 in explicit rules. Apparently this is not supported by some makes.
11241 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11245 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11250 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11254 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11255 watchpoint problem that is now fixed.
11256 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11257 uninitialized convenience variables.
11258 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11263 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11264 which causes expect to get out of sync with gdb on long output
11266 * gdb.t09/corefile.exp: Make expected pattern for core file
11267 failing signal and frame output format less sun specific.
11271 * gdb.t31/chillvars.exp: Add and remove initial dummy
11272 breakpoint, so that symbol table is forced in.
11273 (Needed at least on Sunos4, though it seems not SVR4.)
11274 * gdb.t31/chillvars.exp: Update for changed output format.
11276 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11278 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11282 * Makefile.in: Added --srcdir when invoking runtest, removed the
11283 need for a local config file. (optional now)
11287 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11288 failure count used to force early termination. Add some more
11289 expected failures for gnu style demangling.
11293 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11294 pmi variable from gdb.t20/gdbme to get optimized away.
11295 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11296 Check for written corefile upon timeout _and_ eof.
11300 * config/unix-gdb.exp: Add missing return 0.
11304 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11309 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11314 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11315 time as i860 support works.
11317 * gdb.t15/funcargs.exp: Fix expected outputs to include
11318 "backtrace 100\r" rather than just "backtrace\r", to match last
11323 * config/udi-gdb.exp (gdb_exit): Remove close command.
11324 (gdb_target_udi): New procedure to set the UDI target.
11325 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11326 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11327 Added waits for prompts after several question responses. Added
11328 some more responses used by a29k-amd-udi-gdb.
11329 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11330 pass different arguments, restart UDI connection after program
11332 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11333 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11334 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11335 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11336 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11337 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11338 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11339 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11340 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11341 after program completion.
11342 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11343 compiled with a SELECT_VECS setting.
11344 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11345 infinite recursion.
11347 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11348 Added checks for COFF results, and made them expected failures for
11349 all targets. It would be better to make them expected failures
11350 for COFF targets only.
11352 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11354 * Makefile.in: add null dvi target, don't bother to recurse
11355 through test directories for info and install-info; rename
11356 $(datadir) to be dejagnu instead of deja-gnu
11360 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11361 compiler to coredump.
11362 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11367 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11369 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11372 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11374 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11375 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11376 which in a shell. Deletes xgdb when done.
11377 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11378 Tests the return from the "set height" or "set width" commands.
11379 Added a few return codes where needed.
11383 * Makefile.in (SUBDIRS): Add gdb.t17.
11384 * configure.in (subdirs): Add gdb.t17.
11385 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11386 files to test gdb's calling of functions in the inferior with
11387 the correct arguments and gdb's ability to retrieve any
11392 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11393 may be called after gdb goes away. Previous versions of expect
11394 needed these to avoid file descriptor leaks, but they cause
11395 errors with the current revision of expect.
11396 * gdb.t00/gdbvars.exp: Use -re on expected output after
11397 setting sevenbit-strings.
11398 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11399 to set sevenbit-strings consistent across tests.
11400 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11401 set sevenbit-strings consistent across tests.
11405 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11406 expected output to match current "expect" expectations.
11410 * gdb.t00/default.exp: Change expected output for default "source"
11411 command, to match new gdb behavior which requires a filename to
11416 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11417 expected fail for i486-*-* that misses the marker2 function.
11418 * gdb.t10/crossload.exp (bfddefault): Allow successful
11419 recognition of a format to pass even if no symbols are found.
11420 Explicitly catch failures where the format is not recognized
11421 or is ambiguous, and add the reason to the fail message.
11422 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11423 the cause is and invalid target and add reason to failure message.
11424 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11425 elf32-i386, elf32-sparc, and elf32-i860.
11426 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11427 Set up expected failure for 'filename'::variable scope resolution,
11428 which is now apparently broken on all targets.
11429 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11430 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11431 gdb.t23/templates.exp: Change failure for missing binfile into
11433 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11438 * gdb.t00/default.exp: Add expected output for default "source"
11439 command, to match new gdb behavior.
11440 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11444 * config/*-gdb.exp: returns an error, rather than exiting on
11449 * gdb.t03/gdbme.c: Add pointer to struct variable.
11450 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11451 referencing struct members.
11455 * configure.in (mips-idt-ecoff): New target.
11456 * config/mips-gdb.exp: New file for remote board using MIPS remote
11457 debugging protocol.
11459 * Redid configuration scheme. Removed gdb.t*/configure.in.
11460 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11461 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11462 distclean targets. Built executables via .o files. Adjusted
11463 tests to account for source files in $(srcdir) rather than
11465 * lib/gdb.exp (runto): Don't expect () after the function name,
11466 because it may have arguments.
11470 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11471 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11472 expected failures for mips-idt-* and mips-sgi-*.
11473 * gdb.t00/default.exp (attach): Kill process if requested.
11474 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11475 that does not read core files.
11476 * gdb.t01/run.exp: Removed checks for exit status code.
11477 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11479 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11480 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11481 appropriate, rather than doing it by hand.
11482 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11484 * gdb.t10/crossload.exp: Kill existing program if needed.
11485 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11486 appropriate, rather than doing it by hand. Always increase
11487 timeout for this test, not just for VxWorks.
11491 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11492 of Chill STRUCT types and STRUCT values.
11493 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11495 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11496 struct2): New struct definitions and initializations to test
11497 simple Chill STRUCT types.
11501 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11502 the null byte at the end of strings.
11503 * gdb.t00/default.exp: Make show version insensitive to copyright
11505 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11506 to avoid dependencies on target char signedness.
11507 * gdb.t16/printcmds.exp: Update expected results for explicitly
11509 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11511 * gdb.t21/demangle.exp: Add many more patterns for template
11512 demangling, most of them being expected failures.
11513 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11514 string we are matching for, to match on the whole string.
11515 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11516 and fix a whole bunch that had incorrect expected output but were
11517 passing anyway because of the bug in "proc demangle".
11518 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11520 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11524 * gdb/testsuite: made modifications to testcases, etc., to allow
11525 them to work properly given the reorganization of deja-gnu and the
11526 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11530 * gdb/testsuite: Initial creation of gdb/testsuite.
11531 Migrated dejagnu testcases and support files for testing nm to
11532 gdb/testsuite from deja-gnu. These files were moved "as is"
11533 with no modifications. This migration is part of a major overhaul
11534 of dejagnu. The modifications to these testcases, etc., which
11535 will allow them to work with the new version of dejagnu will be
11536 made in a future update.
11538 For additional changes see gdb.mi/ChangeLog-1999-2003.
11544 version-control: never