Lines Matching +refs:gdb +refs:stack +refs:buffer
3 * gdb.mi/gdb701.c (main): Return 0.
7 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11 * gdb.threads/schedlock.c: Add comment markers to use to find
13 * gdb.threads/schedlock.exp: Adjust regex to handle the new
15 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
24 * configure.in: Add gdb.dwarf2.
26 * Makefile.in: Add gdb.dwarf2.
27 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
28 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
29 gdb.dwarf2/file1.txt: New files.
33 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
36 * gdb.threads/pthread_cond_wait.exp: Ditto.
40 * gdb.base/overlays.exp: Update copyright years.
44 * gdb.base/overlays.exp: Disable if target is Linux.
52 * gdb.asm/asm-source.exp: Add m32r-linux target.
53 * gdb.asm/m32r-linux.inc: New file.
58 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
60 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
72 * gdb.base/bigcore.exp: Replace the code that creates a corefile
78 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
83 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
85 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
90 * gdb.java/jprint.exp: New test case for java inferior call.
91 * gdb.java/jprint.java: Ditto.
95 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
99 * gdb.threads/killed.c: Include <stdlib.h>.
100 * gdb.threads/pthreads.c: Likewise.
104 * gdb.threads/killed.c: Add copyright notice.
108 * gdb.base/define.exp: Two new tests to verify zero space chars
114 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
119 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
135 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
141 * gdb.base/unload.exp: Fix so messages aren't duplicated.
145 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
147 * gdb.gdb/observer.exp (setup_test): Likewise.
148 * gdb.gdb/selftest.exp (test_with_self): Likewise.
149 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
153 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
158 * gdb.base/unload.exp: Fix expected warning message to match
163 * gdb.base/call-rt-st.exp: Fix typos.
167 * gdb.threads/thread_check.exp: New testcase.
168 * gdb.threads/thread_check.c: New testcase.
172 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
178 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
179 gdb/1757.
184 * lib/gdb.exp (gdb_file_cmd): Return more information in the
188 * gdb.base/remote.exp: Adapt to new return value.
189 * gdb.gdb/complaints.exp: Likewise.
190 * gdb.gdb/observer.exp: Likewise.
191 * gdb.gdb/selftest.exp: Likewise.
192 * gdb.gdb/xfullpath.exp: Likewise.
196 * gdb.threads/bp_in_thread.exp: New testcase.
201 * gdb.threads/schedlock.c (thread_function): Add a cast
203 * gdb.threads/thread-specific.c (thread_function): Likewise.
207 * gdb.base/unload.c: Include <stdlib.h>.
212 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
217 * gdb.mi/basics.c: Include <stdio.h>.
218 * gdb.mi/pthreads.c: Include <stdlib.h>.
219 * gdb.mi/var-cmd.c: Include <stdlib.h>.
223 * gdb.threads/schedlock.c: Add copyright notice.
227 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
231 * gdb.base/sigstep.c (main): Change to use an infinite loop.
235 * gdb.mi/basics.c: Add copyright notice.
236 * gdb.mi/var-cmd.c: Add copyright notice.
240 * lib/gdb.exp: Remove signed_keyword_not_used.
246 * gdb.base/whatis.c: Remove conditional disabling of "signed".
247 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
251 * gdb.base/whatis.c: Add copyright notice.
255 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
260 * Makefile.in: Add gdb.fortran.
264 * gdb.base/call-sc.exp (test_scalar_returns):
269 * configure.in: Add gdb.fortran.
271 * gdb.fortran/Makefile.in: New file.
272 * lib/gdb.exp (skip_fortran_tests): New procedure.
276 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
278 * gdb.mi/mi-var-child.exp: Likewise.
279 * gdb.mi/mi-var-cmd.exp: Likewise.
280 * gdb.mi/mi-var-display.exp: Likewise.
281 * gdb.mi/mi2-var-block.exp: Likewise.
282 * gdb.mi/mi2-var-child.exp: Likewise.
283 * gdb.mi/mi2-var-cmd.exp: Likewise.
284 * gdb.mi/mi2-var-display.exp: Likewise.
288 * gdb.base/unload.c (main): Make local variable msg const.
292 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
294 * gdb.mi/mi-disassemble.exp: Likewise.
295 * gdb.mi/mi-eval.exp: Likewise.
296 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
298 * gdb.mi/mi-return.exp: Likewise.
299 * gdb.mi/mi-simplerun.exp: Likewise.
300 * gdb.mi/mi-stack.exp: Likewise.
301 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
303 * gdb.mi/mi-watch.exp: Likewise.
304 * gdb.mi/mi2-break.exp: Likewise.
305 * gdb.mi/mi2-cli.exp: Likewise.
306 * gdb.mi/mi2-disassemble.exp: Likewise.
307 * gdb.mi/mi2-eval.exp: Likewise.
308 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
310 * gdb.mi/mi2-return.exp: Likewise.
311 * gdb.mi/mi2-simplerun.exp: Likewise.
312 * gdb.mi/mi2-stack.exp: Likewise.
313 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
315 * gdb.mi/mi2-watch.exp: Likewise.
319 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
320 * gdb.cp/m-static.exp: Likewise.
321 * gdb.cp/rtti.exp: Likewise.
325 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
335 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
336 * gdb.mi/mi2-break.exp: Likewise.
340 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
344 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
348 * gdb.cp/classes.exp: Remove unused declarations. Just let
354 * gdb.base/unload.exp: New test for breakpoints in dynamically
356 * gdb.base/unload.c: Ditto.
357 * gdb.base/unloadshr.c: Ditto.
361 * gdb.cp/classes.exp (test_ptype_class_objects): Call
367 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
372 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
384 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
385 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
386 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
391 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
392 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
393 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
394 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
395 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
396 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
397 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
398 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
399 gdb.mi/mi2-watch.exp: Update copyright years.
403 * gdb.base/sigaltstack.exp: Provide proper anchoring.
407 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
408 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
409 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
410 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
411 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
412 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
413 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
414 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
415 gdb.mi/mi-watch.exp: Update copyright years.
419 PR gdb/1738
420 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
425 PR gdb/1736
426 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
427 * gdb.base/sigaltstack.exp (finish_test): Consume output until
429 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
433 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
437 PR gdb/1736
438 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
443 * gdb.arch/i386-prologue.exp: Compile without debug information.
447 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
448 rather than asking gdb to search.
452 * gdb.base/gcore.c: Include <string.h>.
456 * gdb.base/gcore.c: Add copyright notice.
460 * gdb.base/freebpcmd.c: Include <stdio.h>.
461 * gdb.base/long_long.c: Include <string.h>.
462 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
463 * gdb.base/siginfo.c: Include <string.h>.
464 * gdb.base/sigstep.c: Include <string.h>.
468 * gdb.base/complex.c: Include <stdlib.h>.
472 * gdb.base/complex.c: Add copyright notice.
476 * gdb.base/charset.c: Include <stdlib.h>.
480 * gdb.base/auxv.c: Include <stdlib.h>.
484 * gdb.base/auxv.c: Add copyright notice.
488 * gdb.base/coremaker.c: Add copyright notice.
489 * gdb.base/coremaker2.c: Add copyright notice.
493 * gdb.base/store.exp: Update copyright.
500 * gdb.base/dump.exp: Add test name to callers of capture_value, do
508 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
509 * gdb.arch/i386-prologue.c (standard): New prototype and function.
514 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
518 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
522 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
524 about "obsolete gcc or gdb".
528 * gdb.cp/classes.exp: Accept more varieties of ptype output.
532 * gdb.base/asm-source.exp: Properly convert target board
537 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
542 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
546 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
555 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
556 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
562 * gdb.base/radix.exp: Refactor common procedures. Make all
567 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
568 * gdb.ada/gnat_ada.gin: ... to here.
574 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
582 * gdb.base/annota1.exp: Honor gdb,nosignals.
583 * gdb.base/annota3.exp: Likewise.
591 * gdb.base/selftest.exp: Copy file from here ...
592 * gdb.gdb/selftest.exp: ... to here.
601 * gdb.base/restore.c: Append "prologue" to comments marking the a
603 * gdb.base/restore.exp: Update copyright, re-indent.
610 * gdb.base/restore.c: Add copyright notice.
614 * gdb.base/logical.exp: Update copyright.
625 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
630 * gdb.base/step-test.exp: Update copyright. Use
634 * gdb.gdb/observer.exp: Update copyright.
646 * gdb.base/signull.exp (test_segv): Prefix all tests with
649 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
651 * gdb.base/ena-dis-br.exp: Update copyright.
658 * gdb.base/attach.exp: Remove cleanupfile handling.
662 * gdb.base/annota1.exp: Cleanup corefile test name.
663 * gdb.base/annota3.exp: Ditto.
667 * gdb.base/signals.exp: Clean up copyright, re-indent.
669 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
674 * gdb.java/jmain.exp: Fix expected line number for main to
680 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
682 * gdb.base/sigbpt.exp: Make the common part of each test name a
687 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
690 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
696 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
698 * gdb.java/jmisc1.exp: Ditto.
702 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
707 * gdb.cp/templates.exp: Accept whitespace change in demangler
712 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
727 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
729 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
731 * gdb.arch/i386-unwind.c: Use preprocessor directives to
733 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
738 * gdb.base/bigcore.exp: Skip test on Cygwin.
742 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
748 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
757 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
758 * gdb.java/jmisc2.exp: Delete file.
762 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
766 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
771 * gdb.cp/pr-1553.exp: Remove.
775 * gdb.cp/pr-1553.cc: Remove.
776 * gdb.cp/pr-1553.exp: Disable this test.
781 * gdb.arch/i386-sse.exp: Properly quote curly braces in
787 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
792 * gdb.base/charset.exp: Only send a control-C if we see a new
797 * gdb.cp/pr-574.cc: Add copyright notice.
801 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
807 * gdb.cp/printmethod.cc: Add copyright notice.
811 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
815 * gdb.base/signull.c: Update copyright. Include <string.h>.
820 * gdb.base/signull.exp: Fix probe pattern matching a function
826 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
830 * gdb.base/long_long.c: Add copyright notice.
834 * gdb.base/long_long.exp: Remove reference to
835 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
840 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
845 * gdb.base/gcore.exp (capture_command_output): Delete the always
847 * gdb.base/ending-run.exp: Do not include the breakpoint address
849 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
854 * gdb.cp/ref-types.cc: Add copyright notice.
861 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
867 * gdb.cp/try_catch.cc: Add copyright notice.
871 * gdb.cp/userdef.cc: Add copyright notice.
875 * gdb.cp/virtfunc.cc: Add copyright notice.
879 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
886 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
891 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
892 gdb/1455, bug is specific to "long long" and "double".
894 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
901 * gdb.base/structs.exp (test_struct_returns): Replace
909 * gdb.base/float.exp: Add pattern for mips targets.
913 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
918 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
923 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
924 * gdb.arch/i386-cpuid.h: New helper file.
928 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
933 Fix PR gdb/1647.
934 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
939 * gdb.threads/pthreads.exp: Update copyright years.
944 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
945 next gdb prompt.
949 Fix PR gdb/1636.
950 * gdb.threads/manythreads.exp: Change asynchronous 'after'
955 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
959 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
960 * gdb.asm/pa.inc: New file.
964 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
969 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
974 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
980 * gdb.threads/pthread_cond_wait.c: New file.
981 * gdb.threads/pthread_cond_wait.exp: New testcase.
985 * gdb.base/signull.exp, gdb.base/signull.c: New files.
986 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
990 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
991 fixed but revealed gdb/1639.
995 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1001 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1003 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1008 * gdb.arch/powerpc-aix-prologue.c: New file.
1009 * gdb.arch/powerpc-aix-prologue.exp: New file.
1013 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1014 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1018 * gdb.base/sep.exp: No longer setup_kfail when the program was
1023 * gdb.base/pending.exp: Make sure pending breakpoints
1034 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1039 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1044 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1049 * gdb.base/call-sc.exp: New test of scalar call/return values.
1050 * gdb.base/call-sc.c: Ditto.
1054 * gdb.threads/manythreads.c: Reduce thread stack size.
1058 * gdb.threads/manythreads.c: Add copyright notice.
1062 * gdb.base/siginfo.exp: Better handle step out of signal.
1063 * gdb.base/sigstep.exp: Ditto.
1068 * gdb.threads/manythreads.c: New testcase.
1069 * gdb.threads/manythreads.exp: Ditto.
1073 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1074 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1078 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1082 * gdb.base/sigstep.c: New file.
1083 * gdb.base/sigstep.exp: New file.
1087 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1092 * gdb.base/siginfo.c: New file.
1093 * gdb.base/siginfo.exp: New file.
1097 * gdb.base/sep.exp: Fix typo in comment.
1101 * gdb.base/sep.c: New file.
1102 * gdb.base/sep-proc.c: New file.
1103 * gdb.base/sep.exp: New testcase.
1107 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1112 * gdb.base/sigaltstack.c: New file.
1113 * gdb.base/sigaltstack.exp: New file.
1117 * gdb.base/foll-fork.exp: Update the expected output for
1132 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1143 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1144 * gdb.ada (null_record.exp): New testcase.
1148 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1152 * gdb.ada: New subdirectory.
1153 * gdb.ada/Makefile.in: New file.
1154 * gdb.ada/gnat_ada.gpr.in: New file.
1162 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1163 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1167 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1173 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1178 * gdb.base/auxv.exp: New file.
1179 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1183 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1184 * gdb.cp/pr-1553.cc: Ditto.
1185 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1190 * gdb.cp/templates.exp: Accept more template types.
1195 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1197 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1202 * gdb.cp/classes.cc: New file, copied from misc.cc.
1203 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1207 * gdb.cp/misc.cc: Add copyright notice.
1211 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1212 * gdb.cp/rtti.h: Update copyright.
1214 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1217 * gdb.cp/rtti2.cc: Update copyright.
1222 * gdb.asm/openbsd.inc: Fix typo.
1226 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1231 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1233 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1234 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1243 * gdb.base/relocate.c (dummy): Initialize.
1247 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1252 * gdb.base/chng-syms.exp: Add expect condition to match failing
1257 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1262 * gdb.arch/gdb1431.c: Remove.
1263 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1264 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1269 * gdb.cp/class2.cc (empty): New class.
1272 * gdb.cp/class2.exp: Print the value of an object of type empty.
1276 * gdb.base/langs.exp: Update query string to match the
1282 * gdb.base/charset.c: Update copyright notice.
1284 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1285 * gdb.base/charset.exp (valid_host_charset): Ditto.
1286 * gdb.base/setvar.exp: Ditto.
1290 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1293 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1298 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1300 * gdb.base/pending.exp: Ditto.
1309 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1313 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1320 * gdb.arch/gdb1558.exp: New file.
1321 * gdb.arch/gdb1558.c: New file.
1325 * gdb.base/nodebug.exp: Fix typo.
1331 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1333 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1335 * gdb.base/float.exp: Support s390*-*-* targets.
1339 * gdb.base/gdb1555.exp: New file.
1340 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1344 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1348 * gdb.arch/gdb1291.c: Remove
1349 * gdb.arch/gdb1291.s: New test input file.
1350 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1356 * gdb.base/bigcore.exp: New file.
1357 * gdb.base/bigcore.c: New file.
1361 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1362 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1363 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1364 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1365 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1366 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1367 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1368 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1369 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1370 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1374 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1379 * gdb.cp/breakpoint.exp: New.
1380 * gdb.cp/breakpoint.cc: New.
1384 Partial fix for PR gdb/1543.
1385 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1386 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1387 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1388 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1389 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1390 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1391 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1392 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1393 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1394 to bug-gdb@prep.ai.mit.edu .
1395 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1396 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1397 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1402 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1407 * gdb.threads/thread-specific.exp: Stop early if no threads are
1412 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1416 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1422 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1423 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1427 * gdb.base/maint.exp: Update test to reflect
1432 * gdb.base/pendshr.c (pendfunc): New function that calls
1434 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1438 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1440 * gdb.arch/gdb1291.c: Ditto.
1444 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1448 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1452 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
1456 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
1461 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
1463 * gdb.base/langs.exp: Fix test which attempts to create
1466 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
1468 * gdb.base/pending.exp: New test.
1469 * gdb.base/pending.c: New file.
1470 * gdb.base/pendshr.c: Ditto.
1474 * gdb.cp/overload.exp: Add overloadNamespace tests.
1475 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
1481 * gdb.base/dump.exp: Use runto_main instead of "runto main".
1482 * gdb.base/finish.exp: Ditto.
1483 * gdb.base/gcore.exp: Ditto.
1484 * gdb.base/huge.exp: Ditto.
1485 * gdb.base/info-proc.exp: Ditto.
1486 * gdb.base/return2.exp: Ditto.
1487 * gdb.threads/gcore-thread.exp: Ditto.
1491 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
1495 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
1500 * gdb.threads/thread-specific.c: New file.
1501 * gdb.threads/threads-specific.exp: New test script.
1502 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
1507 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
1508 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
1513 * gdb.base/completion.exp: Kill a stray backslash.
1516 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
1521 * gdb.base/chng-syms.exp: Remove stray newline.
1525 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
1527 * gdb.asm/openbsd.inc: New file.
1531 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
1538 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
1543 * gdb.base/chng-syms.exp: New file.
1544 * gdb.base/chng-syms.c: New file.
1548 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
1555 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
1564 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
1569 * gdb.mi/mi-stack.exp: Update copyright.
1573 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
1575 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
1580 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
1585 * gdb.cp/namespace.cc (C::ensureRefs): New.
1586 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
1590 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
1591 case "-stack-list-locals 2".
1592 * gdb.mi/mi-var-child.exp: Test for case
1597 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
1601 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
1604 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
1624 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
1629 * gdb.cp/templates.exp: Fix typo in test name of
1634 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1638 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
1643 * gdb.base/setvar.exp: Add copyright years.
1647 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
1649 * gdb.cp/templates.exp: Update patterns to match current output.
1655 * gdb.cp/namespace.exp: Add tests involving classes defined within
1657 * gdb.cp/namespace.cc (C::CClass): New.
1658 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
1662 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
1668 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
1672 * gdb.base/callfuncs.c: Add copyright notice.
1676 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
1677 inheritance. PR gdb/1498, PR gcc/13539.
1681 * gdb.threads/gcore-thread.exp: Prefix name of binary with
1683 * gdb.mi/gdb669.exp: Ditto.
1684 * gdb.mi/mi-pthreads.exp: Ditto.
1685 * gdb.mi/mi1-pthreads.exp: Ditto.
1686 * gdb.mi/mi2-pthreads.exp: Ditto.
1690 * gdb.cp/member-ptr.cc: Add copyright notice.
1694 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
1702 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
1707 * gdb.base/sepdebug.exp: New file.
1708 * gdb.base/sepdebug.c: New file.
1709 * lib/gdb.exp (separate_debug_filename): New procedure.
1714 * gdb.mi/ChangeLog: Delete file. Renamed to ...
1715 * gdb.mi/ChangeLog-1999-2003: New file.
1719 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
1725 * gdb.base/scope.exp: Remove obsolete setup_xfail for
1730 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
1735 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
1741 * gdb.cp/exception.exp: Fix typo in doco.
1745 * gdb.base/gdb1476.exp: Fix typo.
1749 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
1754 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
1755 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
1757 for recent version of gdb. Delete second half, which was a copy
1763 * gdb.cp/exception.cc: Add copyright notice.
1764 * gdb.cp/exception.exp: Add a notice that this file is broken
1770 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1771 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1775 * gdb.cp/classes.exp: Accept gnu abi 2.
1776 * gdb.cp/derivation.exp: Likewise.
1777 * gdb.cp/overload.exp: Likewise.
1778 * gdb.cp/virtfunc.exp: Likewise.
1782 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1787 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1788 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
1794 * gdb.cp/bs15503.cc: Add copyright notice.
1795 * gdb.cp/bs15503.exp: Adjust line number.
1799 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
1800 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
1804 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
1809 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1810 * gdb.cp/ctti.exp: Use the marker instead of "next".
1815 * gdb.cp/cttiadd.cc: Add copyright notice.
1816 * gdb.cp/cttiadd1.cc: Likewise.
1817 * gdb.cp/cttiadd2.cc: Likewise.
1818 * gdb.cp/cttiadd3.cc: Likewise.
1822 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
1828 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1831 * gdb.base/volatile.exp: Likewise.
1835 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1840 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1845 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1849 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1855 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1859 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1864 * gdb.cp/m-static.exp: Compile one source file at a time.
1869 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1870 * gdb.base/call-rt-st.exp: Likewise.
1871 * gdb.base/nodebug.exp: Likewise.
1872 * gdb.base/volatile.exp: Likewise.
1873 * gdb.cp/ref-types.exp: Likewise.
1874 * gdb.cp/templates.exp: Likewise.
1878 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1882 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1887 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1890 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1895 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1901 * gdb.cp/local.exp: Accept gcc abi 2.
1905 * gdb.cp/templates.exp: Accept gcc abi 2.
1910 * gdb.cp/templates.exp: Do not test supports_template_debugging.
1914 * gdb.cp/namespace.exp: Accept gcc abi 2.
1918 * gdb.cp/method.exp: Accept gcc abi 2.
1922 * gdb.cp/classes.exp: Generate identical results as old version.
1923 * gdb.cp/derivation.exp: Likewise.
1924 * gdb.cp/overload.exp: Likewise.
1925 * gdb.cp/virtfunc.exp: Likewise.
1929 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1934 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
1938 and kfail PR gdb/1155.
1942 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1945 all tests. Add patterns to kfail PR gdb/1498.
1949 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1956 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1961 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1968 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1973 * gdb.base/environ.exp: Handle compiling test case from multiple
1978 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1982 * gdb.base/freebpcmd.c: Add copyright notice.
1984 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1988 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1992 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1996 * gdb.asm/frv.inc: New file.
1997 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2001 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2004 * gdb.base/break1.c: New file.
2006 * gdb.base/break.exp: Handle compiling test case from multiple
2008 * gdb.base/completion.exp: Ditto.
2009 * gdb.base/condbreak.exp: Ditto.
2010 * gdb.base/define.exp: Ditto.
2011 * gdb.base/ena-dis-br.exp: Ditto.
2012 * gdb.base/info-proc.exp: Ditto.
2013 * gdb.base/maint.exp: Ditto.
2014 * gdb.base/until.exp: Ditto.
2016 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2018 * gdb.base/define.exp: Ditto.
2019 * gdb.base/ena-dis-br.exp: Ditto.
2020 * gdb.base/maint.exp: Ditto.
2021 * gdb.base/until.exp: Ditto.
2023 * gdb.base/completion.exp: Use "break1" for completion tests since
2028 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2034 * gdb.cp/rtti.exp: Accept new wording of warning from
2040 * gdb.base/scope.exp (test_at_main): Replace references to
2048 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2053 * gdb.base/so-impl-ld.exp: Update copyright notice.
2058 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2063 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2064 from current versions of gdb. Clean up regular expressions.
2069 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2070 from current versions of gdb. Clean up regular expressions.
2076 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2082 * gdb.base/list.exp (test_list_function): Delete unused declaration
2088 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2093 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2096 * gdb.asm/asmsrc1.s: Include "note.inc".
2097 * gdb.asm/netbsd.inc: New file.
2098 * gdb.asm/empty.inc: New file.
2103 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2109 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2114 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2119 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2120 * gdb.objc/objcdecode.m: New file.
2124 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2125 * gdb.objc/nondebug.m: New file.
2129 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2134 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2138 * gdb.cp/method.exp: Accept output of new demangler.
2142 * gdb/class2.exp: New file.
2143 * gdb/class2.cc: New file.
2147 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2152 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2157 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2163 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2165 * gdb.cp/ctti.exp: Likewise.
2166 * gdb.cp/derivation.exp: Likewise.
2167 * gdb.cp/member-ptr.exp: Likewise.
2168 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2174 * gdb.base/structs.exp (start_structs_test): Call
2179 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2180 * gdb.base/structs.exp: Use gdb_test_multiple.
2184 * gdb.base/structs.exp: Handle and recover from internal errors.
2187 * gdb.base/structs.exp: Update copyright. Rewrite.
2188 * gdb.base/structs.c: Update copyright. Rewrite.
2190 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2193 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2195 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2201 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2207 * gdb.arch/i386-unwind.exp: New file.
2208 * gdb.arch/i386-unwind.c: New file.
2212 * lib/gdb.exp (compiler_info): New global.
2220 * gdb.trace/configure: Remove.
2224 * gdb.base/break.c: Add comments to aid finding line numbers for
2226 * gdb.base/break.exp: Remove all references to explicit line
2231 * gdb.base/shreloc.exp: Do not run for targets which do not
2236 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2241 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2247 * gdb.base/annota1.exp: Match at least one occurrence of the
2252 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2257 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2261 * gdb.arch/gdb1291.c: New test file.
2262 * gdb.arch/gdb1291.exp: New test script.
2263 * gdb.arch/gdb1431.c: New test file.
2264 * gdb.arch/gdb1431.exp: New test script.
2268 * gdb.mi/pthreads.c: Add copyright notice.
2272 * gdb.threads/pthreads.c: Add copyright notice.
2276 * gdb.base/gdb1056.exp: New test script.
2280 * gdb.threads/killed.exp: Use gdb_run_cmd.
2284 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2286 * gdb.threads/gcore-thread.exp: Likewise.
2290 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2301 * gdb.base/call-rt-st.exp: Update copyright year.
2306 * gdb.disasm/sh3.s: Ditto.
2310 * gdb.threads/switch-threads.exp: New test.
2311 * gdb.threads/switch-threads.c: New source file.
2315 * gdb.base/ending-run.exp: Add sh specific case.
2319 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2320 * gdb.disasm/mn10200.exp: Delete obsolete file.
2325 * gdb.base/commands.exp (bp_deleted_in_command_test)
2330 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2333 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2341 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2345 * gdb.base/selftest.exp: Accomodate more instruction reordering
2350 * gdb.cp/gdb1355.exp: New file.
2351 * gdb.cp/gdb1355.c: New file.
2355 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2356 * gdb.asm/sh.inc: New file.
2360 * gdb.cp/namespace.exp: Add tests for namespace types.
2361 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
2366 * gdb.base/relocate.exp: Handle new gdb output at startup.
2367 * gdb.stabs/weird.exp: Ditto.
2371 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2375 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2380 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2384 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2385 * gdb.gdb/observer.exp: Ditto.
2386 * gdb.gdb/xfullpath.exp: Ditto.
2390 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2395 * gdb.base/dump.exp: Skip for ia64.
2399 * gdb.asm/asm-source.exp: Add ia64 support.
2400 * gdb.asm/ia64.inc: New file.
2404 * gdb.cp: New directory.
2405 * gdb.cp/*: Copy from gdb.c++/*.
2406 * gdb.c++/*: Remove.
2407 * Makefile.in: Change gdb.c++ to gdb.cp.
2413 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2414 * gdb.arch/i386-prologue.c (gdb1338): Add function.
2425 * gdb.base/annota3.exp: Add missing newline.
2429 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2433 * gdb.base/float.exp: Add test for SH.
2437 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2441 * gdb.base/completion.exp: Remove reduntant completion test
2446 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2447 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2448 gdb.trace/save-trace.exp: Make sure that full pathnames are
2456 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
2457 * gdb.threads/pthreads.c: Ditto.
2462 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
2463 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
2468 * gdb.base/annota3.exp: New file.
2469 * gdb.base/annota3.c: New file.
2470 * gdb.c++/annota3.exp: New file.
2471 * gdb.c++/annota3.cc: New file.
2475 * gdb.threads/tls.c (spin): Check errno only if sem_wait
2478 * gdb.threads/tls.exp: Always initialize no_of_threads.
2482 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
2484 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
2485 * gdb.threads/tls.exp: Recognize one case of the host library not
2490 * gdb.base/fileio.exp: Use SH when running commands using
2496 * gdb.base/relocate.c (dummy): New padding array.
2500 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
2502 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
2510 * gdb.base/return2.exp: Don't test long-long return.
2512 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
2513 * gdb.disasm/t01_mov.exp: Ditto.
2514 * gdb.disasm/t02_mova.s: Ditto.
2515 * gdb.disasm/t02_mova.exp: Ditto.
2516 * gdb.disasm/t03_add.s: Ditto.
2517 * gdb.disasm/t03_add.exp: Ditto.
2518 * gdb.disasm/t04_sub.s: Ditto.
2519 * gdb.disasm/t04_sub.exp: Ditto.
2520 * gdb.disasm/t05_cmp.s: Ditto.
2521 * gdb.disasm/t05_cmp.exp: Ditto.
2522 * gdb.disasm/t06_ari2.s: Ditto.
2523 * gdb.disasm/t06_ari2.exp: Ditto.
2524 * gdb.disasm/t07_ari3.s: Ditto.
2525 * gdb.disasm/t07_ari3.exp: Ditto.
2526 * gdb.disasm/t08_or.s: Ditto.
2527 * gdb.disasm/t08_or.exp: Ditto.
2528 * gdb.disasm/t09_xor.s: Ditto.
2529 * gdb.disasm/t09_xor.exp: Ditto.
2530 * gdb.disasm/t10_and.s: Ditto.
2531 * gdb.disasm/t10_and.exp: Ditto.
2532 * gdb.disasm/t11_logs.s: Ditto.
2533 * gdb.disasm/t11_logs.exp: Ditto.
2534 * gdb.disasm/t12_bit.s: Ditto.
2535 * gdb.disasm/t12_bit.exp: Ditto.
2536 * gdb.disasm/t13_otr.s: Ditto.
2537 * gdb.disasm/t13_otr.exp: Ditto.
2541 * gdb.threads/tls.exp :Add kfail for 'info address' case.
2545 * gdb.threads/tls.c : New file.
2546 * gdb.threads/tls.exp : New file.
2547 * gdb.threads/tls-main.c : New file.
2548 * gdb.threads/tls-shared.c : New file.
2549 * gdb.threads/tls-shared.exp : New file.
2553 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2557 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
2562 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2566 * gdb.base/gdb1250.exp: New file.
2567 * gdb.base/gdb1250.c: New file.
2571 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
2576 * gdb.threads/tls.c: New file.
2577 * gdb.threads/tls.exp: New file.
2578 * gdb.threads/tls-main.c: New file.
2579 * gdb.threads/tls-shared.c: New file.
2580 * gdb.threads/tls-shared.exp: New file.
2584 * gdb.base/annota1.exp: Make sure that we properly escape the
2590 * gdb.asm/m68k.inc: New file.
2591 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
2593 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
2596 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2600 * gdb.base/store.c (charest): New typedef.
2607 * gdb.base/store.exp: Accomodate store.c changes.
2611 * gdb.c++/maint.exp (test_invalid_name): New.
2616 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
2621 * gdb.base/completion.exp: Tab-complete "complet" instead of
2623 * gdb.base/complex.exp, gdb.base/complex.c: New files.
2627 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
2628 * gdb.base/volatile.exp: Likewise.
2632 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2633 gdb/1265.
2638 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
2645 * gdb.base/bang.exp: New testcase.
2649 * gdb.base/langs.exp: Add some tests for the "minimal" language
2654 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
2659 * gdb.base/relocate.exp: Test add-symbol-file with a variable
2664 * gdb.c++/pr-1210.cc: New file.
2665 * gdb.c++/pr-1210.exp: New file.
2674 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
2679 * gdb.base/store.exp: Test longest and doublest. Test all
2681 * gdb.base/store.c: Add longest and doublest - aka long long and
2687 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
2690 * gdb.base/fileio.exp: Disable target when nointerrupts and
2696 * gdb.base/float.exp: Add ia64 support.
2700 * gdb.base/fileio.exp: Run only on remote targets.
2704 * gdb.base/fileio.c: New file, testing File-I/O.
2705 * gdb.base/fileio.exp: Ditto.
2709 * gdb.base/shreloc.exp: New file, check symbol values obtained from
2710 shared objects after relocation at load time (gdb PR/1132).
2711 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
2716 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
2718 * gdb.base/gdb_history: New file.
2720 * gdb.base/signals.exp: XFAIL "continue to func1" on
2723 * gdb.base/attach.exp: When trying to attach to a nonexistent
2729 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
2733 * gdb.base/selftest.exp: Next over lim_at_start initialization.
2737 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2741 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
2746 * gdb.asm/asm-source.exp: Check for memory read errors in
2751 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
2755 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2759 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2764 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2769 * gdb.asm/alpha.inc: New file.
2770 * gdb.asm/asm-source.exp: Use it.
2774 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2779 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2784 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2789 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2790 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2794 * gdb.c++/namespace.exp: Add namespace scope and anonymous
2797 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
2799 * gdb.c++/namespace1.cc: New file.
2804 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
2809 * gdb.threads/schedlock.exp: Remove assumption that all threads
2816 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2818 * gdb.asm/s390x.inc: New file.
2820 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2825 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2829 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2834 * gdb.base/charset.exp: Update based on new behavior of set/show
2839 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2844 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2845 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2846 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2847 gdb.objc/basicclass.m: : New files
2849 * lib/gdb.exp (gdb_compile_objc): New procedure.
2853 * gdb.base/signals.exp: Make backtrace tests more specific.
2857 * gdb.c++/maint.exp (test_first_component): Add tests for
2862 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2866 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2871 * gdb.c++/maint.exp: New file.
2875 * gdb.threads/schedlock.c: Change type of thread function argument
2880 * gdb.base/attach.exp: Add new message from ptrace in case of
2885 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2886 gdb.c++/userdef.cc: Place comments on the lines to which the
2888 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2889 gdb.c++/userdef.exp: Look for those comments to check that we've
2894 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2899 * gdb.base/completion.exp: Use string_to_regexp to match the
2904 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2905 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2911 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2916 * gdb.base/break.exp: Revert last patch.
2920 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2925 * gdb.base/callfuncs.exp: Make "print add" messages unique.
2926 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2928 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2930 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2932 * lib/gdb.exp: Put "the program is no longer running", and "the
2938 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2942 * gdb.base/sizeof.c (main): Print the value of '\377'.
2943 * gdb.base/sizeof.exp: Check the sign of '\377'.
2947 * gdb.base/gdb1090.exp: New file.
2948 * gdb.base/gdb1090.cc: New file.
2952 * gdb.gdb/observer.exp: New regression test.
2956 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2957 * gdb.base/ptype.exp: Likewise.
2961 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2965 * gdb.base/ptype.exp: Actually use some typedef'd types.
2969 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2970 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2974 * gdb.base/default.exp: Fix regular expression.
2978 * gdb.base/args.exp: Fix regular expression.
2982 * gdb.base/help.exp: Allow Win32 child process.
2986 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2991 * gdb.base/default.exp: Check for win32 specific message when calling
2996 * gdb.base/args.exp: Expect .exe in output.
3000 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3007 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3008 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3012 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3015 * gdb.base/watchpoint.c (func3): New function.
3020 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3030 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3039 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3052 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3061 * gdb.c++/templates.exp (do_tests): Allow const in the two
3066 * gdb.base/restore.c (main): Return zero, so exit code
3071 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3078 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3084 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3088 * gdb.base/exprs.exp: Remove i960 remnants.
3089 * gdb.base/funcargs.exp: Likewise.
3090 * gdb.base/list.exp: Likewise.
3091 * gdb.base/ptype.exp: Likewise.
3095 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3100 * gdb.base/maint.exp: Update maint print statistics regexp to include
3105 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3109 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3110 * gdb.c++/inherit.exp: Likewise.
3111 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3112 * gdb.c++/templates.exp: Likewise.
3113 * gdb.c++/virtfunc.exp: Likewise.
3117 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3122 * gdb.base/dump.exp: Add missing copyright line.
3126 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
3131 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3137 * gdb.mi/mi-cli.exp: New file.
3141 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3146 * gdb.c++/pr-1023.cc: New file.
3147 * gdb.c++/pr-1023.exp: New file.
3151 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3154 * gdb.c++/local.cc (marker2): New function.
3160 * gdb.disasm/mn10200.exp: Obsolete file.
3161 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3162 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3163 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3167 * gdb.c++/overload.exp: Test intToChar(1).
3168 * gdb.c++/overload.cc (intToChar): New.
3173 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3180 * gdb.base/advance.c (marker1): New marker function.
3181 * gdb.base/advance.exp: When the 'advance' command lands on the
3184 * gdb.base/until.exp: Likewise.
3189 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3191 * gdb.mi/mi-var-display.exp: Ditto.
3192 * gdb.mi/gdb792.exp: Ditto.
3197 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3198 stack backtraces.
3199 * gdb.mi/mi-syn-frame.c: Part of same.
3203 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3204 gdb.mi/mi1-pthreads.exp: Return instead of calling
3209 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3218 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3220 has been fixed in gdb/readline on 2003-01-09.
3224 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3225 * gdb.base/display.exp: Allow for leading underscore in symbol.
3226 * gdb.base/args.exp: Skip if target does not support args passing.
3230 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
3237 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3240 * gdb.arch/altivec-regs.exp: Ditto.
3241 * gdb.asm/asm-source.exp: Ditto.
3242 * gdb.base/advance.exp: Ditto.
3243 * gdb.base/display.exp: Ditto.
3244 * gdb.base/long_long.exp: Ditto.
3245 * gdb.base/mips_pro.exp: Ditto.
3246 * gdb.base/overlays.exp: Ditto.
3247 * gdb.base/relocate.exp: Ditto.
3248 * gdb.base/setshow.exp: Ditto.
3249 * gdb.base/step-line.exp: Ditto.
3250 * gdb.base/step-test.exp: Ditto.
3251 * gdb.base/until.exp: Ditto.
3252 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3256 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3262 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3267 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3273 * gdb.base/break.exp: Fix change of default location, because of
3275 * gdb.base/help.exp: Update test for new 'until' help message.
3277 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3281 * gdb.base/default.exp: Adapt "info float" test for recent changes
3283 * gdb.base/float.exp: New file. Add test for "info float" that
3284 resembles the old test in gdb.base/default.exp.
3288 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3292 * gdb.base/break.exp: Move the tests of until command from here...
3293 * gdb.base/until.exp: ... to here. New file. Add other tests.
3294 * gdb.base/advance.c: New file.
3295 * gdb.base/advance.exp: New file.
3299 * gdb.base/args.c: New file.
3300 * gdb.base/args.exp: New file.
3304 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3308 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3312 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3317 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3321 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3323 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3327 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3328 * gdb.mi/mi1-console.exp: Likewise.
3332 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3333 * gdb.mi/mi1-console.exp: Likewise.
3337 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3341 * gdb.base/detach.exp: New test.
3347 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3349 * gdb.asm/Makefile.in: Likewise.
3350 * gdb.base/Makefile.in: Likewise.
3351 * gdb.c++/Makefile.in: Likewise.
3352 * gdb.disasm/Makefile.in: Likewise.
3353 * gdb.java/Makefile.in: Likewise.
3354 * gdb.mi/Makefile.in: Likewise.
3355 * gdb.threads/Makefile.in: Likewise.
3356 * gdb.trace/Makefile.in: Likewise.
3360 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3365 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3367 * gdb.mi/mi1-pthreads.exp: Likewise.
3371 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3376 Fix PR gdb/844
3377 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3380 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
3382 * gdb.threads/print-threads.exp: Likewise.
3383 * gdb.threads/schedlock.exp: Likewise.
3385 * gdb.threads/killed.exp: Return instead of calling
3387 * gdb.threads/linux-dp.exp: Likewise.
3388 * gdb.threads/pthreads.exp: Likewise.
3392 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3394 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3395 * gdb.base/whatis.exp: Always allow (void) after function names.
3399 * gdb.c++/casts.exp: Correct regexp.
3404 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3405 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
3409 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3410 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3411 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3412 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3414 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3415 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3416 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3417 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3418 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3419 gdb.threads/configure.in, gdb.threads/configure,
3420 gdb.threads/config.in, gdb.trace/configure.in,
3421 gdb.trace/configure: Removed.
3425 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3426 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3430 * gdb.base/store.exp: Fix regular expressions.
3439 * gdb.base/psymtab.exp: New file.
3440 * gdb.base/psymtab1.c: Ditto.
3441 * gdb.base/psymtab2.c: Ditto.
3445 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3449 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3454 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
3457 * gdb.base/attach.exp: There's no need to copy the test program to
3463 * gdb.c++/psmang.exp: Doc fix.
3465 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
3470 * gdb.c++/annota2.exp: KFAIL annotate-quit.
3474 * gdb.c++/annota2.exp: Add copyright year 2002.
3478 * gdb.c++/try_catch.cc: Add marker comments.
3479 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
3480 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
3481 * gdb.c++/m-static.cc: Ditto.
3482 * gdb.c++/m-static1.cc: Ditto.
3483 * gdb.c++/try_catch.cc: Ditto.
3490 which may prompt the user. Part of fix for gdb/741.
3494 * gdb.fortran/types.exp: Update obsolete comment.
3495 * gdb.fortran/exprs.exp: Ditto.
3496 * lib/gdb.exp: Delete obsolete code.
3497 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
3498 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
3499 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
3500 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
3501 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
3502 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
3503 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
3504 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
3505 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
3506 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
3507 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
3508 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
3509 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
3510 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
3511 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
3512 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
3513 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
3514 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
3515 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
3516 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
3517 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
3518 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
3519 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
3520 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
3521 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
3522 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
3523 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
3524 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
3525 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
3526 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
3527 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
3528 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
3529 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
3530 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
3531 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
3532 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
3533 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
3537 * gdb.c++/m-data.exp: Add test for members that shadow global
3538 variables: see PR gdb/804.
3539 * gdb.c++/m-data.cc: Ditto.
3543 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
3547 * gdb.base/store.c: Don't declare functions static.
3551 * gdb.base/store.exp, gdb.base/store.c: New files.
3555 * gdb.base/selftest.exp: Update for current gdb.
3559 * gdb.base/maint.exp: Only dump symbols from one source file
3564 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
3574 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
3580 should be in mi console format. This is part of fix for PR gdb/604.
3584 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
3589 * gdb.threads/schedlock.c (args): Make unsigned.
3593 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
3594 numbers. Allow "foo2|selected stack frame".
3595 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
3596 * gdb.asm/asmsrc2.s: Likewise.
3597 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
3599 * gdb.asm/mips.inc: New file.
3603 * gdb.base/default.exp: Update expected output to include 'ObjC'.
3604 * gdb.base/help.exp: Likewise.
3608 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
3609 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
3613 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
3621 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
3631 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3637 * gdb.base/annota1.exp (info break): Make directory components of
3640 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
3647 the insight executable is based on where gdb is. Use this
3648 executable to start insight instead of gdb.
3652 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
3656 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
3664 * gdb.base/charset.exp, gdb.base/charset.c: New files.
3668 * gdb.gdb/complaints.exp: New file.
3672 * gdb.base/maint.exp: Check `help maint internal-warning'.
3676 * gdb.c++/m-static.exp: Remove breakpoints depending on line
3680 * gdb.c++/m-static.cc: Add test 4.
3681 * gdb.c++/m-static.h: New file.
3682 * gdb.c++/m-static1.cc: New file.
3684 * gdb.c++/printmethod.exp: New file.
3685 * gdb.c++/printmethod.cc: New file.
3687 * gdb.c++/pr-574.exp: New file.
3688 * gdb.c++/pr-574.cc: New file.
3692 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
3697 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
3702 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
3709 * lib/gdb.exp (rerun_to_main): Allow restarting application.
3710 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
3714 * gdb.base/printcmds.exp (test_print_string_constants): Expect
3719 * gdb.base/commands.exp: Don't expect a "Program exited normally"
3724 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
3728 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
3732 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
3747 * gdb.base/default.exp: Fix expected string in `info float' test.
3762 * gdb.threads/killed.exp: Fix test failure message.
3772 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3778 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3782 * gdb.threads/pthreads.exp: Move the portable thread compilation
3783 code into a function in lib/gdb.exp, and call that from here.
3784 * lib/gdb.exp (gdb_compile_pthreads): New function.
3793 * gdb.threads/print-threads.c: New file.
3794 * gdb.threads/print-threads.exp: New file.
3795 * gdb.threads/schedlock.c: New file.
3796 * gdb.threads/schedlock.exp: New file.
3800 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
3805 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
3810 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3815 * gdb.base/readline.exp: New file.
3819 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3826 * configure.in (configdirs): Remove gdb.chill.
3828 * lib/gdb.exp: Obsolete references to chill.
3829 * gdb.fortran/types.exp: Ditto.
3830 * gdb.fortran/exprs.exp: Ditto.
3834 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3839 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3851 * gdb.base/ending-run.exp: Don't expect to see the program end in
3855 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3860 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3867 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3872 * gdb.base/page.exp: Rewrite to handle problems with very long
3877 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3878 gdb.threads-hp.
3879 * gdb.hp/configure: Regenerate.
3880 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3881 * gdb.hp/gdb.threads-hp/configure: Delete file.
3882 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3886 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3891 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3899 * gdb.base/overlays.exp: Record addresses of overlay
3904 * gdb.base/d10v.ld: Merge in several years worth of
3906 * gdb.base/long_long.exp: Add check for sizeof (long double).
3910 * gdb.asm/asm-source.exp: Add x86-64 target.
3911 * gdb.asm/x86_64.inc: New.
3916 * gdb.c++/m-static.cc: New file.
3917 * gdb.c++/m-static.exp: New file.
3921 * gdb.base/call-ar-st.exp: Allow for reduced floating point
3927 * gdb.c++/m-data.cc: New file.
3928 * gdb.c++/m-data.exp: New file.
3933 * gdb.c++/try_catch.cc: New file.
3934 * gdb.c++/try_catch.exp: New file.
3938 * gdb.c++/local.exp: Accept more nested types in output.
3942 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3946 * lib/gdb.exp (gdb_wrapper_init): Just because
3954 * gdb.base/all-bin.exp: Revise previous patch by just reducing
3956 * gdb.base/call-rt-st.exp: Ditto.
3958 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3959 * gdb.base/call-rt-st.exp: Ditto.
3963 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3967 * configure.in (configdirs): Add gdb.arch.
3972 * gdb.base/completion.exp: Recognize the more detailed error
3977 * gdb.arch/altivec-abi.c: New file.
3978 * gdb.arch/altivec-abi.exp: New file.
3979 * gdb.arch/altivec-regs.c: New file.
3980 * gdb.arch/altivec-regs.exp: New file.
3984 * gdb.base/maint.exp (maint print type): Update for new type
3989 * gdb.arch: New directory.
3990 * gdb.arch/configure.in: New file.
3991 * gdb.arch/configure: New file.
3992 * gdb.arch/Makefile.in: New file.
3996 * gdb.asm/asm-source.exp: Add v850 as supported target.
3997 * gdb.asm/v850.inc: New file.
4001 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4005 * gdb.base/break.exp: Check 'break "marker2"'.
4009 * gdb.base/long_long.exp: Fix typo.
4013 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4016 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4019 * lib/gdb.exp (test_print_reject): Same.
4023 * gdb.c++/method.exp: Fix typo.
4027 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4028 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
4029 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
4030 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4035 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4037 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4041 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4043 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4044 * gdb.c++/method.exp: Recognize output from status wrapper.
4053 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4054 * gdb.c++/hang3.C: New file.
4058 * gdb.base/default.exp: Remove obsolete code.
4059 * gdb.c++/misc.exp: Ditto. Update copyright.
4060 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4061 * gdb.base/whatis.exp: Ditto. Update copyright.
4062 * gdb.base/scope.exp: Ditto. Update copyright.
4063 * gdb.base/ptype.exp: Ditto. Update copyright.
4064 * gdb.base/printcmds.exp: Ditto. Update copyright.
4065 * gdb.base/opaque.exp: Ditto. Update copyright.
4066 * gdb.base/list.exp: Ditto.
4067 * gdb.base/funcargs.exp: Ditto. Update copyright.
4068 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4069 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4070 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4071 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4072 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4073 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4077 * gdb.base/watchpoint.exp: Add xscale target.
4078 * gdb.base/long_long.exp: Add xscale target.
4079 * gdb.base/default.exp: Add xscale target.
4083 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4084 gdb.c++/hang.exp: New test.
4088 * gdb.base/completion.exp: Handle completions of "./Make" for
4094 * gdb.java/jmisc1.exp: New file.
4095 * gdb.java/jmisc2.exp: New file.
4099 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4103 * gdb.base/help.exp: Change 'help status' to allow for target
4108 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4112 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4116 * gdb.asm/sparc64.inc: New file.
4117 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4121 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4127 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4129 * gdb.base/maint.exp: Likewise.
4133 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4140 * gdb.base/cvexpr.c (use): New function.
4147 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4152 * gdb.base/foo.c (foox): Remove section attribute; the linker
4154 * gdb.base/bar.c (barx): Same.
4155 * gdb.base/baz.c (bazx): Same.
4156 * gdb.base/grbx.c (grbxx): Same.
4158 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4163 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4168 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4170 * gdb.c++/local.exp: Write patterns that actually work with gcc
4176 * gdb.base/attach.exp: Correct target board test.
4180 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4186 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4192 Work around for PR gdb/285:
4193 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4197 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4201 * gdb.asm/configure.in: Delete creation of symlink.
4202 * gdb.asm/configure: Regenerate.
4206 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4211 * gdb.asm/Makefile.in: Correct dependencies.
4213 * gdb.asm/powerpc.inc: New file.
4214 * gdb.asm/asm-source.exp: Add PowerPC.
4215 * gdb.asm/configure.in: Likewise.
4216 * gdb.asm/configure: Regenerated.
4220 * gdb.base/relocate.exp: New file.
4221 * gdb.base/relocate.c: New file.
4225 * gdb.base/step-test.exp: Update comment regarding stopping in
4230 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4234 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4239 * gdb.c++/classes.exp ("calling method for small class"): Match
4244 Fix PR gdb/452
4245 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4251 * gdb.base/attach.exp: Remove extra setup_xfail.
4255 * gdb.base/default.exp: Add tests for dump, append, and restore.
4256 * gdb.base/help.exp: Add tests for dump, append, and restore.
4257 * gdb.base/dump.exp: New file, test dump, append and restore.
4258 * gdb.base/dump.c: New file.
4262 * gdb.base/help.exp: Modify expect strings to reflect
4267 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4273 * gdb.base/list.exp: Revert the change made yesterday and add note
4278 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4282 * gdb.base/list.exp: This test works on remote targets so remove
4287 * gdb.base/attach.exp: Fix logic error that was suppressing this
4294 * gdb.base/default.exp: Add test for gcore. Update copyright.
4295 * gdb.base/help.exp: Add test for gcore. Update copyright.
4299 * gdb.base/funcargs.c: Remove extraneous ';' character.
4300 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4304 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4306 * gdb.mi/mi0-var-cmd-exp: Ditto.
4310 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4312 * testsuite/gdb.threads/pthreads.c: Ditto.
4316 * gdb.threads/pthreads.c (thread1): Add a return statement.
4322 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4327 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4332 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4335 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4340 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4347 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4356 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4361 * gdb.c++/userdef.exp: Update copyright year.
4365 * gdb.c++/userdef.exp: Test overloaded operators properly.
4370 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4374 * gdb.base/a2-run.exp: Check for a remote target properly.
4375 * gdb.base/annota1.exp: Likewise.
4376 * gdb.base/list.exp: Likewise.
4377 * gdb.base/reread.exp: Likewise.
4378 * gdb.base/scope.exp: Likewise.
4379 * gdb.base/shlib-call.exp: Likewise.
4380 * gdb.base/term.exp: Likewise.
4381 * gdb.c++/annota2.exp: Likewise.
4385 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4389 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4394 * gdb.base/ending-run.exp: Guard "cont" test with
4399 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4401 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4406 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
4411 * gdb.base/default.exp: Rewrite test patterns to reduce time
4416 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4418 * gdb.threads/linux-dp.exp: Fix copyright date.
4422 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4429 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4434 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4439 * gdb.base/reread.exp: Check that GDB properly re-reads the
4444 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4449 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4453 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
4458 * gdb.c++/inherit.exp: Update copyright years.
4459 * gdb.c++/method.exp: Likewise.
4463 * gdb.c++/classes.exp: Update for improved v3 support and skipping
4465 * gdb.c++/derivation.exp: Likewise.
4466 * gdb.c++/inherit.exp: Likewise.
4467 * gdb.c++/method.exp: Likewise.
4468 * gdb.c++/virtfunc.exp: Likewise.
4472 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
4473 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
4474 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
4475 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
4476 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
4477 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
4481 * gdb.asm/asm-source.exp (info symbol): Take another shot at
4486 * gdb.base/maint.exp: Update ``maint internal-error'' to match
4491 * gdb.base/gcore.exp: Remove extra debugging output.
4495 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
4500 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
4504 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
4506 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
4508 * gdb.c++/derivation.exp: Likewise.
4509 * gdb.c++/templates.exp: Likewise.
4510 * gdb.c++/virtfunc.exp: Likewise.
4514 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
4518 * gdb.base/gcore.exp: New test for generate-core-file command.
4519 * gdb.base/gcore.c: Testcase for above.
4520 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
4524 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
4528 * gdb.c++/overload.exp: Remove unconditional xfails for:
4551 * gdb.base/huge.exp: New test. Print a very large target data object.
4555 * gdb.base/huge.c: New file. Test case for above.
4559 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
4564 * gdb.base/break.c (multi_line_if_conditional): New function.
4566 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
4570 * gdb.base/selftest.exp (backtrace through signal handler): Remove
4572 * gdb.base/structs.exp (do_function_calls): Similarly.
4574 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
4579 Fix PR gdb/66.
4580 * gdb.base/structs.exp: Replace skip for a29k with skip for
4581 gdb,cannot_call_functions.
4582 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
4583 * gdb.base/callfuncs.exp: Ditto.
4584 * gdb.base/call-rt-st.exp: Ditto.
4585 * gdb.base/call-strs.exp: Ditto.
4586 * gdb.base/callfwmall.exp: Ditto.
4587 * gdb.base/scope.exp: Obsolete xfail a29k.
4588 * gdb.c++/misc.exp: Ditto.
4589 * gdb.c++/cplusfuncs.exp: Ditto.
4590 * gdb.base/ptype.exp: Ditto.
4591 * gdb.base/printcmds.exp: Ditto.
4592 * gdb.base/opaque.exp: Ditto.
4593 * gdb.base/list.exp: Ditto.
4594 * gdb.base/funcargs.exp: Ditto.
4595 * gdb.base/default.exp: Ditto.
4599 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
4600 * gdb.base/maint.exp: Add tests for maint info sections options.
4604 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
4608 * gdb.asm/arm.inc: New file.
4609 * gdb.asm/asm-source.exp: Add arm targets.
4610 * gdb.asm/configure.in: Ditto.
4611 * gdb.asm/configure: Recreated from configure.in.
4615 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
4617 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
4618 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
4619 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
4620 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
4622 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
4625 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
4628 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
4630 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4633 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4634 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4635 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4637 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4638 to match current gdb output. Update due to using auto-solib-limit
4640 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
4643 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
4644 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
4645 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
4646 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
4647 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
4648 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
4649 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
4650 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
4651 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
4652 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
4653 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
4654 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
4655 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
4657 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
4662 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
4667 * gdb.base/break.exp: Fix HP specific search string when testing
4670 * gdb.base/constvars.exp: Only set lang to C++ if we're
4672 * gdb.base/volatile.exp: Similarly.
4676 * gdb.base/printcmds.exp: Expect the null character to be printed
4678 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
4679 * gdb.base/setvar.exp: Same.
4683 * gdb.base/completion.exp: Rather than completing very long
4688 * gdb.base/completion.exp: On some systems, there is, in fact, a
4693 * gdb.base/corefile.exp: Recognize the message saying that GDB
4698 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
4703 * gdb.asm/asm-source.exp: Add support for xstormy16.
4704 * gdb.asm/configure.in: Ditto.
4705 * gdb.asm/configure: Rebuild.
4706 * gdb.asm/xstormy16.inc: New file.
4710 * gdb.base/maint.exp: Update to match changes in type dumping code.
4714 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
4720 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
4721 gdb.c++/inherit.exp, gdb.c++/method.exp,
4722 gdb.c++/namespace.exp, gdb.c++/templates.exp,
4723 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
4728 * gdb.c++/classes.exp: Add test for static member function.
4729 * gdb.c++/misc.cc: Add class with static member function.
4735 * gdb.base/call-rt-st.exp (print_struct_call): New function.
4740 * gdb.base/structs.exp (call_struct_func): New function.
4744 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
4748 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
4753 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
4758 * gdb.base/completion.exp: Clarify indentation.
4762 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4768 * gdb.asm/s390.inc: New file.
4769 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4771 * gdb.asm/configure: Regenerated.
4775 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4778 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4779 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4780 * gdb.asm/asmsrc1.s: Add a static function and some variables.
4781 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4782 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4784 (gdbasm_startup): Copy stack set-up from crt0.S.
4789 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4790 to a local (non-static) variable. Copy tstruct.a to a static buffer
4791 and return a pointer to that buffer.
4792 * gdb.base/callfwmall.c (t_structs_a): Ditto.
4796 * gdb.asm/configure.in: Fix recognition of ix86 target.
4797 * gdb.asm/configure: Regenerate.
4801 * gdb.asm/sparc.inc: New file.
4802 * gdb.asm/asm-source.exp: Recognize sparc target.
4803 * gdb.asm/configure.in: Recognize sparc target.
4804 * gdb.asm/configure: Regenerate.
4808 * gdb.asm/m32r.inc: New file.
4809 * gdb.asm/asm-source.exp: Recognize m32r target.
4810 * gdb.asm/configure.in: Recognize m32r target.
4811 * gdb.asm/configure: Regenerate.
4815 * gdb.asm/i386.inc: New file.
4816 * gdb.asm/asm-source.exp: Recognize ix86 target.
4817 * gdb.asm/configure.in: Recognize ix86 target.
4818 * gdb.asm/configure: Regenerate.
4820 * gdb.c++/namespace.exp: Fix quotes in output messages.
4824 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
4830 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4835 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4848 * gdb.mi/mi-simplerun.exp: Use them.
4849 * gdb.mi/mi0-simplerun.exp: Likewise.
4850 * gdb.mi/mi-var-cmd.exp: Likewise.
4851 * gdb.mi/mi0-var-cmd.exp: Likewise.
4855 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4856 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4860 * gdb.base/restore.exp: Include $expected value in restored test
4865 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4870 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4875 * gdb.c++/templates.exp (test_template_breakpoints):
4878 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4881 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
4884 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
4887 * gdb.base/callfuncs.c (t_float_values): This function must
4892 * gdb.base/callfwmall.c: Ditto.
4893 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4894 includes a stack frame for "start".
4898 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4902 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4907 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4912 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4914 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4920 * gdb.base/miscexprs.c (main): Add usage of preprocessor
4923 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4928 * gdb.base/jump.exp: Allow it to run for all targets.
4932 * gdb.base/call-ar-st.c (print_double_array): Match for loop
4936 * gdb.base/call-ar-st.exp: Increase timeout value.
4942 * gdb.base/ending-run.exp: Create identical output when passing
4948 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4953 * gdb.base/setvar.exp: Escape curly braces.
4954 * gdb.stabs/weird.exp: Ditto.
4958 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4963 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4973 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4978 if gdb child process crashes, just signal an error.
4982 * lib/gdb.exp (test_xfail_format): Simplify.
4984 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4989 * gdb.threads/pthreads.exp: Wait for output and delay
4994 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4996 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5000 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5005 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5010 * lib/gdb.exp (test_debug_format): New proc.
5012 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5015 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5021 * gdb.base/cvexpr.exp: New file.
5022 * gdb.base/cvexpr.c: New file
5027 * gdb.base/constvars.exp: Check for different orders of keywords
5032 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5043 * gdb.base/recurse.exp: When checking leaving the watchpoint
5044 scope, recognize when gdb is in function's epilogue and pass.
5054 * gdb.base/ending-run.c (main): Set stdout buffersize
5056 * gdb.base/ending-run.exp: Add a regular expression
5061 * gdb.base/display.c (do_loops): Add float variable `f'.
5063 * gdb.base/display.exp: Increment timeout by 60 seconds.
5068 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5079 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5084 * lib/gdb.exp: Move all insight-related functionality into
5103 beginning of function. Fix PR gdb/191.
5112 * lib/gdb.exp (gdbtk_start): Don't set environment
5118 * gdb.base/completion.exp: Remove the symbol "a64l" from
5124 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5128 * gdb.base/consecutive.exp: New file. Test stepping over
5130 * gdb.base/consecutive.c: New file.
5132 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5137 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5142 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5147 * gdb.base/long_long.exp: Detect size of pointer. Take into
5152 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
5155 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5161 * gdb.base/return2.exp: return of long long and double fails for
5163 * gdb.base/return.exp: Return of a double fails for 68hc11.
5173 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5178 * gdb.base/arithmet.exp: Remove some tests to make all test names
5183 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5188 * gdb.base/completion.exp: Don't assume that break.c is the only
5190 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5194 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5198 * gdb.disasm/h8300s.exp: New file.
5199 gdb.disasm/h8300s.s: Likewise.
5218 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5223 * lib/gdb.exp (gdb_test): Doc fix.
5227 * gdb.base/exprs.exp: Remove a duplicate test.
5231 * gdb.base/return2.exp (main): Use values to test float and double
5237 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
5243 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
5246 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5250 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5255 * gdb.base/annota1.exp (info break): Match four or more spaces
5260 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5267 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5273 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5277 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5283 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5294 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
5300 * gdb.base/finish.exp (finish_void): Revise pattern for
5306 * gdb.base/callfuncs.exp: Make all test names unique.
5307 * gdb.base/commands.exp: Make all test names unique.
5308 * gdb.base/condbreak.exp: Make all test names unique.
5309 * gdb.base/dbx.exp: Make all test names unique.
5310 * gdb.base/default.exp: Make all test names unique.
5311 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5313 * gdb.base/ending-run.exp: Make all test names unique.
5314 * gdb.base/long_long.exp: Remove duplicate test.
5318 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5324 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5328 * gdb.base/completion.exp: Revamp test. Make it execute on all
5341 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5362 all subsequent tests); instead just make gdb exit.
5368 * gdb.c++/templates.exp: If we see the prompt for the overload
5372 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5377 * gdb.c++/local.exp: Use the 'runto' library function.
5378 * gdb.c++/namespace.exp: Likewise.
5379 * gdb.c++/overload.exp: Likewise.
5383 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5384 * gdb.base/step-line.exp: New file. Test step/next in presence of
5386 * gdb.base/step-line.c: New file. Test program for the above.
5387 * gdb.base/step-line.inp: New file. We pretend that this file has
5392 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5397 * gdb.threads/linux-dp.exp: Recognize an additional message
5403 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5407 * gdb.c++/derivation.exp: Use the 'runto' library function.
5411 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5415 * gdb.c++/ref-types.exp: Change handwritten code to library
5420 * gdb.base/signals.exp: Set count to 0 explicitly.
5431 * gdb.base/annota1.exp: Move test of isnative to earlier in the
5435 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5438 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5441 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5442 * gdb.c++/namespace.exp: Ditto.
5446 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5447 * gdb.base/pointers.exp: Relax pattern match of decimals.
5460 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
5461 gdb.base/all-bin.exp, gdb.base/annota1.exp,
5462 gdb.base/arithmet.exp, gdb.base/assign.exp,
5463 gdb.base/async.exp, gdb.base/attach.exp,
5464 gdb.base/bitfields.exp, gdb.base/bitops.exp,
5465 gdb.base/break.exp, gdb.base/call-ar-st.exp,
5466 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
5467 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
5468 gdb.base/commands.exp, gdb.base/completion.exp,
5469 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5470 gdb.base/constvars.exp, gdb.base/corefile.exp,
5471 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
5472 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
5473 gdb.base/ending-run.exp, gdb.base/environ.exp,
5474 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5475 gdb.base/finish.exp, gdb.base/foll-exec.exp,
5476 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
5477 gdb.base/funcargs.exp, gdb.base/help.exp,
5478 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
5479 gdb.base/logical.exp, gdb.base/long_long.exp,
5480 gdb.base/maint.exp, gdb.base/mips_pro.exp,
5481 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
5482 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
5483 gdb.base/pointers.exp, gdb.base/printcmds.exp,
5484 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
5485 gdb.base/regs.exp, gdb.base/relational.exp,
5486 gdb.base/remote.exp, gdb.base/reread.exp,
5487 gdb.base/restore.exp, gdb.base/return2.exp,
5488 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
5489 gdb.base/selftest.exp, gdb.base/setshow.exp,
5490 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
5491 gdb.base/sigall.exp, gdb.base/signals.exp,
5492 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
5493 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5494 gdb.base/step-test.exp, gdb.base/structs.c,
5495 gdb.base/structs.exp, gdb.base/structs2.exp,
5496 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
5497 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
5498 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
5499 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5500 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
5501 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
5502 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
5503 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
5504 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
5505 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
5506 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
5507 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
5508 gdb.fortran/types.exp, gdb.java/jmisc.exp,
5509 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5510 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
5511 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5512 gdb.trace/circ.exp, gdb.trace/collection.exp,
5513 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5514 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5515 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
5516 gdb.trace/report.exp, gdb.trace/save-trace.exp,
5517 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5518 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5519 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
5524 * gdb.base/varargs.c (find_max_double): Fix printf format string:
5529 * gdb.base/reread.exp: Unsupported for non-native targets;
5535 * gdb.base/ending-run.exp: Properly handle the BSP state when
5540 * gdb.base/commands.exp (infrun_breakpoint_command_test):
5546 * gdb.c++/classes.exp (do_tests): Change runto statements
5549 * gdb.c++/virtfunc.exp (do_tests): Likewise.
5554 * gdb.c++/inherit.exp (do_tests): Change runto statements
5560 * gdb.threads/pthreads.exp: Unify pass/fail messages for
5566 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
5574 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
5575 Probe the gdb demangler and set variables to accommodate
5581 which can be different from the input to gdb.
5584 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
5589 Add reference to gdb/19 for related tests.
5594 * gdb.c++/templates.cc (printf): Remove unused function definition.
5618 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
5619 to call when tests fail. It takes gdb out of the overloaded
5644 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
5648 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
5657 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
5662 * gdb.base/break.exp (test_clear_command): Use a marker function
5671 * gdb.base/finish.exp: New test for gdb's "finish" command.
5672 * gdb.base/return2.exp: New test for gdb's "return" command.
5673 * gdb.base/return2.c: New source file for above.
5677 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
5678 * gdb.base/miscexprs.exp: Ditto.
5679 * gdb.base/pointers.exp: Ditto.
5680 * gdb.c++/derivation.exp: Ditto.
5681 * gdb.c++/local.exp: Ditto.
5682 * gdb.c++/namespace.exp: Ditto.
5683 * gdb.c++/overload.exp: Ditto.
5684 * gdb.c++/ref-types.exp: Ditto.
5688 * gdb.base/constvars.exp: Test result of "up" command.
5689 * gdb.base/miscexprs.exp: Ditto.
5690 * gdb.base/pointers.exp: Ditto.
5691 * gdb.base/scope.exp: Ditto.
5692 * gdb.c++/derivation.exp: Ditto.
5693 * gdb.c++/local.exp: Ditto.
5694 * gdb.c++/namespace.exp: Ditto.
5695 * gdb.c++/overload.exp: Ditto.
5696 * gdb.c++/ref-types.exp: Ditto.
5708 * lib/gdb.exp (gdb_test): Override timeout with board info.
5712 * gdb.base/display.exp: Don't kill running stub. Add "again" to
5720 * lib/gdb.exp ($EXEEXT): Import from environment.
5721 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
5723 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
5728 * gdb.base/break.exp: Test backtrace and finish from called
5739 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
5740 * gdb.base/corefile.exp: Expect the message "Program is being
5742 the preceeding gdb_load may have connected gdb to a remote target.
5743 * gdb.base/display.exp: Disable hardware watchpoints if new
5746 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
5748 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
5750 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
5757 * gdb.base/printcmds.exp: Escape curly braces followed by a number
5762 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5764 made to gdb.
5765 * gdb.c++/ovldbreak.exp: Ditto.
5769 * gdb.base/callfuncs.c (main): Moved to end of file, call
5771 * gdb.base/callfuncs.exp: Test for register preservation after calling
5777 * gdb.base/commands.exp: Break up long lines, and re-indent.
5787 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5788 * gdb.base/varargs.exp: Skip entire test if no printf support.
5789 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5790 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5794 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
5797 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
5798 * gdb.base/call-rt-st.exp: Ditto.
5799 * gdb.base/call-strs.exp: Ditto.
5803 * gdb.base/sizeof.c: include <stdio.h>.
5805 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
5811 * gdb.base/recurse.exp: Run tests for all targets.
5812 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5814 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5819 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5820 * gdb.java/configure: Rebuild.
5824 * gdb.java/jv-exp.exp: New file.
5829 * configure.in (configdirs): Add gdb.java.
5830 * gdb.java/jmisc.java: New file.
5831 * gdb.java/jmisc.exp: New file.
5832 * gdb.java/Makefile.in: New file.
5833 * gdb.java/configure: Rebuilt.
5834 * gdb.java/configure.in: New file.
5839 * gdb.base/exprs.exp: Test casts to a pointer including over and
5844 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5849 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5852 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5857 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5861 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5868 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5870 * gdb.asm/d10v.inc: Define ``startup''.
5871 * gdb.asm/asmsrc1.s: Add definition of _start.
5875 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5879 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5884 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5889 * gdb.base/commands.exp: Use ``set remote
5895 * gdb.c++/templates.exp (do_tests): Make all of these work under
5898 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5901 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
5906 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5913 * gdb.c++/local.exp: This test has never been known to work with g++.
5917 * gdb.base/annota1.exp (annotate-signal-handler-caller):
5922 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
5923 a call, do not require that gdb stop on the line after the call.
5924 Instead, it is permissible for gdb to stop on the line of the
5929 * gdb.base/break.exp (bp on small function, optimized file):
5940 * gdb.base/interrupt.exp: Make "pass" message say "send"
5946 * gdb.c++/templates.cc: Properly check for GCC version number.
5951 * gdb.base/break.exp: When compiled with -O2 optimization,
5952 gdb may not stop at the first line of main, due to code motion.
5956 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5959 * gdb.base/call-rt-st.exp: ditto.
5960 * gdb.base/call-strs: ditto.
5964 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5966 * gdb.base/ending-run.exp: After connecting to a remote target,
5974 * gdb.base/help.exp: Update output for add-symbol-file command.
5979 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5983 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5985 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5989 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5991 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6000 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
6004 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6008 * gdb.base/commands.exp (deprecated_command_test): Add test for
6013 * gdb.base/break.exp: Add new test for setting breakpoints on
6020 * gdb.base/commands.exp : Added command deprecator tests.
6024 * gdb.base/help.exp: Added test for new apropos command.
6028 * gdb.base/pointers.c (usevar): New function.
6037 * gdb.base/printcmds.c: Add typedeffed arrays.
6039 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6044 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
6049 * configure.in (configdirs): Add sub directory gdb.mi.
6052 * gdb.mi: New directory.
6056 * gdb.base/long_long.exp: Correct test suite failure when printing
6061 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6066 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6071 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6074 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6081 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6085 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6087 * gdb.base/ptype.exp: Establish a default source file before
6092 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6096 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6102 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6107 * gdb.base/default.exp: Fix expected pattern.
6108 * gdb.base/help.exp: Same.
6112 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6115 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6118 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6122 * gdb.base/display.exp: Some yacc parsers like to say
6127 * gdb.base/default.exp: Remove OS dependent string from "target
6129 * gdb.base/help.exp: Same for "help target remote" test.
6135 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6141 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6146 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6151 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
6153 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6158 * gdb.base/setvar.exp: New tests for setting the value of a struct
6163 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6168 * gdb.base/default.exp: Expect the new 'info float' command on
6171 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6176 * gdb.base/remote.c: Fill the buffer with truely random data.
6177 Change the buffer type to ``unsigned char'' to simplify size
6180 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6186 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6192 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6196 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6201 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6203 * gdb.c++/local.exp: Be more flexible in recognizing local class
6205 * gdb.c++/derivation.exp: Expect protected inheritance.
6206 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6207 * gdb.c++/virtfunc.exp: Likewise.
6208 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6213 * gdb.base/step-test.exp: Properly await GDB's response to setting
6216 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6221 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6224 better than hanging while philosopher 0 dumps chatter into gdb.log.
6228 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6232 * gdb.base/coremaker2.c: Add sample program for generating
6238 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6242 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6244 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6245 and gdb.c++/.
6247 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6249 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
6256 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6260 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6265 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6270 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6274 * gdb.base/break.exp: Fix "stub continue" pattern.
6278 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6282 * gdb.base/display.exp ("finish"): Add timeout clause.
6284 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6288 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6291 * gdb.base/display.exp: Don't forget to escape parens in regular
6296 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6302 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6303 * gdb.base/annota1.c: Add code for tests to work with.
6307 * gdb.base/remote.exp: New test for remote downloading settings.
6308 * gdb.base/remote.c: New file with large .data.
6312 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6317 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6324 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6329 * gdb.base/break.c (main): Added a statement that we can step
6331 * gdb.base/break.exp: Added tests for setting a breakpoint
6336 * gdb.base/help.exp (help add-symbol-file): Update to match current
6337 gdb output.
6341 * gdb.base/break.exp: Code locations are in hex, don't forget!
6356 * gdb.c++/overload.exp: Added tests for listing overloaded
6372 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6375 * lib/gdb.exp (skip_cplus_tests): New proc.
6376 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6377 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6378 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6379 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6380 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6381 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6382 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6383 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6385 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6389 * gdb.base/corefile.exp (up): Allow a parameter to appear
6394 * gdb.base/default.exp (info float): Expect some output now.
6396 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6398 * gdb.base/callfwmall.exp (do_function_calls): Same.
6400 * gdb.base/list.exp (test_listsize): Correct expectations for
6408 * gdb.base/selftest.exp: Add case for when version prints as
6413 * gdb.base/ending-run.exp: Add Solaris case for what happens when
6416 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6419 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6422 * gdb.c++/ovldbreak.exp: Update match string in test that
6427 * gdb.base/display.exp: Improve precision of step-after-finish
6430 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6433 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6438 * gdb.base/async.c: New file.
6439 * gdb.base/async.exp: New file.
6443 * gdb.base/break.exp: Tweak PA specific tests to properly handle
6448 * gdb.base/display.exp: "finish" can leave us mid-line on many
6452 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
6455 * gdb.base/attach.exp: Handle another hpux11 error message variant
6460 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
6465 * gdb.base/call-ar-st.exp: Add a shorter match case for the
6468 * gdb.base/dbx.exp: XFAIL func commands until somebody is
6473 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
6484 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
6490 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
6491 gdb.compat, gdb.threads-hp.
6492 gdb.hp/configure, gdb.hp/configure.in: New files.
6493 gdb.hp/Makefile.in: Recurse into new subdirs.
6494 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
6495 gdb.hp/gdb.objdbg: New directory, tests for debugging info
6497 gdb.hp/tools: New directory, aux tools for HP-specific tests.
6501 * gdb.base/display.exp: Help expect by putting a newline in the
6506 * gdb.base/display.exp: Make sure that when we say 'run', we are
6512 * gdb.base/step-test.exp: Removed some extraneous messages.
6514 * gdb.base/long_long.exp: Don't run memory examination tests
6520 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
6523 * gdb.base/long_long.c: Stop compiler complaint by specifying long
6525 * gdb.base/long_long.exp: Loosen x/c test, add partial result
6530 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
6532 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
6535 * gdb.c++/Makefile.in: Add standard actions.
6537 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
6538 from gdb.hp.
6539 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
6541 * gdb.c++/anon-union.exp: Fix tests to match.
6542 * gdb.c++/classes.exp: Run if HP compiler used, add extra
6544 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
6545 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
6547 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
6548 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
6549 * gdb.c++/demangle.exp: Use $style when reporting failure.
6550 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
6551 * gdb.c++/inherit.exp: Run if HP compiler used, add some
6553 * gdb.c++/local.exp: Add match alternatives or xfails for HP
6555 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
6556 * gdb.c++/method.exp: Add match alternatives.
6557 * gdb.c++/misc.cc: Add bool types.
6558 * gdb.c++/misc.exp: Add tests for bool types.
6559 * gdb.c++/overload.exp: Add xfails.
6560 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
6561 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
6563 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
6564 * gdb.c++/virtfunc.cc: Add return type and value for main.
6565 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
6570 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
6574 * gdb.base/signals.exp: Don't expect getting a backtrace from
6580 * lib/gdb.exp: Remove some gratuitious semicolons.
6589 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
6590 * gdb.base/attach.exp, gdb.base/display.exp,
6591 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
6592 gdb.base/long_long.exp, gdb.base/printcmds.exp,
6593 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
6595 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
6596 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
6598 * gdb.base/completion.exp: Reflect name change of self-test.
6599 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
6600 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
6601 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
6603 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
6605 * gdb.base/maint.exp: Loosen matches.
6606 * gdb.base/pointers.c (main): Declare more_code.
6607 * gdb.base/pointers.exp: Match on output of a `next'.
6608 * gdb.base/structs.c: Add prototypes.
6609 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
6610 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
6614 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
6619 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
6622 * gdb.base/annota1.exp: Clean up some more, in case printf has
6623 debug info. Deal with lack of signal hanlder info in stack.
6626 * gdb.base/annota1.exp: If printf has debug info, deal with it.
6630 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6631 gdb.base/foll-vfork.exp: Don't run for crosses.
6635 * gdb.base/configure.in: Check for gdbvars.exp instead of
6637 * gdb.base/configure: Re-generate.
6641 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
6644 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
6646 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
6651 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
6654 * gdb.base/list.exp: Remove mistaken xfails.
6655 * gdb.base/list0.h: Add optional prototypes.
6659 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
6667 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
6668 * gdb.base/annota2.cc, annota2.exp: Move from here.
6669 * gdb.c++/annota2.cc, annota2.exp: To here.
6670 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
6674 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
6680 * lib/gdb.exp (get_compiler_info): Add detection for assorted
6683 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
6694 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
6695 * gdb.base/step-test.c (myglob): Rename from glob.
6696 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
6698 files, move here from gdb.hp.
6699 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
6704 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
6708 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
6709 foll-vfork.exp: New files, move here from gdb.hp.
6710 * gdb.base/page.exp: New file, test of pagination command.
6712 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
6714 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
6716 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
6717 gdb.base/solib.exp: Fix compiler invocation process.
6719 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
6721 * gdb.base/commands.exp: Set argument list explicitly, add
6723 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
6725 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
6727 * gdb.base/corefile.exp: Loosen the match slightly.
6728 * gdb.base/default.exp: Allow "Error accessing memory" message
6730 * gdb.base/display.exp: Skip over x/0 j if PA64.
6731 * gdb.base/funcargs.exp: Add xfails for HP-UX.
6732 * gdb.base/interrupt.exp: Ditto.
6733 * gdb.base/langs.exp: Add symbolic matches governed by compiler
6735 * gdb.base/list.exp: Add xfails for HP-UX.
6736 * gdb.base/long_long.exp: Refine some of the numeric matches.
6737 * gdb.base/mips_pro.exp: Xfail on HP-UX.
6738 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
6739 * gdb.base/nodebug.exp: Succeed on more varieties of output.
6740 * gdb.base/opaque.exp: Remove some HP-UX xfails.
6741 * gdb.base/ptype.exp: Succeed on more varieties of output.
6742 * gdb.base/scope.exp: Add xfails for HP-UX.
6743 * gdb.base/sect-cmd.exp: Add more cases.
6744 * gdb.base/setvar.exp: Add xfails for HP-UX.
6745 * gdb.base/shlib-call.exp: Loosen some matches slightly.
6746 * gdb.base/signals.exp: Match on void symbolically.
6747 * gdb.base/step-test.exp: Add case for PA64.
6748 * gdb.base/term.exp: Add exit and restart.
6749 * gdb.base/twice.exp: Clean up after self.
6750 * gdb.base/varargs.exp: Disable overload resolution explicitly.
6751 * gdb.base/whatis.exp: Allow more ways to pass tests.
6753 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
6758 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
6760 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6775 * gdb.base/call-strs.c, gdb.base/ending-run.c,
6776 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6777 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6781 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6786 * gdb.exp: Fix test for gdb_prompt existence.
6790 * gdb.exp (gdb_test): Add fail after calls to perror.
6794 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
6798 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
6802 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
6807 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6810 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6814 * gdb.java/jv-print.exp: New file. (Our first Java test!)
6818 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6819 * gdb.base/mips_pro.exp: Likewise.
6823 * gdb.c++/templates.cc: Change all "new" operators to throw
6825 * gdb.c++/cplusfuncs.cc: Likewise.
6827 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6831 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6832 * gdb.base/ending-run.exp: When stepping out of main, accept a
6837 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
6839 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
6841 * gdb.base/annota2.cc: Initialize a.x to 0.
6845 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6850 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6852 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6854 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6859 * gdb.base/annota2.cc: Include stdio.h.
6863 * gdb.base/crossload.exp: Remove, this has been disabled ever
6866 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6867 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6868 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6869 * gdb.base/README: Remove, was doc for this.
6870 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6875 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6878 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6879 * gdb.base/annota2.exp: New file. More annotation tests.
6880 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6881 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6889 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6892 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6899 * gdb.c++/demangle.exp: Include the current demangling style
6913 * gdb.base/signals.exp (test_handle_all_print): Use () for
6916 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
6921 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6926 * gdb.stabs/weird.exp: Test for CC being defined before
6931 * gdb.base/call-ar-st.exp: Remove stray '#'.
6932 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6934 * gdb.c++/overload.cc: Cast the string added in the previous
6936 * gdb.hp/reg-test.exp (testfile): Fix file name.
6937 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
6939 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6940 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6945 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6946 * gdb.hp/*.exp: Change all to run compiler probe only after
6950 * gdb.c++/overload.cc: Pass string instead of char addr, always
6952 * gdb.c++/templates.cc: Fix syntax error.
6956 * gdb.base/commands.exp: Add test for correct position of '>'
6962 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6964 * gdb.c++/method.exp: It was testing an uninitialized int on the
6965 stack and assuming it was positive.
6967 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6969 * gdb.base/step-test.exp: Catch a case where finish is broken and
6973 * gdb.base/sigall.exp: use gdb_continue_to_end.
6975 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6977 * gdb.base/display.exp: use runto_main, not run.
6979 * gdb.base/default.exp: Check for the current error message in the
6983 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
6986 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6988 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6990 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
7001 * lib/gdb.exp (continue_to_exit): New function.
7003 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7004 * gdb.base/ending-run.exp: Ditto.
7005 * gdb.base/step-test.exp: Ditto.
7009 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7014 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7018 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7023 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7028 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7031 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7035 * gdb.base/step-test.exp: However, we do want a test that notices
7040 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7043 * lib/gdb.exp (gdb_get_line_number): New function.
7045 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7050 * lib/gdb.exp: Doc fixes.
7054 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7058 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7064 * Changelog entries merged over from gdb development branch.
7068 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7073 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
7077 * lib/gdb.exp (debug_format): initialize
7081 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7082 * gdb.base/call-rt-st.c: Ditto.
7086 * gdb.threads/pthreads.exp (horiz): New variable.
7091 * gdb.base/smoke.exp: Disambiguate two test case names (both
7096 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7101 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7103 * gdb.base/smoke.exp: GDB removes leading 0's.
7104 * gdb.base/volatile.exp: Don't check type of remuneration;
7106 * gdb.base/step-test.c (main): Exit with explicit exit code.
7107 * gdb.base/step-test.exp: Remove two nexti checks--they are
7112 * gdb.base/help.exp ("help delete display"): Fix test to match
7113 gdb's output.
7115 * gdb.base/long_long.c (known_types): Initialize values to zero.
7116 * gdb.base/long_long.exp: Step one more line
7123 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
7125 * gdb.c++/method.exp: Add missing close brace.
7129 * gdb.base/maint.exp: Use 'set height 0' to disable page
7133 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7140 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7142 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7147 * gdb.base/break.exp: Teach the test suite that the `catch
7153 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7154 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7157 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7162 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7163 gdb.trace/Makefile.in (clean): Remove all test executables.
7167 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7169 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7173 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7176 * gdb.hp/watch-cmd.exp: ditto.
7178 * gdb.hp/watch-hp.exp: ditto.
7180 * gdb.hp/xdb1.exp: ditto.
7182 * gdb.hp/xdb2.exp: ditto.
7184 * gdb.hp/dbx.exp: ditto.
7196 * gdb.base/break.exp: new tests to verify that catchpoints for
7199 * gdb.base/opaque.exp: compile one file at a time, then link.
7201 * gdb.base/signals.exp: be more restrictive about which hppa
7204 * gdb.base/solib_threshold.build: new file.
7205 * gdb.base/solib_threshold.exp: new file.
7206 * gdb.base/solib_threshold.link_opts: new file.
7207 * gdb.base/solib_threshold.mk: new file.
7208 * gdb.base/gen_solib_threshold.c: new file.
7210 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7213 * gdb.c++/compiler.cc: indicate support of template debugging.
7215 * gdb.c++/demangle.exp: run hp style demangling tests.
7217 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7220 * gdb.c++/misc.cc: changes to support new tests.
7222 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7225 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7234 * gdb.hp/ambiguous.cc: new file.
7235 * gdb.hp/ambiguous.exp: new file.
7236 * gdb.hp/attach.exp: new file.
7237 * gdb.hp/attach2.exp: new file.
7238 * gdb.hp/classes-hp.exp: new file.
7239 * gdb.hp/ctti.exp: new file.
7240 * gdb.hp/ctti-add.cc: new file.
7241 * gdb.hp/ctti-add1.cc: new file.
7242 * gdb.hp/ctti-add2.cc: new file.
7243 * gdb.hp/ctti-add3.cc: new file.
7244 * gdb.hp/dbx.exp: new file.
7245 * gdb.hp/exception.cc: new file.
7246 * gdb.hp/exception.exp: new file.
7247 * gdb.hp/foll-exec.c: new file.
7248 * gdb.hp/foll-exec.exp: new file.
7249 * gdb.hp/foll-fork.c: new file.
7250 * gdb.hp/foll-fork.exp: new file.
7251 * gdb.hp/foll-vfork.c: new file.
7252 * gdb.hp/foll-vfork.exp: new file.
7253 * gdb.hp/inherit-hp.exp: new file.
7254 * gdb.hp/more-steps.exp: new file.
7255 * gdb.hp/namespace.cc: new file.
7256 * gdb.hp/namespace.exp: new file.
7257 * gdb.hp/optimize.exp: new file.
7258 * gdb.hp/pxdb.c: new file.
7259 * gdb.hp/pxdb.exp: new file.
7260 * gdb.hp/quicksort.exp: new file.
7261 * gdb.hp/reg-test.exp: new file.
7262 * gdb.hp/reg-test.s: new file.
7263 * gdb.hp/sized-enum.c: new file.
7264 * gdb.hp/sized-enum.exp: new file.
7265 * gdb.hp/start-stop.exp: new file.
7266 * gdb.hp/templ-hp.cc: new file.
7267 * gdb.hp/templ-hp.exp: new file.
7268 * gdb.hp/thr-lib.c: new file.
7269 * gdb.hp/thr-lib.exp: new file.
7270 * gdb.hp/thr-lib.h: new file.
7271 * gdb.hp/thr-liblib.c: new file.
7272 * gdb.hp/virtfun-hp.c: new file.
7273 * gdb.hp/virtfun-hp.exp: new file.
7274 * gdb.hp/watch-cmd.exp: new file.
7275 * gdb.hp/watch-hp.exp: new file.
7276 * gdb.hp/xdb1.exp: new file.
7277 * gdb.hp/xdb2.exp: new file.
7278 * gdb.hp/xdb3.exp: new file.
7286 * gdb.base/ss.h: new file.
7287 * gdb.base/call-ar-st.c: new file.
7288 * gdb.base/call-ar-st.exp: new file.
7289 * gdb.base/call-rt-st.c: new file.
7290 * gdb.base/call-rt-st-exp: new file.
7291 * gdb.base/call-strs.exp: new file.
7292 * gdb.base/ena-dis-br.exp: new file.
7293 * gdb.base/environ.exp: new file.
7294 * gdb.base/long_long.exp: new file.
7295 * gdb.base/sect-cmd.exp: new file.
7296 * gdb.base/shlib-cl2.exp: new file.
7297 * gdb.base/smoke.exp: new file.
7298 * gdb.base/so-impl-ld.c: new file.
7299 * gdb.base/so-impl-ld.exp: new file.
7300 * gdb.base/so-indr-cl.c: new file.
7301 * gdb.base/so-indr-cl.exp: new file.
7302 * gdb.base/varargs.exp: new file.
7303 * gdb.base/volatile.exp: new file.
7304 * gdb.base/whatis-exp.exp: new file.
7305 * gdb.base/display.exp: new file.
7306 * gdb.c++/derivation.exp: new file.
7307 * gdb.c++/local.exp: new file.
7308 * gdb.c++/member-ptr.exp: new file.
7309 * gdb.c++/overload.exp: new file.
7310 * gdb.c++/ovldbreak.exp: new file.
7311 * gdb.c++/ref-types.exp: new file.
7312 * gdb.c++/ref-types2.exp: new file.
7313 * gdb.c++/userdef.exp: new file.
7317 * gdb.base/default.exp: Reflect wording change in remote.c.
7321 * gdb.base/help.exp: Update to reflect current text.
7325 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7326 they're stack variables and contain garbage.
7327 * gdb.c++/anon-union.exp: new file.
7334 * gdb.base/bitops.exp: new file.
7335 * gdb.base/default.exp: change expected messages for catch and
7337 * gdb.base/enable-disable-break.exp
7338 * gdb.base/ending-run.c: new file.
7339 * gdb.base/long_long.c: new file.
7340 * gdb.base/maint.exp: new file.
7341 * gdb.base/pointers2.exp: new file.
7342 * gdb.base/shlib-call2.exp: new file.
7343 * gdb.base/solib.exp: new file.
7344 * gdb.base/step-test.c: new file.
7345 * gdb.c++/anon-union.cc: new file.
7346 * gdb.c++/local.cc: new file.
7347 * gdb.c++/member-pointer.cc: new file.
7348 * gdb.c++/method.cc: new file.
7349 * gdb.c++/ref-types.cc: new file.
7350 * gdb.c++/ref-types2.cc: new file.
7351 * gdb.c++/userdef.cc: new file.
7353 * gdb.base/scope.exp: compile one file at a time, then link.
7354 * gdb.base/langs.exp: ditto.
7355 * gdb.base/list.exp: ditto.
7364 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7366 * gdb.c++/
7368 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7373 * configure.in (hpdir): decide whether to configure gdb.hp.
7376 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7379 * gdb.base/commands.exp: update message expected.
7380 * gdb.base/default.exp: add copyright notice.
7381 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7382 * gdb.base/help.exp: update messages to reflect current text.
7383 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7385 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7388 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7389 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7391 * gdb.c++/misc.exp: ditto.
7392 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7395 * gdb.threads/pthreads.exp: fix typo in message.
7397 * gdb.base/all-bin.exp: new file.
7398 * gdb.base/arithmet.exp: new file.
7399 * gdb.base/assign.exp: new file.
7400 * gdb.base/completion.exp: new file.
7401 * gdb.base/cond-expr.exp: new file.
7402 * gdb.base/condbreak.exp: new file.
7403 * gdb.base/define.exp: new file.
7404 * gdb.base/dollar.exp: new file.
7405 * gdb.base/environment.exp: new file.
7406 * gdb.base/eval-skip.exp: new file.
7407 * gdb.base/jump.exp: new file.
7408 * gdb.base/logical.exp: new file.
7409 * gdb.base/pointers.exp: new file.
7410 * gdb.base/relational.exp: new file.
7411 * gdb.base/section_command.exp: new file.
7412 * gdb.base/whatis-expr.exp: new file.
7414 * gdb.base/all-types.c: new file.
7415 * gdb.base/call-array-struct.c: new file.
7416 * gdb.base/call-return-struct.c: new file.
7417 * gdb.base/call-strings.c: new file.
7418 * gdb.base/callfuncs2.c: new file.
7419 * gdb.base/condbreak.c: new file.
7420 * gdb.base/constvars.c: new file.
7421 * gdb.base/display.c: new file.
7422 * gdb.base/int-type.c: new file.
7423 * gdb.base/jump.c: new file.
7424 * gdb.base/miscexprs.c: new file.
7425 * gdb.base/pointers.c: new file.
7426 * gdb.base/pointers2.c: new file.
7427 * gdb.base/shmain.c: new file.
7428 * gdb.base/shr1.c: new file.
7429 * gdb.base/shr2.c: new file.
7430 * gdb.base/solib.c: new file.
7431 * gdb.base/solib1.c: new file.
7432 * gdb.base/solib2.c: new file.
7433 * gdb.base/varargs.c: new file.
7434 * gdb.c++/derivation.cc: new file.
7435 * gdb.c++/overload.cc: new file.
7436 * gdb.c++/ovldbreak.cc: new file.
7437 * gdb.hp/attach.c: new file.
7438 * gdb.hp/attach2.c: new file.
7439 * gdb.hp/average.c: new file.
7440 * gdb.hp/compiler.c: new file.
7441 * gdb.hp/compiler.cc: new file.
7442 * gdb.hp/execd-program.c: new file.
7443 * gdb.hp/follow-exec.c: new file.
7444 * gdb.hp/follow-fork.c: new file.
7445 * gdb.hp/follow-vfork-and-exec.c: new file.
7446 * gdb.hp/misc-hp.cc: new file.
7447 * gdb.hp/more-steps.c: new file.
7448 * gdb.hp/optimize.c: new file.
7449 * gdb.hp/quicksort.c: new file.
7450 * gdb.hp/run-hp.c: new file.
7451 * gdb.hp/start-stop.c: new file.
7452 * gdb.hp/sum.c: new file.
7453 * gdb.hp/templates-hp.cc: new file.
7454 * gdb.hp/thread-local-in-lib.c: new file.
7455 * gdb.hp/thread-local-in-lib.h: new file.
7456 * gdb.hp/thread-local-in-lib.lib.c: new file.
7457 * gdb.hp/vforked-program.c: new file.
7458 * gdb.hp/virtfunc-hp.cc: new file.
7459 * gdb.hp/watchpoint-hp.c: new file.
7460 * gdb.hp/xdb.c: new file.
7461 * gdb.hp/xdb0.c: new file.
7462 * gdb.hp/xdb0.h: new file.
7463 * gdb.hp/xdb1.c: new file.
7471 * gdb.c++/demangle.exp: changed the expected output for some
7483 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
7484 * gdb.trace/backtrace.exp: Likewise.
7485 * gdb.trace/circ.exp: Likewise.
7486 * gdb.trace/collection.exp: Likewise.
7487 * gdb.trace/deltrace.exp: Likewise.
7488 * gdb.trace/infotrace.exp: Likewise.
7489 * gdb.trace/limits.exp: Likewise.
7490 * gdb.trace/packetlen.exp: Likewise.
7491 * gdb.trace/passc-dyn.exp: Likewise.
7492 * gdb.trace/passcount.exp: Likewise.
7493 * gdb.trace/report.exp: Likewise.
7494 * gdb.trace/save-trace.exp: Likewise.
7495 * gdb.trace/tfind.exp: Likewise.
7496 * gdb.trace/tracecmd.exp: Likewise.
7497 * gdb.trace/while-dyn.exp: Likewise.
7498 * gdb.trace/while-stepping.exp: Likewise.
7502 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
7507 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
7517 * gdb.base/corefile.exp: remove some xfails.
7521 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
7526 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
7527 gdb.base/default.exp: Replace "exec" with "executable".
7531 * gdb.base/default.exp: Change else if to elseif from previous
7536 * gdb.base/default.exp: Add brace missing from previous delta.
7540 * gdb.base/default.exp: Support test for info float for all
7545 * gdb.trace/*.exp: remove "remote_download" command.
7549 * gdb.trace/*.exp: remove -gdwarf from compile.
7553 * gdb.trace/configure.in(AC_INIT): typo
7554 * gdb.trace/configure: regenerated
7560 * configure.in: add new test directory gdb.trace.
7561 * gdb.trace/{configure configure.in Makefile.in}: New files.
7562 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
7563 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
7564 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
7565 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
7566 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
7567 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
7568 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
7572 * gdb.c++/classes.exp: Change all regular expressions to match
7575 * gdb.c++/inherit.exp: ditto.
7576 * gdb.c++/virtfunc.exp: ditto.
7580 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
7584 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
7585 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
7590 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
7591 * gdb.disasm/am33.exp: Corresponding changes.
7595 * gdb.base/callfuncs.exp: add cmp10 test.
7596 * gdb.base/callfuncs.c (cmp10): new function.
7600 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
7605 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
7611 * gdb.gdbtk: New directory to hold gdbtk tests.
7615 * gdb.fortran/types.exp: Escape brackets in expect patterns
7617 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
7627 * gdb.base/setshow.exp: make sure $pc is sane.
7629 * gdb.stabs/weird.exp: split expect patterns properly.
7633 * gdb.disasm/am33.s: New disassembler testfile for the am33.
7634 * gdb.disasm/am33.exp: Run it.
7638 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
7643 * gdb.base/signals.exp (test_handle_all_print): put back Mach
7648 * gdb.base/overlays.exp: fixup compile line for linker script.
7652 * gdb.fortran/types.exp: don't guess at float size.
7656 * gdb.base/exprs.exp: delete test that depends on int size.
7661 (gdb_target_sim): Use gdb,target_sim_options.
7665 * gdb.base/reread.exp: New file.
7666 * gdb.base/reread1.c: New file.
7667 * gdb.base/reread2.c: New file.
7676 * gdb.base/structs2.exp: New file.
7677 * gdb.base/structs2.c: New file.
7681 * gdb.asm/common.inc: New file.
7682 * gdb.asm/d10v.inc: New file.
7699 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
7706 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
7711 * gdb.base/branches.c: Code with lots of loops and
7717 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
7722 * gdb.base/help.exp: Clean up `help set args' and `help show args'
7724 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
7726 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
7731 stack backtraces.
7737 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
7738 for a newline from gdb before continuing.
7749 * gdb.base/list.exp: Fix problem with "list default lines around
7752 * gdb.base/scope.exp: Fix problem with filelocal_bss before
7757 * gdb.asm: New directory.
7760 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7761 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7769 * gdb.base/overlays (several files): Merge the two overlay
7775 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7782 * gdb.base/overlays.c (main): Exit normally when result is
7785 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7788 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7794 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
7796 * gdb.base/bar.c (barx, bar): Change variable to small array so
7799 * gdb.base/baz.c (bazx, baz): Ditto.
7800 * gdb.base/foo.c (foox, foo): Ditto.
7801 * gdb.base/grbx.c (grbxx, grbx): Ditto.
7803 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
7808 * gdb.base/overlays.exp: fix up and get working again.
7813 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7818 * gdb.base/break.exp (test_next_with_recursion): Remove
7820 * lib/gdb.exp (gdb_suppress_tests): Disable this function
7825 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7829 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7834 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7842 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7846 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7849 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7856 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7861 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7866 * gdb.base/default.exp: Expect help system output to be in
7868 * gdb.base/help.exp: Ditto.
7872 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7874 * gdb.base/interrupt.exp: Ditto.
7875 * gdb.base/corefile.exp: Ditto.
7877 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7880 * gdb.base/ptype.exp: Fix testnames to be unique.
7881 * gdb.base/radix.exp: Ditto.
7882 * gdb.base/term.exp: Ditto.
7883 * gdb.base/whatis.exp: Ditto.
7884 * gdb.c++/classes.exp: Ditto.
7888 * gdb.base/callfuncs.exp: Fix indentation.
7890 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7892 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7897 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7900 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7902 * gdb.c++/misc.cc (main): Ditto.
7903 * gdb.c++/templates.cc (main): Ditto.
7904 * gdb.c++/virtfunc.cc (main): Ditto.
7908 * lib/gdb.exp(gdb_step_for_stub): New function.
7909 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7914 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7916 * gdb.base/callfuncs.exp: Ditto.
7917 * gdb.base/commands.exp: Ditto.
7918 * gdb.base/default.exp: Ditto.
7919 * gdb.base/help.exp: Ditto.
7920 * gdb.base/list.exp: Ditto.
7921 * gdb.base/opaque.exp: Ditto.
7922 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7925 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7926 * gdb.c++/cplusfuncs.cc: Ditto.
7927 * gdb.c++/virtfunc.cc: Ditto.
7930 than trying to get the info from gdb.
7932 * gdb.fortran/types.exp: Move comment to previous line.
7936 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7945 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7949 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7953 * gdb.stabs/weird.exp: Fix quoting.
7963 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7966 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
7970 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7977 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7979 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7983 * lib/gdb.exp (setup_xfail_format): New function.
7987 * gdb.base/list.exp: Call get_debug_format and expect some
7989 * gdb.c++/ptype.exp: Ditto.
7990 * gdb.c++/classes.exp: Ditto.
7991 * gdb.c++/cplusfuncs.exp: Ditto.
7992 * gdb.c++/inherit.exp: Ditto.
7993 * gdb.c++/templates.exp: Ditto.
7994 * gdb.c++/virtfunc.exp: Ditto.
7998 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8002 any gdb stub target. Handle cases where gdb doesn't respond when
8015 * gdb.base/printcmds.exp: Fix "check for floating addition"
8017 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8021 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8029 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8035 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8045 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8060 * gdb.disasm/hppa.exp: Don't use exec_output.
8064 * gdb.base/list.exp: If we're debugging a non-native target,
8068 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8071 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8074 * gdb.base/watchpoint.exp: Fix typo.
8076 * gdb.base/setshow.exp: Check for use_gdb_stub.
8078 * gdb.base/break.exp: Fix continue until exit test for the gdb
8080 * gdb.base/langs.exp: Ditto.
8090 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8097 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8100 * gdb.base/watchpoint.exp: Don't run the test_stepping
8101 tests if gdb can't call functions on the target.
8103 * gdb.base/setshow.exp: Don't run the set prompt tests if
8108 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8109 * gdb.base/commands.exp: Likewise.
8110 * gdb.base/setshow.exp: Likewise.
8121 * gdb.base/funcargs.exp: Check for gdb,short_int target
8126 * gdb.base/printcmds.exp: add a couple more tests a la
8133 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8138 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8140 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8144 * gdb.base/run.c: Use FAKEARGV to build test executable that
8148 * gdb.base/commands.exp: Change tests to insert the proper
8154 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8155 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8160 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8161 Don't call gdb_test when the command doesn't return to a gdb prompt.
8163 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8168 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8172 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8174 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8176 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8178 * gdb.base/sigall.c: add usestubs code frag
8179 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
8183 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8193 * gdb.base/setshow.exp: Check for the existence of a
8198 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8200 * gdb.base/scope.exp: It's now init0(), not init().
8202 * gdb.base/scope0.c: For now, change init() to be init0().
8207 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8212 * gdb.base/setshow.exp: Only test the run command if the target
8218 properly before starting gdb.
8222 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8223 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8224 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8231 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8233 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8241 * gdb.base/default.exp: Don't set match_max.
8242 * gdb.base/help.exp: Ditto.
8243 * gdb.base/list.exp: Ditto.
8244 * gdb.base/signals.exp: Ditto.
8246 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8257 * gdb.base/setshow.exp: Add .* within auto language test.
8259 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8265 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8270 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8279 * gdb.base/funcargs.exp: Ditto.
8281 * lib/gdb.exp:Remove references to gdb_spawn_id.
8291 * gdb.base/bitfields.exp: Use runto instead of explicit
8294 * gdb.base/break.exp(text_next_with_recursion): Add match for
8299 prompt from gdb. Use gdb_test to set the baud rate.
8301 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8306 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8317 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8319 * gdb.base/break.exp: Ditto.
8320 * gdb.base/callfuncs.exp: Ditto.
8321 * gdb.base/commands.exp: Ditto.
8322 * gdb.base/exprs.exp: Ditto.
8323 * gdb.base/funcargs.exp: Ditto.
8324 * gdb.base/list.exp: Ditto.
8325 * gdb.base/recurse.exp: Ditto.
8326 * gdb.base/scope.exp: Ditto.
8327 * gdb.base/structs.exp: Ditto.
8328 * gdb.c++/inherit.exp: Ditto.
8334 * gdb.*/*.exp: Call gdb_expect instead of expect.
8336 * lib/gdb.exp(gdb_expect): New function.
8340 * lib/gdb.exp(gdb_init): New function.
8342 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8345 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8348 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8350 * gdb.base/scope.exp: Use gdb_test.
8352 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8358 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8362 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8367 * gdb.base/ptype.exp: Use gdb_test.
8371 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8372 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8375 * gdb.stabs/*.mt; Deleted, no longer used.
8376 * gdb.stabs/configure.in: Remove references to target makefile
8378 * gdb.stabs/configure: Rebuilt.
8380 * gdb.disasm/*.mt: Deleted, no longer used.
8381 * gdb.disasm/configure.in: Remove references to target makefile
8383 * gdb.disasm/configure: Rebuilt.
8385 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8386 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8387 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8395 * gdb.base/watchpoint.exp: Don't expect a failure when calling
8398 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8407 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8410 gdb before assuming everything worked. Send a ^C if a timeout
8413 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8416 gdb,start_symbol as the symbol to start from when jumping.
8420 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8423 * gdb.base/recurse.exp: Relax final value test for 'b' so that
8428 * gdb.fortran/types.exp: If the target doesn't support "double"
8431 * gdb.c++/virtfunc.exp: Expect failure for virtual function
8434 * gdb.base/printcmds.exp: Allow minor deviation in FP values
8439 * gdb.base/help.exp: Disable "help set", "help show", and
8440 "help support". Simplify regexp for "help stack".
8442 * gdb.base/default.exp: Set match_max to 5000 and the timeout
8446 * gdb.base/nodebug.exp: Don't try to do an inferior function
8448 * gdb.base/printcmds.exp: Likewise.
8449 * gdb.base/setvar.exp: Likewise.
8450 * gdb.base/structs.exp: Likewise.
8451 * gdb.c++/templates.exp: Likewise.
8452 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
8454 * gdb.base/recurse.exp: Enable for the mn10200.
8456 * configure.in: Do configure gdb.stabs directory for *-*-elf
8460 * gdb.base/break.exp: Check for gdb,noresults before testing
8462 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
8463 * lib/gdb.exp: Remove old (now bogus) initialization of
8474 * gdb.base/break.exp: Don't do the "stub continue" test if
8477 * gdb.base/callfuncs.exp: Increase the timeout.
8479 * gdb.base/interrupt.exp: Don't even try to compile the testcase
8480 if the target has gdb,noinferiorio set.
8482 * gdb.base/list.exp: Increase match_max to 10000 characters.
8484 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
8486 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
8489 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
8493 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
8494 trying to delete the copy of gdb. Catch the file delete so we
8500 * lib/gdb.exp(gdb_test): Surround the result pattern with
8504 * gdb.base/watchpoint.exp: Use gdb_test.
8505 * gdb.base/default.exp: Ditto.
8509 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
8511 * gdb.base/scope.exp: Use gdb_test.
8512 * gdb.c++/classes.exp: Ditto.
8513 * gdb.c++/inherit.exp: Ditto.
8517 * gdb.base/crossload.exp: Don't use execute_anywhere, use
8519 * gdb.base/corefile.exp: Don't be ridiculous.
8520 * gdb.base/*.c: Add missing stub invocations.
8526 * lib/gdb.exp: Fix runto.
8528 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
8531 * gdb.base/watchpoint.exp: Fix regexp.
8533 * lib/gdb.exp(default_gdb_exit): Add a catch to the
8541 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
8549 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
8554 config/*-gdb.exp: Rename without the -gdb suffix.
8563 * gdb.c++/templates.exp (test_ptype_of_templates),
8564 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
8567 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
8573 * gdb.threads/pthreads.exp: Change result for failure to compile due
8579 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
8583 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
8587 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
8588 * gdb.base/default.exp: ditto.
8589 * gdb.base/nodebug.exp: ditto.
8590 * gdb.base/printcmds.exp: ditto.
8591 * gdb.base/ptype.exp: ditto.
8592 * gdb.base/setvar.exp: ditto.
8593 * gdb.base/structs.exp: ditto.
8594 * gdb.base/setshow.c: Guard against uninitialized values of argc.
8602 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
8604 * gdb.base/corefile.exp: Ditto.
8605 * gdb.base/signals.exp: Ditto.
8606 * gdb.base/sigall.exp: Ditto.
8607 * gdb.base/interrupt.exp: Ditto.
8609 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
8613 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
8619 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
8620 directory to search gdb directory. Accept and step over conditional
8621 stack alignment code. Consume $prompt in failure cases.
8623 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
8624 timeout problems with infinite stack backtraces.
8625 * gdb.base/ptype.exp (ptype struct link, union tu_link):
8630 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8644 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
8650 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
8655 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
8657 * gdb.base/list.exp (test_forward-search): Increase timeout by
8659 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
8665 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
8667 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
8668 always failing and failure is now exposed by gdb.exp changes.
8672 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
8677 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
8678 * gdb.stabs/weird.exp: Remove v_comb xfails.
8682 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
8696 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
8697 and accept older ordering as obsolescent gcc or gdb.
8698 * gdb.c++/templates.exp: Ditto.
8699 * gdb.c++/virtfunc.exp: Ditto.
8703 * gdb.base/coremaker.c: Add code to mmap some data so we
8705 * gdb.base/corefile.exp: Add test to read mmapped data
8714 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
8719 * gdb.base/setshow.exp: New file, tests show and set.
8720 * gdb.base/setshow.c: New file, tests show and set.
8721 * gdb.base/help.exp: Add test for help set|show annotate.
8722 * gdb.base/default.exp: Add test for set|show annotate.
8726 * testsuite/gdb.base/break.exp: Make backtrace from factorial
8728 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
8733 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
8741 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
8742 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
8745 * gdb.base/signals.exp (test_handle_all_print): Revert back to
8753 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
8754 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
8759 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8761 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8764 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8766 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8768 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8770 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8772 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8776 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8782 * gdb.base/a1-selftest.exp: Tweak tests to account for new
8784 * gdb.base/default.exp: Ditto.
8785 * gdb.base/interrupt.exp: Fix problem with cascade of
8811 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8813 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8817 * gdb.threads/pthreads.c: Hpux also uses old definition of second
8822 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8824 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8827 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8829 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8831 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8836 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8838 * lib/gdb.exp (runto_main): Return result of "runto main" rather
8843 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8847 * gdb.base/structs.exp: Undo last change.
8851 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8856 * gdb.threads/pthreads.exp: Only run this for native configs.
8857 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8860 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8865 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8870 * gdb.base/list.exp (test_forward_search): Increase timeout
8873 buffer to 10000.
8877 * gdb.base/list.exp (test_forward_search): Fix to handle very
8878 long source line without overflowing expect's input buffer.
8882 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8885 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8888 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8891 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8896 * configure.in (configdirs): Add gdb.threads.
8898 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8899 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8900 * gdb.threads/configure: New, generated with autoconf.
8904 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8908 * gdb.base/signals.exp (test_handle_all_print): Test separately for
8910 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8911 the \r\n sequence that immediately precedes the gdb prompt.
8912 * gdb.base/a1-selftest.exp: Save original timeout and restore
8917 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8922 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8926 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8931 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8937 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8938 gdb initialization, also report how long dejagnu waited. Restore
8944 * lib/gdb.exp: Report timeout value for verbosity level 2.
8947 * config/mips-gdb.exp: Ditto.
8950 * config/sim-gdb.exp: Ditto.
8951 * config/slite-gdb.exp: Ditto.
8952 * config/udi-gdb.exp: Ditto.
8953 * config/unix-gdb.exp: Ditto.
8954 * config/vx-gdb.exp: Ditto.
8955 * gdb.base/a1-selftest.exp: Ditto.
8956 * gdb.base/a2-run.exp: Ditto.
8957 * gdb.base/break.exp: Ditto.
8958 * gdb.base/corefile.exp: Ditto.
8959 * gdb.base/list.exp: Ditto.
8960 * gdb.base/recurse.exp: Ditto.
8961 * gdb.base/scope.exp: Ditto.
8962 * gdb.base/signals.exp: Ditto.
8966 * gdb.threads/Makefile.in (docdir): Removed.
8971 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
8973 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
8975 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8985 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8989 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8994 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8998 * gdb.base/corefile.exp: Ditto
8999 * gdb.base/exprs.exp: Ditto.
9000 * gdb.base/funcargs.exp: Ditto.
9001 * gdb.base/langs.exp: Ditto.
9002 * gdb.base/list.exp: Ditto.
9003 * gdb.base/mips_pro.exp: Ditto.
9004 * gdb.base/nodebug.exp: Ditto.
9005 * gdb.base/opaque.exp: Ditto.
9006 * gdb.base/ptype.exp: Ditto.
9007 * gdb.base/scope.exp: Ditto.
9008 * gdb.base/setvar.exp: Ditto.
9009 * gdb.base/signals.exp: Ditto.
9010 * gdb.base/whatis.exp: Ditto.
9011 * gdb.c++/templates.exp: Ditto.
9012 * gdb.c++/virtfunc.exp: Ditto.
9013 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9018 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9025 * gdb.base/break.exp: Ignore compiler warnings when compiling
9027 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9028 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9030 * gdb.base/exprs.exp: Add h8300 xfails.
9031 * gdb.base/funcargs.exp: Likewise.
9032 * gdb.base/nodebug.exp: Likewise.
9033 * gdb.base/printcmds.exp: Likewise.
9034 * gdb.base/ptype.exp: Likewise.
9035 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9037 * gdb.base/return.exp: Handle float/double precision problems
9039 * gdb.base/funcargs.c: Explicitly make last constant argument to
9041 * gdb.base/return.c: Include stdio.h.
9052 * sim-gdb.exp: Make the SH simulator allocate less space when
9057 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9062 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9064 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9066 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9070 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9071 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9077 * gdb.base/corefile.exp: Always regenerate the core file, since
9084 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9085 * gdb.c++/templates.exp: Only match on basename of file since
9087 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9091 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9096 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9099 * gdb.base/mips_pro.c: Remove inline assembly code since
9106 * gdb.c++/misc.exp: Add note to message for
9112 * gdb.base/break.exp: Fix pattern for matching "Delete all
9116 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9118 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9120 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9124 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9128 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9134 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
9140 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9146 * gdb.base/return.exp (return_tests): Differentiate between
9152 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9153 * gdb.c++/Makefile.in (PROGS): Add inherit.
9158 * gdb.c++/misc.cc: Add test code from Mike Stump.
9159 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9163 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9165 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9168 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9170 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9173 * gdb.base/signals.exp: Build and source signals.ci.
9176 * lib/gdb.exp: Move verbose statements outside conditionals.
9180 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9185 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9189 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9192 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9196 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9197 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9207 * gdb.c++/Makefile.in (clean): Add missing '{'.
9211 * lib/gdb.exp: Provide a default value for noinferior.
9213 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9218 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9223 * gdb.base/break.exp: Don't test for program exit or exit status
9225 * gdb.base/langs.exp: Likewise.
9226 * gdb.base/watchpoint.exp: Likewise.
9228 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9229 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9234 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9235 * gdb.base/signals.exp (continue to handler): Likewise.
9239 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9241 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9245 * gdb.base/corefile.exp: Recognize "not found" as failure
9252 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9254 * gdb.stabs/configure: Rebuild
9268 * gdb.base/corefile.exp: When generating a core, discard any
9274 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9276 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9282 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9287 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9288 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9290 * lib/gdb.exp (default_gdb_start): Fix typo.
9291 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9299 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9300 new gdb result from g++ debug info improvements and make old
9303 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9309 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9313 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9316 * gdb.c++/*.exp: Likewise.
9320 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9325 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9331 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9337 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9338 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9339 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9340 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9342 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9343 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9345 * config/unix-gdb.exp: Make GDB global.
9346 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9352 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9353 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9357 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9360 * lib/gdb.exp: Changes for testsuite to compile own test cases.
9364 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9366 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9371 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9373 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9377 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9378 * gdb.base/corefile.exp: Likewise.
9379 * gdb.base/funcargs.exp: Likewise.
9388 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9390 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9392 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9398 * gdb.base/break.exp: Change test that deletes all breakpoints
9400 causes gdb to no longer prompt in this case.
9404 * gdb.base/return.exp (return_tests): Change xfail for test
9410 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9415 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9416 * gdb.disasm/hppa.s: Corresponding changes.
9420 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9435 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
9440 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
9442 * gdb.base/corefile.exp: Test correct mapping of corefile sections
9446 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
9448 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
9453 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
9454 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
9460 * gdb.base/Makefile.in (maintainer-clean): Likewise.
9461 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
9462 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
9463 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
9464 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
9465 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
9469 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
9484 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
9492 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
9500 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
9503 * gdb.base/funcargs.exp (float_and_integral_args): Add
9510 * gdb.base/callfuncs.exp (do_function_calls):
9521 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
9526 * gdb.base/signals.exp: Rewrite `handle all print' test as
9528 timeout and expect input buffer size for the large output
9533 * gdb.base/setvar.exp: Add new testcases for truncation when
9538 * gdb.base/callfuncs.exp (do_function_calls): Remove
9546 * gdb.base/funcargs.exp (float_and_integral_args): Remove
9548 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
9549 * gdb.base/signals.exp: Remove duplicate "handle all print" test
9554 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
9557 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
9559 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
9560 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
9562 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
9564 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
9567 * gdb.base/funcargs.exp (float_and_integral_args):
9585 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
9591 * gdb.base/callfuncs.exp (do_function_calls):
9594 * gdb.base/return.exp (return_tests): Change xfail for
9596 * gdb.base/funcargs.exp (float_and_integral_args):
9601 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
9603 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
9608 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
9611 * gdb.base/funcargs.exp: Avoid ever setting more than 8
9618 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
9619 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
9621 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
9626 * configure.in: Only configure gdb.chill for particular targets.
9630 * gdb.base/Makefile.in: Add action to .c.o transformation
9633 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
9638 * gdb.base/compiler.c: New file.
9639 * gdb.c++/compiler.cc: New file
9640 * gdb.base/scope.exp: Source gdb.base/scope.ci.
9673 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
9677 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
9679 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
9712 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
9714 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
9720 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
9726 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
9738 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
9740 * gdb.base/langs.exp: Source gdb.base/langs.ci.
9747 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
9748 * gdb.base/corefile.exp: Likewise.
9749 * gdb.base/list.exp: Likewise.
9750 * gdb.base/scope.exp: Likewise.
9751 * gdb.base/siganls.exp: Likewise.
9753 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
9755 * gdb.base/whatis.exp: Likewise.
9759 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9764 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9768 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9776 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9782 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9784 * gdb.base/signals.exp: Add xfail for "'next' behaved as
9788 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9790 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9795 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
9797 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
9803 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
9804 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
9805 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
9806 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
9819 * gdb.base/corefile.exp: Change xfail for backtrace in
9821 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
9826 * gdb.base/signals.exp: Setup xfail for "next" acting like
9838 * gdb.base/a2-run.exp: Change messages to be more explicit about
9843 * gdb.base/callfuncs.exp: Add tests for passing structs to
9845 * gdb.base/callfuncs.c: Add functions to receive a struct
9850 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9863 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9865 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9867 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9869 * gdb.base/corefile.exp: Make sure we actually generate a core file
9872 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9877 * gdb.threads: New directory with some crude multi-threaded
9878 gdb tests (step.exp and step2.exp).
9884 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9886 * gdb.base/signals.exp: Disable whole file for lynx until
9889 * gdb.base/signals.exp: xfail test where "next" acts like
9892 * gdb.base/interrupt.exp: xfail test for calling function while
9895 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9903 * gdb.base/return.exp: Fix typo in return double test.
9904 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
9909 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9910 sequences to be echo'd by gdb when using gdb_test.
9911 * gdb.chill/chexp.exp: Likewise.
9912 * gdb.fortran/exprs.exp: Likewise
9916 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9917 after the inferior gdb has started.
9919 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9921 * gdb.base/funcargs.exp: Likewise.
9922 * gdb.base/gdbvars.exp: Likewise.
9923 * gdb.base/interrupt.exp: Likewise.
9924 * gdb.base/list.exp: Likewise.
9925 * gdb.base/watchpoint.exp: Likewise.
9926 * gdb.c++/demangle.exp: Likewise.
9927 * gdb.c++/inherit.exp: Likewise.
9928 * gdb.chill/chexp.exp: Likewise.
9929 * gdb.fortran/exprs.exp: Likewise.
9931 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9934 * gdb.c++/misc.exp: Always check for a program already being
9935 started after sending a "run" command to gdb.
9937 * gdb.base/twice.exp: Start with a fresh gdb.
9939 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9940 only depend on gdb's expression code, not the chill runtime.
9942 * gdb.base/return.c: Put return values into variables so we
9943 can have gdb print them rather than depending on the program
9945 * gdb.base/return.exp: Corresponding changes.
9947 * lib/gdb.exp: Provide default value for noinferiorio.
9948 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9951 * gdb.base/break.exp: Always check for a program already being
9952 started after sending a "run" command to gdb.
9957 * gdb.base/commands.exp: Protect tests which need arguments with
9962 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9963 of structure member arrays to match gdb/valops.c:value_addr change.
9967 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9972 * configure.in (configdirs): Remove gdb.chill from default list
9976 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9985 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9987 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9988 Moved to new gdb.signals directory.
9989 * gdb.signals: New test directory.
9990 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9995 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9999 * gdb.base/return.exp: Xfail `return double' test failure
10008 * lib/gdb.exp: Fix comment which erroneously identified
10011 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10013 * gdb.base/setvar.exp: Make test names consistent between pass and
10018 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10022 * gdb.base/help.exp: Fix expected help string for `show commands'.
10026 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10028 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10045 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10055 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10056 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10057 * gdb.base/funcargs.exp: Don't set timeout.
10058 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10059 * gdb.base/printcmds.exp (test_print_string_constants
10061 * gdb.base/ptype.exp: Don't set timeout.
10062 * gdb.base/recurse.exp: Don't set timeout.
10063 * gdb.base/return.exp: Don't set timeout.
10064 * gdb.base/watchpoint.exp: Don't set timeout.
10065 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10066 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10074 * lib/gdb.exp: Disable chill tests for irix5.
10078 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10083 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10100 * gdb.base/watchpoint.exp: Don't run
10105 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10110 * gdb.base/a1-selftest.exp: Add alpha xfail.
10114 * gdb.base/watchpoint.c (main): Prompt before calling read().
10115 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10122 * gdb.base/recurse.exp: Fix comment.
10127 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10131 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10136 * gdb.base/nodebug.c: Change return type of top and middle to
10138 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10144 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10154 * gdb.base/break.exp: Look for different line number for
10159 * gdb.base/list.exp: Adjust some alternate expect patterns to
10166 * lib/gdb.exp: If nosignals is not set, set it to 0.
10170 * config/slite-gdb.exp: Responds to load symbol table prompt.
10171 * gdb.base/break.exp: Adjust line number, fix rerun.
10172 * gdb.base/langs0.c: Add #ifdef usestubs.
10176 * gdb.base/list.exp: Adjust line contents after adding new lines in
10179 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10180 * gdb.base/break.exp: ditto.
10181 * gdb.base/list.exp: ditto.
10182 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10183 * gdb.base/run.c: ditto.
10184 * gdb.base/list0.c: ditto.
10185 * gdb.base/funcargs.c: ditto.
10191 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10196 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10200 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10206 * lib/gdb.exp (default_gdb_version): A version number must start
10212 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10216 * gdb.c++/*.exp: Warn if executable does not exist. The original
10223 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10227 * gdb.base/list.exp: Add expect patterns for output from
10229 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10234 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10238 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10242 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10244 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10249 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10250 runto_main is a proc in gdb.exp that will do 'step' for target use
10252 * gdb.base/exprs.exp: ditto.
10253 * gdb.base/interrupt.exp: ditto.
10254 * gdb.base/opaque.exp: ditto.
10255 * gdb.base/printcmds.exp: ditto.
10256 * gdb.base/ptype.exp: ditto.
10257 * gdb.base/scope.exp: ditto.
10258 * gdb.base/setvar.exp: ditto.
10259 * gdb.base/signals.exp: ditto.
10260 * gdb.base/twice.exp: ditto.
10261 * gdb.c++/classes.exp: ditto.
10262 * gdb.c++/inherit.exp: ditto.
10263 * gdb.c++/templates.exp: ditto.
10264 * gdb.base/break.exp: no run and hit main for stubs. Change line
10266 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10268 * gdb.base/callfuncs.c: ditto.
10269 * gdb.base/exprs: ditto.
10270 * gdb.base/interrupt.c: ditto.
10271 * gdb.base/opaque0.c: ditto.
10272 * gdb.base/printcmds.c: ditto.
10273 * gdb.base/ptype.c: ditto.
10274 * gdb.base/scope0.c: ditto.
10275 * gdb.base/setvar.c: ditto.
10276 * gdb.base/signals.c: ditto.
10277 * gdb.base/twice.c: ditto.
10278 * gdb.c++/misc.cc: ditto.
10279 * gdb.c++/templates.cc: ditto.
10283 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10285 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10290 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10294 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10299 * config/slite-gdb.exp: add this new file to support sparclite target.
10303 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10305 * gdb.base/a2-run.exp: Change argument to istarget from
10307 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10311 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10317 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10320 * gdb.base/signals.exp: Add test for "handle all print".
10325 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10329 * gdb.base/nodebug.c (array_index): Call malloc.
10331 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10335 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10340 * gdb.base/break.exp: Update gdb_test invocation to use new
10343 * lib/gdb.exp: If noargs is not set, set it to 0.
10345 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10348 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10352 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10358 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10359 * gdb.base/break.c: Change things around so that this program
10362 * gdb.base/break.exp: Don't try to send args to program. Don't
10367 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10372 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10373 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10374 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10375 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10377 * lib/gdb.exp: Remove test_print_accept.
10379 * gdb.base/signals.exp (signal_tests_1): Make pass message
10382 * gdb.base/whatis.exp: Remove xfails for printing char vs.
10385 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10387 * gdb.base/scope.exp (test_at_localscopes): Call pass for
10392 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10402 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
10406 * gdb.base/nodebug.exp: Test ability to call a function and pass
10409 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10414 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10418 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
10423 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
10429 * gdb.c++/templates.exp: Source templ-info.exp only if
10432 * gdb.c++/misc.cc (class Contains_static_instance,
10434 gdb.c++/classes.exp (test_static_members): Test printing of
10439 * gdb.base/langs2.c (cppsub_): Don't prototype.
10440 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10445 * lib/gdb.exp (skip_chill_tests): New procedure.
10447 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10451 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
10456 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
10458 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
10461 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
10464 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
10466 * gdb.base/callfuncs.c: Control use of prototypes based on
10468 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
10471 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
10478 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
10479 'file' command firts, then 'target', then 'load', this is due to gdb
10481 * config/mips-gdb.exp: Fix a couple regular exp bugs.
10485 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
10487 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
10491 * gdb.base/term.exp: Do not give a warning if not native, it is
10496 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
10501 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
10504 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
10509 * lib/gdb.exp: Just use "file exists", rather than undocumented
10517 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
10518 Removed, these values are set by lib/gdb.exp.
10520 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
10524 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
10525 of replicating gdb startup code.
10530 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
10531 (gdb) and gdb for vxworks uses (vxgdb).
10533 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
10535 program_transform_name to determine the gdb name used by the
10538 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
10543 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
10547 * gdb.base/langs.exp, gdb.base/langs*: New test.
10548 * gdb.base/Makefile.in: Build it.
10554 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
10557 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
10559 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
10562 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
10564 * gdb.base/a1-selftest.exp: Don't run on hp300.
10573 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
10575 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
10578 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
10583 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
10585 * gdb.base/nodebug.exp: Accept "function" in addition to "text
10587 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
10589 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
10591 * gdb.base/list1.c (long_line): Add additional statement at start
10593 * gdb.base/list.exp (test_forward_search): Update line number to
10598 * gdb.base/signals.exp: Reinitialize searched source directories
10603 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
10604 * gdb.stabs/Makefile.in: Likewise.
10606 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
10608 * gdb.disasm/hppa.s: Corresponding changes.
10612 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10615 * gdb.base/funcargs.exp: Modify many tests so that every test
10620 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10623 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
10631 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10634 * gdb.base/nodebug.exp: Remove obsolete comment.
10635 * gdb.base/regs.exp: New file, testing of register displays.
10636 * gdb.base/return.exp: Fix typo in reference to $objdir.
10637 * gdb.base/whatis.exp: Always start with a fresh GDB.
10641 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
10646 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
10651 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
10652 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
10653 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
10658 * gdb.base/commands.exp: Make test names unique; every test either
10661 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
10667 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
10669 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
10673 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
10678 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
10682 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
10683 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
10684 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10685 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
10690 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10691 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
10692 to lib/gdb.exp.
10693 * gdb.base/printcmds.exp: Use test_print_accept. Remove
10696 * lib/gdb.exp (test_print_reject): Add some more error message
10698 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
10701 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
10708 * gdb.base/nodebug.exp: Update new tests to reflect improved
10709 wording of gdb output.
10711 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
10717 * gdb.base/setvar.c (dummy): Call malloc.
10719 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
10722 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
10732 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
10735 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
10739 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
10742 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
10747 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
10750 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
10754 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
10756 * gdb.base/help.exp: Don't test "help show".
10760 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10762 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10765 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10767 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
10769 was to make sure that gdb can read a core file. But (a) the "read
10775 * gdb.base/corefile.exp: Also test backtrace.
10779 * gdb.base/commands.exp: Test a simple user defined command with
10783 * gdb.base/commands.exp: Test if/while commands as part of a
10789 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10794 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
10796 * gdb.base/watchpoint.c (main): Delete second unnecessary read
10801 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
10804 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
10810 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10812 * gdb.base/help.exp: Replace most of docstrings for "info signals"
10819 * gdb.base/{sigall.c, sigall.exp}: New test.
10820 * gdb.base/Makefile.in: Add it.
10824 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10829 * config/sim-gdb: New file, simulator testing support.
10833 * gdb.base/interrupt.exp: Test calling func1 twice.
10837 * gdb.base/list.exp (test_forward_search): Set timeout higher
10838 when we'll be getting lots of output from gdb.
10840 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10847 * gdb.base/printcmds.exp: New test, for printing register before
10852 * gdb.base/list.exp: Correct some alternate expect patterns
10859 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10866 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10871 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10877 * gdb.base/list.exp: Adjust expectations to reflect changes in
10880 * gdb.base/list1.c (long_line): New function, has long source line.
10884 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10889 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10891 * gdb.disasm/hppa.exp: Corresponding changes.
10896 * gdb.c++/templ-info.cc: New file to test for template
10898 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10900 * gdb.c++/templates.cc: Add explicit template instantiations
10903 * gdb.c++/templates.exp: Add testcases for printing of template
10909 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10916 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
10930 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
10935 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10941 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10946 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10947 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10952 * gdb.base/commands.exp: New tests for if/while commands.
10956 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10961 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10967 * gdb.fortran: New directory.
10968 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10972 * gdb.base/default.exp: Update expect pattern for load command
10978 * gdb.base/configure.in: Likewise.
10979 * gdb.c++/configure.in: Likewise.
10980 * gdb.chill/configure.in: Likewise.
10984 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10989 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10994 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10999 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11003 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11008 * lib/gdb.exp (gdb_test): Don't send anything if the first
11026 * gdb.base/types.c: Removed.
11028 * gdb.base/configure.in: Look for makefile fragments in ../config.
11030 * gdb.c++/configure.in: Likewise.
11034 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11039 * gdb.base/opaque.exp: use runto instead of messing around with
11042 * gdb.base/bitfields.exp: restart between tests on netware targets
11046 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11051 of "make". Use the newly built gdb to test with by default,
11056 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11058 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11063 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11065 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11067 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11068 * gdb.base/funcargs.exp: Likewise.
11070 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11071 * gdb.base/funcargs.exp: Likewise.
11073 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11078 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11082 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11083 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11093 * gdb.base/signals.exp: Allow for optionality of breakpoint
11098 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11102 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11104 * gdb.c++/templates.cc: Likewise
11108 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11111 * gdb.base/Makefile.in: Added support for systems that name core
11113 * gdb.base/a1-selftest.exp: Likewise.
11117 * gdb.base/return.exp: Add comment and message for `return double'
11122 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11126 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11128 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11135 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11137 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11142 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11144 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11150 * lib/gdb.exp (string_to_regexp): Set a default result.
11165 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11166 * gdb.base/Makefile.in: General cleanup and simplification.
11171 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11173 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11174 * gdb.c++/Makefile.in: General cleanup and simplification.
11181 * gdb.base/recurse.exp: Misc changes to get tests running again
11183 * gdb.base/watchpoint.exp: Likewise.
11187 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11191 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11192 * lib/gdb.exp (default_gdb_start): Define.
11193 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11194 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11195 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11196 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11197 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11202 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11205 * lib/gdb.exp (gdb_test_exact): Fix typo.
11207 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11210 * gdb.base/term.exp: Call delete_breakpoints before starting.
11212 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11219 * gdb.base: New directory, contains all the basic tests.
11220 * gdb.c++: New directory, tests specific to C++.
11221 * gdb.chill: New directory, tests specific to Chill.
11222 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11223 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11224 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11225 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11229 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11230 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11231 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11232 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11233 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11234 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11235 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11236 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11237 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11238 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11239 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11240 gdb.c++/virtfunc.cc: New names of C++ files.
11241 * gdb.chill/chillvars.ch: New name of Chill file.
11242 * gdb.base/configure.in, gdb.c++/configure.in,
11243 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11244 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11245 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11252 Various changes to gdb.t31:
11266 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11273 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11274 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11280 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11284 * Makefile.in, configure.in, config/mips-gdb.exp,
11286 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11287 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11288 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11289 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11290 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11291 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11292 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11293 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11294 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11295 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11296 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11297 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11298 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11299 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11310 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11311 lib/gdb.exp: Replace error proc calls with perror.
11315 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11317 gdb startup case where the line numbers might be messed up.
11326 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11334 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11335 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11340 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11343 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11348 * gdb.t24/demangle.exp: change expect pattern of
11353 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11356 * gdb.t07/Makefile.in: Build the new test.
11360 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11370 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11376 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11379 * gdb.disasm/hppa.s: Corresponding changes.
11381 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11384 * gdb.t15/funcargs.exp (finish from indirect call): No longer
11389 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11391 * gdb.t06/break.exp: Likewise.
11392 * gdb.t07/watchpoint.exp: Likewise.
11393 * gdb.t13/bitfields.exp: Likewise.
11394 * gdb.t15/{funcargs,return}.exp: Likewise.
11395 * gdb.stabs/weird.exp: Likewise.
11396 * config/{mips,udi}-gdb.exp: Likewise.
11403 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
11405 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
11406 * gdb.t15/funcargs.exp: Conditionally step again to really
11410 * gdb.t15/gdbme.c: Add comment to closing brace of
11415 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
11420 * gdb.t07/gdbme.c: More code for watchpoint testing.
11422 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11445 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11459 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
11468 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
11470 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
11471 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
11477 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
11483 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
11490 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
11494 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
11497 * gdb.t00/help.exp: Comment out "help set print" tests just like
11502 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
11503 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
11507 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
11510 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
11512 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
11515 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
11516 gdb.t03/ptype.exp (ptype structure, ptype union):
11519 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
11520 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
11522 * gdb.t01/run.exp: Only run shell test if isnative.
11524 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
11528 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
11530 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
11535 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
11537 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
11541 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
11549 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
11551 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
11554 * gdb.disasm/hppa.s (addib_tests): Fix typo.
11555 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
11558 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
11563 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
11566 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
11571 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
11579 * gdb.t00/default.exp: Match udi_attach error message as well as
11582 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
11584 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
11586 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
11587 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
11590 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
11593 unreasonable; what is important is that the compiler+gdb get
11595 to deal with native compilers which put out the stab gdb can't
11600 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
11604 * gdb.t00/help.exp: Comment out "help support" test just like
11609 * gdb.t06/break.exp: Remove setup_xfails for
11610 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
11611 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
11613 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
11615 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
11617 with latest gcc and gdb.
11618 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
11628 * gdb.t10/hppa.mt: A makefile fragment for the PA.
11629 * gdb.t10/configure.in (hppa*-*-*): Use it.
11633 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
11637 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
11642 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
11647 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
11650 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
11656 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
11657 gdb.t31/chillvars.exp, lib/gdb.exp:
11659 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
11660 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
11661 * gdb.t11/list.exp: Remove extraneous whitespace.
11665 * gdb.t16/printcmds.exp (test_print_strings): Accept
11673 * gdb.t06/configure.in: Don't try to compile signals test program
11682 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
11687 * config/unix-gdb.exp: Remove gdb_unload cause it's already
11688 defined in lib/gdb.exp.
11692 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
11694 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
11707 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
11710 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
11712 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
11718 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
11719 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
11725 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
11729 * gdb.t06/signals.exp: Add kludge to force re-sync.
11731 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
11732 to xgdb instead of gdb, get out of gdb.
11736 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
11741 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
11742 * gdb.stabs/configure.in (hppa*-*-*): Use it.
11743 * gdb.stabs/hppa.sed: New sed script for the PA.
11747 * gdb.stabs: Re-write weird.def and configuration to use sed
11752 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
11756 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
11760 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11762 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11763 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11767 * lib/gdb.exp: Comment out code which depends on non-existent
11772 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11773 * lib/gdb.exp: Transform tool name.
11774 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11779 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11783 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11790 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
11794 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
11796 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
11801 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
11808 * gdb.t09/corefile.exp: At end of test, use "core" command with
11813 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11820 * gdb.t15/funcargs.exp: Don't put comments on same line as
11825 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11829 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11830 * gdb.t20/inherit.exp: remove three dumplicate entries.
11834 * gdb.t06/break.exp: For "next over recursive call", fail on any
11839 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11845 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11852 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11856 * configure.in (configdirs): Add gdb.disasm
11857 * gdb.disasm: New directory for GDB disassembler tests.
11858 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11862 * gdb.t00/help.exp: Don't test "help set".
11864 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11868 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11871 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11874 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11876 * gdb.t13/comp-info.c: Removed.
11880 * gdb.t06/signals.exp: Add xfail for sun3.
11884 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11890 * gdb.stabs/alpha.mt: New configuration file for alpha.
11891 * gdb.stabs/configure.in: Use it.
11892 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11894 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11896 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11898 * gdb.t00/teststrategy.exp: Change expect string so that we
11899 consume the `(xgdb)' from the command echo and from the gdb prompt.
11900 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11901 gdb currently compares all values as long, so this failure probably
11903 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
11905 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
11907 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
11910 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
11915 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
11917 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
11919 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
11921 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
11925 * gdb.t24 (demangle.exp): Constructors of templates have names like
11929 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11933 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11938 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11948 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11952 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11953 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11958 * config/vx-gdb.exp: Use fake device to load files rather than
11960 * lib/gdb.exp: New proc to do "file" command.
11961 * config/unix-gdb.exp: Use new "file" proc.
11965 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11968 * gdb.stabs/weird.exp: If a program is being debugged already,
11970 * gdb.t04/setvar.exp: Stop and restart gdb.
11971 * gdb.t05/expr.exp: Likewise.
11972 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11973 restart gdb and reload the program.
11974 * gdb.t08/opaque.exp: Likewise.
11975 * gdb.t12/scope.exp: Likewise.
11976 * gdb.t13/bitfields.exp: Likewise.
11977 * gdb.t15/funcargs.exp: Likewise.
11978 * gdb.t20/classes.exp: Likewise.
11979 * gdb.t03/ptype.exp: Increase timeout.
11980 * gdb.t16/printcmds.exp (test_print_string_constants,
11982 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11983 * gdb.t20/classes.exp (do_tests): Likewise.
11984 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11988 * gdb.stabs: Renamed *wierd* to *weird*.
11992 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11997 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12007 * gdb.t15/{return.c,return.exp,Makefile.in}:
12012 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12018 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12022 * config/unix-gdb: Use default procedures for exit and version.
12023 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12028 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12031 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12032 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12034 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12036 * config/unix-gdb.exp: Remove this version of gdb_exit
12037 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12042 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12045 * gdb.t20/classes.exp: Update expected results of "ptype class
12050 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12052 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12054 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12055 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12056 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12057 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12058 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12064 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12066 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12070 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12071 as vax gdb will display them.
12075 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12081 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12082 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12084 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12088 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12093 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12096 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12101 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12102 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12104 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12106 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12112 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
12122 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12124 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12126 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12128 * config/unix-gdb.exp: gdb_exit remains here, and should override
12135 * gdb.t24/demangle.exp: Add tests for PR 3220.
12139 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12143 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12146 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12152 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12156 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12160 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12161 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12164 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12169 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12172 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12176 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12181 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12186 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12188 * gdb.t10/nodebug.c: Add local and global test variables for
12193 * config/unix-gdb.exp (gdb_exit): Add "wait".
12197 * gdb.t06/signals.exp: xfail the continue from the handler for all
12200 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12204 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12209 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12211 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12217 * gdb.t09/Makefile.in (clean): Remove corefile.
12221 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12226 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12232 * gdb.t17/interrupt.exp: Add xfail for hppa.
12236 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12237 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12238 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12241 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12242 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12247 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12251 * gdb.t06/break.exp: Also test `clear' command.
12255 * gdb.t00/teststrategy.exp: Remove extra quote.
12257 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12260 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12264 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12270 * lib/gdb.exp (runto): Don't insist that function we are running to
12273 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12275 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12281 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12283 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12288 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12292 * gdb.t16/printcmds.exp: Add another printf test.
12301 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12306 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12310 * gdb.t17/interrupt.exp: Test for more things.
12314 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12317 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12321 * gdb.t00/help.exp: Increase expect input buffer size.
12325 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12327 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12329 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12331 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12336 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12338 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12342 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12346 * gdb.t06/signals.c: Add xfails for sun3.
12348 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12350 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12355 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12357 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12359 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12362 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12366 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12371 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12373 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12378 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12383 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12387 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12391 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
12396 * gdb.t16/printcmds.exp: Add printf tests.
12398 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12400 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12404 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
12409 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12411 * gdb.stabs/wierd.exp: Add xfail for rs6000.
12413 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12421 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12426 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12431 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12433 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12438 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
12443 * gdb.t01/run.exp: Start with a fresh gdb.
12444 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
12449 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12450 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
12451 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
12457 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
12462 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
12463 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
12465 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
12466 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
12467 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
12471 * gdb.t00/teststrategy.exp: Rework to provide more useful
12474 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
12480 * gdb.t12/scope.exp: Test printing of variables before run.
12482 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
12487 * gdb.t00/teststrategy.exp: Fix expected results for printing
12491 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
12493 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
12494 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
12495 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
12497 * gdb.t00/radix.exp: New tests for radix commands.
12501 * gdb.t16/printcmd.exp: Print a variable before running program
12506 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
12508 * gdb.t16/printcmd.exp: Don't print variables before running program.
12510 * gdb.t06/break.exp: Don't require envp argument to main.
12512 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
12514 * gdb.t02/whatis.exp, gdb.t11/list.exp:
12517 * gdb.t02/whatis.exp: Change other tests not to re-test something
12520 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
12525 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
12535 * gdb.t11/list.exp: Fixed a couple of typos.
12539 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
12541 * gdb.t16 (gdbme.c): Add simple test string variable.
12542 * gdb.t16 (printcmds.exp): Add tests with simple test string
12547 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
12551 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
12553 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
12554 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
12557 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
12560 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
12566 * gdb.t00/default.exp: Start with a fresh gdb.
12567 * configure.in (configdirs): Remove gdb.t31 until the chill
12570 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
12572 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
12577 * Move test with enums and partial symbols from gdb.t03/ptype.exp
12578 to gdb.stabs/wierd.exp since GCC has worked around the bug.
12579 gdb.stabs/wierd.{exp,def}: Many new tests.
12581 * gdb.t00/default.exp: update info line for new message.
12583 * gdb.t02/{whatis.exp,gdbme.c}:
12588 * gdb.t00/help.exp: Use .* in place of some help messages which
12590 gdb.t00/default.exp: Update "info frame" test for new message.
12591 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
12596 * gdb.t03/{gdbme.c,ptype.exp}:
12600 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
12604 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
12609 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
12612 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
12616 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
12620 * configure.in (configdirs): Add gdb.t24 for C++ tests that
12622 * gdb.t21/demangle.exp: Move to gdb.t24.
12623 * gdb.t24/demangle.exp: Move from gdb.t21.
12624 * gdb.t24/{Makefile.in, configure.in}: New files.
12628 * configure.in: Do gdb.stabs and C++ tests only for stabs.
12629 * gdb.stabs: New directory.
12633 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12638 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
12643 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
12644 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
12645 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
12646 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
12647 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
12648 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12649 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12650 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
12651 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
12652 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
12653 gdb.t31/chillvars.exp, lib/gdb.exp:
12655 bug-gdb@prep.ai.mit.edu.
12659 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
12664 * gdb.t06/break.exp: Update for "Kill the program" message change.
12685 * gdb.t*/configure.in: new files.
12689 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
12694 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
12699 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
12703 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
12708 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
12712 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
12714 * gdb.t30/chexp.exp: Remove setup_xfail for printing
12716 * gdb.t31/chillvars.exp: Fix expected patterns for printing
12721 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
12722 which causes expect to get out of sync with gdb on long output
12724 * gdb.t09/corefile.exp: Make expected pattern for core file
12729 * gdb.t31/chillvars.exp: Add and remove initial dummy
12732 * gdb.t31/chillvars.exp: Update for changed output format.
12736 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
12745 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
12752 pmi variable from gdb.t20/gdbme to get optimized away.
12753 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
12758 * config/unix-gdb.exp: Add missing return 0.
12762 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
12767 * configure.in (subdirs): Put back gdb.t17 which mysteriously
12772 * gdb.t10/crossload.exp: Disable the i860-elf test until such
12775 * gdb.t15/funcargs.exp: Fix expected outputs to include
12781 * config/udi-gdb.exp (gdb_exit): Remove close command.
12784 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12786 some more responses used by a29k-amd-udi-gdb.
12787 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12790 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12791 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12792 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
12793 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
12794 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
12795 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
12796 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12797 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
12798 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
12800 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
12802 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
12805 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
12818 * gdb.t31/gdbme.ch: Re-enable code that previously caused
12820 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
12825 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
12827 * gdb.t31/chillvars.exp: Comment out tests that depend on that
12832 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12833 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12835 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12841 * Makefile.in (SUBDIRS): Add gdb.t17.
12842 * configure.in (subdirs): Add gdb.t17.
12843 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12844 files to test gdb's calling of functions in the inferior with
12845 the correct arguments and gdb's ability to retrieve any
12850 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12851 may be called after gdb goes away. Previous versions of expect
12854 * gdb.t00/gdbvars.exp: Use -re on expected output after
12856 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12858 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12863 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12868 * gdb.t00/default.exp: Change expected output for default "source"
12869 command, to match new gdb behavior which requires a filename to
12874 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12876 * gdb.t10/crossload.exp (bfddefault): Allow successful
12880 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12882 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12884 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12887 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12888 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12889 gdb.t23/templates.exp: Change failure for missing binfile into
12891 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12896 * gdb.t00/default.exp: Add expected output for default "source"
12897 command, to match new gdb behavior.
12898 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12902 * config/*-gdb.exp: returns an error, rather than exiting on
12907 * gdb.t03/gdbme.c: Add pointer to struct variable.
12908 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
12914 * config/mips-gdb.exp: New file for remote board using MIPS remote
12917 * Redid configuration scheme. Removed gdb.t*/configure.in.
12918 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
12923 * lib/gdb.exp (runto): Don't expect () after the function name,
12928 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12929 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12931 * gdb.t00/default.exp (attach): Kill process if requested.
12932 * gdb.t00/help.exp (help target core, help target): Accept a gdb
12934 * gdb.t01/run.exp: Removed checks for exit status code.
12935 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12937 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12938 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12940 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12942 * gdb.t10/crossload.exp: Kill existing program if needed.
12943 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12949 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12951 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12953 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
12959 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12961 * gdb.t00/default.exp: Make show version insensitive to copyright
12963 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12965 * gdb.t16/printcmds.exp: Update expected results for explicitly
12967 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12969 * gdb.t21/demangle.exp: Add many more patterns for template
12971 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12973 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12976 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12978 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12982 * gdb/testsuite: made modifications to testcases, etc., to allow
12988 * gdb/testsuite: Initial creation of gdb/testsuite.
12990 gdb/testsuite from deja-gnu. These files were moved "as is"
12996 For additional changes see gdb.mi/ChangeLog-1999-2003.