3 * gdb.base/break1.c (struct some_struct): New struct.
5 * gdb.base/completion.exp: Add field name completion test.
9 * gdb.cp/call-c.exp: Test for incorrect handling of reference
11 * gdb.cp/call-c.cc: Likewise.
15 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
21 * gdb.threads/execl.c, gdb.threads/execl1.c,
22 gdb.threads/execl.exp: New tests.
27 * gdb.cp/exception.exp: Activate test, make it work with pending
32 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
36 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
38 * gdb.mi/mi2-var-cmd.exp: Likewise.
42 * gdb.base/frame-args.exp: Handle arguments that are optimized
47 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
48 quiet for ppc32 and group options into a single variable.
52 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
53 of zero-size elements.
54 * gdb.ada/null_array.exp: Test printing this new array.
58 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
62 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
63 of the "finish" command.
67 * gdb.base/annota1.exp: Test for new annotation.
71 * gdb.base/fixsection.exp: New file.
72 * gdb.base/fixsection0.c: New file.
73 * gdb.base/fixsection1.c: New file.
77 * gdb.base/annota1.exp: Accept printf@... in place of printf.
78 * gdb.base/annota3.exp: Likewise.
82 * gdb.base/watch_thread_num.exp: Don't run tests that require
83 watchpoints if the target doesn't support them.
87 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
91 * gdb.ada/assign_1.exp: New testcase.
95 * gdb.base/find.exp: New file.
96 * gdb.base/find.c: New file.
100 * gdb.base/commands.exp (watchpoint_command_test): Handle
101 gdb,no_hardware_watchpoints.
102 * gdb.base/float.exp: Allow ARM targets without floating point.
103 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
108 * gdb.ada/lang_switch: New test program.
109 * gdb.ada/lang_switch.exp: New testcase.
113 * gdb.base/help.exp (disassemble): Update expected help text.
117 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
121 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
126 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
127 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
128 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
129 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
133 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
134 notification to appear.
138 * gdb.base/fullname.c: New file.
139 * gdb.base/fullname.exp: New file.
140 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
144 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
145 expressions with macros.
149 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
153 * gdb.base/completion.exp: Handle lack of other symbols beginning
156 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
160 * gdb.asm/asmsrc1.s: Add scratch space.
164 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
168 * gdb.base/info-target.exp: New testcase.
172 * gdb.cp/hang.exp: Use .cc instead of .C.
173 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
174 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
178 * gdb.base/gdb1250.exp: Remove perror.
179 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
183 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
188 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
193 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
197 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
198 * gdb.mi/mi2-syn-frame.exp: Likewise.
199 * lib/mi-support.exp: Likewise.
203 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
204 to specify regexp for the location to stop at.
205 * gdb.base/break-always.c: New.
206 * gdb.base/break-always.exp: New.
210 * lib/mi-support.exp (mi_runto_helper): Adjust
211 for the original-location field.
212 (mi_create_breakpoint, mi_list_breakpoints): New.
213 * gdb.mi/mi-break.exp: Adjust.
214 * gdb.mi/mi2-break.exp: Adjust.
215 * gdb.mi/mi-pending.exp: Adjust.
216 * gdb.mi/mi-simplerun.exp: Adjust.
217 * gdb.mi/mi2-simplerun.exp: Adjust.
218 * gdb.mi/mi-syn-frame.exp: Adjust.
219 * gdb.mi/mi2-syn-frame.exp: Adjust.
220 * gdb.mi/mi-until.exp: Adjust.
221 * gdb.mi/mi2-until.exp: Adjust.
222 * gdb.mi/mi-var-display.exp: Adjust.
223 * gdb.mi/mi2-var-display.exp: Adjust.
224 * gdb.mi/mi-watch.exp: Adjust.
225 * gdb.mi/mi2-watch.exp: Adjust.
229 * aclocal.m4: Add override.m4.
230 * configure: Regenerate.
234 * gdb.mi/var-cmd.c (do_at_tests): Verify that
235 '-var-update --all-values' reports new value even the type
236 of a variable object has changed.
240 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
245 * gdb.ada/atomic_enum: New test program.
246 * gdb.ada/atomic_enum.exp: New testcase.
250 * gdb.opt/Makefile.in: Fix whitespace.
254 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
258 * gdb.base/hashline1.exp: New testcase.
259 * gdb.base/hashline2.exp: New testcase.
260 * gdb.base/hashline2.exp: New testcase.
264 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
268 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
269 temporary breakpoint to match "Temporary breakpoint".
270 * gdb.base/break.exp (delete_breakpoints): Likewise.
271 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
272 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
273 * gdb.base/display.exp: Likewise.
274 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
275 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
276 * gdb.base/restore.exp (restore_tests): Likewise.
277 * gdb.base/sepdebug.exp: Likewise.
278 * gdb.base/watchpoint.exp: Likewise.
279 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
280 * gdb.mi/mi-pending.exp: Likewise.
281 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
282 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
283 * gdb.mi/mi-var-cmd.exp: Likewise.
284 * gdb.mi/mi-var-display.exp: Likewise.
285 * gdb.mi/mi2-cli.exp: Likewise.
286 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
287 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
288 * gdb.mi/mi2-var-display.exp: Likewise.
289 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
290 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
292 (mi_expect_stop): Move after_reason argument to be really after
293 reason. This is to support fix for PR2424.
297 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
301 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
302 field. Add more floating varobj tests.
303 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
305 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
306 (main): Call do_at_tests.
307 * lib/mi-support.exp (mi_create_floating_varobj)
308 (mi_varobj_update_with_type_change): New.
312 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
313 option of -var-evaluate-expression.
314 * gdb.mi/mi2-var-display.exp: Likewise.
318 Introduce test setup helpers.
319 * lib/gdb.exp (build_executable, clean_restart)
320 (prepare_for_testing): New.
321 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
322 * gdb.base/return.exp: Likewise.
323 * gdb.base/ending-run.exp: Likewise.
327 * gdb.mi/mi-async.exp: New test for asynchronous Machine
328 Interface (MI) responses.
332 * gdb.cp/breakpoint.cc: New code to test conditions involving
334 * gdb.cp/breakpoint.exp: Test condition involving member
339 * lib/mi-support.exp (mi_expect_stop): New.
340 (mi_run_cmd): Change the
341 token. Use mi_send_resuming_command, use
343 (mi_execute_to_helper): Rename to mi_execute_to.
344 (mi_send_resuming_command): Add more error patterns.
345 (mi_wait_for_stop): Renamed to...
346 (mi_get_stop_line): ...this.
347 (mi_run_inline_test): Adjust.
349 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
350 * gdb.mi/mi-console.exp: Likewise.
351 * gdb.mi/mi-pending.exp: Likewise.
352 * gdb.mi/mi-simplerun.exp: Likewise.
353 * gdb.mi/mi-stack.exp: Likewise.
354 * gdb.mi/mi-stepi.exp: Likewise.
355 * gdb.mi/mi-syn-frame.exp: Add comment.
356 * gdb.mi/mi-until.exp: Likewise.
357 * gdb.mi/mi-var-display.exp: Likewise.
358 * gdb.mi/mi-watch.exp: Likewise.
359 * gdb.mi/mi2-cli.exp: Likewise.
360 * gdb.mi/mi2-console.exp: Likewise.
361 * gdb.mi/mi2-simplerun.exp: Likewise.
362 * gdb.mi/mi2-stack.exp: Likewise.
363 * gdb.mi/mi2-stepi.exp: Likewise.
364 * gdb.mi/mi2-until.exp: Likewise.
365 * gdb.mi/mi2-var-display.exp: Likewise.
366 * gdb.mi/mi2-watch.exp: Likewise.
370 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
372 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
376 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
377 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
378 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
379 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
380 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
381 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
382 expect an mi error duplicated in stderr.
386 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
387 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
388 Add a couple of tests that verify the behavior when the new setting
389 is set to "cancel" and "all".
390 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
391 "ask" before we start the testing.
395 * gdb.cp/casts.cc: Add class reference variables.
396 * gdb.cp/casts.exp: New test cases for up/down casting references.
400 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
401 instead of beginning to make an extra test pass.
402 * gdb.mi/mi2-var-display.exp: Likewise.
406 * gdb.base/break.exp: Mark failures as such. Fix formatting.
411 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
412 value. Add xfail for older kernels.
416 Bring mi-support in line with gdb.exp.
417 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
418 (mi_gdb_start): New function.
422 * gdb.mi/mi-var-cmd.exp: Fix a typo.
426 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
427 * gdb.mi/mi2-var-display.exp: Likewise.
431 * lib/mi-support.exp (mi_create_varobj_checked): New.
432 (mi_list_varobj_children): Allow to check for a
434 (mi_list_array_varobj_children): New.
436 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
437 and mi_list_varobj_children, as opposed to hardcoding
439 * gdb.mi/gdb701.exp: Likewise.
440 * gdb.mi/gdb792.exp: Likewise.
441 * gdb.mi/mi-var-block.exp: Likewise.
442 * gdb.mi/mi-var-cmd.exp: Likewise.
443 * gdb.mi/mi-var-invalidate.exp: Likewise.
444 * gdb.mi/mi2-var-block.exp: Likewise.
445 * gdb.mi/mi2-var-child.exp: Likewise.
446 * gdb.mi/mi2-var-cmd.exp: Likewise.
447 * gdb.mi/mi2-var-display.exp: Likewise.
451 Fix random false FAILs on i386.
452 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
457 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
462 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
466 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
471 * gdb.threads/fork-child-threads.exp: Test next over fork.
475 * gdb.base/break.exp (rbreak junk): New test for rbreak
476 "Junk at end of arguments" issue.
480 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
481 *& to work on created array elements.
482 (Top level): Test print $pc with a file. Test string operations
484 * gdb.base/ptype.exp: Do not expect *& to work on created array
489 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
490 gdb.threads/staticthreads.exp: Update exit query.
494 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
498 * gdb.base/watchpoint.c (global_ptr, func4): New.
500 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
501 (test_inaccessible_watchpoint): New.
505 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
510 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
511 frames-invalid annotations.
515 * gdb.base/assign.exp: avoid same output for different tests.
519 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
521 (breakpoint_to_handler_entry): Ditto.
525 * gdb.base/ending-run.exp: Use the first line of code inside
526 function body to test breakpoints.
527 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
528 location where the breakpoint is inserted when using the line
529 where a function is declared. Fix typo in the description of
531 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
535 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
540 * gdb.base/args.exp: avoid same output for tests
545 * gdb.base/annota1.exp: Adjust for 'info break'
547 * gdb.base/annota3.exp: Likewise.
548 * gdb.base/break.exp: Likewise.
549 * gdb.base/condbreak.exp: Likewise.
550 * gdb.base/pending.exp: Likewise.
551 * gdb.base/sepdebug.exp: Likewise.
552 * gdb.base/unload.exp: Likewise.
553 * gdb.cp/ovldbreak.exp: Likewise.
554 * gdb.mi/mi-pending.exp: Likewise.
558 * gdb.cp/mb-inline.exp: New.
559 * gdb.cp/mb-inline.h: New.
560 * gdb.cp/mb-inline1.cc: New.
561 * gdb.cp/mb-inline2.cc: New.
565 * gdb.pascal/floats.pas: New test program.
566 * gdb.pascal/floats.exp: New testcase.
570 * gdb.base/callfuncs.c (t_float_many_args): New function.
571 (t_double_many_args): New function.
572 * gdb.base/callfuncs.exp: Add tests for exceeding float
573 and double parameters passed through the stack.
577 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
578 gdb.ada/complete/foo.adb: New files.
579 * gdb.ada/complete.exp: New testcase.
583 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
585 * gdb.cp/gdb2384.exp: New file.
586 * gdb.cp/gdb2384.cc: New file.
587 * gdb.cp/gdb2384-base.h: New file.
588 * gdb.cp/gdb2384-base.cc: New file.
592 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
596 * gdb.ada/sym_print_name: New test program.
597 * gdb.ada/sym_print_name.exp: New testcase.
601 * gdb.ada/nested/hello.adb: New file.
602 * gdb.ada/nested.exp: New testcase.
603 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
607 * gdb.mi/basic.c (return_1): New function.
608 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
609 don't cause future evaluations of function to report
610 creation of internal breakpoints.
614 * gdb.mi/mi-break.exp (test_error): New.
619 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
620 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
624 * gdb.pascal/integers.pas: New test program.
625 * gdb.pascal/integers.exp: New testcase.
629 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
633 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
634 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
638 * gdb.ada/formatted_ref: New test program.
639 * gdb.ada/formatted_ref.exp: New testcase.
641 * gdb.cp/formatted-ref.cc: New file.
642 * gdb.cp/formatted-ref.exp: New testcase.
646 * gdb.base/ptype.exp: Add testing of "ptype $pc".
650 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
651 (test_file_list_exec_source_file): Update to new macro-info field.
655 * gdb.ada/exprs: New test program.
656 * gdb.ada/exprs.exp: New testcase.
660 * dfp-test.c (DELTA, DELTA_B): New definitions.
661 (double_val1, double_val2, double_val3, double_val4, double_val5,
662 double_val6, double_val7, double_val8, double_val9, double_val10,
663 double_val11, double_val12, double_val13, double_val14, dec32_val1,
664 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
665 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
666 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
667 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
668 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
669 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
670 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
671 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
672 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
673 dec128_val16): New global variables.
674 (decimal_dec128_align): New function.
675 (decimal_mixed): Likewise.
676 (decimal_many_args_dec32): Likewise.
677 (decimal_many_args_dec64): Likewise.
678 (decimal_many_args_dec128): Likewise.
679 (decimal_many_args_mixed): Likewise.
680 * dfp-test.exp: Add tests calling new inferior functions.
684 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
685 gdb.server/ext-run.exp: New files.
686 * lib/gdbserver-support.exp (gdbserver_download): New.
687 (gdbserver_start): New. Update gdbserver expected
689 (gdbserver_spawn): Use them.
690 (gdbserver_start_extended): New.
694 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
696 (do_exec_tests): Check for systems which do not support catchpoints.
698 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
699 Run on GNU/Linux. Enable verbose output.
700 (check_fork_catchpoints): New.
701 (explicit_fork_child_follow, catch_fork_child_follow)
702 (tcatch_fork_parent_follow): Update expected messages.
703 (do_fork_tests): Use check_fork_catchpoints.
704 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
705 Run on GNU/Linux. Enable verbose output.
706 (check_vfork_catchpoints): New.
707 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
709 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
713 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
715 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
719 * gdb.threads/sigthread.c: Use barriers to ensure that
720 child_thread and child_thread_two are always initialized before we
725 * gdb.base/watchpoint-solib.exp: New.
726 * gdb.base/watchpoint-solib.c: New.
727 * gdb.base/watchpoint-solib-shr.c: New.
731 * gdb.base/gdb1056.exp: Add unsigned integer test.
735 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
739 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
741 * gdb.base/expand-psymtabs.exp: Doc fix.
745 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
749 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
754 * gdb.threads/thread_events.c: New testcase source file.
755 * gdb.threads/thread_events.exp: New testcase expect file.
759 * lib/gdb.exp: Add the variable octal.
761 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
767 * gdb.base/float.exp: Allow missing floating point for m68k and
772 * gdb.mi/basics.c: Setup for testing breakpoints
774 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
775 * gdb.mi/mi-cli.exp: Adjust.
776 * gdb.mi/mi2-cli.exp: Adjust.
780 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
781 and 'dummy_ptr' integer pointer. Initialize struct_declarations
782 with dummy_ptr's address.
783 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
784 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
786 * gdb.mi/mi2-var-child.exp: Likewise.
790 * gdb.ada/null_array: New test program.
791 * gdb.ada/null_array.exp: New testcase.
795 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
796 with required float modifiers.
800 * gdb.ada/funcall_param: New test program.
801 * gdb.ada/funcall_param.exp: New testcase.
805 * gdb.ada/arrayparam: New test program.
806 * gdb.ada/arrayparam.exp: New testcase.
810 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
811 landed. Should also fix random failures in the test following it.
815 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
816 for expressions with decimal float values.
817 (test_dfp_conversions): New function to test casts to and from
819 Call test_dfp_conversions.
820 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
822 (main): Initialize ds.float4 and ds.double8 elements.
823 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
824 string to new error message.
825 (d64_set_tests): Likewise.
826 (d128_set_tests): Likewise.
827 Add tests for expressions with decimal float variables. Add tests for
828 conversions to and from decimal float types.
832 * gdb.ada/packed_tagged/comp_bug.adb: New file.
833 * gdb.ada/packed_tagged.exp: New testcase.
837 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
838 gdb.ada/homonym/homonym_main.adb: New files.
839 * gdb.ada/homonym.exp: New testcase.
843 * gdb.ada/packed_array.exp: Add testing of references to
848 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
850 * gdb.ada/type_coercion.exp: New testcase.
854 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
855 gdb.ada/tagged/foo.adb: New file.
856 * gdb.ada/tagged.exp: New testcase.
860 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
861 gdb.ada/ptype_field/foo.adb: New files.
862 * gdb.ada/ptype_field.exp: New testcase.
866 * gdb.ada/print_pc.exp: New testcase.
870 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
871 gdb.ada/taft_type/p.adb: New files.
872 * gdb.ada/taft_type.exp: New testcase.
876 * gdb.ada/array_bounds/bar.adb: New file.
877 * gdb.ada/array_bounds.exp: New testcase.
881 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
882 gdb.ada/arrayptr/foo.adb: New files.
883 * gdb.ada/arrayptr.exp: New testcase.
887 * gdb.base/set-lang-auto.exp: New testcase.
891 * gdb.ada/fun_addr/foo.adb: New file.
892 * gdb.ada/fun_addr.exp: New testcase.
896 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
901 * array_subscript_addr/p.adb: New file.
902 * array_subscript_addr.exp: New testcase.
906 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
908 * gdb.ada/str_cmp_ref.exp: New testcase.
912 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
913 gdb.ada/fun_in_declare/foo.adb: New files.
914 * gdb.ada/fun_in_declare.exp: New testcase.
918 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
919 gdb.ada/ref_param/pck.ads: New files.
920 * gdb.ada/ref_param.exp: New testcase.
924 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
925 gdb.ada/interface/foo.adb: New files.
926 * gdb.ada/interface.exp: New testcase.
930 * gdb.base/multi-forks.exp: Consume all output from child
931 processes before proceeding to next test.
935 * configure: Regenerated.
939 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
940 gdb.ada/fixed_cmp/fixed.adb: New files.
941 * gdb.ada/fixed_cmp.exp: New testcase.
945 * gdb.ada/boolean_expr.exp: New testcase.
949 * gdb.base/multi-forks.exp: Doc fix.
953 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
954 * gdb.ada/char_param.exp: Do not compile our test program with
955 -gnata, this is unnecessary.
956 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
960 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
961 gdb.ada/print_chars/foo.adb: New files.
962 * gdb.ada/print_chars.exp: New testcase.
966 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
967 gdb.ada/char_param/foo.adb: New files.
968 * gdb.ada/char_param.exp: New testcase.
972 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
973 hard-coding source line numbers into the test.
974 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
975 gdb_get_line_number to find.
979 * gdb.base/ptype.c (highest): New struct type.
980 (the_highest): New variable of that type.
981 (main): Add dummy assignment to a field of variable the_highest.
982 * gdb.base/ptype.exp: Test type printing of our new variable.
986 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
987 and record first explicitly generated thread number.
988 Use that thread number for thread specific watchpoint test.
989 Add iteration number to repetitive tests.
994 * gdb.base/expand-psymtabs.c: New testcase
996 * gdb.base/expand-psymtabs.exp: New testcase
1001 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
1002 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
1006 * gdb.ada/frame_args/foo.adb: New file.
1007 * gdb.ada/frame_args/pck.ads: New file.
1008 * gdb.ada/frame_args/pck.adb: New file.
1009 * gdb.ada/frame_args.exp: New testcase.
1013 * gdb.base/frame-args.c: New file.
1014 * gdb.base/frame-args.exp: New testcase.
1019 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
1023 * gdb.mi/mi-pending.exp: New.
1024 * gdb.mi/mi-pending.c: New.
1025 * gdb.mi/mi-pendshr.c: New.
1029 * gdb.base/default.exp: Update expected output for 'info catch'.
1033 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
1034 must be set to binary.
1038 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
1042 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
1043 gdb.mi/mi-file-transfer.exp: New.
1047 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
1051 * gdb.trace/backtrace.exp: Fix a typo.
1052 * gdb.trace/circ.exp: Likewise.
1053 * gdb.trace/collection.exp: Likewise.
1054 * gdb.trace/limits.exp: Likewise.
1055 * gdb.trace/report.exp: Likewise.
1056 * gdb.trace/tfind.exp: Likewise.
1057 * gdb.trace/while-dyn.exp: Likewise.
1061 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
1062 objects of pointers that can't be dereferenced are now
1067 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
1068 (target_cpu): Remove.
1072 * gdb.base/ending-run.exp: Expect the list of cleared
1073 breakpoint to come in natural order, not the reversed one.
1077 * gdb.mi/mi-var-child.c (do_child_deletion): New.
1078 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
1082 * gdb.base/printcmds.exp: New function
1083 test_printf_with_dfp.
1087 * gdb.disasm/t01_mov.s: Remove carriage returns.
1088 * gdb.disasm/t02_mova.s: Ditto.
1089 * gdb.disasm/t03_add.s: Ditto.
1090 * gdb.disasm/t04_sub.s: Ditto.
1091 * gdb.disasm/t05_cmp.s: Ditto.
1092 * gdb.disasm/t06_ari2.s: Ditto.
1093 * gdb.disasm/t07_ari3.s: Ditto.
1094 * gdb.disasm/t08_or.s: Ditto.
1095 * gdb.disasm/t09_xor.s: Ditto.
1096 * gdb.disasm/t10_and.s: Ditto.
1097 * gdb.disasm/t11_logs.s: Ditto.
1098 * gdb.disasm/t12_bit.s: Ditto.
1099 * gdb.disasm/t13_otr.s: Ditto.
1103 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
1107 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
1108 provide DFP support.
1112 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
1113 Test "set powerpc vector-abi". Skip auto-detection tests for old
1118 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
1119 with [string compare].
1123 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
1124 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
1128 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
1129 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
1130 * gdb.opt/Makefile.in: New makefile.
1131 * Makefile.in: Create new directory "gdb.opt".
1132 * configure.ac: Add "gdb.opt" directory.
1133 * configure: Regenerated.
1137 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
1138 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
1143 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
1144 Floating Point expressions.
1145 * gdb.base/dfp-test.exp: new file adding tests for Decimal
1146 Floating Point variables.
1147 * gdb.base/dfp-test.c: new file containing program with Decimal
1148 Floating variables, used by gdb.base/dfp-test.exp.
1152 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
1156 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
1157 compiling test case with GCC.
1158 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
1162 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
1167 * gdb.base/dbx.exp: Add missing "-re " operator.
1171 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
1172 * configure.ac: Removed trailing spaces after backslash.
1173 * gdb.modula2: New directory.
1174 * gdb.modula2/Makefile.in: New file.
1175 * gdb.modula2/unbounded-array.exp: New file.
1176 * gdb.modula2/unbounded1.c: New file.
1180 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
1184 * gdb.base/sigstep.c (main): Add checks for
1185 return values for setitimer call.
1186 Call setitimer again with itimer = ITIMER_REAL
1187 if first call to setitimer fails.
1191 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
1196 * gdb.server/server-run.exp: Test for dynamic linker symbols.
1200 * lib/gdb.exp (gdb_run_cmd): Move comment outside
1201 of gdb_expect call, to avoid interruption.
1205 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
1206 (v_unsigned_long_long, v_long_long_array)
1207 (v_signed_long_long_array, v_unsigned_long_long_array)
1208 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
1209 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
1210 [!NO_LONG_LONG]: New.
1211 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
1214 (v_long_long_func, v_signed_long_long_func)
1215 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
1216 (main) [!NO_LONG_LONG]: Initialize long long variants.
1218 * gdb.base/whatis.exp: If board file requests no_long_long, build
1219 test with NO_LONG_LONG defined. Test long long, signed long long,
1220 and unsigned long long variants but only if board file doesn't
1226 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
1227 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
1228 * configure: Regenerated.
1229 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
1230 gdb.pascal/types.exp, lib/pascal.exp: New files.
1234 * gdb.cp/classes.exp (do_tests): Always step to the line after the
1236 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
1237 to return to the call.
1238 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
1239 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
1240 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
1241 * gdb.mi/mi-until.exp (test_until): Likewise.
1242 * gdb.mi/mi2-until.exp (test_until): Likewise.
1246 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
1248 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
1252 * gdb.threads/watchthreads.c (thread_function): Sleep between
1254 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
1255 at once for S/390. Generate matching fails and passes.
1259 * gdb.mi/var-cmd.c (do_children_tests): Initialize
1260 the 'struct_declarations' variable to zeros.
1264 * gdb.cp/mb-ctor.cc: New.
1265 * gdb.cp/mb-ctor.exp: New.
1266 * gdb.cp/mb-templates.cc: New.
1267 * gdb.cp/mb-templates.exp: New.
1271 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
1275 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
1277 * configure: Regenerate.
1281 * gdb.base/annota1.exp: Adjust for 'info break'
1283 * gdb.base/annota3.exp: Likewise.
1284 * gdb.base/break.exp: Likewise.
1285 * gdb.base/condbreak.exp: Likewise.
1286 * gdb.base/pending.exp: Likewise.
1287 * gdb.base/sepdebug.exp: Likewise.
1288 * gdb.base/unload.exp: Likewise.
1289 * gdb.base/ovldbreak.exp: Likewise.
1293 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
1295 * gdb.base/chng-syms.exp: Likewise.
1296 * gdb.base/unload.exp: Likewise.
1300 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
1304 * schedlock.c (NUM): Change to 1.
1305 (main): Use args[0] for the main thread.
1306 * schedlock.exp: Only expect two threads. Only issue one pass or fail
1307 regardless of the number of threads.
1311 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
1313 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
1315 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
1316 watchpoint type down.
1317 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
1322 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
1323 Move all the tests here and run them twice, once using software
1324 watchpoints and once using hardware watchpoints.
1325 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
1329 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
1334 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
1337 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
1338 know about $ORIGIN. Calculate output dir from $dest instead of
1339 using ${objdir}/{$subdir}.
1343 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
1344 gcore, before continuing with the test.
1348 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
1349 * gdb.mi/mi-watch.exp: Likewise.
1354 * gdb.arch/i386-sse.exp: Do not expect character constants.
1355 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
1356 * gdb.base/display.exp: Allow print/s.
1357 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
1358 and unsigned char array changes.
1362 * gdb.base/display.exp: Add tests for printf %p.
1366 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
1367 the dll name to unicode.
1371 * gdb.base/default.exp (show version): Update the version text.
1372 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
1376 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
1381 * lib/gdb.exp (build_id_debug_filename_get): New function.
1382 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
1383 Remove the generate DEBUG file for the future testcase runs.
1384 New testcase for the NT_GNU_BUILD_ID retrieval.
1385 Move the final testing step to ...
1386 (test_different_dir): ... a new function.
1387 New parameter XFAIL to XFAIL all the tests performed.
1388 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
1389 New parameter TYPE to PF_PREFIX all the tests performed.
1393 * gdb.mi/mi-var-cp.cc (path_expression): New
1395 * gdb.mi/mi-var-cp.exp: Run path exression tests.
1399 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
1400 to fit into SPU Local Store memory.
1404 * gdb.base/default.exp: Adjust the expected output of "info
1405 warranty" after the switch to GPLv3.
1409 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
1410 to 30000 (from 20000).
1414 Switch the license of all .exp files to GPLv3.
1415 Switch the license of all .f and .f90 files to GPLv3.
1416 Switch the license of all .s and .S files to GPLv3.
1420 * configure.ac: Switch license to GPLv3.
1424 Switch the licensing to GPLv3 for all .ads and .adb files.
1428 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
1430 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
1434 * gdb.base/step-line.c: Switch license to GPL version 3, and
1435 update copyright year.
1436 * gdb.base/step-line.inp: Likewise.
1440 * gdb.base/gdb1555.exp: Make expected output immune to formatting
1441 changes inside gdb1555.c.
1442 * gdb.base/pending.exp: Likewise.
1446 * config/default.exp: New file.
1450 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
1451 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
1455 * gdb.base/dump.exp: Force the correct endianness for binary
1456 formats not carrying this information.
1460 * gdb.threads/staticthreads.exp: Match .*sem_post.
1464 * gdb.base/readline.exp (operate_and_get_next): Match the final
1469 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
1474 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
1475 prior to `gdb_start'.
1479 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
1480 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
1481 Remove call to gdb_unload.
1486 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
1488 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
1489 * gdb.base/unload.exp: Use shared library test routines.
1493 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
1494 * gdb.base/solib-symbol-lib.c: Likewise.
1495 * gdb.base/solib-symbol-main.c: Likewise.
1499 * config/gdbserver.exp (gdb_reconnect): New.
1500 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
1501 gdb.base/solib-disc.exp: New files.
1502 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
1504 (gdb_compile): Add shlib_load flag.
1505 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
1507 (gdbserver_reconnect): New.
1512 * gdb.base/annota3.exp: Test for if construct.
1516 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
1521 * gdb.base/display.exp: Allow a newline after display/i.
1522 * gdb.base/pc-fp.exp: Likewise.
1523 * gdb.base/sigbpt.exp: Likewise.
1527 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
1528 required features to be included.
1532 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
1533 in info threads output.
1538 * gdb.arch/spu-info.exp: New testcase.
1539 * gdb.arch/spu-info.c: New file.
1543 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
1544 tpcs_offset. Restore lr after the call.
1545 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
1549 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
1550 (gdbserver_run): Kill any running gdbserver.
1551 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
1555 * gdb.base/sigbpt.exp: Preset segv_addr.
1559 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
1560 (gdb_compile_shlib): Likewise.
1561 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
1562 (default_gdb_init): Clear cleanfiles.
1563 (gdb_finish): Delete recorded cleanfiles.
1564 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
1566 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
1567 Do not use isnative.
1568 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
1569 gdb.base/so-impl-ld.exp: Likewise.
1570 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
1571 * gdb.base/unload.exp: Likewise. Do not pass empty option to
1576 * config/unknown.exp: Remove.
1580 * gdb.base/info-proc.exp: Check is_remote.
1584 * gdb.base/gcore.exp: Initialize variable core_supported.
1588 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
1592 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
1593 * gdb.threads/print-threads.exp (test_all_threads): Allow
1594 negative and hexadecimal thread IDs.
1598 * gdb.java/jprint.java (public): Avoid invalid call to static
1603 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
1604 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
1605 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
1606 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
1607 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
1611 * gdb.base/overlays.exp: Add support for targets with only code
1612 overlay support, not data overlay. Support spu-*-* target in
1614 * gdb.base/ovlymgr.c: Provide stubs for spu target.
1615 * gdb.base/spu.ld: New file.
1619 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
1623 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
1627 * gdb.java/jmain.exp: Handle demangled names with and without method
1632 * gdb.mi/mi-syn-frame.c (main, foo, bar)
1633 (have_a_very_merry_interrupt): Remove calls to puts.
1634 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
1636 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
1642 * gdb.base/auxv.exp (core_works): Also check is_remote.
1643 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
1647 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
1648 message, not the undefined 'module' variable.
1649 * gdb.base/siginfo.exp: Likewise.
1650 * gdb.base/sigstep.exp: Likewise.
1651 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
1653 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
1657 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
1658 target sim fails. Return 0 otherwise.
1659 (gdb_load): Return prematurely if gdb_target_sim fails.
1663 * gdb.base/setshow.exp: Reset height after having set it to 100.
1667 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
1671 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
1675 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
1676 tests. Run the frozen varobjs test.
1677 * gdb.mi/var-cmd.c (do_frozen_tests): New.
1678 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
1682 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
1683 gdb.base/type-opaque.exp: New files.
1687 * gdb.mi/mi-var-child.c
1688 (do_children_tests): User char[2] instead of
1689 char so that automatic printing of pointers to char
1690 don't give unpredicable result.
1691 * gdb.mi/var-cmd.c (do_locals_test): Initialize
1693 * gdb.mi/mi-var-child.exp: Step to right line
1694 of do_children_tests.
1695 * gdb.mi/mi2-var-child.exp: Likewise.
1696 * gdb.mi/mi-var-cmd.exp: Step to right line of
1698 (do_children_tests): User char[2] instead of
1699 char so that automatic printing of pointers to char
1700 don't give unpredicable result.
1701 * gdb.mi/mi2-var-cmd.exp: Likewise.
1702 * lib/mi-support.exp (mi_continue_to_line):
1703 Pass test name to mi_wait_for_stop.
1707 * gdb.asm/asm-source.exp: Remove d10v case.
1708 * lib/gdb.exp (skip_cplus_tests): Likewise.
1709 * gdb.asm/d10v.inc: Deleted.
1713 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
1717 * config/netware.exp: Delete file.
1721 * gdb.dwarf2/dw2-noloc.S: New file.
1722 * gdb.dwarf2/dw2-noloc.exp: New file.
1726 * gdb.cp/method2.cc: New test.
1727 * gdb.cp/method2.exp: New test.
1728 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
1732 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
1736 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
1740 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
1741 (gdb_load): Delete, replace with...
1742 (gdb_reload): ...this.
1743 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
1744 * gdb.server/server-mon.exp: Likewise.
1745 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
1746 (gdb_start_cmd): New.
1747 (gdb_file_cmd): Save the last loaded file.
1749 (gdb_gnu_strip_debug): Use transform.
1750 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
1751 support here. Use new $last_loaded_file. Check mtime.
1752 (gdb_target_cmd): Handle ObjC failure case.
1753 (infer_host_exec): Delete.
1754 (gdbserver_load): Rename to...
1755 (gdbserver_run): ...this. Simplify.
1756 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
1757 (mi_gdb_load): Move most contents to a new function...
1758 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
1759 (mi_run_cmd): Use mi_gdb_target_load.
1760 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
1761 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
1763 * gdb.base/charsign.exp: Remove incorrect comment.
1764 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
1765 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
1766 gdb.base/start.exp: Use gdb_start_cmd.
1771 * gdb.base/sigbpt.exp: Fix the message when skipping test.
1772 * gdb.base/signull.exp: Similarly.
1776 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
1777 messages available to test cases (like chng-sym.exp).
1781 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
1786 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
1788 (main): Call optimized_1.
1789 (gdb2029): Correct typos. Call gdb2029_marker.
1790 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
1795 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
1796 as tabs. Remove redundant test pattern.
1800 * gdb.base/long_long.exp: Accept optional symbol name in <...>
1801 for /a format output.
1805 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
1806 collect output incrementally.
1810 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
1811 for -var-create lpcharacter test.
1812 * gdb.mi/mi2-var-cmd.exp: Likewise.
1816 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
1817 pass on targets where address zero is readable.
1821 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
1822 just a single architecture.
1826 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
1827 (fetch_all_registers): New function, uses gdb_test_multiple and
1828 exp_continue to fetch inferior output line-by-line.
1829 Replace all uses of do_get_all_registers by fetch_all_registers.
1833 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
1838 * gdb.threads/manythreads.exp: Use $message string for
1839 consistancy; add a default (timeout) case.
1843 * gdb.base/watchpoint.exp: Fix truncated comment.
1847 * Makefile.in: Remove spurious single-quotes from sed command.
1851 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
1853 * gdb.mi/mi2-var-cmd.exp: Likewise.
1857 * gdb.dwarf2/dw2-producer.S: New file.
1858 * gdb.dwarf2/dw2-producer.exp: New testcase.
1862 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
1863 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
1864 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
1865 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
1866 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1867 Revert tests to use mi_gdb_test and include value field in output
1872 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
1876 * gdb.base/maint.exp: Remove full paths from test names.
1877 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
1878 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
1882 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
1886 * gdb.server/server-mon.exp: New test.
1890 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
1894 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
1895 register capitalization.
1899 * gdb.mi/mi-var-invalidate.exp: New file.
1903 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
1907 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
1911 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
1912 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
1916 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
1917 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
1918 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
1919 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
1920 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1921 * gdb.mi/gdb792.exp, lib/mi-support.exp:
1922 Update tests to include value field in output of -var-create.
1926 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
1930 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
1931 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
1935 * gdb.threads/threadapply.exp: check that frame is not changed by
1936 the thread apply all command.
1940 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
1942 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
1943 in the dwarf sections.
1944 * gdb.dwarf2/mac-fileno.S: Likewise.
1946 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
1947 bspstore register on ia64.
1951 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
1952 "frame-begin" annotation.
1954 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
1955 number of "frames-invalid" annotations.
1959 * gdb.base/commands.exp: Call if_commands_test.
1960 (gdb_test_no_prompt, if_commands_test): New.
1964 * gdb.threads/sigthread.c (NSIGS): Make bigger.
1968 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
1969 .short/.int/.quad in the dwarf sections.
1970 * gdb.dwarf2/dw2-intercu.S: Likewise.
1971 * gdb.dwarf2/dw2-intermix.S: Likewise.
1975 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
1976 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
1978 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
1979 * gdb.base/setvar.exp: Likewise.
1983 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
1986 * gdb.base/multi-forks.exp ("restart $i"): Also match
1987 __kernel_syscall_via_break.
1991 * lib/mi-support.exp (mi_delete_varobj): New.
1992 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
1994 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
1995 (main): Call the above.
1996 (reference_update_test, base_in_reference_test)
1997 (reference_to_pointer): Delete the created varobjs.
2001 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
2002 * configure: Regenerated.
2003 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
2004 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
2005 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
2006 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
2007 * lib/gdb.exp (gdb_skip_xml_test): New function.
2011 * gdb.base/sigrepeat.exp: Correct error message.
2016 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
2017 gdb.arch/i386-gnu-cfi-asm.S: New files.
2021 * lib/gdb.exp: Abort on missing `site.exp'.
2026 * gdb.base/included.c, gdb.base/included.exp,
2027 gdb.base/included.h: New files.
2031 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
2032 (maximize_rlimit): Reduce limits on 64-bit systems.
2037 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
2042 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
2043 (test_path_specification): Use objdir instead of srcdir to always
2044 get an absolute filename.
2048 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
2052 * gdb.mi/mi-var-cp.cc (reference_update_tests):
2053 Make sure the variable we're using is in scope.
2054 (reference_to_pointer): Likewise.
2058 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
2059 has no debug information.
2063 * gdb.base/annota1.exp: Remove extra send_gdb.
2067 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
2071 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
2076 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
2077 lcharacter or linteger change. Correct duplicated test name.
2078 * gdb.mi/mi2-var-cmd.exp: Likewise.
2082 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
2086 * gdb.base/nofield.c: New file.
2087 * gdb.base/nofield.exp: New testcase.
2091 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
2093 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
2098 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
2102 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
2107 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
2108 Expect ".exe" extension.
2112 * gdb.base/charset.exp: Add explicit filename to break.
2113 * gdb.base/dbx.exp: Add explicit filename to breaks.
2117 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
2118 * gdb.mi/mi2-file.exp: Likewise.
2122 Implement specification of MI tests as comments
2123 in C and C++ sources.
2124 * lib/mi-support.exp (mi_autotest_data): New variable.
2125 (mi_autotest_source): New variable.
2126 (count_newlines, mi_prepare_inline_tests)
2127 (mi_get_inline_test, mi_continue_to_line)
2128 (mi_run_inline_test, mi_tbreak)
2129 (mi_send_resuming_command, mi_wait_for_stop): New functions.
2130 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
2132 * gdb.mi/mi-var-cp.cc: Define tests here.
2136 Simplify usage of mi_continue_to.
2137 * lib/mi-support.exp (mi_runto_helper): Renamed
2138 from mi_runto, added new parameter 'run_or_continue'.
2139 (mi_runto): Use mi_runto_helper.
2140 (mi_continue_to): Accept just function name as parameter.
2141 Use mi_runto_helper.
2142 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
2143 * gdb.mi/mi2-var-cmd.exp: Likewise.
2147 Make this testcase a bit more realistic. The current code
2148 is too simplistic, and allows the compiler to optimize out
2149 some of the entities we need for this testcase.
2150 * gdb.ada/null_record/bar.ads (Void_Star): New type.
2151 (Do_Nothing): Add extra parameter.
2152 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
2153 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
2154 by using a variable of type Void_Star.
2158 * gdb.ada/catch_ex/foo.adb: New file.
2159 * gdb.ada/catch_ex.exp: New testcase.
2163 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
2164 pass --image-base to linker.
2169 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
2174 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
2175 output. Test the types of members and member pointers.
2176 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
2178 * gdb.cp/member-ptr.exp: Search for a comment instead of a
2179 statement. Enable for GCC. Update expected output for some tests
2180 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
2182 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
2183 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
2184 (Diamond::vget_base): New.
2185 (main): Add new tests.
2186 * gdb.cp/printmethod.exp: Update expected output for member functions.
2187 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
2192 * gdb.threads/tls.exp: Allow stops in sem_post.
2196 * gdb.base/annota1.exp: Allow .*printf in backtraces.
2197 * gdb.base/annota3.exp: Likewise.
2198 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
2199 again (instead of timing out).
2200 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
2202 * gdb.java/jmisc.exp: Adjust to work with method signatures including
2203 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
2204 test from jmisc1.exp.
2205 * gdb.java/jmisc1.exp: Delete.
2206 * gdb.java/jprint.exp: Adjust to work with method signatures including
2208 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
2209 * gdb.threads/linux-dp.exp: Don't be confused by program output.
2210 * lib/java.exp (compile_java_from_source): Pass the correct type
2215 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
2216 (stack_align_edx): New function.
2217 (stack_align_eax): New function.
2218 (main): Add calls to stack_align_edx and stack_align_eax.
2219 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
2220 Add testing for the cases where the register used during a stack
2221 realignment is edx. Same for eax.
2225 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
2226 and generic PE targets.
2230 * gdb.ada/array_return.exp: Update copyright date list.
2234 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
2235 (Create_Small_Float_Vector): New function.
2236 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
2238 * gdb.ada/array_return/p.adb: Use new type and function from
2240 * gdb.ada/array_return.exp: Add a test verifying that GDB is
2241 able to print the value returned by a function returning an
2246 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
2247 The associated tests should be PASSing.
2251 Test for base in references.
2252 * gdb.mi/mi-var-cp.cc: Add test code.
2253 * gdb.mi/mi-var-cp.exp: Test for bases in references.
2254 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
2255 * gdb.mi/mi2-watch.exp: Likewise.
2256 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
2257 (mi_list_varobj_children): New function.
2261 * lib/mi-support.exp
2262 (mi_runto): Accept "()" after function name.
2263 (mi_create_varobj): New function.
2264 (mi_varobj_update): New function.
2265 (mi_Check_varobj_value): New function.
2266 * gdb.mi/mi-var-cp.exp: New file.
2267 * gdb.mi/mi-var-cp.cc: New file.
2271 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
2272 gdb.base/weaklib2.c: New files.
2276 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
2277 info. Adjust test names.
2279 * gdb.base/break.c (main): Move position of malloc.
2280 * gdb.base/break.exp: Revert mistaken checkin.
2284 * gdb.mi/mi-var-cmd.exp: Check -var-update after
2285 assignement of arrays and function pointers.
2286 * gdb.mi/var-cmd.c: Add declaration necessary for above
2291 * gdb.base/break.c (main): Call malloc.
2293 * gdb.threads/linux-dp.exp: Read thread table before and after
2294 creating each philosopher and verify it.
2300 * gdb.base/ending-run.exp: Flatten expect script stepping out of
2301 main to remove duplication. Add start function of the form
2302 '_*start[1-9]*'. Add RVDS start function.
2306 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
2310 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
2311 * gdb.asm/spu.inc: New file.
2312 * gdb.base/term.exp: Disable if [target_info exists noargs].
2313 * gdb.gdb/complaints.exp: Disable if ![isnative].
2314 * gdb.gdb/selftest.exp: Likewise.
2315 * gdb.gdb/observer.exp: Likewise.
2316 * gdb.gdb/xfullpath.exp: Likewise.
2317 * gdb.base/attach.exp: Disable on SPU target.
2318 * gdb.cp/bs145503.exp: Likewise.
2319 * gdb.cp/exception.exp: Likewise.
2320 * gdb.cp/userdef.exp: Likewise.
2324 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
2328 * gdb.base/completion.exp: Fix completion tests for
2330 * gdb.base/help.exp (help_test_raw, test_class_help)
2331 (test_prefix_command_help): Move...
2332 * lib/gdb.exp: Here.
2333 * gdb.base/main.exp: Adjust.
2334 * gdb.cp/maint.exp: Adjust.
2335 * gdb.trace/tracecmd.exp: Use test_help_class.
2339 * gdb.stabs/weird.exp (print_weird_var): Use
2340 gdb_test_multiple instead of gdb_expect.
2344 * gdb.base/help.exp (help_test_raw): New.
2345 (test_class_help): New.
2346 (test_prefix_command_help): New.
2351 * gdb.base/constvars.c (main): Write to crass and crips, so that
2352 they are allocated by the compiler.
2356 * gdb.base/multi-forks.exp: Use "detach fork" instead of
2361 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
2366 * gdb.base/sepdebug.exp: Remove debug format test.
2367 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
2369 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
2373 * gdb.threads/manythreads.c (thread_function, main): Don't cast
2374 int to pointer or pointer to int.
2375 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
2379 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
2383 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
2388 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
2392 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
2393 the corresponding bug has been fixed in GDB (PR/2018).
2397 * gdb.base/subst.exp: New testcase.
2401 * gdb.ada/array_return/pck.ads: Add copyright notice.
2402 * gdb.ada/array_return/pck.adb: Likewise.
2403 * gdb.ada/array_return/p.adb: Likewise.
2404 * gdb.ada/exec_changed/first.adb: Likewise.
2405 * gdb.ada/exec_changed/second.adb: Likewise.
2409 * gdb.ada/watch_arg/watch.adb: New file.
2410 * gdb.ada/watch_arg.exp: New testcase.
2414 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
2415 via string_to_regexp.
2416 * gdb.mi/mi2-basics.exp: Likewise.
2420 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
2421 Remove unused / obsolete files.
2425 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
2429 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
2430 HIGH_FRAME argument to -stack-list-arguments can be larger than
2431 the number of frames.
2435 * gdb.base/args.c (main): Add breakpoint marker.
2436 * gdb.base/args.exp: Use args_test for tests. Add new tests which
2437 really test empty arguments.
2438 (args_load): Delete.
2443 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
2448 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
2449 HIGH_FRAME argument to -stack-list-locals can be larger than
2450 the number of frames.
2454 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
2455 '$' in front of skip_vmx_tests_saved when setting that.
2459 * gdb.base/trace-commands.exp: New file.
2464 * gdb.base/step-bt.exp: Make hexadecimal address optional in
2465 expected output of the backtrace commands.
2469 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
2470 untested followed by return combination.
2471 * gdb.arch/altivec-regs.exp: Likewise.
2472 * gdb.arch/e500-abi.exp: Likewise.
2473 * gdb.arch/e500-regs.exp: Likewise.
2474 * gdb.arch/gdb1291.exp: Likewise.
2475 * gdb.arch/gdb1431.exp: Likewise.
2476 * gdb.arch/gdb1558.exp: Likewise.
2477 * gdb.arch/i386-prologue.exp: Likewise.
2478 * gdb.arch/i386-unwind.exp: Likewise.
2479 * gdb.asm/asm-source.exp: Likewise.
2480 * gdb.base/a2-run.exp: Likewise.
2481 * gdb.base/advance.exp: Likewise.
2482 * gdb.base/all-bin.exp: Likewise.
2483 * gdb.base/annota1.exp: Likewise.
2484 * gdb.base/annota3.exp: Likewise.
2485 * gdb.base/args.exp: Likewise.
2486 * gdb.base/arithmet.exp: Likewise.
2487 * gdb.base/assign.exp: Likewise.
2488 * gdb.base/async.exp: Likewise.
2489 * gdb.base/attach.exp: Likewise.
2490 * gdb.base/bang.exp: Likewise.
2491 * gdb.base/bigcore.exp: Likewise.
2492 * gdb.base/bitfields.exp: Likewise.
2493 * gdb.base/bitfields2.exp: Likewise.
2494 * gdb.base/break.exp: Likewise.
2495 * gdb.base/call-sc.exp: Likewise.
2496 * gdb.base/call-strs.exp: Likewise.
2497 * gdb.base/callfuncs.exp: Likewise.
2498 * gdb.base/checkpoint.exp: Likewise.
2499 * gdb.base/chng-syms.exp: Likewise.
2500 * gdb.base/code-expr.exp: Likewise.
2501 * gdb.base/commands.exp: Likewise.
2502 * gdb.base/completion.exp: Likewise.
2503 * gdb.base/cond-expr.exp: Likewise.
2504 * gdb.base/condbreak.exp: Likewise.
2505 * gdb.base/consecutive.exp: Likewise.
2506 * gdb.base/constvars.exp: Likewise.
2507 * gdb.base/corefile.exp: Likewise.
2508 * gdb.base/cvexpr.exp: Likewise.
2509 * gdb.base/dbx.exp: Likewise.
2510 * gdb.base/define.exp: Likewise.
2511 * gdb.base/detach.exp: Likewise.
2512 * gdb.base/display.exp: Likewise.
2513 * gdb.base/dump.exp: Likewise.
2514 * gdb.base/ena-dis-br.exp: Likewise.
2515 * gdb.base/ending-run.exp: Likewise.
2516 * gdb.base/environ.exp: Likewise.
2517 * gdb.base/eval-skip.exp: Likewise.
2518 * gdb.base/exprs.exp: Likewise.
2519 * gdb.base/fileio.exp: Likewise.
2520 * gdb.base/finish.exp: Likewise.
2521 * gdb.base/float.exp: Likewise.
2522 * gdb.base/foll-exec.exp: Likewise.
2523 * gdb.base/foll-fork.exp: Likewise.
2524 * gdb.base/foll-vfork.exp: Likewise.
2525 * gdb.base/freebpcmd.exp: Likewise.
2526 * gdb.base/funcargs.exp: Likewise.
2527 * gdb.base/gcore.exp: Likewise.
2528 * gdb.base/gdb1090.exp: Likewise.
2529 * gdb.base/gdb1250.exp: Likewise.
2530 * gdb.base/huge.exp: Likewise.
2531 * gdb.base/info-proc.exp: Likewise.
2532 * gdb.base/interrupt.exp: Likewise.
2533 * gdb.base/jump.exp: Likewise.
2534 * gdb.base/langs.exp: Likewise.
2535 * gdb.base/lineinc.exp: Likewise.
2536 * gdb.base/list.exp: Likewise.
2537 * gdb.base/logical.exp: Likewise.
2538 * gdb.base/long_long.exp: Likewise.
2539 * gdb.base/macscp.exp: Likewise.
2540 * gdb.base/maint.exp: Likewise.
2541 * gdb.base/mips_pro.exp: Likewise.
2542 * gdb.base/miscexprs.exp: Likewise.
2543 * gdb.base/multi-forks.exp: Likewise.
2544 * gdb.base/opaque.exp: Likewise.
2545 * gdb.base/overlays.exp: Likewise.
2546 * gdb.base/pc-fp.exp: Likewise.
2547 * gdb.base/pointers.exp: Likewise.
2548 * gdb.base/printcmds.exp: Likewise.
2549 * gdb.base/psymtab.exp: Likewise.
2550 * gdb.base/ptype.exp: Likewise.
2551 * gdb.base/recurse.exp: Likewise.
2552 * gdb.base/relational.exp: Likewise.
2553 * gdb.base/relocate.exp: Likewise.
2554 * gdb.base/remote.exp: Likewise.
2555 * gdb.base/reread.exp: Likewise.
2556 * gdb.base/restore.exp: Likewise.
2557 * gdb.base/return.exp: Likewise.
2558 * gdb.base/return2.exp: Likewise.
2559 * gdb.base/scope.exp: Likewise.
2560 * gdb.base/sect-cmd.exp: Likewise.
2561 * gdb.base/sep.exp: Likewise.
2562 * gdb.base/sepdebug.exp: Likewise.
2563 * gdb.base/setshow.exp: Likewise.
2564 * gdb.base/setvar.exp: Likewise.
2565 * gdb.base/sigall.exp: Likewise.
2566 * gdb.base/sigbpt.exp: Likewise.
2567 * gdb.base/signals.exp: Likewise.
2568 * gdb.base/signull.exp: Likewise.
2569 * gdb.base/sizeof.exp: Likewise.
2570 * gdb.base/solib.exp: Likewise.
2571 * gdb.base/step-line.exp: Likewise.
2572 * gdb.base/step-test.exp: Likewise.
2573 * gdb.base/structs.exp: Likewise.
2574 * gdb.base/structs2.exp: Likewise.
2575 * gdb.base/term.exp: Likewise.
2576 * gdb.base/twice.exp: Likewise.
2577 * gdb.base/until.exp: Likewise.
2578 * gdb.base/varargs.exp: Likewise.
2579 * gdb.base/volatile.exp: Likewise.
2580 * gdb.base/watchpoint.exp: Likewise.
2581 * gdb.base/whatis-exp.exp: Likewise.
2582 * gdb.base/whatis.exp: Likewise.
2583 * gdb.cp/ambiguous.exp: Likewise.
2584 * gdb.cp/annota2.exp: Likewise.
2585 * gdb.cp/annota3.exp: Likewise.
2586 * gdb.cp/bool.exp: Likewise.
2587 * gdb.cp/breakpoint.exp: Likewise.
2588 * gdb.cp/casts.exp: Likewise.
2589 * gdb.cp/class2.exp: Likewise.
2590 * gdb.cp/classes.exp: Likewise.
2591 * gdb.cp/cplusfuncs.exp: Likewise.
2592 * gdb.cp/ctti.exp: Likewise.
2593 * gdb.cp/derivation.exp: Likewise.
2594 * gdb.cp/exception.exp: Likewise.
2595 * gdb.cp/gdb1355.exp: Likewise.
2596 * gdb.cp/hang.exp: Likewise.
2597 * gdb.cp/inherit.exp: Likewise.
2598 * gdb.cp/local.exp: Likewise.
2599 * gdb.cp/m-data.exp: Likewise.
2600 * gdb.cp/m-static.exp: Likewise.
2601 * gdb.cp/member-ptr.exp: Likewise.
2602 * gdb.cp/method.exp: Likewise.
2603 * gdb.cp/misc.exp: Likewise.
2604 * gdb.cp/namespace.exp: Likewise.
2605 * gdb.cp/overload.exp: Likewise.
2606 * gdb.cp/ovldbreak.exp: Likewise.
2607 * gdb.cp/pr-1023.exp: Likewise.
2608 * gdb.cp/pr-1210.exp: Likewise.
2609 * gdb.cp/pr-574.exp: Likewise.
2610 * gdb.cp/printmethod.exp: Likewise.
2611 * gdb.cp/psmang.exp: Likewise.
2612 * gdb.cp/ref-params.exp: Likewise.
2613 * gdb.cp/ref-types.exp: Likewise.
2614 * gdb.cp/rtti.exp: Likewise.
2615 * gdb.cp/templates.exp: Likewise.
2616 * gdb.cp/try_catch.exp: Likewise.
2617 * gdb.cp/userdef.exp: Likewise.
2618 * gdb.cp/virtfunc.exp: Likewise.
2619 * gdb.disasm/am33.exp: Likewise.
2620 * gdb.disasm/h8300s.exp: Likewise.
2621 * gdb.disasm/mn10300.exp: Likewise.
2622 * gdb.disasm/sh3.exp: Likewise.
2623 * gdb.disasm/t01_mov.exp: Likewise.
2624 * gdb.disasm/t02_mova.exp: Likewise.
2625 * gdb.disasm/t03_add.exp: Likewise.
2626 * gdb.disasm/t04_sub.exp: Likewise.
2627 * gdb.disasm/t05_cmp.exp: Likewise.
2628 * gdb.disasm/t06_ari2.exp: Likewise.
2629 * gdb.disasm/t07_ari3.exp: Likewise.
2630 * gdb.disasm/t08_or.exp: Likewise.
2631 * gdb.disasm/t09_xor.exp: Likewise.
2632 * gdb.disasm/t10_and.exp: Likewise.
2633 * gdb.disasm/t11_logs.exp: Likewise.
2634 * gdb.disasm/t12_bit.exp: Likewise.
2635 * gdb.disasm/t13_otr.exp: Likewise.
2636 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2637 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2638 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2639 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
2640 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
2641 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2642 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2643 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2644 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
2645 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2646 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2647 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2648 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2649 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2650 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2651 * gdb.mi/gdb701.exp: Likewise.
2652 * gdb.mi/gdb792.exp: Likewise.
2653 * gdb.mi/mi-basics.exp: Likewise.
2654 * gdb.mi/mi-break.exp: Likewise.
2655 * gdb.mi/mi-cli.exp: Likewise.
2656 * gdb.mi/mi-console.exp: Likewise.
2657 * gdb.mi/mi-disassemble.exp: Likewise.
2658 * gdb.mi/mi-eval.exp: Likewise.
2659 * gdb.mi/mi-file.exp: Likewise.
2660 * gdb.mi/mi-read-memory.exp: Likewise.
2661 * gdb.mi/mi-regs.exp: Likewise.
2662 * gdb.mi/mi-return.exp: Likewise.
2663 * gdb.mi/mi-simplerun.exp: Likewise.
2664 * gdb.mi/mi-stack.exp: Likewise.
2665 * gdb.mi/mi-stepi.exp: Likewise.
2666 * gdb.mi/mi-syn-frame.exp: Likewise.
2667 * gdb.mi/mi-until.exp: Likewise.
2668 * gdb.mi/mi-var-block.exp: Likewise.
2669 * gdb.mi/mi-var-child.exp: Likewise.
2670 * gdb.mi/mi-var-cmd.exp: Likewise.
2671 * gdb.mi/mi-var-display.exp: Likewise.
2672 * gdb.mi/mi-watch.exp: Likewise.
2673 * gdb.mi/mi2-basics.exp: Likewise.
2674 * gdb.mi/mi2-break.exp: Likewise.
2675 * gdb.mi/mi2-cli.exp: Likewise.
2676 * gdb.mi/mi2-console.exp: Likewise.
2677 * gdb.mi/mi2-disassemble.exp: Likewise.
2678 * gdb.mi/mi2-eval.exp: Likewise.
2679 * gdb.mi/mi2-file.exp: Likewise.
2680 * gdb.mi/mi2-read-memory.exp: Likewise.
2681 * gdb.mi/mi2-regs.exp: Likewise.
2682 * gdb.mi/mi2-return.exp: Likewise.
2683 * gdb.mi/mi2-simplerun.exp: Likewise.
2684 * gdb.mi/mi2-stack.exp: Likewise.
2685 * gdb.mi/mi2-stepi.exp: Likewise.
2686 * gdb.mi/mi2-syn-frame.exp: Likewise.
2687 * gdb.mi/mi2-until.exp: Likewise.
2688 * gdb.mi/mi2-var-block.exp: Likewise.
2689 * gdb.mi/mi2-var-child.exp: Likewise.
2690 * gdb.mi/mi2-var-cmd.exp: Likewise.
2691 * gdb.mi/mi2-var-display.exp: Likewise.
2692 * gdb.mi/mi2-watch.exp: Likewise.
2693 * gdb.stabs/exclfwd.exp: Likewise.
2694 * gdb.stabs/weird.exp: Likewise.
2695 * gdb.threads/gcore-thread.exp: Likewise.
2696 * gdb.trace/actions.exp: Likewise.
2697 * gdb.trace/backtrace.exp: Likewise.
2698 * gdb.trace/circ.exp: Likewise.
2699 * gdb.trace/collection.exp: Likewise.
2700 * gdb.trace/deltrace.exp: Likewise.
2701 * gdb.trace/infotrace.exp: Likewise.
2702 * gdb.trace/limits.exp: Likewise.
2703 * gdb.trace/packetlen.exp: Likewise.
2704 * gdb.trace/passc-dyn.exp: Likewise.
2705 * gdb.trace/passcount.exp: Likewise.
2706 * gdb.trace/report.exp: Likewise.
2707 * gdb.trace/save-trace.exp: Likewise.
2708 * gdb.trace/tfind.exp: Likewise.
2709 * gdb.trace/tracecmd.exp: Likewise.
2710 * gdb.trace/while-dyn.exp: Likewise.
2711 * gdb.trace/while-stepping.exp: Likewise.
2715 * gdb.base/step-bt.c: New file.
2716 * gdb.base/step-bt.exp: New testcase.
2720 * config/monitor.exp (gdb_load): Remove support for obsolete
2721 download-write-size.
2722 * gdb.base/remote.exp: Likewise. Update all callers of
2727 * cursal.exp: Pass binfile to gdb_load.
2731 * gdb.base/cursal.exp: Add "" to gdb_load call.
2735 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
2740 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
2745 * gdb.base/completion.exp: Update for change in "file" behavior.
2746 * gdb.stabs/weird.exp: Likewise.
2747 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
2748 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
2752 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
2753 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
2757 * gdb.base/default.exp: Update source command error message.
2758 * gdb.base/help.exp: Update 'help source' message.
2762 * gdb.cp/bs15503.exp: Update comment for no longer crashing
2767 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
2771 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
2775 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
2779 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
2780 *-*-openbsd* from targets for wich we expect ARM FPA floating
2785 * gdb.cp/annota3.exp: Expect frame-begin annotation.
2789 * gdb.base/annota3.exp: Expect frame-begin annotation.
2793 * gdb.base/help.exp: Adjust "help unset" test to accept
2794 any list of unset commands.
2799 * gdb.cp/ref-params.exp: New test.
2800 * gdb.cp/ref-params.cc: New source file.
2801 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
2805 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
2806 spaces/tabs in regular expressions since they might not be there.
2810 * gdb.base/ifelse.exp: New file.
2814 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
2816 * gdb.base/huge.exp: Loop over compilation to find a size that
2818 * gdb.base/remote.exp: Correct expected strings.
2819 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
2823 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
2827 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
2832 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
2833 enable stabs testing.
2837 * gdb.base/auxv.exp: Intercept undefined command messages before
2838 gdb_test_multiple does.
2842 * Makefile.in (host_alias): Remove.
2843 (target_alias): Use @target_noncanonical@.
2844 (site.exp): Don't set host_alias.
2845 * aclocal.m4: Remove contents. Include acx.m4.
2846 * configure: Regenerated.
2847 * configure.ac: Use ACX_NONCANONICAL_TARGET.
2851 * lib/gdb.exp (gdb_load_cmd): New.
2853 * gdb.base/fileio.c: Add system(NULL) test.
2854 * gdb.base/fileio.exp: Check it.
2856 * gdb.base/break.c: Add 10a breakpoint at }
2857 * gdb.base/break.exp: Add test for breakpoint at }
2858 * gdb.cp/anon-union.cc: Add code at end of function.
2859 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
2860 * gdb.mi/var-cmd.c: Add code at end of function.
2861 * gdb.mi/mi-var-display.exp: Adjust end of next.
2862 * gdb.mi/mi2-var-display.exp: Likewise.
2863 * gdb.base/fileio.c: Add stop function and insert calls at
2865 * gdb.base/fileio.exp: Breakpoint stop function and remove
2866 explicit line number references.
2870 * gdb.base/del.exp (test_delete_alias): New function.
2871 Now check that both "del" and "d" work as aliases for "delete".
2875 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
2876 required. Check for spurious output after program exits normally.
2880 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
2881 gdb_load, so it works in the simulator.
2885 * gdb.base/bang.exp: Ignore unexpected output between the
2886 "program exited normally" and the gdb prompt, as many other
2891 * gdb.base/help.exp: Make "delete checkpoint" part option for
2892 "help d" and "help delete" tests.
2896 * gdb.mi/mi-basics.exp: Add missing serial number to
2897 expected output in some mi_gdb_test statements.
2898 * gdb.mi/mi2-basics.exp: Likewise.
2902 * gdb.base/del.c: New file.
2903 * gdb.base/del.exp: New testcase.
2907 * gdb.base/break.exp: Do not assume a breakpoint on
2908 main will actually be in $srcfile when optimizing.
2909 * gdb.base/savedregs.exp: Do not require that the dummy
2910 frame location match up to a symbol and source file location.
2911 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
2912 will get printed without a mi_cmd_data_list_register_values prefix.
2913 (*-data-list-register-*): Correct regular expressions to expect the new
2914 pseudo d? floating point registers.
2915 * gdb.mi/mi2-regs.exp: Likewise.
2919 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
2920 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
2921 is allocated by the compiler.
2922 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
2923 anons, e, anone to force their allocation by the compiler.
2927 * gdb.base/help.exp: Update expected text for help d and
2932 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
2937 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
2938 single-step breakpoint fails; make this a KFAIL on
2940 * gdb.base/siginfo.exp: Likewise.
2941 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2945 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
2946 which may have to consume output from other forks.
2947 Add tests to make sure that "delete fork" succeeded.
2952 Add support for the Renesas M32C and M16C.
2954 * gdb.asm/asm-source.exp: Add m32c target.
2955 * gdb.asm/m32c.inc: Support for m32c target.
2959 * gdb.base/commands.exp (recursive_source_test): New test.
2963 * gdb.base/float.exp: Add pattern for sparc targets.
2967 * gdb.base/commands.exp (stray_arg0_test): New test.
2971 * gdb.mi/mi-until.exp: kfail broken until command.
2972 * gdb.mi/mi2-until.exp: Ditto.
2976 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
2980 * gdb.base/prelink.exp: Anchor tested-for regular expression
2985 * gdb.base/assign.exp: Correct fail message.
2989 * lib/compiler.c: Extract armcc version number.
2990 * lib/compiler.cc: Ditto.
2994 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
2995 additional_flags=-w.
2996 * gdb.arch/altivec-regs.exp: Ditto.
2997 * gdb.arch/e500-abi.exp: Ditto.
2998 * gdb.arch/e500-regs.exp: Ditto.
2999 * gdb.base/all-bin.exp: Ditto.
3000 * gdb.base/annota1.exp: Ditto.
3001 * gdb.base/annota3.exp: Ditto.
3002 * gdb.base/args.exp: Ditto.
3003 * gdb.base/arithmet.exp: Ditto.
3004 * gdb.base/assign.exp: Ditto.
3005 * gdb.base/async.exp: Ditto.
3006 * gdb.base/bang.exp: Ditto.
3007 * gdb.base/break.exp: Ditto.
3008 * gdb.base/call-rt-st.exp: Ditto.
3009 * gdb.base/completion.exp: Ditto.
3010 * gdb.base/cond-expr.exp: Ditto.
3011 * gdb.base/condbreak.exp: Ditto.
3012 * gdb.base/consecutive.exp: Ditto.
3013 * gdb.base/define.exp: Ditto.
3014 * gdb.base/display.exp: Ditto.
3015 * gdb.base/ena-dis-br.exp: Ditto.
3016 * gdb.base/environ.exp: Ditto.
3017 * gdb.base/eval-skip.exp: Ditto.
3018 * gdb.base/info-proc.exp: Ditto.
3019 * gdb.base/jump.exp: Ditto.
3020 * gdb.base/logical.exp: Ditto.
3021 * gdb.base/long_long.exp: Ditto.
3022 * gdb.base/maint.exp: Ditto.
3023 * gdb.base/miscexprs.exp: Ditto.
3024 * gdb.base/pc-fp.exp: Ditto.
3025 * gdb.base/pointers.exp: Ditto.
3026 * gdb.base/relational.exp: Ditto.
3027 * gdb.base/reread.exp: Ditto.
3028 * gdb.base/sect-cmd.exp: Ditto.
3029 * gdb.base/sep.exp: Ditto.
3030 * gdb.base/sepdebug.exp: Ditto.
3031 * gdb.base/until.exp: Ditto.
3032 * gdb.base/whatis-exp.exp: Ditto.
3033 * gdb.cp/annota2.exp: Ditto.
3034 * gdb.cp/annota3.exp: Ditto.
3035 * gdb.trace/actions.exp: Ditto.
3036 * gdb.trace/backtrace.exp: Ditto.
3037 * gdb.trace/circ.exp: Ditto.
3038 * gdb.trace/collection.exp: Ditto.
3039 * gdb.trace/deltrace.exp: Ditto.
3040 * gdb.trace/infotrace.exp: Ditto.
3041 * gdb.trace/limits.exp: Ditto.
3042 * gdb.trace/packetlen.exp: Ditto.
3043 * gdb.trace/passc-dyn.exp: Ditto.
3044 * gdb.trace/passcount.exp: Ditto.
3045 * gdb.trace/report.exp: Ditto.
3046 * gdb.trace/save-trace.exp: Ditto.
3047 * gdb.trace/tfind.exp: Ditto.
3048 * gdb.trace/tracecmd.exp: Ditto.
3049 * gdb.trace/while-dyn.exp: Ditto.
3050 * gdb.trace/while-stepping.exp: Ditto.
3051 * lib/gdb.exp: Ditto.
3052 (gdb_compile): Handle nowarning option.
3056 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
3057 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
3058 Rename executable to prelinkt. Don't re-prelink if we didn't
3059 get a core file. Test prelink -u exit status to tell whether
3060 prelinking failed. Use gdb_test_multiple.
3064 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
3065 (do_tests): Call it.
3069 * gdb.base/prelink.exp: New test.
3070 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
3074 * gdb.fortran/derived-type.f90: New file.
3075 * gdb.fortran/derived-type.exp: New testcase.
3079 * gdb.base/default.exp: Allow ';' as a directory separator.
3083 * gdb.base/help.exp (help add-symbol-file): Update.
3087 * gdb.base/help.exp (help load): Update expected results.
3091 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
3092 specifix hex value as part of results.
3093 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
3097 * gdb.base/whatis.c: Define variables using typedefs char_addr,
3098 ushort_addr, and slong_addr, so the typedefs are not optimized
3100 * gdb.base/whatis.exp: Add tests using type name for struct type,
3101 union type, enum type, and typedef.
3105 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
3109 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
3110 case where it takes two "next" commands to skip past the init
3115 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
3116 to handle cases where it takes two "next" commands to skip
3121 * gdb.ada/array_return.exp: Mark the last test as expected to fail
3126 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
3131 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
3135 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
3140 * gdb.cp/maint.exp: Set complaints to a positive value.
3144 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
3145 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
3150 * gdb.base/checkpoint.c: Update copyright notice. Include
3155 * gdb.asm/asm-source.exp: Independently provide default values for
3156 asm-flags and debug-flags. Use 'string equal' to do the
3157 comparison, not the implicit expr's '==' operator. Remove
3158 now-unneeded assignments to asm-flags. In h8300 case, place
3159 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
3163 * gdb.base/checkpoint.c: New file.
3164 * gdb.base/checkpoint.exp: New file.
3165 * gdb.base/multi-fork.c: New file.
3166 * gdb.base/multi-fork.exp: New file.
3167 * gdb.base/pi.txt: New file (data for checkpoint.c test).
3171 * gdb.base/ptype.c (foo): Add typedef.
3172 (intfoo): Add function.
3173 * gdb.base/ptype1.c: New file.
3174 * gdb.base/ptype.exp: Handle compilation and linking with two
3175 source files. Test that proper type for "foo" is found based
3176 on source context rather than first match found in symtabs.
3180 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
3181 * gdb.asm/openbsd.inc: Indent commands.
3185 * gdb.base/freebpcmd.exp: Increase timeout.
3187 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
3191 * gdb.base/default.exp: Update check for "show version".
3195 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
3196 * gdb.asm/pa64.inc: New file.
3200 * gdb.asm/common.inc: Indent commands.
3201 * gdb.asm/asmsrc1.s: Likewise.
3202 * gdb.asm/asmsrc2.s: Likewise.
3206 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
3207 (get_addr_of_sym): Remove duplicate print.
3208 (gen_core): xfail hppa*-*-hpux*, update expected output.
3209 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
3210 * gdb.arch/pa64-nullify.s: New file.
3214 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
3218 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
3219 code generation for these functions.
3220 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
3225 * gdb.base/help.exp (help b, help br, help bre, help brea)
3226 (help break): Update the expected message.
3230 * gdb.asm/m68hc11.inc: Setup the data section.
3231 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
3232 script for this test.
3233 (m6812-*-*): Likewise.
3237 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
3241 * gdb.base/break.exp: Fix a comment typo.
3247 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
3251 * gdb.arch/gdb1558.c: Include stdio.h.
3255 * gdb.asm/asm-source.exp: Use -e instead of --entry.
3259 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
3263 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
3264 vscr" tests to better match output.
3268 * gdb.base/structs.exp (any): New function.
3269 (test_struct_returns): Don't make any assumptions at all about
3270 what value the function returns when GDB can't set the return
3275 * gdb.ada/arrayidx/p.adb: New file.
3276 * gdb.ada/arrayidx.exp: New testcase
3280 * gdb.ada/array_return/pck.ads: New file.
3281 * gdb.ada/array_return/pck.adb: New file.
3282 * gdb.ada/array_return/p.adb: New file.
3283 * gdb.ada/array_return.exp: New testcase.
3287 * gdb.base/arrayidx.c: New file.
3288 * gdb.base/arrayidx.exp: New testcase.
3292 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
3293 frames-invalid and breakpoints-invalid are no longer generated
3294 with level 3 so don't expect them in the output.
3298 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
3299 from test. Escape the | in mi_gdb_test call.
3300 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
3301 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
3302 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
3303 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
3304 expected regex's in mi_gdb_test calls.
3305 * lib/mi-support.exp: Remove arbitrary .* from tests.
3306 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
3307 Fully anchor GDB/MI expected results in mi_gdb_test.
3308 * lib/gdb.exp (string_to_regexp): Escape the ] character.
3309 * gdb.base/sizeof.exp: Remove escape character. Correct test.
3313 * long_long.exp: Exclude eabi targets from arm FPA float format test.
3317 * bfp-test.c: New file.
3318 * bfp-test.exp: New testcase.
3322 * gdb.fortran/subarray.exp: New testcase to test the evaluation
3323 of subarray and substring variable.
3324 * gdb.fortran/subarray.f: New source file for the test of subarray
3325 and substring variable evaluation.
3326 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
3331 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
3336 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
3337 powerpc altivec' test with an almost identical 'info vector' test.
3341 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
3342 vscr" tests to match output.
3346 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
3351 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
3352 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
3353 commands that return an MI output command and an asyncronous MI output
3355 * gdb.mi/mi-console.exp: Ditto.
3359 * gdb.mi/mi-var-child.c: Include <string.h>.
3363 * killed.exp: Correct gdb_expect syntax.
3367 * lib/mi-support.exp (mi_gdb_load): Fix typo.
3371 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
3372 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
3373 Change tests to inferior-tty-set/show.
3374 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
3375 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
3376 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
3377 inferior. Use mi_gdb_test to get GDB and Inferior output.
3378 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
3380 (mi_inferior_tty_name): Add inferior PTY file name.
3381 (mi_gdb_start): Add INFERIOR_PTY parameter.
3382 (mi_gdb_test): Add IPATTERN parameter.
3386 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
3387 parameter to mi_gdb_test.
3388 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
3392 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
3393 struct_declarations.
3394 * gdb.mi/mi-var-child.exp: Step over the initialization of
3395 struct_declarations.
3399 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
3400 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
3401 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
3402 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
3403 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
3408 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
3409 (do_children_tests): Assign values to the extra elements.
3411 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
3412 them for tests for "-var-update --no-values" and
3413 "-var-update --all-values".
3414 Add test for "-var-list-children --simple-values".
3416 * gdb.mi/basics.c (callee4): Add integer array D[3]...
3418 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
3419 "-stack-list-locals --simple-values" Improve doc strings and
3424 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
3426 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
3428 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
3433 * gdb.base/default.exp (tty): Changed output of command.
3434 * gdb.base/help.exp (help tty): Ditto.
3438 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
3442 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
3443 -stack-select-frame without arguments.
3444 (test_stack_frame_listing): Add test for newly implemented command
3449 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
3451 (Copyright): Update copyright.
3455 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
3456 tests to evaluate exponentiation expression.
3460 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
3461 main to avoid warnings.
3463 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
3467 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
3468 -stack-select-frame without arguments.
3469 (test_stack_frame_listing): Add test for newly implemented command
3474 * gdb.fortran/array-element.f: New file.
3475 * gdb.fortran/array-element.exp: New testcase.
3479 * gdb.base/bigcore.exp: Correct checks for systems which can
3480 not dump a large core file.
3484 * gdb.base/relocate.c: Add a copyright notice.
3486 * gdb.base/relocate.exp: Test printing the values of variables
3487 from a relocatable file.
3491 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
3492 excess MI output after an error.
3496 * gdb.arch/alpha-step.c: New file.
3497 * gdb.arch/alpha-step.exp: New testcase.
3502 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
3503 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
3504 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
3505 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
3506 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
3507 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
3508 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
3513 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
3515 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
3516 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
3520 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
3521 calling gdb_suppress_entire_file.
3522 * gdb.base/charset.exp: Same.
3523 * gdb.base/call-rt-st.exp: Same.
3527 * lib/gdb.exp (fullname_syntax): Added global regex.
3528 (fullname_syntax_POSIX): Ditto.
3529 (fullname_syntax_UNC): Ditto.
3530 (fullname_syntax_DOS_CASE): Ditto.
3531 (fullname_syntax_DOS): Ditto.
3532 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
3533 fullname_syntax variable to scope and use it.
3534 (test_file_list_exec_source_files): Ditto.
3535 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
3539 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
3543 * lib/gdb.exp (skip_altivec_tests): New function, based on
3544 check_vmx_hw_available from the GCC testsuite.
3545 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
3546 * lib/gdb.arch/altivec-regs.exp: Likewise.
3550 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
3551 calling gdb_suppress_entire_file.
3555 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
3556 Slightly relax "sem_post" name checking.
3560 * gdb.base/unload.exp: Use new shared library infrastructure.
3564 * gdb.base/so-impl-ld.exp: Use new shared library
3569 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
3570 * gdb.asm/h8300.inc: New file.
3574 * gdb.base/shlib-call.exp: Change to use new shared library
3579 * gdb.base/pending.exp: Change to use new shared library
3584 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
3585 use test_compiler_info instead of gcc_compiled, and update copyright.
3589 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
3590 shared objects being adjusted and update copyright years.
3594 * ChangeLog: Correct some 2003-01-13 dates.
3595 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
3596 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
3597 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
3598 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
3599 gdb.trace/tfind.exp: Update copyright years.
3604 * lib/gdb.exp (gdb_compile): Handle shlib=.
3605 (gdb_compile_shlib): New function.
3609 * lib/gdb.exp (test_compiler_info): Give argument a default value.
3613 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
3615 * configure.ac: Likewise.
3616 * configure: Regenerated.
3617 * gdb.gdbserver/Makefile.in: Moved to...
3618 * gdb.server/Makefile.in: ... here.
3619 * gdb.gdbserver/server.c: Moved to...
3620 * gdb.server/server.c: ... here.
3621 * gdb.gdbserver/server-run.exp: Moved to...
3622 * gdb.server/server-run.exp: ... here.
3626 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
3627 * configure.ac: Create gdb.gdbserver/Makefile.
3628 * configure: Regenerated.
3629 * lib/gdbserver-support.exp: New file, derived from
3630 config/gdbserver.exp.
3631 * config/gdbserver.exp: Use gdbserver-support.exp.
3632 * gdb.gdbserver/Makefile.in: New file.
3633 * gdb.gdbserver/server.c: New file.
3634 * gdb.gdbserver/server-run.exp: New file.
3638 * lib/gdb.exp (test_compiler_info): Return compiler_info
3639 if no arguments are given.
3643 * gdb.arch/altivec-abi.exp: Check for compiler and set
3644 use altivec' flag accordingly.
3645 * gdb.arch/altivec-regs.exp: Likewise.
3649 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
3653 * gdb.base/bigcore.c (main): Add missing mode argument in open
3658 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
3660 * config/gdbserver.exp (gdb_load): Likewise.
3664 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
3669 * gdb.dwarf2/dup-psym.S: New file.
3670 * gdb.dwarf2/dup-psym.exp: New testcase.
3674 * gdb.ada/exec_changed/first.adb: New file.
3675 * gdb.ada/exec_changed/second.adb: New file.
3676 * gdb.ada/exec_changed.exp: New testcase.
3680 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
3682 (main): Test operator+.
3683 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
3686 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
3687 * gdb.base/signull.exp: Disable if gdb,nosignals.
3688 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
3689 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
3690 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
3691 * gdb.mi/mi2-console.exp: Likewise.
3692 * gdb.trace/collection.exp (run_trace_experiment): Consume the
3693 continue output at start.
3694 (gdb_collect_locals_test): Robustify regexp.
3695 * gdb.trace/passc-dyn.exp: Fix comment typo.
3696 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
3700 * gdb.asm/asm-source.exp: Add iq2000 case.
3701 * gdb.asm/iq2000.inc: New file.
3705 * gdb.base/command.exp: Change hardcoded value to regular expression.
3706 * gdb.base/float.exp: Add powerpc to the list of targets checked.
3710 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
3711 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
3712 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
3713 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
3714 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
3718 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
3723 * lib/compiler.c: Add test for IBM's xlc compiler.
3724 * lib/compiler.cc: Likewise.
3728 * gdb.ada/fixed_points.exp: Create compilation object directory
3729 before running the test.
3730 * gdb.ada/null_record.exp: Likewise.
3731 * gdb.ada/packed_array.exp: Likewise.
3732 * gdb.ada/start.exp: Likewise.
3736 * gdb.ada/packed_array/pa.adb: New file.
3737 * gdb.ada/packed_array.exp: New testcase.
3741 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
3744 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
3745 on *-*-openbsd*. Correctly match whitespace in regukar
3752 * gdb.base/gdb1821.c: New test file.
3753 * gdb.base/gdb1821.exp: New test file.
3757 * gdb.base/start.c: New file.
3758 * gdb.base/start.exp: New testcase.
3762 * gdb.ada/start/dummy.adb: New file.
3763 * gdb.ada/start.exp: New testcase.
3767 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
3768 for printing symbols and statistics.
3769 Add test for using relative pathnames in "maint print msymbols" test.
3770 Mark "maint info sections DATA" XFAIL on Cygwin.
3771 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
3777 * gdb.base/remotetimeout.exp: New file.
3781 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
3785 * gdb.ada/gnat_ada.gpr: New file.
3786 * gdb.ada/gnat_ada.gin: Delete, no longer used.
3787 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
3788 * configure.ac: No longer generate gnat_ada.gpr.
3789 * configure: Regenerate.
3790 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
3791 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
3792 * gdb.ada/null_record/bar.ads: Likewise.
3793 * gdb.ada/null_record/bar.adb: Likewise.
3794 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
3795 * gdb.ada/null_record.exp (testdir): New variable.
3796 (testfile): executable is now in testdir subdirectory.
3797 (srcfile): Use full path to the main compilation unit.
3798 * gdb.ada/fixed_points.exp: Same changes as above.
3802 * gdb.base/interp.exp: New test.
3806 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
3810 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
3811 configure.ac not configure.in.
3813 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
3815 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
3816 * gdb.base/list.exp (test_list_function)
3817 (test_list_filename_and_function): Ditto.
3818 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
3822 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
3824 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
3828 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
3829 * gdb.mi/mi2-var-cmd.exp: Ditto.
3833 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
3837 * configure.ac: Rename configure.in, require autoconf 2.59.
3838 * configure: Re-generate.
3839 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
3840 * gdb.stabs/configure: Re-generate.
3841 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
3842 * gdb.hp/configure: Re-generate.
3843 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
3845 * gdb.hp/gdb.objdbg/configure: Re-generate.
3846 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
3848 * gdb.hp/gdb.defects/configure: Re-generate.
3849 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
3851 * gdb.hp/gdb.compat/configure: Re-generate.
3852 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
3854 * gdb.hp/gdb.base-hp/configure: Re-generate.
3855 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
3857 * gdb.hp/gdb.aCC/configure: Re-generate.
3861 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
3862 under NPTL when there is debugging info available for libpthread.
3866 * gdb.ada/fixed_points.c: New file.
3867 * gdb.ada/fixed_points.exp: New file.
3871 * gdb.arch/pa-nullify.exp: New file.
3872 * gdb.arch/pa-nullify.s: New file.
3876 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
3877 instead of "tbug". Fix regexp to work properly with gdb_test.
3881 * gdb.base/bitfields2.exp: New test.
3882 * gdb.base/bitfields2.c: New file.
3886 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
3890 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
3894 * gdb.threads/threadapply.exp: Correct "macro details" test.
3898 * gdb.threads/threadapply.exp: New test.
3899 * gdb.threads/threadapply.c: New file.
3903 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
3908 * gdb.base/cursal.exp: New file.
3909 * gdb.base/cursal.c: New file.
3913 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
3917 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
3922 * gdb.threads/bp_in_thread.c: New file, copied from
3923 pthread_cond_wait.c.
3924 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
3925 file, rather than reusing the .c file from another testcase.
3929 * gdb.ada/null_record.exp: Check where we stopped after
3930 sending the start command, instead of where the associated
3931 temporary breakpoint was inserted.
3935 * gdb.mi/gdb701.c (main): Return 0.
3939 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
3943 * gdb.threads/schedlock.c: Add comment markers to use to find
3945 * gdb.threads/schedlock.exp: Adjust regex to handle the new
3947 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
3952 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
3956 * configure.in: Add gdb.dwarf2.
3957 * configure: Regenerated.
3958 * Makefile.in: Add gdb.dwarf2.
3959 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
3960 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
3961 gdb.dwarf2/file1.txt: New files.
3965 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
3966 of "run", since the latter doesn't work with remote targets. Adjust
3967 the breakpoint numbering accordingly.
3968 * gdb.threads/pthread_cond_wait.exp: Ditto.
3972 * gdb.base/overlays.exp: Update copyright years.
3976 * gdb.base/overlays.exp: Disable if target is Linux.
3980 * config/gdbserver.exp (gdb_load): Use right filename on remote.
3984 * gdb.asm/asm-source.exp: Add m32r-linux target.
3985 * gdb.asm/m32r-linux.inc: New file.
3990 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
3991 command fails, assume things will work.
3992 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
3993 (_GNU_SOURCE): Define.
3994 (print_unsigned, print_hex): Change parameter to "long long".
3995 (print_byte_count): New function, use to print byte counts.
3996 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
3998 (main): Compute an upper bound on a corefile in max_core_size.
3999 Limit memory chunk size to max_core_size. Limit total memory
4000 allocated to max_core_size.
4004 * gdb.base/bigcore.exp: Replace the code that creates a corefile
4005 from a separate process with code that creates a corefile by
4006 making the inferior dump core.
4010 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
4015 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
4016 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
4017 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
4022 * gdb.java/jprint.exp: New test case for java inferior call.
4023 * gdb.java/jprint.java: Ditto.
4027 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
4031 * gdb.threads/killed.c: Include <stdlib.h>.
4032 * gdb.threads/pthreads.c: Likewise.
4036 * gdb.threads/killed.c: Add copyright notice.
4040 * gdb.base/define.exp: Two new tests to verify zero space chars
4041 after 'if' and 'while' commands in a user-defined command is correctly
4046 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
4047 delivery test with duplicate at end of file.
4051 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
4055 * config/hppro.exp: Removed.
4059 * config/sparclet.exp: Removed.
4063 * config/udi.exp: Removed.
4067 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
4069 (advancei): Likewise.
4073 * gdb.base/unload.exp: Fix so messages aren't duplicated.
4077 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
4078 to check for nodebug in executable.
4079 * gdb.gdb/observer.exp (setup_test): Likewise.
4080 * gdb.gdb/selftest.exp (test_with_self): Likewise.
4081 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
4085 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
4090 * gdb.base/unload.exp: Fix expected warning message to match
4095 * gdb.base/call-rt-st.exp: Fix typos.
4099 * gdb.threads/thread_check.exp: New testcase.
4100 * gdb.threads/thread_check.c: New testcase.
4104 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
4105 (skip_to_handler_entry): New procedures. Test stepping into a
4106 handler when the breakpoint is at the handler's entry point.
4110 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
4116 * lib/gdb.exp (gdb_file_cmd): Return more information in the
4117 return value. Add an arm for "no debugging symbols found".
4118 Change a stray "error" to "perror".
4119 (gdb_run_cmd): Adapt to new return value.
4120 * gdb.base/remote.exp: Adapt to new return value.
4121 * gdb.gdb/complaints.exp: Likewise.
4122 * gdb.gdb/observer.exp: Likewise.
4123 * gdb.gdb/selftest.exp: Likewise.
4124 * gdb.gdb/xfullpath.exp: Likewise.
4128 * gdb.threads/bp_in_thread.exp: New testcase.
4132 Fix PR testsuite/1735.
4133 * gdb.threads/schedlock.c (thread_function): Add a cast
4134 to suppress a gcc warning.
4135 * gdb.threads/thread-specific.c (thread_function): Likewise.
4139 * gdb.base/unload.c: Include <stdlib.h>.
4144 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
4145 synchronized after the "return".
4149 * gdb.mi/basics.c: Include <stdio.h>.
4150 * gdb.mi/pthreads.c: Include <stdlib.h>.
4151 * gdb.mi/var-cmd.c: Include <stdlib.h>.
4155 * gdb.threads/schedlock.c: Add copyright notice.
4159 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
4160 (skip_over_handler, breakpoint_over_hander): New test procedures.
4161 (advance, advancei): Add a proper prefix, do not use
4163 * gdb.base/sigstep.c (main): Change to use an infinite loop.
4167 * gdb.mi/basics.c: Add copyright notice.
4168 * gdb.mi/var-cmd.c: Add copyright notice.
4172 * lib/gdb.exp: Remove signed_keyword_not_used.
4173 * lib/compiler.c: Likewise.
4174 * lib/compiler.cc: Likewise.
4178 * gdb.base/whatis.c: Remove conditional disabling of "signed".
4179 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
4183 * gdb.base/whatis.c: Add copyright notice.
4187 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
4188 it to skip the breakpoints encoded in the inline assembly.
4192 * Makefile.in: Add gdb.fortran.
4196 * gdb.base/call-sc.exp (test_scalar_returns):
4197 Fix cut-and-paste glitch in "Make fun return now".
4201 * configure.in: Add gdb.fortran.
4202 * configure: Regenerate.
4203 * gdb.fortran/Makefile.in: New file.
4204 * lib/gdb.exp (skip_fortran_tests): New procedure.
4208 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
4210 * gdb.mi/mi-var-child.exp: Likewise.
4211 * gdb.mi/mi-var-cmd.exp: Likewise.
4212 * gdb.mi/mi-var-display.exp: Likewise.
4213 * gdb.mi/mi2-var-block.exp: Likewise.
4214 * gdb.mi/mi2-var-child.exp: Likewise.
4215 * gdb.mi/mi2-var-cmd.exp: Likewise.
4216 * gdb.mi/mi2-var-display.exp: Likewise.
4220 * gdb.base/unload.c (main): Make local variable msg const.
4224 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
4226 * gdb.mi/mi-disassemble.exp: Likewise.
4227 * gdb.mi/mi-eval.exp: Likewise.
4228 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
4229 default line number.
4230 * gdb.mi/mi-return.exp: Likewise.
4231 * gdb.mi/mi-simplerun.exp: Likewise.
4232 * gdb.mi/mi-stack.exp: Likewise.
4233 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
4234 number with explicit range test.
4235 * gdb.mi/mi-watch.exp: Likewise.
4236 * gdb.mi/mi2-break.exp: Likewise.
4237 * gdb.mi/mi2-cli.exp: Likewise.
4238 * gdb.mi/mi2-disassemble.exp: Likewise.
4239 * gdb.mi/mi2-eval.exp: Likewise.
4240 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
4241 default line number.
4242 * gdb.mi/mi2-return.exp: Likewise.
4243 * gdb.mi/mi2-simplerun.exp: Likewise.
4244 * gdb.mi/mi2-stack.exp: Likewise.
4245 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
4246 number with explicit range test.
4247 * gdb.mi/mi2-watch.exp: Likewise.
4251 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
4252 * gdb.cp/m-static.exp: Likewise.
4253 * gdb.cp/rtti.exp: Likewise.
4257 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
4261 * ChangeLog: Prefix Local Variables with semi-colons and indent
4262 the reference to older ChangeLog files, to fix fontification in
4267 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
4268 * gdb.mi/mi2-break.exp: Likewise.
4272 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
4276 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
4280 * gdb.cp/classes.exp: Remove unused declarations. Just let
4281 test names default instead of providing special names. Remove
4282 extraneous demangler test.
4286 * gdb.base/unload.exp: New test for breakpoints in dynamically
4288 * gdb.base/unload.c: Ditto.
4289 * gdb.base/unloadshr.c: Ditto.
4293 * gdb.cp/classes.exp (test_ptype_class_objects): Call
4294 cp_test_ptype_class.
4295 (test_enums): Likewise.
4299 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
4304 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
4309 * ChangeLog: Add copyright notice. The notice is copied
4310 from emacs 21.3 top level ChangeLog.
4314 * lib/cp-support.exp: New file.
4315 * lib/cp-support.exp (cp_test_type_class): New function.
4316 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
4317 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
4318 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
4319 cp_test_ptype_class.
4323 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
4324 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
4325 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
4326 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
4327 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
4328 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
4329 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
4330 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
4331 gdb.mi/mi2-watch.exp: Update copyright years.
4335 * gdb.base/sigaltstack.exp: Provide proper anchoring.
4339 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
4340 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
4341 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
4342 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
4343 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
4344 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
4345 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
4346 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
4347 gdb.mi/mi-watch.exp: Update copyright years.
4352 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
4353 from a breakpoint with a pending signal.
4358 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
4359 * gdb.base/sigaltstack.exp (finish_test): Consume output until
4361 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
4365 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
4370 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
4375 * gdb.arch/i386-prologue.exp: Compile without debug information.
4379 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
4380 rather than asking gdb to search.
4384 * gdb.base/gcore.c: Include <string.h>.
4388 * gdb.base/gcore.c: Add copyright notice.
4392 * gdb.base/freebpcmd.c: Include <stdio.h>.
4393 * gdb.base/long_long.c: Include <string.h>.
4394 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
4395 * gdb.base/siginfo.c: Include <string.h>.
4396 * gdb.base/sigstep.c: Include <string.h>.
4400 * gdb.base/complex.c: Include <stdlib.h>.
4404 * gdb.base/complex.c: Add copyright notice.
4408 * gdb.base/charset.c: Include <stdlib.h>.
4412 * gdb.base/auxv.c: Include <stdlib.h>.
4416 * gdb.base/auxv.c: Add copyright notice.
4420 * gdb.base/coremaker.c: Add copyright notice.
4421 * gdb.base/coremaker2.c: Add copyright notice.
4425 * gdb.base/store.exp: Update copyright.
4426 (check_set, up_set, check_struct, up_struct): Add a prefix to test
4427 names, do not import gdb_prompt.
4431 Fix PR testsuite/1729.
4432 * gdb.base/dump.exp: Add test name to callers of capture_value, do
4433 not use capture_value with value 4.
4434 (capture_value): Add optional test name parameter.
4435 (test_reload_saved_value, test_restore_saved_value): Use $msg as
4436 the prefix, pass to capture_value.
4440 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
4441 * gdb.arch/i386-prologue.c (standard): New prototype and function.
4442 (main): Call new function.
4446 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
4450 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
4454 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
4455 Accept more values of vtbl pointer. Remove some messages
4456 about "obsolete gcc or gdb".
4460 * gdb.cp/classes.exp: Accept more varieties of ptype output.
4464 * gdb.base/asm-source.exp: Properly convert target board
4465 debug flags from gcc format to binutils format.
4469 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
4470 gdb1718". PR backtrace/1718 partially fixed.
4474 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
4478 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
4479 good default value for a specific architecture is available then
4480 set it to that value. Otherwise default to the -gstabs switch.
4481 Remove the -g... switches from the asm-flags variable. Allow the
4482 target board info to override the value if it wants to. Pass the
4483 switch on the assembler command line.
4487 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
4488 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
4489 (main): Call new function.
4493 Test for PR exp/1715.
4494 * gdb.base/radix.exp: Refactor common procedures. Make all
4495 test names unique. Change XFAIL to KFAIL.
4499 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
4500 * gdb.ada/gnat_ada.gin: ... to here.
4501 * configure.in: Use gnat_ada.gin.
4502 * configure: Regenerate.
4506 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
4507 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
4508 XFAILs. Clean up test messages and comments. Check backtraces.
4509 Delete re-sync code.
4514 * gdb.base/annota1.exp: Honor gdb,nosignals.
4515 * gdb.base/annota3.exp: Likewise.
4519 * lib/java.exp: Update copyright notice.
4523 * gdb.base/selftest.exp: Copy file from here ...
4524 * gdb.gdb/selftest.exp: ... to here.
4528 * lib/insight-support.exp: Delete file.
4529 * lib/java.exp (java_init): Fix copyright.
4533 * gdb.base/restore.c: Append "prologue" to comments marking the a
4534 function's prologue.
4535 * gdb.base/restore.exp: Update copyright, re-indent.
4536 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
4537 callerN" prefix where needed. Update patterns that match a
4538 function's prologue.
4542 * gdb.base/restore.c: Add copyright notice.
4546 * gdb.base/logical.exp: Update copyright.
4547 (evaluate): New procedure. Use to re-implement tests using
4552 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
4553 which fixes some problems where init.tcl was not found.
4557 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
4558 (check_sizeof, check_valueof): Do not include the output in the
4559 test name. Use gdb_test.
4560 (get_valueof): Use gdb_test_multiple.
4562 * gdb.base/step-test.exp: Update copyright. Use
4563 gdb_test_multiple. Ensure that test names do not include
4564 architecture dependent output.
4566 * gdb.gdb/observer.exp: Update copyright.
4567 (setup_test): Use gdb_test_multiple.
4568 (attach_first_observer, attach_second_observer)
4569 (attach_third_observer, detach_first_observer)
4570 (detach_second_observer, detach_third_observer)
4571 (reset_counters, check_counters): Make $message a prefix.
4572 (test_normal_stop_notifications): Add "args" parameter - a list of
4573 init functions to be called. Make $message a prefix,
4574 (test_observer_normal_stop): Change the message prefixes so that
4575 they are unique, pass the attach / detach procedures to
4576 test_normal_stop_notifications.
4578 * gdb.base/signull.exp (test_segv): Prefix all tests with
4579 "${name}". Clean up test messages.
4581 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
4583 * gdb.base/ena-dis-br.exp: Update copyright.
4584 (break_at): New function. Replace send_gdb with gdb_test,
4585 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
4586 ignore count, not stopped at bpt", with KFAIL.
4590 * gdb.base/attach.exp: Remove cleanupfile handling.
4594 * gdb.base/annota1.exp: Cleanup corefile test name.
4595 * gdb.base/annota3.exp: Ditto.
4599 * gdb.base/signals.exp: Clean up copyright, re-indent.
4601 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
4602 gdb_test and gdb_test_multiple.
4606 * gdb.java/jmain.exp: Fix expected line number for main to
4607 break at. Set XFAIL for break at main test since gcj does not
4608 provide line number info for first statement in main.
4612 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
4614 * gdb.base/sigbpt.exp: Make the common part of each test name a
4615 prefix instead of suffix.
4619 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
4620 test from test_tbreak_creation_and_listing to
4621 test_file_list_exec_source_file
4622 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
4623 Changed name of test from test_tbreak_creation_and_listing to
4624 test_file_list_exec_source_file
4628 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
4629 the jmisc() constructor instead of <init>.
4630 * gdb.java/jmisc1.exp: Ditto.
4634 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
4639 * gdb.cp/templates.exp: Accept whitespace change in demangler
4644 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
4648 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
4649 * lib/compiler.cc: Likewise.
4653 * lib/compiler.cc: Work around string preprocessing problem
4654 with old hp c++ compiler.
4655 * lib/compiler.c: Likewise.
4659 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
4660 directives to conditionalize symbol prefixing.
4661 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
4662 additional_flags handling. Add underscore prefix for Cygwin.
4663 * gdb.arch/i386-unwind.c: Use preprocessor directives to
4664 conditionalize symbol prefixing.
4665 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
4666 additional_flags handling. Add underscore prefix for Cygwin.
4670 * gdb.base/bigcore.exp: Skip test on Cygwin.
4674 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
4675 formats for "info register". Use gdb_test_multiple. Fix
4676 the "invalid register" test.
4680 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
4681 PID for Cygwin. Add Cygwin specific strings to check for in some
4683 (do_attach_tests): Add a test for user interaction when attaching
4684 to a process with no matching symbol table already loaded.
4688 Test PR java/1567 and PR java/1565.
4689 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
4690 * gdb.java/jmisc2.exp: Delete file.
4694 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
4698 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
4703 * gdb.cp/pr-1553.exp: Remove.
4707 * gdb.cp/pr-1553.cc: Remove.
4708 * gdb.cp/pr-1553.exp: Disable this test.
4712 Fix PR testsuite/1680.
4713 * gdb.arch/i386-sse.exp: Properly quote curly braces in
4714 regular expressions.
4718 Fix PR testsuite/1679.
4719 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
4720 Issue an UNSUPPORTED result instead.
4724 * gdb.base/charset.exp: Only send a control-C if we see a new
4725 prompt and incomplete command.
4729 * gdb.cp/pr-574.cc: Add copyright notice.
4733 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
4734 cases where the regexp has no groups; this grabs random text from
4735 the previous test suite, whatever that was.
4739 * gdb.cp/printmethod.cc: Add copyright notice.
4743 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
4747 * gdb.base/signull.c: Update copyright. Include <string.h>.
4748 (bowler): Replace data_pointer with data_read
4749 and data_write cases. Add code_descriptor case.
4750 (zero, desc): New array and pointer.
4751 (data, code): Change to simple pointers.
4752 * gdb.base/signull.exp: Fix probe pattern matching a function
4753 descriptor SIGSEGV. Replace data_pointer with data_read and
4758 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
4762 * gdb.base/long_long.c: Add copyright notice.
4766 * gdb.base/long_long.exp: Remove reference to
4768 to gdb_breakpoint and gdb_continue_to_breakpoint.
4772 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
4777 * gdb.base/gcore.exp (capture_command_output): Delete the always
4778 passing tests containing inferior values.
4779 * gdb.base/ending-run.exp: Do not include the breakpoint address
4780 in the test message. Update copyright.
4781 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
4782 size in the test name, use gdb_test_multiple. Update copyright.
4786 * gdb.cp/ref-types.cc: Add copyright notice.
4790 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
4792 * lib/compiler.cc: Likewise.
4793 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
4794 'set' commands. Log diagnostics for other lines. Set
4795 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
4799 * gdb.cp/try_catch.cc: Add copyright notice.
4803 * gdb.cp/userdef.cc: Add copyright notice.
4807 * gdb.cp/virtfunc.cc: Add copyright notice.
4811 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
4816 * lib/compiler.cc, lib/compiler.c: Append either
4817 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
4818 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
4823 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
4824 gdb/1455, bug is specific to "long long" and "double".
4826 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
4827 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
4828 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
4833 * gdb.base/structs.exp (test_struct_returns): Replace
4834 "return_value_unknown" and "finish_value_unknown" by
4835 "return_value_known" and "finish_value_known". Instead of
4836 "return_value_unknown" iff "finish_value_unknown", check
4837 "return_value_known" implies "finish_value_known".
4841 * gdb.base/float.exp: Add pattern for mips targets.
4845 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
4846 message for unknown architectures more clear.
4850 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
4851 start the execution of the program.
4855 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
4856 * gdb.arch/i386-cpuid.h: New helper file.
4860 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
4866 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
4867 differently to be robust to output buffering differences.
4871 * gdb.threads/pthreads.exp: Update copyright years.
4872 (check_control_c): Change asynchronous 'after' to synchronous.
4876 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
4882 * gdb.threads/manythreads.exp: Change asynchronous 'after'
4883 calls to synchronous.
4887 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
4891 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
4892 * gdb.asm/pa.inc: New file.
4896 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
4901 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
4906 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
4907 setjmp/longjmp. Use sigaction instead of signal.
4912 * gdb.threads/pthread_cond_wait.c: New file.
4913 * gdb.threads/pthread_cond_wait.exp: New testcase.
4917 * gdb.base/signull.exp, gdb.base/signull.c: New files.
4918 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
4922 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
4923 fixed but revealed gdb/1639.
4927 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
4928 func1" and "next to 2nd alarm", kernel bug avoided.
4933 * gdb.base/bigcore.exp: Check the size of the dumped core file.
4934 XFAIL if it is smaller than bytes_allocated.
4935 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
4936 (main): Make chunks_allocated unsigned. Correct comment.
4940 * gdb.arch/powerpc-aix-prologue.c: New file.
4941 * gdb.arch/powerpc-aix-prologue.exp: New file.
4945 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
4946 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
4950 * gdb.base/sep.exp: No longer setup_kfail when the program was
4955 * gdb.base/pending.exp: Make sure pending breakpoints
4956 preserve the ignore count.
4960 * i386-prologue.exp: Add testcase for jump instruction as first
4961 instruction of the real code.
4962 * i386-prologue.c (jump_at_beginning): New function.
4966 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
4971 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
4976 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
4977 expression that checks the return type.
4981 * gdb.base/call-sc.exp: New test of scalar call/return values.
4982 * gdb.base/call-sc.c: Ditto.
4986 * gdb.threads/manythreads.c: Reduce thread stack size.
4990 * gdb.threads/manythreads.c: Add copyright notice.
4994 * gdb.base/siginfo.exp: Better handle step out of signal.
4995 * gdb.base/sigstep.exp: Ditto.
5000 * gdb.threads/manythreads.c: New testcase.
5001 * gdb.threads/manythreads.exp: Ditto.
5005 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
5006 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
5010 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
5014 * gdb.base/sigstep.c: New file.
5015 * gdb.base/sigstep.exp: New file.
5019 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
5020 call to observer_notify_normal_stop.
5024 * gdb.base/siginfo.c: New file.
5025 * gdb.base/siginfo.exp: New file.
5029 * gdb.base/sep.exp: Fix typo in comment.
5033 * gdb.base/sep.c: New file.
5034 * gdb.base/sep-proc.c: New file.
5035 * gdb.base/sep.exp: New testcase.
5039 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
5044 * gdb.base/sigaltstack.c: New file.
5045 * gdb.base/sigaltstack.exp: New file.
5049 * gdb.base/foll-fork.exp: Update the expected output for
5050 "help set follow-fork-mode", to match a change that was made
5051 to the help of this variable on 2004-01-13.
5055 * lib/ada.exp: Add copyright notice.
5056 * bar.ads: Likewise.
5057 * bar.adb: Likewise.
5058 * null_record.adb: Likewise.
5059 * null_record.exp: Likewise.
5060 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
5064 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
5065 * configure: Regenerate.
5069 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
5070 to build the application. Remove the message printed when in
5071 verbose mode, redundant with the UNSUPPORTED message above.
5075 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
5076 * gdb.ada (null_record.exp): New testcase.
5080 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
5084 * gdb.ada: New subdirectory.
5085 * gdb.ada/Makefile.in: New file.
5086 * gdb.ada/gnat_ada.gpr.in: New file.
5090 * lib/ada.exp: New file.
5094 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
5095 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
5099 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
5100 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
5101 Problem identified by Ulrich Weigand.
5105 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
5110 * gdb.base/auxv.exp: New file.
5111 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
5115 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
5116 * gdb.cp/pr-1553.cc: Ditto.
5117 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
5122 * gdb.cp/templates.exp: Accept more template types.
5126 From Corinna Vinschen with modifications.
5127 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
5128 local variable obj_with_enum.
5129 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
5130 results with obj_with_enum.
5134 * gdb.cp/classes.cc: New file, copied from misc.cc.
5135 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
5139 * gdb.cp/misc.cc: Add copyright notice.
5143 * gdb.cp/rtti.exp: Add 'print *obj3' test.
5144 * gdb.cp/rtti.h: Update copyright.
5145 (namespace n2::n3): New.
5146 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
5147 (n2::n3::func3): New.
5148 (main): Call n2::n3::func3.
5149 * gdb.cp/rtti2.cc: Update copyright.
5154 * gdb.asm/openbsd.inc: Fix typo.
5158 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
5159 "val" instead of unused "size". Update copyright year.
5163 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
5164 to use unsigned char.
5165 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
5166 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
5170 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
5175 * gdb.base/relocate.c (dummy): Initialize.
5179 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
5180 a breakpoint at exit.
5184 * gdb.base/chng-syms.exp: Add expect condition to match failing
5185 case that isn't a timeout.
5189 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
5194 * gdb.arch/gdb1431.c: Remove.
5195 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
5196 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
5197 of "until" incorrectly.
5201 * gdb.cp/class2.cc (empty): New class.
5202 (refer): New function.
5203 (main): Declare an object of type empty and use it.
5204 * gdb.cp/class2.exp: Print the value of an object of type empty.
5208 * gdb.base/langs.exp: Update query string to match the
5209 new nquery format used for pending breakpoints.
5214 * gdb.base/charset.c: Update copyright notice.
5215 (main, init_string): Remove the escape character '\e' tests.
5216 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
5217 * gdb.base/charset.exp (valid_host_charset): Ditto.
5218 * gdb.base/setvar.exp: Ditto.
5222 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
5223 mmapped data in core file" PASS and FAIL messages consistent.
5225 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
5226 setting a breakpoint. Work around PR java/1565.
5230 * lib/gdb.exp (gdb_breakpoint): Update query string to match
5232 * gdb.base/pending.exp: Ditto.
5236 * configure.in: Run stabs tests on *BSD.
5237 * configure: Regenerated.
5241 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
5245 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
5246 blank in test for "returns short", for consistency with other
5247 "returns xxx" tests. Update copyright year.
5251 New testcase for PR breakpoint/1558.
5252 * gdb.arch/gdb1558.exp: New file.
5253 * gdb.arch/gdb1558.c: New file.
5257 * gdb.base/nodebug.exp: Fix typo.
5263 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
5265 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
5267 * gdb.base/float.exp: Support s390*-*-* targets.
5271 * gdb.base/gdb1555.exp: New file.
5272 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
5276 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
5280 * gdb.arch/gdb1291.c: Remove
5281 * gdb.arch/gdb1291.s: New test input file.
5282 * gdb.arch/gdb1291.exp: Expand test to check case that should not
5283 fail. Test for correct result, known incorrect result, other
5284 failures and timeouts.
5288 * gdb.base/bigcore.exp: New file.
5289 * gdb.base/bigcore.c: New file.
5293 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
5294 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
5295 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
5296 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
5297 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
5298 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
5299 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
5300 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
5301 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
5302 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
5306 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
5307 executed is an alloc instruction.
5311 * gdb.cp/breakpoint.exp: New.
5312 * gdb.cp/breakpoint.cc: New.
5316 Partial fix for PR gdb/1543.
5317 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
5318 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
5319 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
5320 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
5321 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
5322 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
5323 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
5324 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
5325 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
5327 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
5328 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
5329 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
5334 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
5335 using gdb_internal_error_resync.
5339 * gdb.threads/thread-specific.exp: Stop early if no threads are
5344 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
5348 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
5353 * config/sim.exp (gdb_load): Handle $arg == "".
5354 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
5355 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
5359 * gdb.base/maint.exp: Update test to reflect
5364 * gdb.base/pendshr.c (pendfunc): New function that calls
5366 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
5370 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
5371 function symbols and update copyright years.
5372 * gdb.arch/gdb1291.c: Ditto.
5376 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
5380 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
5384 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
5388 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
5389 remote targets. Update copyright years.
5393 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
5395 * gdb.base/langs.exp: Fix test which attempts to create
5396 breakpoint on non-existent function to handle new pending
5398 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
5400 * gdb.base/pending.exp: New test.
5401 * gdb.base/pending.c: New file.
5402 * gdb.base/pendshr.c: Ditto.
5406 * gdb.cp/overload.exp: Add overloadNamespace tests.
5407 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
5408 (overloadNamespace, XXX): New.
5409 (main): Call XXX::marker2.
5413 * gdb.base/dump.exp: Use runto_main instead of "runto main".
5414 * gdb.base/finish.exp: Ditto.
5415 * gdb.base/gcore.exp: Ditto.
5416 * gdb.base/huge.exp: Ditto.
5417 * gdb.base/info-proc.exp: Ditto.
5418 * gdb.base/return2.exp: Ditto.
5419 * gdb.threads/gcore-thread.exp: Ditto.
5423 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
5427 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
5428 that opening the file succeeds on OpenBSD.
5432 * gdb.threads/thread-specific.c: New file.
5433 * gdb.threads/threads-specific.exp: New test script.
5434 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
5439 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
5440 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
5441 only on the "print_small_structs from print_long_arg_list" test.
5445 * gdb.base/completion.exp: Kill a stray backslash.
5448 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
5449 agrees with the result from sending a tab.
5453 * gdb.base/chng-syms.exp: Remove stray newline.
5457 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
5459 * gdb.asm/openbsd.inc: New file.
5463 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
5464 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
5465 *-*solaris2*. Remove commented out default settings for
5466 asm-flags. Replace gdb_compile with target_link.
5470 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
5471 for all tests. Remove old hp-ux and cygnus xfail cases.
5475 * gdb.base/chng-syms.exp: New file.
5476 * gdb.base/chng-syms.c: New file.
5480 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
5481 Provide arms for current output in all my configurations.
5485 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
5486 * lib/compiler.cc: Likewise.
5487 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
5488 get the right preprocessor. Eval the output directly. Remove
5489 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
5490 hp_f77_compiler and hp_f90_compiler completely.
5491 (gdb_preprocess): Delete.
5492 (get_compiler): Delete.
5496 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
5501 * gdb.mi/mi-stack.exp: Update copyright.
5505 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
5506 test for cp_lookup_transparent_type.
5507 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
5512 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
5517 * gdb.cp/namespace.cc (C::ensureRefs): New.
5518 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
5522 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
5523 case "-stack-list-locals 2".
5524 * gdb.mi/mi-var-child.exp: Test for case
5525 "-var-list-children --all-values NAME".
5529 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
5533 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
5534 used with gdb_test_multiple.
5536 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
5537 read at address 0. This fixes PR testsuite/1504.
5541 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
5542 Remove downloading, guessing the host executable, the calls to
5543 gdb_file_cmd and gdb_target_cmd, and "load" support.
5544 (infer_host_exec): New function broken out from gdb_load.
5545 (gdb_load): New wrapper for gdbserver_gdb_load.
5546 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
5547 gdb_target_cmd. Use -target-select.
5548 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
5549 Download binaries to the host. Clear last_mi_remote_file when
5550 we load a new binary.
5551 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
5552 call gdbserver_gdb_load and mi_gdb_target_cmd.
5556 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
5561 * gdb.cp/templates.exp: Fix typo in test name of
5562 "print Foo<volatile char*>::foo".
5566 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
5570 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
5571 (clean mostlyclean): Remove empty rm.
5575 * gdb.base/setvar.exp: Add copyright years.
5579 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
5580 PR c++/1511 and update coment.
5581 * gdb.cp/templates.exp: Update patterns to match current output.
5582 If changes involve something other than whitespace, KFAIL
5583 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
5587 * gdb.cp/namespace.exp: Add tests involving classes defined within
5589 * gdb.cp/namespace.cc (C::CClass): New.
5590 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
5594 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
5595 what debug info we have. Print a better message if something goes
5596 wrong while producing the separate debug info file.
5600 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
5604 * gdb.base/callfuncs.c: Add copyright notice.
5608 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
5609 inheritance. PR gdb/1498, PR gcc/13539.
5613 * gdb.threads/gcore-thread.exp: Prefix name of binary with
5615 * gdb.mi/gdb669.exp: Ditto.
5616 * gdb.mi/mi-pthreads.exp: Ditto.
5617 * gdb.mi/mi1-pthreads.exp: Ditto.
5618 * gdb.mi/mi2-pthreads.exp: Ditto.
5622 * gdb.cp/member-ptr.cc: Add copyright notice.
5626 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
5627 some patterns for recent versions of gcc and hpacc. Delete
5628 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
5629 Delete tests that access a NULL pointer-to-member-data. This
5630 script is still disabled for gcc.
5634 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
5639 * gdb.base/sepdebug.exp: New file.
5640 * gdb.base/sepdebug.c: New file.
5641 * lib/gdb.exp (separate_debug_filename): New procedure.
5642 (gdb_gnu_strip_debug): New procedure.
5646 * gdb.mi/ChangeLog: Delete file. Renamed to ...
5647 * gdb.mi/ChangeLog-1999-2003: New file.
5651 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
5652 "Renaming a directory to a non-empty directory returns ENOTEMPTY
5653 or EEXIST", treat EBUSY as an XFAIL.
5657 * gdb.base/scope.exp: Remove obsolete setup_xfail for
5662 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
5667 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
5668 and "(aCC)" decorations. Remove obsolete doco about old
5673 * gdb.cp/exception.exp: Fix typo in doco.
5677 * gdb.base/gdb1476.exp: Fix typo.
5681 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
5686 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
5687 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
5688 Use gdb_compile. Remove restriction on gcc. Add some patterns
5689 for recent version of gdb. Delete second half, which was a copy
5690 of the first half with different build flags. This test is
5691 still disabled because it is still not ready for production.
5695 * gdb.cp/exception.cc: Add copyright notice.
5696 * gdb.cp/exception.exp: Add a notice that this file is broken
5697 because of line number changes caused by addition of copyright
5702 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
5703 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
5707 * gdb.cp/classes.exp: Accept gnu abi 2.
5708 * gdb.cp/derivation.exp: Likewise.
5709 * gdb.cp/overload.exp: Likewise.
5710 * gdb.cp/virtfunc.exp: Likewise.
5714 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
5715 semicolon after end of function.
5719 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
5720 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
5721 boilerplate code for compiling and running the program under
5722 test. Add some string method tests.
5726 * gdb.cp/bs15503.cc: Add copyright notice.
5727 * gdb.cp/bs15503.exp: Adjust line number.
5731 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
5732 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
5736 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
5741 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
5742 * gdb.cp/ctti.exp: Use the marker instead of "next".
5743 With gcc, run further before bailing.
5747 * gdb.cp/cttiadd.cc: Add copyright notice.
5748 * gdb.cp/cttiadd1.cc: Likewise.
5749 * gdb.cp/cttiadd2.cc: Likewise.
5750 * gdb.cp/cttiadd3.cc: Likewise.
5754 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
5755 Use gdb_test, gdb_test_multiple. Use floating-point values that
5756 have exact representations in IEEE-ish formats.
5760 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
5761 compilers. Delete duplicate call to get_compiler_info.
5762 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
5763 * gdb.base/volatile.exp: Likewise.
5767 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
5768 memory at address 0.
5772 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
5773 to test for hp-ux assembler. Fix copyright years.
5777 * gdb.base/fileio.c (strerrno): Add "EBUSY".
5781 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
5782 when creating the read-only file. From analysis by Roland McGrath
5787 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
5791 * gdb.base/cvexpr.c: Be type-safe with function pointers and
5796 * gdb.cp/m-static.exp: Compile one source file at a time.
5797 Delete unused call to get_compiler_info.
5801 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
5802 * gdb.base/call-rt-st.exp: Likewise.
5803 * gdb.base/nodebug.exp: Likewise.
5804 * gdb.base/volatile.exp: Likewise.
5805 * gdb.cp/ref-types.exp: Likewise.
5806 * gdb.cp/templates.exp: Likewise.
5810 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
5814 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
5819 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
5822 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
5823 sparc64-*-* and sparc*-solaris2*.
5827 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
5828 return ${tests}" test. The ${tests} already mentions the
5833 * gdb.cp/local.exp: Accept gcc abi 2.
5837 * gdb.cp/templates.exp: Accept gcc abi 2.
5841 * lib/compiler.cc: Remove supports_template_debugging.
5842 * gdb.cp/templates.exp: Do not test supports_template_debugging.
5846 * gdb.cp/namespace.exp: Accept gcc abi 2.
5850 * gdb.cp/method.exp: Accept gcc abi 2.
5854 * gdb.cp/classes.exp: Generate identical results as old version.
5855 * gdb.cp/derivation.exp: Likewise.
5856 * gdb.cp/overload.exp: Likewise.
5857 * gdb.cp/virtfunc.exp: Likewise.
5861 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
5862 mysterious bug with sourceware version of expect.
5866 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
5867 current versions of gcc, including gcc abi 2. Remove gratuitous
5868 restart of test program. Use gdb_test_multiple and gdb_test for
5869 all tests. Add patterns to xfail missing "const" in "const char *"
5870 and kfail PR gdb/1155.
5874 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
5875 current versions of gcc, including gcc abi 2. Remove gratuitous
5876 restart of test program. Use gdb_test_multiple and gdb_test for
5877 all tests. Add patterns to kfail PR gdb/1498.
5881 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
5882 current versions of gcc, including gcc abi 2. Use "breakpoint"
5883 and "continue" instead of restarting the target program. Use
5884 gdb_test_multiple and gdb_test for all tests.
5888 * gdb.asm/asm-source.exp: Update copyright year. Link statically
5893 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
5894 current versions of gcc, including gcc abi 2. Use "breakpoint"
5895 and "continue" instead of restarting the target program several
5896 times. Use gdb_test_multiple and gdb_test for all tests.
5900 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
5905 * gdb.base/environ.exp: Handle compiling test case from multiple
5910 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
5914 * gdb.base/freebpcmd.c: Add copyright notice.
5916 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
5920 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
5924 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
5928 * gdb.asm/frv.inc: New file.
5929 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
5933 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
5934 functions to break1.c and leave prototypes behind. Add more
5935 "set breakpoint NN here" comments.
5936 * gdb.base/break1.c: New file.
5938 * gdb.base/break.exp: Handle compiling test case from multiple
5939 source files and change source file references as needed.
5940 * gdb.base/completion.exp: Ditto.
5941 * gdb.base/condbreak.exp: Ditto.
5942 * gdb.base/define.exp: Ditto.
5943 * gdb.base/ena-dis-br.exp: Ditto.
5944 * gdb.base/info-proc.exp: Ditto.
5945 * gdb.base/maint.exp: Ditto.
5946 * gdb.base/until.exp: Ditto.
5948 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
5949 hardcoded line numbers.
5950 * gdb.base/define.exp: Ditto.
5951 * gdb.base/ena-dis-br.exp: Ditto.
5952 * gdb.base/maint.exp: Ditto.
5953 * gdb.base/until.exp: Ditto.
5955 * gdb.base/completion.exp: Use "break1" for completion tests since
5956 "break" is no longer a unique prefix.
5960 * gdb.base/structs.exp (test_struct_returns): When applicable, set
5961 "return_value_unimplemented". When an unimplemented struct return
5962 architecture, report incorrect values as a KFAIL
5966 * gdb.cp/rtti.exp: Accept new wording of warning from
5967 cp_lookup_rtti_type.
5971 Partial fix for PR testsuite/1456.
5972 * gdb.base/scope.exp (test_at_main): Replace references to
5973 gcc_compiled with calls to test_compiler_info.
5974 (test_at_foo): Likewise.
5975 (test_at_bar): Likewise.
5979 Partial fix for PR testsuite/1456.
5980 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
5981 to test_compiler_info.
5985 * gdb.base/so-impl-ld.exp: Update copyright notice.
5989 Partial fix for PR testsuite/1456.
5990 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
5991 to test_compiler_info.
5995 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
5996 from current versions of gdb. Clean up regular expressions.
5997 Delete redundant timeout case.
6001 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
6002 from current versions of gdb. Clean up regular expressions.
6003 Delete redundant timeout case.
6007 Partial fix for PR testsuite/1456.
6008 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
6009 gcc_compiled with call to test_compiler_info.
6013 Partial fix for PR testsuite/1456.
6014 * gdb.base/list.exp (test_list_function): Delete unused declaration
6019 Partial fix for PR testsuite/1456.
6020 * gdb.base/complex.exp: Replace reference to gcc_compiled with
6021 call to test_compiler_info.
6025 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
6026 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
6027 it to create the appropriate note.inc.
6028 * gdb.asm/asmsrc1.s: Include "note.inc".
6029 * gdb.asm/netbsd.inc: New file.
6030 * gdb.asm/empty.inc: New file.
6034 Partial fix for PR testsuite/1456.
6035 * gdb.base/constvars.exp: Replace references to gcc_compiled with
6036 calls to test_compiler_info.
6040 Partial fix for PR testsuite/1456.
6041 * gdb.base/volatile.exp: Replace references to gcc_compiled with
6042 calls to test_compiler_info.
6046 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
6047 pattern for the KFAILs.
6051 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
6052 * gdb.objc/objcdecode.m: New file.
6056 * gdb.objc/nondebug.exp: Test for PR objc/1236.
6057 * gdb.objc/nondebug.m: New file.
6061 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
6062 NetBSD as it does on FreeBSD. Modelled on a similar change by
6063 Mark Kettenis on 2003-05-30.
6064 (link-flags): Set to "--entry _start" regardless of target.
6065 Special linker flags are to be appended to $link-flags.
6066 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
6070 * gdb.cp/method.exp: Accept output of new demangler.
6074 * gdb/class2.exp: New file.
6075 * gdb/class2.cc: New file.
6079 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
6084 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
6089 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
6090 "continue" into "run".
6094 Partial fix for PR testsuite/1456.
6095 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
6096 call to test_compiler_info.
6097 * gdb.cp/ctti.exp: Likewise.
6098 * gdb.cp/derivation.exp: Likewise.
6099 * gdb.cp/member-ptr.exp: Likewise.
6100 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
6101 reference to gcc_compiled.
6105 Fix PR testsuite/1463.
6106 * gdb.base/structs.exp (start_structs_test): Call
6107 get_debug_format before using the debug format.
6111 * lib/gdb.exp (gdb_test_multiple): Add simple example.
6112 * gdb.base/structs.exp: Use gdb_test_multiple.
6116 * gdb.base/structs.exp: Handle and recover from internal errors.
6117 Replace "foo${n}" with "foo<n>" in test messages.
6119 * gdb.base/structs.exp: Update copyright. Rewrite.
6120 * gdb.base/structs.c: Update copyright. Rewrite.
6122 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
6123 resync count exceeded.
6125 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
6126 from the internal error.
6127 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
6128 Original from Jim Blandy.
6129 (gdb_test_multiple): Use gdb_internal_error_resync.
6133 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
6138 New testcase for PR backtrace/1435.
6139 * gdb.arch/i386-unwind.exp: New file.
6140 * gdb.arch/i386-unwind.c: New file.
6144 * lib/gdb.exp (compiler_info): New global.
6145 (test_compiler_info): New function.
6146 (get_compiler_info): Set compiler_info.
6147 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
6148 "compiler_info" to gcc-<major>-<minor>.
6152 * gdb.trace/configure: Remove.
6156 * gdb.base/break.c: Add comments to aid finding line numbers for
6158 * gdb.base/break.exp: Remove all references to explicit line
6163 * gdb.base/shreloc.exp: Do not run for targets which do not
6164 support shared objects.
6168 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
6169 Don't run tests if nofileio flag is given.
6173 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
6174 as well as 'Watchpoint'.
6179 * gdb.base/annota1.exp: Match at least one occurrence of the
6180 signal handler annotation.
6184 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
6185 as well as 'Watchpoint'.
6189 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
6193 * gdb.arch/gdb1291.c: New test file.
6194 * gdb.arch/gdb1291.exp: New test script.
6195 * gdb.arch/gdb1431.c: New test file.
6196 * gdb.arch/gdb1431.exp: New test script.
6200 * gdb.mi/pthreads.c: Add copyright notice.
6204 * gdb.threads/pthreads.c: Add copyright notice.
6208 * gdb.base/gdb1056.exp: New test script.
6212 * gdb.threads/killed.exp: Use gdb_run_cmd.
6216 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
6218 * gdb.threads/gcore-thread.exp: Likewise.
6222 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
6223 type, based on char type.
6224 (struct bit_flags_short_t): New bitfield type, based on short type.
6225 (init_bit_flags_char): New fuction.
6226 (init_bit_flags_short): Ditto.
6227 (print_bit_flags_char): Ditto.
6228 (print_bit_flags_short): Ditto.
6229 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
6233 * gdb.base/call-rt-st.exp: Update copyright year.
6237 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
6238 * gdb.disasm/sh3.s: Ditto.
6242 * gdb.threads/switch-threads.exp: New test.
6243 * gdb.threads/switch-threads.c: New source file.
6247 * gdb.base/ending-run.exp: Add sh specific case.
6251 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
6252 * gdb.disasm/mn10200.exp: Delete obsolete file.
6256 * ChangeLog: Correct an entry command.exp -> commands.exp.
6257 * gdb.base/commands.exp (bp_deleted_in_command_test)
6258 (temporary_breakpoint_commands): Check noargs.
6262 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
6263 of some print tests, where appropriate. Add tests for C::D::cd,
6264 E::ce, F::cXfX, G::XgX.
6265 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
6269 * lib/java.exp (java_init): Import target_alias before using it.
6273 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
6277 * gdb.base/selftest.exp: Accomodate more instruction reordering
6282 * gdb.cp/gdb1355.exp: New file.
6283 * gdb.cp/gdb1355.c: New file.
6287 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
6288 * gdb.asm/sh.inc: New file.
6292 * gdb.cp/namespace.exp: Add tests for namespace types.
6293 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
6294 (test_namespace): New.
6298 * gdb.base/relocate.exp: Handle new gdb output at startup.
6299 * gdb.stabs/weird.exp: Ditto.
6303 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
6307 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
6312 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
6316 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
6317 * gdb.gdb/observer.exp: Ditto.
6318 * gdb.gdb/xfullpath.exp: Ditto.
6322 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
6327 * gdb.base/dump.exp: Skip for ia64.
6331 * gdb.asm/asm-source.exp: Add ia64 support.
6332 * gdb.asm/ia64.inc: New file.
6336 * gdb.cp: New directory.
6337 * gdb.cp/*: Copy from gdb.c++/*.
6338 * gdb.c++/*: Remove.
6339 * Makefile.in: Change gdb.c++ to gdb.cp.
6340 * configure.in: Ditto.
6341 * configure: Regnerate.
6345 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
6346 * gdb.arch/i386-prologue.c (gdb1338): Add function.
6350 * mi-var-display.exp (-var-list-children weird): Accept function
6351 pointers with argument types.
6352 * mi1-var-display.exp (-var-list-children weird): Likewise.
6353 * mi2-var-display.exp (-var-list-children weird): Likewise.
6357 * gdb.base/annota3.exp: Add missing newline.
6361 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
6365 * gdb.base/float.exp: Add test for SH.
6369 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
6373 * gdb.base/completion.exp: Remove reduntant completion test
6378 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
6379 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
6380 gdb.trace/save-trace.exp: Make sure that full pathnames are
6385 * configure.in: Don't generate config.h from config.hin.
6386 * configure: Regenerate.
6387 * config.hin: Remove file.
6388 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
6389 * gdb.threads/pthreads.c: Ditto.
6394 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
6395 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
6396 Replace ld24 with seth/add3.
6400 * gdb.base/annota3.exp: New file.
6401 * gdb.base/annota3.c: New file.
6402 * gdb.c++/annota3.exp: New file.
6403 * gdb.c++/annota3.cc: New file.
6407 * gdb.threads/tls.c (spin): Check errno only if sem_wait
6409 (do_pass): Likewise.
6410 * gdb.threads/tls.exp: Always initialize no_of_threads.
6414 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
6416 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
6417 * gdb.threads/tls.exp: Recognize one case of the host library not
6422 * gdb.base/fileio.exp: Use SH when running commands using
6428 * gdb.base/relocate.c (dummy): New padding array.
6432 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
6434 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
6435 patterns to be more general, accepting old and new output.
6436 Some output chars (such as '+') also must be quoted.
6437 Some addresses are displayed numerically instead of
6442 * gdb.base/return2.exp: Don't test long-long return.
6444 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
6445 * gdb.disasm/t01_mov.exp: Ditto.
6446 * gdb.disasm/t02_mova.s: Ditto.
6447 * gdb.disasm/t02_mova.exp: Ditto.
6448 * gdb.disasm/t03_add.s: Ditto.
6449 * gdb.disasm/t03_add.exp: Ditto.
6450 * gdb.disasm/t04_sub.s: Ditto.
6451 * gdb.disasm/t04_sub.exp: Ditto.
6452 * gdb.disasm/t05_cmp.s: Ditto.
6453 * gdb.disasm/t05_cmp.exp: Ditto.
6454 * gdb.disasm/t06_ari2.s: Ditto.
6455 * gdb.disasm/t06_ari2.exp: Ditto.
6456 * gdb.disasm/t07_ari3.s: Ditto.
6457 * gdb.disasm/t07_ari3.exp: Ditto.
6458 * gdb.disasm/t08_or.s: Ditto.
6459 * gdb.disasm/t08_or.exp: Ditto.
6460 * gdb.disasm/t09_xor.s: Ditto.
6461 * gdb.disasm/t09_xor.exp: Ditto.
6462 * gdb.disasm/t10_and.s: Ditto.
6463 * gdb.disasm/t10_and.exp: Ditto.
6464 * gdb.disasm/t11_logs.s: Ditto.
6465 * gdb.disasm/t11_logs.exp: Ditto.
6466 * gdb.disasm/t12_bit.s: Ditto.
6467 * gdb.disasm/t12_bit.exp: Ditto.
6468 * gdb.disasm/t13_otr.s: Ditto.
6469 * gdb.disasm/t13_otr.exp: Ditto.
6473 * gdb.threads/tls.exp :Add kfail for 'info address' case.
6477 * gdb.threads/tls.c : New file.
6478 * gdb.threads/tls.exp : New file.
6479 * gdb.threads/tls-main.c : New file.
6480 * gdb.threads/tls-shared.c : New file.
6481 * gdb.threads/tls-shared.exp : New file.
6485 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
6489 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
6490 due to insn reordering.
6494 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
6498 * gdb.base/gdb1250.exp: New file.
6499 * gdb.base/gdb1250.c: New file.
6503 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
6504 expansion of size_t to 'unsigned long', not only to 'unsigned'.
6508 * gdb.threads/tls.c: New file.
6509 * gdb.threads/tls.exp: New file.
6510 * gdb.threads/tls-main.c: New file.
6511 * gdb.threads/tls-shared.c: New file.
6512 * gdb.threads/tls-shared.exp: New file.
6516 * gdb.base/annota1.exp: Make sure that we properly escape the
6517 full path of the source file. Xfail more permissive patterns,
6518 due to a compiler debug info problem.
6522 * gdb.asm/m68k.inc: New file.
6523 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
6525 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
6526 arguments"): Also match negative number.
6528 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
6532 * gdb.base/store.c (charest): New typedef.
6533 (add_char): Rename to add_charest, update.
6534 (wack_char): Rename to wack_charest, update types. Return l + r
6535 to keep r live across the call.
6536 (wack_short, wack_int, wack_long, wack_longest, wack_float)
6537 (wack_double, wack_doublest): Return l + r to keep r live across
6539 * gdb.base/store.exp: Accomodate store.c changes.
6543 * gdb.c++/maint.exp (test_invalid_name): New.
6544 (test_first_component): Add tests for invalid names.
6548 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
6549 output of '<VTT for class>' for virtual base classes.
6553 * gdb.base/completion.exp: Tab-complete "complet" instead of
6555 * gdb.base/complex.exp, gdb.base/complex.c: New files.
6559 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
6560 * gdb.base/volatile.exp: Likewise.
6564 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
6570 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
6571 initial line count of 'captured_main' from 26 to 32.
6572 (test_with_self): Allow xmalloc call to be interleaved with the
6573 preceding two lines.
6577 * gdb.base/bang.exp: New testcase.
6581 * gdb.base/langs.exp: Add some tests for the "minimal" language
6586 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
6591 * gdb.base/relocate.exp: Test add-symbol-file with a variable
6596 * gdb.c++/pr-1210.cc: New file.
6597 * gdb.c++/pr-1210.exp: New file.
6601 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
6606 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
6607 on *-*-*bsd* instead of *-*-freebsd*.
6611 * gdb.base/store.exp: Test longest and doublest. Test all
6612 parameters. Weaken return statement match.
6613 * gdb.base/store.c: Add longest and doublest - aka long long and
6614 long double functions. Put all parameters into local register
6615 variables. Use negative values.
6619 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
6620 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
6622 * gdb.base/fileio.exp: Disable target when nointerrupts and
6623 noinferiorio, instead of limiting it to remote. Use remote_exec
6628 * gdb.base/float.exp: Add ia64 support.
6632 * gdb.base/fileio.exp: Run only on remote targets.
6636 * gdb.base/fileio.c: New file, testing File-I/O.
6637 * gdb.base/fileio.exp: Ditto.
6641 * gdb.base/shreloc.exp: New file, check symbol values obtained from
6642 shared objects after relocation at load time (gdb PR/1132).
6643 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
6644 as above, part of the shared object relocation test.
6648 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
6649 fully filled history list.
6650 * gdb.base/gdb_history: New file.
6652 * gdb.base/signals.exp: XFAIL "continue to func1" on
6655 * gdb.base/attach.exp: When trying to attach to a nonexistent
6656 process, make it possible to specify the PID based on the target,
6657 and do so for *-*-freebsd*.
6661 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
6665 * gdb.base/selftest.exp: Next over lim_at_start initialization.
6669 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
6673 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
6678 * gdb.asm/asm-source.exp: Check for memory read errors in
6679 disassembler test on *BSD too.
6683 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
6685 (gdbasm_call): Lose ldgp.
6686 (gdbasm_startup): Add frame information.
6687 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
6691 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
6696 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
6701 * gdb.asm/alpha.inc: New file.
6702 * gdb.asm/asm-source.exp: Use it.
6706 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
6711 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
6716 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
6721 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
6722 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
6726 * gdb.c++/namespace.exp: Add namespace scope and anonymous
6728 Bump copyright date.
6729 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
6730 (main): Call C::D::marker2.
6731 * gdb.c++/namespace1.cc: New file.
6736 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
6737 there is no manager thread.
6741 * gdb.threads/schedlock.exp: Remove assumption that all threads
6742 will run in a particular small time slice. Also ensure we break
6743 in one of the child threads rather than the main thread.
6747 Add support for assembly source testing on the s390x.
6748 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
6750 * gdb.asm/s390x.inc: New file.
6752 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
6753 succession of 'if' statements.
6757 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
6761 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
6762 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
6766 * gdb.base/charset.exp: Update based on new behavior of set/show
6771 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
6772 variable do not give memory errors.
6776 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
6777 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
6778 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
6779 gdb.objc/basicclass.m: : New files
6781 * lib/gdb.exp (gdb_compile_objc): New procedure.
6785 * gdb.base/signals.exp: Make backtrace tests more specific.
6789 * gdb.c++/maint.exp (test_first_component): Add tests for
6790 'operator' in more locations.
6794 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
6798 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
6799 func marke' instead. Update test name.
6803 * gdb.c++/maint.exp: New file.
6807 * gdb.threads/schedlock.c: Change type of thread function argument
6808 to long, to avoid warnings on 64-bit platforms.
6812 * gdb.base/attach.exp: Add new message from ptrace in case of
6813 attaching to nonexistent process.
6817 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
6818 gdb.c++/userdef.cc: Place comments on the lines to which the
6819 marker function might return.
6820 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
6821 gdb.c++/userdef.exp: Look for those comments to check that we've
6822 returned to the right place, instead of checking line numbers.
6826 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
6827 match on sourcefile name, instead of directory name.
6831 * gdb.base/completion.exp: Use string_to_regexp to match the
6832 working directory name.
6836 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
6837 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
6838 after an inferior function call, report the failure, but allow the
6843 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
6848 * gdb.base/break.exp: Revert last patch.
6852 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
6857 * gdb.base/callfuncs.exp: Make "print add" messages unique.
6858 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
6859 matching directories by the name breakpoint.
6860 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
6861 Make "continue to marker1" consistent.
6862 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
6864 * lib/gdb.exp: Put "the program is no longer running", and "the
6865 program exited" in parenthesis.
6866 * lib/mi-support.exp: Ditto.
6870 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
6874 * gdb.base/sizeof.c (main): Print the value of '\377'.
6875 * gdb.base/sizeof.exp: Check the sign of '\377'.
6879 * gdb.base/gdb1090.exp: New file.
6880 * gdb.base/gdb1090.cc: New file.
6884 * gdb.gdb/observer.exp: New regression test.
6888 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
6889 * gdb.base/ptype.exp: Likewise.
6893 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
6897 * gdb.base/ptype.exp: Actually use some typedef'd types.
6901 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
6902 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
6906 * gdb.base/default.exp: Fix regular expression.
6910 * gdb.base/args.exp: Fix regular expression.
6914 * gdb.base/help.exp: Allow Win32 child process.
6918 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
6919 when stepping out of main().
6923 * gdb.base/default.exp: Check for win32 specific message when calling
6924 "run" without executable.
6928 * gdb.base/args.exp: Expect .exe in output.
6932 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
6939 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
6940 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
6944 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
6945 test, for PR breakpoints/38.
6946 Call test_watchpoint_and_breakpoint.
6947 * gdb.base/watchpoint.c (func3): New function.
6952 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
6953 Garply<Garply<char> >:: garply".
6954 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
6955 with respect to PR c++/1111; note also PR c++/1113.
6956 (test_template_breakpoints): KFAIL "constructor breakpoint" with
6957 respect to PR c++/1062.
6958 KFAIL "destructor breakpoint" with respect to PR c++/1112.
6962 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
6963 with respect to PR c++/57.
6964 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
6966 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
6967 respect to PR c++/57.
6971 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
6972 respect to PR c++/33 into FAILs.
6976 * configure.in: Update copyright years.
6980 * Makefile.in: Update copyright years.
6984 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
6985 print class instead of struct and/or superfluous protection
6986 specifiers, as long as the resulting output is equivalent to the
6988 Delete FIXME from end of messages on tests that don't need
6993 * gdb.c++/templates.exp (do_tests): Allow const in the two
6994 Foo<volatile char *>::foo tests.
6998 * gdb.base/restore.c (main): Return zero, so exit code
7003 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
7004 char *>::foo" test with respect to PR c++/33. Create a new test
7005 which is identical to that one except that it doesn't put the
7006 space between the "char" and the "*"; KFAIL it, too.
7010 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
7011 template types into either PASSes or KFAILs (corresponding to PR
7012 c++/57). Tweak indentation. Update copyright.
7016 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
7020 * gdb.base/exprs.exp: Remove i960 remnants.
7021 * gdb.base/funcargs.exp: Likewise.
7022 * gdb.base/list.exp: Likewise.
7023 * gdb.base/ptype.exp: Likewise.
7027 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
7028 pEe->D::vg()" from XFAIL to KFAIL.
7032 * gdb.base/maint.exp: Update maint print statistics regexp to include
7037 * gdb.c++/inherit.exp: Remove call to get_debug_format.
7041 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
7042 * gdb.c++/inherit.exp: Likewise.
7043 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
7044 * gdb.c++/templates.exp: Likewise.
7045 * gdb.c++/virtfunc.exp: Likewise.
7049 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
7050 why the code is written that way.
7054 * gdb.base/dump.exp: Add missing copyright line.
7058 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
7059 at the beginning so the breakpoint doesn't get set on the loop.
7063 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
7064 output for configurations with gcc 2.95.3.
7069 * gdb.mi/mi-cli.exp: New file.
7073 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
7074 Call perror and then continue.
7078 * gdb.c++/pr-1023.cc: New file.
7079 * gdb.c++/pr-1023.exp: New file.
7083 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
7084 it's local to foobar. Check for it there, and check that it's not
7086 * gdb.c++/local.cc (marker2): New function.
7087 (foobar): Call marker1.
7088 (main): Call marker2 instead of marker1.
7092 * gdb.disasm/mn10200.exp: Obsolete file.
7093 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
7094 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
7095 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
7099 * gdb.c++/overload.exp: Test intToChar(1).
7100 * gdb.c++/overload.cc (intToChar): New.
7101 (main): Call intToChar.
7105 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
7107 KFAIL some of the continue_to_bp_overloaded calls, according to
7112 * gdb.base/advance.c (marker1): New marker function.
7113 * gdb.base/advance.exp: When the 'advance' command lands on the
7114 return breakpoint, it can legitimately stop on either the
7115 current line or the next line. Accommodate both outcomes.
7116 * gdb.base/until.exp: Likewise.
7121 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
7122 now a list, not a tuple.
7123 * gdb.mi/mi-var-display.exp: Ditto.
7124 * gdb.mi/gdb792.exp: Ditto.
7129 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
7131 * gdb.mi/mi-syn-frame.c: Part of same.
7135 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
7136 gdb.mi/mi1-pthreads.exp: Return instead of calling
7137 gdb_suppress_entire_file.
7141 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
7145 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
7150 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
7151 This was a workaround for a UTF-8 bug in readline 4.3. The bug
7152 has been fixed in gdb/readline on 2003-01-09.
7156 * gdb.base/maint.exp: Allow for leading underscore in symbol.
7157 * gdb.base/display.exp: Allow for leading underscore in symbol.
7158 * gdb.base/args.exp: Skip if target does not support args passing.
7162 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
7163 gdb_test. Accept a list of expect arguments as the third
7169 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
7170 allow for different test tree configurations. Update some
7171 tescases accordingly.
7172 * gdb.arch/altivec-regs.exp: Ditto.
7173 * gdb.asm/asm-source.exp: Ditto.
7174 * gdb.base/advance.exp: Ditto.
7175 * gdb.base/display.exp: Ditto.
7176 * gdb.base/long_long.exp: Ditto.
7177 * gdb.base/mips_pro.exp: Ditto.
7178 * gdb.base/overlays.exp: Ditto.
7179 * gdb.base/relocate.exp: Ditto.
7180 * gdb.base/setshow.exp: Ditto.
7181 * gdb.base/step-line.exp: Ditto.
7182 * gdb.base/step-test.exp: Ditto.
7183 * gdb.base/until.exp: Ditto.
7184 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
7188 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
7189 corresponding to PR c++/945.
7194 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
7195 corresponding to PR c++/68.
7199 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
7200 (test_paddr_hairy_functions): Call print_addr_2_kfail for
7201 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
7205 * gdb.base/break.exp: Fix change of default location, because of
7206 removal of until tests.
7207 * gdb.base/help.exp: Update test for new 'until' help message.
7208 Add test for help on 'advance'.
7209 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
7213 * gdb.base/default.exp: Adapt "info float" test for recent changes
7214 to that command. Add test for "info vector".
7215 * gdb.base/float.exp: New file. Add test for "info float" that
7216 resembles the old test in gdb.base/default.exp.
7220 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
7224 * gdb.base/break.exp: Move the tests of until command from here...
7225 * gdb.base/until.exp: ... to here. New file. Add other tests.
7226 * gdb.base/advance.c: New file.
7227 * gdb.base/advance.exp: New file.
7231 * gdb.base/args.c: New file.
7232 * gdb.base/args.exp: New file.
7236 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
7240 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
7244 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
7249 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
7253 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
7255 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
7259 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
7260 * gdb.mi/mi1-console.exp: Likewise.
7264 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
7265 * gdb.mi/mi1-console.exp: Likewise.
7269 * gdb.c++/overload.exp: Remove some fixed XFAILs.
7273 * gdb.base/detach.exp: New test.
7277 * Makefile.in (ALL_SUBDIRS): New variable.
7278 (subdirs, clean, distclean): Use it.
7279 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
7280 regenerating Makefile, since it is generated from the top level.
7281 * gdb.asm/Makefile.in: Likewise.
7282 * gdb.base/Makefile.in: Likewise.
7283 * gdb.c++/Makefile.in: Likewise.
7284 * gdb.disasm/Makefile.in: Likewise.
7285 * gdb.java/Makefile.in: Likewise.
7286 * gdb.mi/Makefile.in: Likewise.
7287 * gdb.threads/Makefile.in: Likewise.
7288 * gdb.trace/Makefile.in: Likewise.
7292 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
7293 Add copyright year 2003.
7297 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
7298 When selecting a thread, 'line' and 'file' are optional.
7299 * gdb.mi/mi1-pthreads.exp: Likewise.
7303 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
7309 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
7310 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
7312 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
7313 instead of calling gdb_suppress_entire_file.
7314 * gdb.threads/print-threads.exp: Likewise.
7315 * gdb.threads/schedlock.exp: Likewise.
7317 * gdb.threads/killed.exp: Return instead of calling
7318 gdb_suppress_entire_file.
7319 * gdb.threads/linux-dp.exp: Likewise.
7320 * gdb.threads/pthreads.exp: Likewise.
7324 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
7326 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
7327 * gdb.base/whatis.exp: Always allow (void) after function names.
7331 * gdb.c++/casts.exp: Correct regexp.
7335 * configure.in: Call AC_CONFIG_HEADER. Don't call
7336 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
7337 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
7338 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
7339 aforementioned directories in the AC_OUPUT call.
7340 * config.hin: New file.
7341 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
7342 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
7343 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
7344 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
7345 pass -I$objdir instead of -I$objdir/$subdir in compilation.
7346 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
7347 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
7348 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
7349 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
7350 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
7351 gdb.threads/configure.in, gdb.threads/configure,
7352 gdb.threads/config.in, gdb.trace/configure.in,
7353 gdb.trace/configure: Removed.
7357 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
7358 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
7362 * gdb.base/store.exp: Fix regular expressions.
7366 * configure.in: Rewrite.
7367 * configure: Regenerated.
7371 * gdb.base/psymtab.exp: New file.
7372 * gdb.base/psymtab1.c: Ditto.
7373 * gdb.base/psymtab2.c: Ditto.
7377 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
7381 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
7382 and current_directory initialization.
7386 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
7387 rather than as part of the output file name.
7389 * gdb.base/attach.exp: There's no need to copy the test program to
7390 /tmp; that was only ever necessary on HP/UX, and this test is
7391 entirely disabled there anyway.
7395 * gdb.c++/psmang.exp: Doc fix.
7397 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
7402 * gdb.c++/annota2.exp: KFAIL annotate-quit.
7406 * gdb.c++/annota2.exp: Add copyright year 2002.
7410 * gdb.c++/try_catch.cc: Add marker comments.
7411 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
7412 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
7413 * gdb.c++/m-static.cc: Ditto.
7414 * gdb.c++/m-static1.cc: Ditto.
7415 * gdb.c++/try_catch.cc: Ditto.
7419 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
7420 to see whether we are using the new -environment-directory
7421 command which resets via -r or the old version of the command
7422 which may prompt the user. Part of fix for gdb/741.
7426 * gdb.fortran/types.exp: Update obsolete comment.
7427 * gdb.fortran/exprs.exp: Ditto.
7428 * lib/gdb.exp: Delete obsolete code.
7429 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
7430 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
7431 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
7432 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
7433 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
7434 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
7435 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
7436 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
7437 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
7438 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
7439 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
7440 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
7441 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
7442 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
7443 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
7444 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
7445 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
7446 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
7447 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
7448 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
7449 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
7450 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
7451 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
7452 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
7453 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
7454 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
7455 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
7456 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
7457 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
7458 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
7459 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
7460 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
7461 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
7462 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
7463 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
7464 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
7465 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
7469 * gdb.c++/m-data.exp: Add test for members that shadow global
7470 variables: see PR gdb/804.
7471 * gdb.c++/m-data.cc: Ditto.
7475 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
7479 * gdb.base/store.c: Don't declare functions static.
7483 * gdb.base/store.exp, gdb.base/store.c: New files.
7487 * gdb.base/selftest.exp: Update for current gdb.
7491 * gdb.base/maint.exp: Only dump symbols from one source file
7496 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
7501 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
7502 function appearing in error message.
7506 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
7510 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
7511 for mi1 and current mi is in correct format. New mi startup message
7512 should be in mi console format. This is part of fix for PR gdb/604.
7516 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
7517 which explicitly prints the zero offset as "+0".
7521 * gdb.threads/schedlock.c (args): Make unsigned.
7525 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
7526 numbers. Allow "foo2|selected stack frame".
7527 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
7528 * gdb.asm/asmsrc2.s: Likewise.
7529 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
7531 * gdb.asm/mips.inc: New file.
7535 * gdb.base/default.exp: Update expected output to include 'ObjC'.
7536 * gdb.base/help.exp: Likewise.
7540 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
7541 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
7545 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
7549 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
7550 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
7551 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
7552 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
7553 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
7554 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
7555 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
7559 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
7560 * mi0-disassemble.exp, mi0-eval.exp: Delete.
7561 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
7562 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
7563 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
7564 * mi0-var-block.exp, mi0-var-child.exp: Delete.
7565 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
7569 * gdb.base/annota1.exp (info break): Make directory components of
7570 path optional since not all compilers emit this debug information.
7572 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
7573 step ends up stepping out of the function instead of stopping on
7578 * lib/insight-support.exp (gdbtk_start): Figure out where
7579 the insight executable is based on where gdb is. Use this
7580 executable to start insight instead of gdb.
7584 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
7588 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
7589 test_isolated_complaints.
7590 (test_empty_complaint): New function.
7591 (test_empty_complaints): New function. Check no output when no
7596 * gdb.base/charset.exp, gdb.base/charset.c: New files.
7600 * gdb.gdb/complaints.exp: New file.
7604 * gdb.base/maint.exp: Check `help maint internal-warning'.
7608 * gdb.c++/m-static.exp: Remove breakpoints depending on line
7609 numbers, and replace them by a single breakpoint after the
7610 constructors are all finished.
7612 * gdb.c++/m-static.cc: Add test 4.
7613 * gdb.c++/m-static.h: New file.
7614 * gdb.c++/m-static1.cc: New file.
7616 * gdb.c++/printmethod.exp: New file.
7617 * gdb.c++/printmethod.cc: New file.
7619 * gdb.c++/pr-574.exp: New file.
7620 * gdb.c++/pr-574.cc: New file.
7624 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
7625 embedded targets which never actually exit.
7629 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
7630 "don't step after run" as unresolved or unsupported, instead of xfail.
7634 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
7635 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
7636 Add newline to expected string in "step out of main (status wrapper)"
7641 * lib/gdb.exp (rerun_to_main): Allow restarting application.
7642 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
7646 * gdb.base/printcmds.exp (test_print_string_constants): Expect
7647 \000, not \0, in double-quoted string.
7651 * gdb.base/commands.exp: Don't expect a "Program exited normally"
7652 string after running the commands execution on breakpoint tests.
7656 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
7660 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
7664 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
7666 (mi_run_to_main): Use mi_runto.
7667 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
7671 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
7672 regexp for stopping at main. Could have multiple event notifications.
7673 Don't assume that main was declared with no parameters.
7674 (mi_next): Use mi_step_to.
7675 (mi_step): Use mi_next_to.
7679 * gdb.base/default.exp: Fix expected string in `info float' test.
7683 * config/mips.exp: Update comments.
7684 * config/mips-idt.exp: Likewise.
7685 * config/nind.exp: Likewise.
7686 * config/slite.exp: Likewise.
7687 * config/sparclet.exp: Likewise.
7688 * config/udi.exp: Likewise.
7689 * config/vx.exp: Likewise.
7690 * config/vxworks29k.exp: Likewise.
7694 * gdb.threads/killed.exp: Fix test failure message.
7698 * lib/mi-support.exp: Update copyright.
7699 (mi_gdb_test): Increase the priority of the expected pattern
7700 so that it matches gdb_test.
7704 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
7705 Use integer comparison instead of string comparison for testing
7706 whether binary was built.
7710 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
7714 * gdb.threads/pthreads.exp: Move the portable thread compilation
7715 code into a function in lib/gdb.exp, and call that from here.
7716 * lib/gdb.exp (gdb_compile_pthreads): New function.
7720 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
7721 expect_out so that callers can get at it.
7725 * gdb.threads/print-threads.c: New file.
7726 * gdb.threads/print-threads.exp: New file.
7727 * gdb.threads/schedlock.c: New file.
7728 * gdb.threads/schedlock.exp: New file.
7732 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
7737 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
7738 targets. The problem should be fixed now.
7742 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
7743 2002-07-24 change that removes final dots from error messages.
7747 * gdb.base/readline.exp: New file.
7751 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
7756 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
7757 CHILL_FOR_TARGET and CHILL_LIB.
7758 * configure.in (configdirs): Remove gdb.chill.
7759 * configure: Regenerate.
7760 * lib/gdb.exp: Obsolete references to chill.
7761 * gdb.fortran/types.exp: Ditto.
7762 * gdb.fortran/exprs.exp: Ditto.
7766 * gdb.base/shlib-call.exp (additional_flags): Conditionally
7767 set Irix-specific compile and link flags.
7771 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
7772 source files. The ``-o'' option doesn't work with the ``-E'' option
7773 when using the Irix compiler.
7777 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
7778 Improve support for reusing an exec file. Copy exec file
7779 to target, and run gdbserver on the target instead of on the host.
7783 * gdb.base/ending-run.exp: Don't expect to see the program end in
7784 some orderly fashion when we're running on a real stand-alone
7787 * gdb.base/interrupt.exp: Correct logic for skipping tests on
7788 targets that don't support interrupts.
7792 * gdb.base/attach.exp: Add patterns to match output from /proc-based
7794 Move comments in expect statements to inside the actions, so that they
7795 don't get matched against.
7799 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
7800 function when asleep" test.
7804 * gdb.base/page.exp: Rewrite to handle problems with very long
7805 `info set' output. Update copyright.
7809 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
7811 * gdb.hp/configure: Regenerate.
7812 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
7813 * gdb.hp/gdb.threads-hp/configure: Delete file.
7814 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
7818 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
7819 setlocale, bindtextdomain and textdomain.
7823 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
7824 preprocessor macro information is present.
7826 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
7831 * gdb.base/overlays.exp: Record addresses of overlay
7832 functions in TCL variables rather than in GDB variables,
7833 to avoid having GDB convert them to pointers (with loss
7836 * gdb.base/d10v.ld: Merge in several years worth of
7837 default linker script changes.
7838 * gdb.base/long_long.exp: Add check for sizeof (long double).
7842 * gdb.asm/asm-source.exp: Add x86-64 target.
7843 * gdb.asm/x86_64.inc: New.
7848 * gdb.c++/m-static.cc: New file.
7849 * gdb.c++/m-static.exp: New file.
7853 * gdb.base/call-ar-st.exp: Allow for reduced floating point
7859 * gdb.c++/m-data.cc: New file.
7860 * gdb.c++/m-data.exp: New file.
7865 * gdb.c++/try_catch.cc: New file.
7866 * gdb.c++/try_catch.exp: New file.
7870 * gdb.c++/local.exp: Accept more nested types in output.
7874 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
7878 * lib/gdb.exp (gdb_wrapper_init): Just because
7879 gdb_wrapper_file exists, this does not mean that the file
7880 should not be rebuilt. That is what gdb_wrapper_initialized
7882 (default_gdb_init): Reset gdb_wrapper_initialized.
7886 * gdb.base/all-bin.exp: Revise previous patch by just reducing
7887 the precision of the floating point test results.
7888 * gdb.base/call-rt-st.exp: Ditto.
7890 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
7891 * gdb.base/call-rt-st.exp: Ditto.
7895 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
7899 * configure.in (configdirs): Add gdb.arch.
7900 * configure: Regenerate.
7904 * gdb.base/completion.exp: Recognize the more detailed error
7905 messages produced by the macro expander's lexical analyzer.
7909 * gdb.arch/altivec-abi.c: New file.
7910 * gdb.arch/altivec-abi.exp: New file.
7911 * gdb.arch/altivec-regs.c: New file.
7912 * gdb.arch/altivec-regs.exp: New file.
7916 * gdb.base/maint.exp (maint print type): Update for new type
7921 * gdb.arch: New directory.
7922 * gdb.arch/configure.in: New file.
7923 * gdb.arch/configure: New file.
7924 * gdb.arch/Makefile.in: New file.
7928 * gdb.asm/asm-source.exp: Add v850 as supported target.
7929 * gdb.asm/v850.inc: New file.
7933 * gdb.c++/annota2.exp (annotate-quit): Add comment.
7937 * gdb.base/break.exp: Check 'break "marker2"'.
7941 * gdb.base/long_long.exp: Fix typo.
7945 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
7948 * gdb.base/printcmds.exp (test_integer_literals_rejected):
7949 Recognize more detailed error message produced by the macro
7950 expander's lexical analyzer.
7951 * lib/gdb.exp (test_print_reject): Same.
7955 * gdb.c++/method.exp: Fix typo.
7959 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
7960 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
7961 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
7962 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
7963 Add iftarget clause for strongarm.
7967 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
7968 (gdb_continue_to_end): Accept output from status wrapper.
7969 * gdb.base/ending-run.exp: Add case for output from status wrapper.
7970 Clean up fail messages to match pass messages.
7972 Enable the "needs_status_wrapper" testsuite feature.
7973 * lib/gdb.exp (gdb_wrapper_init): New procedure.
7974 (gdb_compile): Conditionally call gdb_wrapper_init.
7975 * gdb.base/a2-run.exp: Recognize output from status wrapper.
7976 * gdb.c++/method.exp: Recognize output from status wrapper.
7981 * config/sid.exp: Include support for "rawsid" protocol.
7985 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
7986 * gdb.c++/hang3.C: New file.
7990 * gdb.base/default.exp: Remove obsolete code.
7991 * gdb.c++/misc.exp: Ditto. Update copyright.
7992 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
7993 * gdb.base/whatis.exp: Ditto. Update copyright.
7994 * gdb.base/scope.exp: Ditto. Update copyright.
7995 * gdb.base/ptype.exp: Ditto. Update copyright.
7996 * gdb.base/printcmds.exp: Ditto. Update copyright.
7997 * gdb.base/opaque.exp: Ditto. Update copyright.
7998 * gdb.base/list.exp: Ditto.
7999 * gdb.base/funcargs.exp: Ditto. Update copyright.
8000 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
8001 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
8002 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
8003 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
8004 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
8005 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
8009 * gdb.base/watchpoint.exp: Add xscale target.
8010 * gdb.base/long_long.exp: Add xscale target.
8011 * gdb.base/default.exp: Add xscale target.
8015 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
8016 gdb.c++/hang.exp: New test.
8020 * gdb.base/completion.exp: Handle completions of "./Make" for
8021 more than one completion possibility, as is the case when we
8022 build and test in the source tree.
8026 * gdb.java/jmisc1.exp: New file.
8027 * gdb.java/jmisc2.exp: New file.
8031 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
8035 * gdb.base/help.exp: Change 'help status' to allow for target
8036 dependent output differences.
8040 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
8044 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
8048 * gdb.asm/sparc64.inc: New file.
8049 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
8053 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
8054 instruction file directly into the build tree. Clean up at end of
8059 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
8060 handle 64-bit platforms correctly.
8061 * gdb.base/maint.exp: Likewise.
8065 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
8066 ``-fpic'' when compiling files comprising a shared library, but
8067 it does need additional linker flags in order to find shared
8068 libraries at run time.
8072 * gdb.base/cvexpr.c (use): New function.
8073 (main): Invoke use() on all global variables to prevent
8074 some linkers from deleting these otherwise unused symbols.
8079 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
8080 handle 64-bit platforms correctly.
8084 * gdb.base/foo.c (foox): Remove section attribute; the linker
8085 script can handle this instead.
8086 * gdb.base/bar.c (barx): Same.
8087 * gdb.base/baz.c (bazx): Same.
8088 * gdb.base/grbx.c (grbxx): Same.
8090 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
8091 manager doesn't automatically unmap overlays unnecessarily.
8095 * gdb.base/ending-run.exp: Fix pattern for Mips targets
8096 stepping out of main.
8100 * gdb.c++/local.cc (main): Move call to marker1() inside nested
8101 scope so that the nested scope tests will make sense.
8102 * gdb.c++/local.exp: Write patterns that actually work with gcc
8103 (the HP patterns "were never known to work with gcc").
8104 Keep the old aCC patterns too.
8108 * gdb.base/attach.exp: Correct target board test.
8112 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
8113 in a const method. Add some xfail and fail cases for configurations
8114 that do not emit the "const ...".
8118 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
8119 Accept "A * const" and "const A * const" as type of "this".
8120 Fix spelling of getFunky throughout. Make messages uniform.
8124 Work around for PR gdb/285:
8125 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
8129 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
8130 instructions file at run time instead of configure time.
8131 Sometimes we run the test in a directory that is not the one we
8133 * gdb.asm/configure.in: Delete creation of symlink.
8134 * gdb.asm/configure: Regenerate.
8138 * gdb.gdb/xfullpath.exp: New test, to exercise the new
8139 xfullpath () function.
8143 * gdb.asm/Makefile.in: Correct dependencies.
8145 * gdb.asm/powerpc.inc: New file.
8146 * gdb.asm/asm-source.exp: Add PowerPC.
8147 * gdb.asm/configure.in: Likewise.
8148 * gdb.asm/configure: Regenerated.
8152 * gdb.base/relocate.exp: New file.
8153 * gdb.base/relocate.c: New file.
8157 * gdb.base/step-test.exp: Update comment regarding stopping in
8158 memcpy/bcopy calls inserted as part of the compiler runtime.
8162 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
8166 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
8167 (gdb_expect): Remove $notransfer hack.
8171 * gdb.c++/classes.exp ("calling method for small class"): Match
8172 updated register output.
8177 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
8178 when finished. Make gdb_file_cmd send "exec-file" when
8183 * gdb.base/attach.exp: Remove extra setup_xfail.
8187 * gdb.base/default.exp: Add tests for dump, append, and restore.
8188 * gdb.base/help.exp: Add tests for dump, append, and restore.
8189 * gdb.base/dump.exp: New file, test dump, append and restore.
8190 * gdb.base/dump.c: New file.
8194 * gdb.base/help.exp: Modify expect strings to reflect
8195 clean-ups in help messages.
8199 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
8200 have debugging info for those functions and the compiler uses them
8201 internally to copy structs around.
8205 * gdb.base/list.exp: Revert the change made yesterday and add note
8206 about why we don't list the default lines for remote targets.
8210 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
8214 * gdb.base/list.exp: This test works on remote targets so remove
8215 the short circuit for remote targets. Update copyright.
8219 * gdb.base/attach.exp: Fix logic error that was suppressing this
8220 test for all non hppa*-*-hpux* targets, instead of the hp target.
8221 Move comments closer to the suppression point. Also now need to
8222 check that we are running natively.
8226 * gdb.base/default.exp: Add test for gcore. Update copyright.
8227 * gdb.base/help.exp: Add test for gcore. Update copyright.
8231 * gdb.base/funcargs.c: Remove extraneous ';' character.
8232 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
8236 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
8237 accommodate gcc v3 function signature.
8238 * gdb.mi/mi0-var-cmd-exp: Ditto.
8242 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
8243 ``GNU/Linux'' or ``Linux kernel''
8244 * testsuite/gdb.threads/pthreads.c: Ditto.
8248 * gdb.threads/pthreads.c (thread1): Add a return statement.
8249 (thread2): Likewise.
8254 * gdb.threads/linux-dp.c (philosopher): Add a return statement
8259 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
8260 test "ptype bint". The test passes on all my stabs configurations.
8264 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
8265 filename at a time, and watch for the ones we want to see.
8267 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
8268 types of pointers to prototyped functions.
8272 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
8273 signed, unsigned and straight char.
8274 (padding_char, padding_short, padding_int, padding_long,
8275 padding_long_long, padding_float, padding_double,
8276 padding_long_double): New global variables.
8277 (fill, fill_structs): New functions.
8279 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
8280 for correctly sized writes. Update copyright.
8281 (get_valueof): New procedure.
8282 (get_sizeof): Call get_valueof.
8283 (check_valueof): New procedure.
8284 (check_padding): New procedure.
8288 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
8289 to setup_xfail. Document some of the remaining calls.
8293 * gdb.c++/userdef.exp: Update copyright year.
8297 * gdb.c++/userdef.exp: Test overloaded operators properly.
8302 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
8306 * gdb.base/a2-run.exp: Check for a remote target properly.
8307 * gdb.base/annota1.exp: Likewise.
8308 * gdb.base/list.exp: Likewise.
8309 * gdb.base/reread.exp: Likewise.
8310 * gdb.base/scope.exp: Likewise.
8311 * gdb.base/shlib-call.exp: Likewise.
8312 * gdb.base/term.exp: Likewise.
8313 * gdb.c++/annota2.exp: Likewise.
8317 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
8321 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
8322 (call_after_alloca): Ditto.
8326 * gdb.base/ending-run.exp: Guard "cont" test with
8327 gdb_skip_stdio_test.
8331 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
8333 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
8334 To here. Disable this test on non-HP platforms. Add big comment.
8338 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
8339 other than d10v and m32r.
8343 * gdb.base/default.exp: Rewrite test patterns to reduce time
8344 taken to match them.
8348 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
8349 Allow a start function above main.
8350 * gdb.threads/linux-dp.exp: Fix copyright date.
8354 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
8355 (check_philosopher_stack): Check for manager thread before checking
8356 for a just-starting thread.
8361 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
8366 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
8371 * gdb.base/reread.exp: Check that GDB properly re-reads the
8372 executable file when it changes while no inferior is running.
8376 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
8377 optionally accept the "shlib events" variation.
8381 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
8382 call `fflush' after every `printf', so that the output is produced
8383 at predictable points, regardless of whatever buffering does (or
8384 doesn't) take place.
8385 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
8386 at different points.
8390 * gdb.c++/inherit.exp: Update copyright years.
8391 * gdb.c++/method.exp: Likewise.
8395 * gdb.c++/classes.exp: Update for improved v3 support and skipping
8396 artificial methods/arguments.
8397 * gdb.c++/derivation.exp: Likewise.
8398 * gdb.c++/inherit.exp: Likewise.
8399 * gdb.c++/method.exp: Likewise.
8400 * gdb.c++/virtfunc.exp: Likewise.
8404 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
8405 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
8406 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
8407 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
8408 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
8409 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
8413 * gdb.asm/asm-source.exp (info symbol): Take another shot at
8414 anchoring the pattern matching the entry point symbol's name.
8418 * gdb.base/maint.exp: Update ``maint internal-error'' to match
8419 continue/quit query. Update copyright.
8423 * gdb.base/gcore.exp: Remove extra debugging output.
8427 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
8428 for slightly dubious v2 mangled string.
8432 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
8436 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
8438 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
8440 * gdb.c++/derivation.exp: Likewise.
8441 * gdb.c++/templates.exp: Likewise.
8442 * gdb.c++/virtfunc.exp: Likewise.
8446 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
8450 * gdb.base/gcore.exp: New test for generate-core-file command.
8451 * gdb.base/gcore.c: Testcase for above.
8452 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
8456 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
8460 * gdb.c++/overload.exp: Remove unconditional xfails for:
8461 print foo_instance1.overloadargs(1)
8462 print foo_instance1.overloadargs(1, 2)
8463 print foo_instance1.overloadargs(1, 2, 3)
8464 print foo_instance1.overloadargs(1, 2, 3, 4)
8465 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
8466 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
8467 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
8468 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
8469 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
8470 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
8471 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
8472 print foo_instance1.overload1arg()
8473 print foo_instance1.overload1arg((char)arg2)
8474 print foo_instance1.overload1arg((signed char)arg3)
8475 print foo_instance1.overload1arg((unsigned char)arg4)
8476 print foo_instance1.overload1arg((int)arg7)
8477 print foo_instance1.overload1arg((unsigned int)arg8)
8478 print foo_instance1.overload1arg((float)arg11)
8479 print foo_instance1.overload1arg((double)arg12)
8483 * gdb.base/huge.exp: New test. Print a very large target data object.
8484 (skip_huge_test): New test variable. Define if you want to skip this
8485 test. The test reads an 8 megabyte data object from the target, so it
8486 might be very time consuming on remote targets with a slow connection.
8487 * gdb.base/huge.c: New file. Test case for above.
8491 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
8492 g_instance.bfoo, and g_instance.cfoo.
8496 * gdb.base/break.c (multi_line_if_conditional): New function.
8497 (multi_ilne_while_conditional): Likewise.
8498 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
8499 IF or WHILE condition puts the breakpoint at the start of
8502 * gdb.base/selftest.exp (backtrace through signal handler): Remove
8503 hppa*-*-hpux* expected failure.
8504 * gdb.base/structs.exp (do_function_calls): Similarly.
8506 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
8512 * gdb.base/structs.exp: Replace skip for a29k with skip for
8513 gdb,cannot_call_functions.
8514 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
8515 * gdb.base/callfuncs.exp: Ditto.
8516 * gdb.base/call-rt-st.exp: Ditto.
8517 * gdb.base/call-strs.exp: Ditto.
8518 * gdb.base/callfwmall.exp: Ditto.
8519 * gdb.base/scope.exp: Obsolete xfail a29k.
8520 * gdb.c++/misc.exp: Ditto.
8521 * gdb.c++/cplusfuncs.exp: Ditto.
8522 * gdb.base/ptype.exp: Ditto.
8523 * gdb.base/printcmds.exp: Ditto.
8524 * gdb.base/opaque.exp: Ditto.
8525 * gdb.base/list.exp: Ditto.
8526 * gdb.base/funcargs.exp: Ditto.
8527 * gdb.base/default.exp: Ditto.
8531 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8532 * gdb.base/maint.exp: Add tests for maint info sections options.
8536 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
8540 * gdb.asm/arm.inc: New file.
8541 * gdb.asm/asm-source.exp: Add arm targets.
8542 * gdb.asm/configure.in: Ditto.
8543 * gdb.asm/configure: Recreated from configure.in.
8547 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
8549 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
8550 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
8551 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
8552 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
8554 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
8555 either HP's compilers or GCC.
8557 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
8558 a SIGBUS or SIGSEGV.
8560 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
8562 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
8563 can be compiled with either HP's compiler or GCC.
8565 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
8566 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
8567 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
8569 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
8570 to match current gdb output. Update due to using auto-solib-limit
8571 for limiting instead of overloading auto-solib-add.
8572 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
8575 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
8576 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
8577 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
8578 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
8579 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
8580 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
8581 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
8582 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
8583 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
8584 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
8585 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
8586 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
8587 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
8589 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
8590 a SIGTRAP to the inferior.
8594 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
8595 Substitute call to target_link by call to gdb_compile.
8599 * gdb.base/break.exp: Fix HP specific search string when testing
8600 backtracing in a called function.
8602 * gdb.base/constvars.exp: Only set lang to C++ if we're
8603 compiling the test with HP's compilers.
8604 * gdb.base/volatile.exp: Similarly.
8608 * gdb.base/printcmds.exp: Expect the null character to be printed
8609 as '\0', and the '\013' to be printed as '\v'.
8610 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
8611 * gdb.base/setvar.exp: Same.
8615 * gdb.base/completion.exp: Rather than completing very long
8616 filenames, which can make the readline library produce output we
8617 don't recognize, cd to the directory first, and then complete
8618 using nice, short relative paths.
8620 * gdb.base/completion.exp: On some systems, there is, in fact, a
8621 variable named `b' in scope, since GDB treats all static
8622 variables as being in scope. So use `no_var_named_this'
8625 * gdb.base/corefile.exp: Recognize the message saying that GDB
8626 can't find the core file's registers as a failure.
8630 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
8631 test expect string more specific.
8635 * gdb.asm/asm-source.exp: Add support for xstormy16.
8636 * gdb.asm/configure.in: Ditto.
8637 * gdb.asm/configure: Rebuild.
8638 * gdb.asm/xstormy16.inc: New file.
8642 * gdb.base/maint.exp: Update to match changes in type dumping code.
8646 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
8647 matching the entry point symbol's name at the beginning of the
8652 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
8653 gdb.c++/inherit.exp, gdb.c++/method.exp,
8654 gdb.c++/namespace.exp, gdb.c++/templates.exp,
8655 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
8656 and class layout support.
8660 * gdb.c++/classes.exp: Add test for static member function.
8661 * gdb.c++/misc.cc: Add class with static member function.
8665 If GDB says it can't find the struct the function returned, report
8666 those tests as `unsupported'.
8667 * gdb.base/call-rt-st.exp (print_struct_call): New function.
8668 Rewrite subsequent tests to use it.
8670 If GDB says it can't find the struct the function returned, report
8671 those tests as `unsupported'.
8672 * gdb.base/structs.exp (call_struct_func): New function.
8673 (do_function_calls): Use call_struct_func to call the functions
8676 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
8677 whether functions are prototyped or not, so we can't possibly pass
8678 arguments to t_float_values2 properly.
8680 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
8681 value of `timeout' for targets other than the mips*tx39-*.
8685 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
8686 and detect whether the start symbol has a leading underscore.
8690 * gdb.base/completion.exp: Clarify indentation.
8694 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
8695 variables on the S/390, not `.word'.
8699 Add assembly-source tests for s390-ibm-linux.
8700 * gdb.asm/s390.inc: New file.
8701 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
8702 the S/390 architecture.
8703 * gdb.asm/configure: Regenerated.
8707 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
8708 next, info source, info sources, info line, global and static
8709 variables, and static functions.
8710 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
8711 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
8712 * gdb.asm/asmsrc1.s: Add a static function and some variables.
8713 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
8714 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
8715 (gdbasm_leave): Restore frame pointer.
8716 (gdbasm_startup): Copy stack set-up from crt0.S.
8721 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
8722 to a local (non-static) variable. Copy tstruct.a to a static buffer
8723 and return a pointer to that buffer.
8724 * gdb.base/callfwmall.c (t_structs_a): Ditto.
8728 * gdb.asm/configure.in: Fix recognition of ix86 target.
8729 * gdb.asm/configure: Regenerate.
8733 * gdb.asm/sparc.inc: New file.
8734 * gdb.asm/asm-source.exp: Recognize sparc target.
8735 * gdb.asm/configure.in: Recognize sparc target.
8736 * gdb.asm/configure: Regenerate.
8740 * gdb.asm/m32r.inc: New file.
8741 * gdb.asm/asm-source.exp: Recognize m32r target.
8742 * gdb.asm/configure.in: Recognize m32r target.
8743 * gdb.asm/configure: Regenerate.
8747 * gdb.asm/i386.inc: New file.
8748 * gdb.asm/asm-source.exp: Recognize ix86 target.
8749 * gdb.asm/configure.in: Recognize ix86 target.
8750 * gdb.asm/configure: Regenerate.
8752 * gdb.c++/namespace.exp: Fix quotes in output messages.
8756 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
8757 qualifier in a type cast expression, to designate an address
8758 in the instruction space (Harvard architecture).
8762 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
8763 Tests for expressions using 'const' and 'volatile'.
8767 * gdb.asm/asm-sources.exp: Allow defining linker flags.
8771 * lib/mi-support.exp (mi_run_to_helper): Move comments
8772 outside of gdb_expect.
8776 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
8777 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
8778 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
8779 mi0_run_to): New functions.
8780 * gdb.mi/mi-simplerun.exp: Use them.
8781 * gdb.mi/mi0-simplerun.exp: Likewise.
8782 * gdb.mi/mi-var-cmd.exp: Likewise.
8783 * gdb.mi/mi0-var-cmd.exp: Likewise.
8787 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
8788 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
8792 * gdb.base/restore.exp: Include $expected value in restored test
8797 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
8802 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
8803 Add pass/fail message for stop at breakpoint in call dummy function.
8807 * gdb.c++/templates.exp (test_template_breakpoints):
8808 If we get an overload menu, but it does not match what
8809 we expect, we still need to issue the "cancel" command.
8810 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
8811 making the whitespace optional. Argument for "new" may be
8812 "unsigned" as well as "unsigned int/long".
8813 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
8814 making the whitespace optional. Also replace "(void) with
8815 "((void|)), making the keyword "void" optional.
8816 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
8817 making the whitespace optional. Also replace "(void) with
8818 "((void|)), making the keyword "void" optional.
8819 * gdb.base/callfuncs.c (t_float_values): This function must
8820 _not_ be prototyped, and the following function (t_float_values2)
8821 must be prototyped (if the compiler supports it), so that GDB
8822 can be tested against both cases. Usually one case involves
8823 promotion of float to double, while the other does not.
8824 * gdb.base/callfwmall.c: Ditto.
8825 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
8826 includes a stack frame for "start".
8830 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
8831 pointers are 32 bits long, and that offsets of relocs are always
8832 stored in the data (REL-style), and not in the reloc entry itself
8834 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
8839 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
8840 and regular expression operators by using quoting.
8844 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
8845 depending on what the symbol table contains.
8846 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
8847 the output of the ptype command. Similarly, accept both "const &"
8852 * gdb.base/miscexprs.c (main): Add usage of preprocessor
8853 symbol `STORAGE' to allow to choose the storage class of
8854 the local datastructures.
8855 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
8860 * gdb.base/jump.exp: Allow it to run for all targets.
8864 * gdb.base/call-ar-st.c (print_double_array): Match for loop
8865 with new double_array size.
8866 (main): Change storage class of all local variables to static.
8867 Reduce size of double_array to 9.
8868 * gdb.base/call-ar-st.exp: Increase timeout value.
8869 Change expected output for double array to match new size in
8874 * gdb.base/ending-run.exp: Create identical output when passing
8875 `step to end of run' case. Add regular expression branch satisfying
8880 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
8881 that we catch the expected failure under Linux/x86.
8885 * gdb.base/setvar.exp: Escape curly braces.
8886 * gdb.stabs/weird.exp: Ditto.
8890 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
8891 * gdm.mi/mi0-hack-cli.exp: Likewise.
8895 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
8900 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
8901 checking MI enabled.
8905 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
8909 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
8910 if gdb child process crashes, just signal an error.
8914 * lib/gdb.exp (test_xfail_format): Simplify.
8916 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
8917 front of the variable name `format'. Simplify `if'.
8921 * gdb.threads/pthreads.exp: Wait for output and delay
8926 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
8927 some incorrect output instead of timing out.
8928 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
8932 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
8933 check to allow additional `int'.
8937 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
8938 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
8942 * lib/gdb.exp (test_debug_format): New proc.
8943 (setup_xfail_format): Use new proc test_debug_format.
8944 * gdb.base/constvars.exp (local_compiler_xfail_check): New
8945 proc; use new service proc test_debug_format.
8946 Replace all other "gcc_compiled" tests with this test.
8947 * gdb.base/volatile.exp (local_compiler_xfail_check): New
8948 proc; use new service proc test_debug_format.
8949 Replace all other "gcc_compiled" tests with this test.
8953 * gdb.base/cvexpr.exp: New file.
8954 * gdb.base/cvexpr.c: New file
8955 Test for expressions using const and volatile keywords.
8959 * gdb.base/constvars.exp: Check for different orders of keywords
8960 and additional "int" strings in output.
8964 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
8965 responses from "help maint".
8969 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
8970 to localhost:NNN instead of :NNN, in case Xvfb is listening
8975 * gdb.base/recurse.exp: When checking leaving the watchpoint
8976 scope, recognize when gdb is in function's epilogue and pass.
8980 * lib/insight-support.exp (_gdbtk_export_target_info): Add
8981 support for running tests against sid targets.
8982 (gdbtk_done): Ditto.
8986 * gdb.base/ending-run.c (main): Set stdout buffersize
8987 to the same reasonable value for any target.
8988 * gdb.base/ending-run.exp: Add a regular expression
8989 to make testsuite happy on Sanyo Stormy16 target.
8993 * gdb.base/display.c (do_loops): Add float variable `f'.
8994 Increment f in loop.
8995 * gdb.base/display.exp: Increment timeout by 60 seconds.
8996 Change float display test to use variable `f'.
9000 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
9001 overflowing the limited breakpoint tables on some ROM monitors
9006 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
9007 the "-ac" (disable access control) flag.
9011 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
9016 * lib/gdb.exp: Move all insight-related functionality into
9018 * lib/insight-support.exp: New file.
9022 * config/sid.exp (sid_start): Never set sid verbosity; disable
9023 expect_background {} that consumed its stdout; tolerate </dev/null.
9024 Attempt to set endianness override in "sid" protocol mode. Cleanup.
9028 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
9029 CLI jump command to start it.
9030 (mi_run_to_main): Fail immediatly when unexpected output.
9034 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
9035 beginning of function. Fix PR gdb/191.
9039 * config/sid.exp (sid_start): Don't warn if we cannot figure out
9040 what to force sid endianness to.
9044 * lib/gdb.exp (gdbtk_start): Don't set environment
9045 variables for TCL_LIBRARY and friends. Insight will
9046 now figure these out for itself.
9050 * gdb.base/completion.exp: Remove the symbol "a64l" from
9051 the expect string; this is target-specific, and not related
9052 to what is being tested.
9056 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
9060 * gdb.base/consecutive.exp: New file. Test stepping over
9061 breakpoints on consecutive instructions.
9062 * gdb.base/consecutive.c: New file.
9064 * gdb.base/call-rt-st.exp: Use double-backslash to quote
9065 curly braces in regular expressions.
9069 * gdb.base/ending-run.exp: Accept "Program exited normally" as
9070 legitimate output from stepping out of main.
9074 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
9075 the empty string, do not run the tests.
9079 * gdb.base/long_long.exp: Detect size of pointer. Take into
9080 account 2-byte pointers when testing for p/a results.
9084 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
9085 and defined to 1K for m68hc11.
9086 (random_data): Reduce table to 1K for embedded platforms (68hc11).
9087 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
9088 (sizeof_random_data): New variable to tell the size of the data table;
9089 don't test past this size; always run to main.
9093 * gdb.base/return2.exp: return of long long and double fails for
9094 68HC11; don't execute these tests on that platform.
9095 * gdb.base/return.exp: Return of a double fails for 68hc11.
9099 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
9100 tests that print a float.
9101 * call-rt-st.exp: Likewise.
9105 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
9106 running this test on Linux.
9110 * gdb.base/arithmet.exp: Remove some tests to make all test names
9115 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
9116 the output of the ptype command.
9120 * gdb.base/completion.exp: Don't assume that break.c is the only
9121 source file that may contain functions named "marker".
9122 * gdb.base/corefile.exp: Quote the curly braces in regexp.
9126 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
9130 * gdb.disasm/h8300s.exp: New file.
9131 gdb.disasm/h8300s.s: Likewise.
9135 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
9136 empty breakpoint tables.
9140 * lib/mi-support.exp: Update args=... part of stop-reason
9141 patterns. Accept either a list or a tuple.
9145 * lib/mi-support.exp: Remove local emacs variable defining
9146 change-log-default-name.
9150 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
9151 This is operationally compatible with the previous version.
9155 * lib/gdb.exp (gdb_test): Doc fix.
9159 * gdb.base/exprs.exp: Remove a duplicate test.
9163 * gdb.base/return2.exp (main): Use values to test float and double
9164 returns that are not NaN's, to avoid being confused by IEEE
9169 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
9170 non-zero if control_c fails. Terminate the test on failure,
9171 rather than wait for 12 more tests to time out.
9175 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
9176 Don't forget to match the GDB prompt.
9178 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
9182 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
9187 * gdb.base/annota1.exp (info break): Match four or more spaces
9192 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
9193 (dm_type_int_star): Likewise.
9194 (dm_type_long_star): Likewise.
9195 (dm_type_void_star): Likewise.
9199 * gdb.base/completion.exp (INPUTRC): Set this environment variable
9200 to a known value in order to get consistent results regardless
9201 of the setting of INPUTRC or the presence or contents of .inputrc.
9205 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
9206 Don't require that the main thread and the manager thread are the
9209 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
9210 debugging. If test fails, issue an "unsupported" not a "fail".
9214 Don't assume that short is shorter than int.
9215 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
9216 assume that shorts are smaller than ints. On a 16-bit machine,
9218 ("print unsigned char == (~0)"): Add test that verifies that ~0,
9219 an int, is not equal to ~0 stored in an unsigned char. This tests
9220 the same thing that the previous test meant to, but works on
9221 16-bit machines, too.
9222 ("print unsigned char != (~0)"): Same test, complemented.
9226 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
9227 test for (full_coverage == 0). This makes the test run faster,
9228 and prevents dejagnu getting out of step.
9232 * gdb.base/finish.exp (finish_void): Revise pattern for
9233 stopping on the call statement to not permit stopping at
9234 the start of the instructions comprising the call sequence.
9238 * gdb.base/callfuncs.exp: Make all test names unique.
9239 * gdb.base/commands.exp: Make all test names unique.
9240 * gdb.base/condbreak.exp: Make all test names unique.
9241 * gdb.base/dbx.exp: Make all test names unique.
9242 * gdb.base/default.exp: Make all test names unique.
9243 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
9244 and TIMEOUT messages to their corresponding PASS message.
9245 * gdb.base/ending-run.exp: Make all test names unique.
9246 * gdb.base/long_long.exp: Remove duplicate test.
9250 * gdb.base/finish.exp (finish_void): Allow "finish" command to
9251 stop on the call statement as well as the statement after the
9256 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
9260 * gdb.base/completion.exp: Revamp test. Make it execute on all
9265 * config/gdbserver.exp (gdb_load): Handle the case
9266 in which the arguments to gdbserver are given in the
9267 baseboard configuration file.
9268 Also handle the case in which the server needs to do a
9273 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
9274 set up the display for testing.
9275 (gdbtk_start): Convert all paths to paths that tcl will like.
9276 Export target information to environment.
9277 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
9279 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
9280 (to_tcl_path): New proc to convert a given pathname into
9281 a path acceptible as an argument to a tcl command.
9282 (_gdbtk_export_target_info): New proc to export target info
9283 into the environment for gdbtk testing.
9284 (gdbtk_done): New proc to signal end-of-test.
9288 * restore.c: Make the code of caller0 correspond to its comment.
9292 * config/sid.exp (gdb_target_sid): Check for error messages.
9293 On error or timeout, don't make expect exit (which will terminate
9294 all subsequent tests); instead just make gdb exit.
9295 (gdb_load): Check for error messages. On error or timeout,
9296 return a negative value.
9300 * gdb.c++/templates.exp: If we see the prompt for the overload
9301 list, but we haven't recognized any of the longer patterns,
9302 arrange for this test to fail, not hang.
9304 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
9309 * gdb.c++/local.exp: Use the 'runto' library function.
9310 * gdb.c++/namespace.exp: Likewise.
9311 * gdb.c++/overload.exp: Likewise.
9315 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
9316 * gdb.base/step-line.exp: New file. Test step/next in presence of
9318 * gdb.base/step-line.c: New file. Test program for the above.
9319 * gdb.base/step-line.inp: New file. We pretend that this file has
9320 been transformed by some other tool into step-line.c.
9324 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
9325 unmangled operator names.
9329 * gdb.threads/linux-dp.exp: Recognize an additional message
9330 generated by GDB when it doesn't understand how to debug threads
9331 on the target system.
9335 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
9339 * gdb.c++/derivation.exp: Use the 'runto' library function.
9343 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
9347 * gdb.c++/ref-types.exp: Change handwritten code to library
9352 * gdb.base/signals.exp: Set count to 0 explicitly.
9356 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
9357 (gdb_target_monitor): Add check of gdb_target_cmd return value.
9358 (gdb_load): Add support for additional target_info: gdb_download_size
9359 and gdb_load_timeout.
9363 * gdb.base/annota1.exp: Move test of isnative to earlier in the
9364 file -- to prevent failing when the compile fails but we have no
9365 intention of running the tests anyway.
9367 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
9370 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
9373 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
9374 * gdb.c++/namespace.exp: Ditto.
9378 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
9379 * gdb.base/pointers.exp: Relax pattern match of decimals.
9383 * Makefile.in, config/abug.exp, config/cfdbug.exp,
9384 config/cpu32bug.exp, config/dve.exp, config/est.exp,
9385 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
9386 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
9387 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
9388 config/sh.exp, config/sid.exp, config/slite.exp,
9389 config/sparclet.exp, config/udi.exp, config/unknown.exp,
9390 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
9391 config/vxworks.exp, config/vxworks29k.exp,
9392 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
9393 gdb.base/all-bin.exp, gdb.base/annota1.exp,
9394 gdb.base/arithmet.exp, gdb.base/assign.exp,
9395 gdb.base/async.exp, gdb.base/attach.exp,
9396 gdb.base/bitfields.exp, gdb.base/bitops.exp,
9397 gdb.base/break.exp, gdb.base/call-ar-st.exp,
9398 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
9399 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
9400 gdb.base/commands.exp, gdb.base/completion.exp,
9401 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9402 gdb.base/constvars.exp, gdb.base/corefile.exp,
9403 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
9404 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
9405 gdb.base/ending-run.exp, gdb.base/environ.exp,
9406 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9407 gdb.base/finish.exp, gdb.base/foll-exec.exp,
9408 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
9409 gdb.base/funcargs.exp, gdb.base/help.exp,
9410 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
9411 gdb.base/logical.exp, gdb.base/long_long.exp,
9412 gdb.base/maint.exp, gdb.base/mips_pro.exp,
9413 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
9414 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
9415 gdb.base/pointers.exp, gdb.base/printcmds.exp,
9416 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
9417 gdb.base/regs.exp, gdb.base/relational.exp,
9418 gdb.base/remote.exp, gdb.base/reread.exp,
9419 gdb.base/restore.exp, gdb.base/return2.exp,
9420 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
9421 gdb.base/selftest.exp, gdb.base/setshow.exp,
9422 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
9423 gdb.base/sigall.exp, gdb.base/signals.exp,
9424 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
9425 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9426 gdb.base/step-test.exp, gdb.base/structs.c,
9427 gdb.base/structs.exp, gdb.base/structs2.exp,
9428 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
9429 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
9430 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
9431 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
9432 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
9433 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
9434 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
9435 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
9436 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
9437 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
9438 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
9439 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
9440 gdb.fortran/types.exp, gdb.java/jmisc.exp,
9441 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9442 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
9443 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9444 gdb.trace/circ.exp, gdb.trace/collection.exp,
9445 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
9446 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9447 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
9448 gdb.trace/report.exp, gdb.trace/save-trace.exp,
9449 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9450 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9451 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
9456 * gdb.base/varargs.c (find_max_double): Fix printf format string:
9457 first arg is int not float.
9461 * gdb.base/reread.exp: Unsupported for non-native targets;
9462 doesn't work for remote debugging.
9467 * gdb.base/ending-run.exp: Properly handle the BSP state when
9468 stepping past the end of main.
9472 * gdb.base/commands.exp (infrun_breakpoint_command_test):
9473 Converted HPUX fix for non-expected items following multiple
9474 step commands into general solution for all platforms.
9478 * gdb.c++/classes.exp (do_tests): Change runto statements
9479 from "runto 'foo(void)'" to "runto 'foo'". This makes the
9480 statements demangler agnostic.
9481 * gdb.c++/virtfunc.exp (do_tests): Likewise.
9482 (gdb_virtfunc_restart): Likewise.
9486 * gdb.c++/inherit.exp (do_tests): Change runto statements
9487 from "runto 'foo(void)'" to "runto 'foo'". This makes the
9488 statements demangler agnostic.
9492 * gdb.threads/pthreads.exp: Unify pass/fail messages for
9493 ``continue to bkpt at common_routine in thread 2'' and ``stopped
9494 before calling common_routine 15 times'' tests.
9498 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
9499 Helps the test script figure out which demangler is in use.
9500 (dm_type_foo_ref): Ditto.
9501 (dm_type_int_star): Ditto.
9502 (dm_type_long_star): Ditto.
9503 (dm_type_unsigned_int): Ditto.
9504 (dm_type_void): Ditto.
9505 (dm_type_void_star): Ditto.
9506 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
9507 Probe the gdb demangler and set variables to accommodate
9508 formatting differences.
9509 (info_func_regexp): New function. Same as info_func, but
9510 matches against a regexp.
9511 (info_func): Match against a literal string.
9512 (print_addr_2): New function. Match against a literal string,
9513 which can be different from the input to gdb.
9514 (print_addr): Simply call print_addr_2 with the same argument twice.
9515 (test_lookup_operator_functions): Use demangler formatting variables.
9516 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
9517 the tests in the same order as the C++ class declaration.
9518 (test_paddr_operator_functions): Ditto.
9519 (test_paddr_overloaded_functions): Ditto.
9520 (test_paddr_hairy_functions): Use demangler formatting variables.
9521 Add reference to gdb/19 for related tests.
9522 (do_tests): Call probe_demangler.
9526 * gdb.c++/templates.cc (printf): Remove unused function definition.
9530 * sid.exp (sid_exit): Pass host, not target, to remote_close.
9534 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
9536 (sid_exit): Call `remote_pop_conn' after GDB is gone.
9540 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
9541 Deprecate $sid_spawn_id.
9542 (sid_exit): Remove code necessary only for `spawn.'
9546 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
9550 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
9551 to call when tests fail. It takes gdb out of the overloaded
9552 function choice menu back to the main prompt, so that the test
9553 program stays synchronized.
9554 (set_bp_overloaded): New proc to collect all the common
9555 code for setting a breakpoint on an overloaded name. Calls
9556 take_gdb_out_of_choice_menu when needed.
9557 (menu_overload1arg): New variable to collect the repeated
9558 instances of the expected menu for an overloaded name. Change
9559 the regular expression to handle changes in g++ type encoding:
9560 "void" can be either "void" or "", and "unsigned int" can be
9561 either "unsigned int" or "unsigned".
9562 (continue_to_bp_overloaded): Change regular expressions to handle
9563 changes in g++ type encoding.
9564 (no proc): Call take_gdb_out_of_choice_menu when needed.
9565 Remove redundant calls to "info break". Accept either "canceled"
9566 or "cancelled". Change regular expressions in "info break"
9567 calls to handle changes in g++ type encoding. Give all tests
9572 * config/sid.exp: New file.
9576 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
9580 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
9581 Add a RE to accept a non-ascii char if one is ever presented.
9585 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
9589 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
9590 in regexp. One '\' does not suffice on Linux.
9594 * gdb.base/break.exp (test_clear_command): Use a marker function
9595 rather than 'main' for the test function. Also move this
9596 test to an execution point where the marker function names are
9597 guaranteed to be bound to functions. (Executing tests after a
9598 'finish' from main runs into name conflicts with local names
9599 in __libc_start_main).
9603 * gdb.base/finish.exp: New test for gdb's "finish" command.
9604 * gdb.base/return2.exp: New test for gdb's "return" command.
9605 * gdb.base/return2.c: New source file for above.
9609 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
9610 * gdb.base/miscexprs.exp: Ditto.
9611 * gdb.base/pointers.exp: Ditto.
9612 * gdb.c++/derivation.exp: Ditto.
9613 * gdb.c++/local.exp: Ditto.
9614 * gdb.c++/namespace.exp: Ditto.
9615 * gdb.c++/overload.exp: Ditto.
9616 * gdb.c++/ref-types.exp: Ditto.
9620 * gdb.base/constvars.exp: Test result of "up" command.
9621 * gdb.base/miscexprs.exp: Ditto.
9622 * gdb.base/pointers.exp: Ditto.
9623 * gdb.base/scope.exp: Ditto.
9624 * gdb.c++/derivation.exp: Ditto.
9625 * gdb.c++/local.exp: Ditto.
9626 * gdb.c++/namespace.exp: Ditto.
9627 * gdb.c++/overload.exp: Ditto.
9628 * gdb.c++/ref-types.exp: Ditto.
9632 * mips_pro.exp: Accept either "middle -> top -> main" or
9633 "middle -> main" in the backtrace, because gcc can optimize
9634 tail calls to jumps. Remove setup_xfail for the hppa case.
9635 Add a comment with the original warning messages from PR 3016,
9636 which was filed in 1993, to preserve them for posterity.
9640 * lib/gdb.exp (gdb_test): Override timeout with board info.
9644 * gdb.base/display.exp: Don't kill running stub. Add "again" to
9645 the second kill and detach messages.
9649 * configure.in: Add AC_EXEEXT.
9650 * configure: Regenerate.
9651 * Makefile.in (just-check): Export EXEEXT.
9652 * lib/gdb.exp ($EXEEXT): Import from environment.
9653 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
9654 expect "maint dump-me" on Cygwin.
9655 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
9660 * gdb.base/break.exp: Test backtrace and finish from called
9661 function on all platforms, not just HP-UX.
9665 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
9666 code from gdb_target_monitor, so it can be used independantly
9667 for gdbserver. Also comment out an unnecessary PUTS.
9671 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
9672 * gdb.base/corefile.exp: Expect the message "Program is being
9673 debugged already" when we send the "corefile" command, since
9674 the preceeding gdb_load may have connected gdb to a remote target.
9675 * gdb.base/display.exp: Disable hardware watchpoints if new
9676 board info variable "no_hardware_watchpoints" is true.
9677 Replace single-letter commands with more readable ones.
9678 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
9679 if new board info variable "no_hardware_watchpoints" is true.
9680 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
9681 to see if stdio (printf) testing is possible.
9682 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
9683 board info variable "no_hardware_watchpoints" is true. Use new
9684 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
9689 * gdb.base/printcmds.exp: Escape curly braces followed by a number
9690 in array print pattern match.
9694 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
9695 spelling "cancelled" to U.S. spelling "canceled" to match changes
9697 * gdb.c++/ovldbreak.exp: Ditto.
9701 * gdb.base/callfuncs.c (main): Moved to end of file, call
9702 t_double_values to initialize the FPU before inferior calls are made.
9703 * gdb.base/callfuncs.exp: Test for register preservation after calling
9704 inferior functions. Add tests for continuining, finishing and
9705 returning from a stop in a call dummy.
9709 * gdb.base/commands.exp: Break up long lines, and re-indent.
9713 * config/gdbserver.exp: Rewritten from the ground up, to make it
9714 compatible with the current dejagnu tree, and to make it work with
9715 the new "gdbserver" in libremote.
9719 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
9720 * gdb.base/varargs.exp: Skip entire test if no printf support.
9721 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
9722 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
9726 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
9727 no floating point support.
9728 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
9729 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
9730 * gdb.base/call-rt-st.exp: Ditto.
9731 * gdb.base/call-strs.exp: Ditto.
9735 * gdb.base/sizeof.c: include <stdio.h>.
9737 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
9738 'finish', otherwise uncaptured gdb_prompt would potentially
9739 throw remaining test points out of sync.
9743 * gdb.base/recurse.exp: Run tests for all targets.
9744 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
9745 gnu-oldld case on ARM.
9746 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
9751 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
9752 * gdb.java/configure: Rebuild.
9756 * gdb.java/jv-exp.exp: New file.
9760 * configure: Rebuilt.
9761 * configure.in (configdirs): Add gdb.java.
9762 * gdb.java/jmisc.java: New file.
9763 * gdb.java/jmisc.exp: New file.
9764 * gdb.java/Makefile.in: New file.
9765 * gdb.java/configure: Rebuilt.
9766 * gdb.java/configure.in: New file.
9767 * lib/java.exp: New file.
9771 * gdb.base/exprs.exp: Test casts to a pointer including over and
9776 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
9777 and the compilers sizes.
9781 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
9782 (use_methods): New function.
9783 (main): Call use_methods().
9784 * gdb.c++/classes.exp (test_method_param_class): New procedure.
9785 (do_tests): Call test_method_param_class.
9789 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
9791 (test_enums): New procedure. Move enum tests from end of script
9792 to here. Set breakpoint on function name instead of line number.
9793 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
9794 (enums2): New marker function.
9795 (enums1): New function.
9796 (main): Call enums1(). Move enum tests to enums1().
9800 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
9801 compile/link program. Update line numbers.
9802 * gdb.asm/d10v.inc: Define ``startup''.
9803 * gdb.asm/asmsrc1.s: Add definition of _start.
9807 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
9811 * gdb.base/maint.exp: Add 'maint print architecture' item to output
9812 of 'help maint print' command.
9816 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
9817 they use gdb_expect_list.
9821 * gdb.base/commands.exp: Use ``set remote
9822 memory-read-packet-size'' instead of ``set endian big'' to test
9827 * gdb.c++/templates.exp (do_tests): Make all of these work under
9828 g++, and stop skipping them.
9830 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
9833 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
9838 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
9839 the regular expression: accept an (almost) arbitrary sequence of
9840 "frames-invalid" and "breakpoints-invalid" messages both before
9841 and after the "starting" message.
9845 * gdb.c++/local.exp: This test has never been known to work with g++.
9849 * gdb.base/annota1.exp (annotate-signal-handler-caller):
9850 Relax the regular expression a little, make it pass on Solaris 8.
9854 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
9855 a call, do not require that gdb stop on the line after the call.
9856 Instead, it is permissible for gdb to stop on the line of the
9861 * gdb.base/break.exp (bp on small function, optimized file):
9862 Add a second pass pattern. The behavior differs here between stabs
9863 and dwarf for one-line functions. Stabs preserves two line symbols
9864 (one before the prologue and one after) with the same line number,
9865 but dwarf regards these as duplicates and discards one of them.
9866 Therefore the address after the prologue (where the breakpoint is)
9867 has no exactly matching line symbol, and GDB reports the breakpoint
9868 as if it were in the middle of a line rather than at the beginning.
9872 * gdb.base/interrupt.exp: Make "pass" message say "send"
9873 rather than "send_gdb" (for consistancy).
9878 * gdb.c++/templates.cc: Properly check for GCC version number.
9879 * lib/compiler.cc: Likewise
9883 * gdb.base/break.exp: When compiled with -O2 optimization,
9884 gdb may not stop at the first line of main, due to code motion.
9888 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
9889 This test depends on parsing the printf output from the target.
9890 Since the sparclet stub doesn't do stdio, this will never work.
9891 * gdb.base/call-rt-st.exp: ditto.
9892 * gdb.base/call-strs: ditto.
9896 * gdb.base/miscexprs.exp: make sizeof long array test portable.
9898 * gdb.base/ending-run.exp: After connecting to a remote target,
9899 but before running, the target will appear to be in a random
9900 location. Specify both a file and a line for breakpoints.
9901 Also, the function that calls main may be called 'init'
9902 rather than 'start'.
9906 * gdb.base/help.exp: Update output for add-symbol-file command.
9911 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
9915 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
9917 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
9921 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
9922 values that can be represented exactly.
9923 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
9924 above change, and to not check against the directory part of the source
9926 (step into print_long_arg_list): Likewise.
9927 (print print_small_structs from print_long_arg_list): Likewise.
9928 (print print_long_arg_list): Likewise.
9932 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
9936 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
9940 * gdb.base/commands.exp (deprecated_command_test): Add test for
9941 deprecate with no arguments.
9945 * gdb.base/break.exp: Add new test for setting breakpoints on
9946 optimized code so we can test breakpoints work even when function
9947 prologues may be optimized away
9952 * gdb.base/commands.exp : Added command deprecator tests.
9956 * gdb.base/help.exp: Added test for new apropos command.
9960 * gdb.base/pointers.c (usevar): New function.
9961 (main): Make sure that global variables v_int_pointer2, rptr,
9962 and y are all referenced someplace in the program by calling
9963 usevar() on them. [Some linkers delete symbols which are
9964 never referenced. The space remains, but there's no way to
9965 get a (symbolic) handle on the variable from the debugger.]
9969 * gdb.base/printcmds.c: Add typedeffed arrays.
9971 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
9972 procedure to test arrays that are typedef'd.
9976 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
9977 the library directories.
9981 * configure.in (configdirs): Add sub directory gdb.mi.
9982 * configure: Re-generate.
9984 * gdb.mi: New directory.
9988 * gdb.base/long_long.exp: Correct test suite failure when printing
9989 a long long value as a double on ARM platforms.
9993 * gdb.base/break.exp ("breakpoint line number"): Make sure the
9994 default source file is set properly before running this test.
9998 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
9999 gdbtk/library directory, not in gdbtcl2.
10003 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
10004 backslash from regexp pattern.
10006 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
10007 procedure. Use it to run all the "continue to bp overloaded"
10008 tests. Note that this changes the names of the tests slightly.
10009 If the breakpoint hit message includes a hex PC value, because
10010 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
10011 from the real source code, still consider that a pass.
10013 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
10014 XFAIL here if the breakpoint message contains a hex address. Note
10015 similar change on 1999-11-02.
10017 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
10019 * gdb.base/ptype.exp: Establish a default source file before
10020 calling get_debug_format.
10024 * gdb.base/watchpoint.exp: Remove duplication of test messages.
10028 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
10029 of successive stepi commands -- while in the prologue we should see
10030 the function entry bracket.
10034 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
10035 reach __change_mode() when stepping through the end of main().
10039 * gdb.base/default.exp: Fix expected pattern.
10040 * gdb.base/help.exp: Same.
10044 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
10045 Don't use xfail's because that affects only the following test.
10047 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
10050 * gdb.base/selftest.exp: Update to reflect changes to main.c.
10054 * gdb.base/display.exp: Some yacc parsers like to say
10055 "A syntax error" rather than "A parse error". Accept both.
10059 * gdb.base/default.exp: Remove OS dependent string from "target
10061 * gdb.base/help.exp: Same for "help target remote" test.
10067 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
10068 prompt (cleanup rather than necessity, but still might keep output
10069 from spilling to next test).
10073 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
10074 AIX, which defines them in <sys/types.h>.
10078 * gdb.base/default.exp: Match arm* etc instead of arm in "info
10083 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
10085 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
10086 outermost frame disallowed".
10090 * gdb.base/setvar.exp: New tests for setting the value of a struct
10091 with a constant list.
10095 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
10096 require the user to type a cast before setting the value of a struct.
10100 * gdb.base/default.exp: Expect the new 'info float' command on
10101 all i386 platforms.
10103 * gdb.threads/linux-dp.exp: Expand our ability to recognize
10104 LinuxThreads libraries that don't support debugging.
10108 * gdb.base/remote.c: Fill the buffer with truely random data.
10109 Change the buffer type to ``unsigned char'' to simplify size
10112 * gdb.base/remote.exp: Reduce download numbers by one. Typical
10113 stub only handles 400-1 byte packets. Verify that the download
10118 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
10119 tests, using UNRESOLVED for the untested cases. Also, does not wait
10120 for a timeout if the prompt was received before a recognizable pattern.
10124 * lib/gdb.exp (gdb_expect_list): Fix spelling.
10128 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
10133 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
10135 * gdb.c++/local.exp: Be more flexible in recognizing local class
10136 name mangling. Don't allow horribly truncated method names.
10137 * gdb.c++/derivation.exp: Expect protected inheritance.
10138 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
10139 * gdb.c++/virtfunc.exp: Likewise.
10140 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
10141 when printing a nested enum.
10145 * gdb.base/step-test.exp: Properly await GDB's response to setting
10146 a breakpoint on the call to large_struct_by_value.
10148 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
10149 just because we have debug info for the `start' function.
10153 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
10154 "Unknown signal" messages, which indicate (on LinuxThreads) that
10155 GDB doesn't know how to debug threads on this system. This is
10156 better than hanging while philosopher 0 dumps chatter into gdb.log.
10160 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
10164 * gdb.base/coremaker2.c: Add sample program for generating
10165 cores that is more self contained than coremaker.c. Eventually
10166 I'll add more code to this and tie it into the testsuite.
10170 * gdb.base/dollar.exp: Remove, now in gdb.hp.
10174 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
10176 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
10179 * gdb.c++/derivation.exp: remove redundant get compiler info code.
10181 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
10182 'continue with watch' test point.
10186 Merged from p2linux-990323-branch:
10188 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
10192 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
10193 {limit,fixed}''. Test ``set download-write-size''.
10197 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
10202 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
10206 * gdb.base/break.exp: Fix "stub continue" pattern.
10210 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
10214 * gdb.base/display.exp ("finish"): Add timeout clause.
10216 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
10217 plain prompt clause, so this doesn't have to time out in order to
10220 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
10221 breakpoint hit messages include an address.
10223 * gdb.base/display.exp: Don't forget to escape parens in regular
10224 expressions. Unix regexp notatation sucks.
10228 * gdb.base/annota1.exp: Test for annotate-signalled: change output
10229 order for 'signalled' message.
10234 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
10235 * gdb.base/annota1.c: Add code for tests to work with.
10239 * gdb.base/remote.exp: New test for remote downloading settings.
10240 * gdb.base/remote.c: New file with large .data.
10244 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
10245 for LinuxThreads support, merged from the Code Fusion branch.
10249 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
10250 containing exp_continue into a while within an expect. Don't
10251 attempt a start more than three times. Check return value from
10256 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
10261 * gdb.base/break.c (main): Added a statement that we can step
10263 * gdb.base/break.exp: Added tests for setting a breakpoint
10264 at an offset and stepping onto a breakpoint.
10268 * gdb.base/help.exp (help add-symbol-file): Update to match current
10273 * gdb.base/break.exp: Code locations are in hex, don't forget!
10278 * condbreak.exp: Use break.c as test program.
10279 * condbreak.c: Remove, redundant with break.c.
10283 * config/monitor.exp (gdb_target_monitor): Disable X- and
10284 Z-packets if the target needs it.
10288 * gdb.c++/overload.exp: Added tests for listing overloaded
10289 functions with function pointers in the arg, explicitly calling
10290 out the version you want.
10294 * long_long.exp: Add variations of test cases that work for
10295 targets with 16-bit ints and 32-bit doubles.
10299 * break.c (main): Compare a possibly-uninitialized argc with an
10300 unlikely value that fits in 16 bits.
10304 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
10305 0xfeeb, don't want negative numbers if ints are 16 bits.
10307 * lib/gdb.exp (skip_cplus_tests): New proc.
10308 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
10309 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
10310 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
10311 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
10312 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
10313 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
10314 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
10315 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
10317 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
10321 * gdb.base/corefile.exp (up): Allow a parameter to appear
10322 in the frame that we're going up to.
10326 * gdb.base/default.exp (info float): Expect some output now.
10328 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
10329 returning floating-point values to fail on the x86.
10330 * gdb.base/callfwmall.exp (do_function_calls): Same.
10332 * gdb.base/list.exp (test_listsize): Correct expectations for
10333 listing line 1 with listsize 2. Also, listing a single line
10334 works now, as does listing three lines. [Kevin's note: There
10335 were a number of other cases fixed too where the expectations
10340 * gdb.base/selftest.exp: Add case for when version prints as
10341 constant string instead of char pointer.
10345 * gdb.base/ending-run.exp: Add Solaris case for what happens when
10346 stepping out of main.
10348 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
10351 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
10352 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
10354 * gdb.c++/ovldbreak.exp: Update match string in test that
10355 includes a warning of multiple breakpoints.
10359 * gdb.base/display.exp: Improve precision of step-after-finish
10362 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
10365 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
10366 configs when using G++, not just hppa*.
10370 * gdb.base/async.c: New file.
10371 * gdb.base/async.exp: New file.
10375 * gdb.base/break.exp: Tweak PA specific tests to properly handle
10380 * gdb.base/display.exp: "finish" can leave us mid-line on many
10381 targets, deal with it. Add a small constant to main, instead of
10382 1000 since main+1000 may not be a valid address in the target.
10384 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
10387 * gdb.base/attach.exp: Handle another hpux11 error message variant
10388 when attaching to a process that does not exist.
10392 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
10393 characters in 'continue to 1241' test.
10397 * gdb.base/call-ar-st.exp: Add a shorter match case for the
10398 stop in print_long_arg_list, define and use a whitespace
10399 variable in print_small_structs test, add an XFAIL for Solaris.
10400 * gdb.base/dbx.exp: XFAIL func commands until somebody is
10401 interested enough to fix.
10405 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
10406 (dbx_gdb_load): Remove. Use gdb_load instead, since that
10407 proc knows about targets other than the natives.
10408 (test_assign): Use "gdb_run_cmd" to "run" the target.
10409 Check that we've actually hit the breakpoint at main.
10410 When we attempt to assign a value to a local variable, check
10411 that the variable is in the current scope, i.e., don't use
10412 a test with an empty result.
10416 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
10422 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
10423 gdb.compat, gdb.threads-hp.
10424 gdb.hp/configure, gdb.hp/configure.in: New files.
10425 gdb.hp/Makefile.in: Recurse into new subdirs.
10426 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
10427 gdb.hp/gdb.objdbg: New directory, tests for debugging info
10429 gdb.hp/tools: New directory, aux tools for HP-specific tests.
10433 * gdb.base/display.exp: Help expect by putting a newline in the
10434 funky printf, remove a bogus p/a test.
10438 * gdb.base/display.exp: Make sure that when we say 'run', we are
10439 connected to the target. This is necessary when running not
10444 * gdb.base/step-test.exp: Removed some extraneous messages.
10446 * gdb.base/long_long.exp: Don't run memory examination tests
10447 on little-endian targets (they will need a different set of
10452 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
10453 until somebody decides to fix GDB.
10455 * gdb.base/long_long.c: Stop compiler complaint by specifying long
10457 * gdb.base/long_long.exp: Loosen x/c test, add partial result
10458 matches for a couple x/2 commands.
10462 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
10463 by merging in ref-types2 tests.
10464 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
10467 * gdb.c++/Makefile.in: Add standard actions.
10468 (EXECUTABLES): Rename from PROGS, update list.
10469 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
10471 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
10472 foo and bar locals.
10473 * gdb.c++/anon-union.exp: Fix tests to match.
10474 * gdb.c++/classes.exp: Run if HP compiler used, add extra
10475 expect matches to handle output variations.
10476 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
10477 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
10478 output, add HP alternatives for new and delete prints.
10479 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
10480 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
10481 * gdb.c++/demangle.exp: Use $style when reporting failure.
10482 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
10483 * gdb.c++/inherit.exp: Run if HP compiler used, add some
10484 match alternatives.
10485 * gdb.c++/local.exp: Add match alternatives or xfails for HP
10487 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
10488 * gdb.c++/method.exp: Add match alternatives.
10489 * gdb.c++/misc.cc: Add bool types.
10490 * gdb.c++/misc.exp: Add tests for bool types.
10491 * gdb.c++/overload.exp: Add xfails.
10492 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
10493 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
10494 add some more template parameter tests (only for HP currently).
10495 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
10496 * gdb.c++/virtfunc.cc: Add return type and value for main.
10497 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
10498 match alternatives.
10502 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
10506 * gdb.base/signals.exp: Don't expect getting a backtrace from
10507 within a signal handler to fail on Linux.
10512 * lib/gdb.exp: Remove some gratuitious semicolons.
10513 (delete_breakpoints): Increase timeout.
10514 (gdb_expect): Add -notransfer option.
10515 (gdb_test): Use -notransfer option.
10516 (get_compiler_info): Add f77 case.
10517 (get_compiler): New proc, split out from gdb_preprocess, add f77
10519 (gdb_preprocess): Call get_compiler.
10521 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
10522 * gdb.base/attach.exp, gdb.base/display.exp,
10523 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
10524 gdb.base/long_long.exp, gdb.base/printcmds.exp,
10525 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
10526 third arg to gdb_test.
10527 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
10528 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
10529 HP-UX xfails, add others.
10530 * gdb.base/completion.exp: Reflect name change of self-test.
10531 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
10532 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
10533 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
10535 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
10536 useless HP-UX 10.30 references.
10537 * gdb.base/maint.exp: Loosen matches.
10538 * gdb.base/pointers.c (main): Declare more_code.
10539 * gdb.base/pointers.exp: Match on output of a `next'.
10540 * gdb.base/structs.c: Add prototypes.
10541 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
10542 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
10546 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
10551 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
10552 Fix run to main failures. Watchpoint can be hardware watchpoint.
10554 * gdb.base/annota1.exp: Clean up some more, in case printf has
10555 debug info. Deal with lack of signal hanlder info in stack.
10558 * gdb.base/annota1.exp: If printf has debug info, deal with it.
10562 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
10563 gdb.base/foll-vfork.exp: Don't run for crosses.
10567 * gdb.base/configure.in: Check for gdbvars.exp instead of
10569 * gdb.base/configure: Re-generate.
10573 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
10574 in trying to run first and name is too long.
10576 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
10577 pointers2.c and pointers2.exp, respectively.
10578 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
10583 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
10584 callfuncs2.c and callfuncs2.exp.
10586 * gdb.base/list.exp: Remove mistaken xfails.
10587 * gdb.base/list0.h: Add optional prototypes.
10591 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
10593 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
10594 * ptype.exp: Move test for get_debug_format to before its first
10599 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
10600 * gdb.base/annota2.cc, annota2.exp: Move from here.
10601 * gdb.c++/annota2.cc, annota2.exp: To here.
10602 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
10606 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
10607 a consistent format.
10612 * lib/gdb.exp (get_compiler_info): Add detection for assorted
10613 HP compilers, also set the globals $true and $false.
10615 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
10616 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
10617 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
10618 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
10619 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
10620 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
10621 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
10622 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
10623 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
10624 whatis.c} Add C++ compatible function definitions and return
10625 types, add includes for library functions.
10626 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
10627 * gdb.base/step-test.c (myglob): Rename from glob.
10628 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
10629 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
10630 files, move here from gdb.hp.
10631 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
10632 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
10633 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
10634 Adjust line numbers in regexps.
10636 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
10637 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
10640 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
10641 foll-vfork.exp: New files, move here from gdb.hp.
10642 * gdb.base/page.exp: New file, test of pagination command.
10644 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
10646 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
10648 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
10649 gdb.base/solib.exp: Fix compiler invocation process.
10651 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
10652 HP-UX 11, turn off overload resolution explicitly.
10653 * gdb.base/commands.exp: Set argument list explicitly, add
10655 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
10657 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
10658 expressions properly.
10659 * gdb.base/corefile.exp: Loosen the match slightly.
10660 * gdb.base/default.exp: Allow "Error accessing memory" message
10662 * gdb.base/display.exp: Skip over x/0 j if PA64.
10663 * gdb.base/funcargs.exp: Add xfails for HP-UX.
10664 * gdb.base/interrupt.exp: Ditto.
10665 * gdb.base/langs.exp: Add symbolic matches governed by compiler
10667 * gdb.base/list.exp: Add xfails for HP-UX.
10668 * gdb.base/long_long.exp: Refine some of the numeric matches.
10669 * gdb.base/mips_pro.exp: Xfail on HP-UX.
10670 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
10671 * gdb.base/nodebug.exp: Succeed on more varieties of output.
10672 * gdb.base/opaque.exp: Remove some HP-UX xfails.
10673 * gdb.base/ptype.exp: Succeed on more varieties of output.
10674 * gdb.base/scope.exp: Add xfails for HP-UX.
10675 * gdb.base/sect-cmd.exp: Add more cases.
10676 * gdb.base/setvar.exp: Add xfails for HP-UX.
10677 * gdb.base/shlib-call.exp: Loosen some matches slightly.
10678 * gdb.base/signals.exp: Match on void symbolically.
10679 * gdb.base/step-test.exp: Add case for PA64.
10680 * gdb.base/term.exp: Add exit and restart.
10681 * gdb.base/twice.exp: Clean up after self.
10682 * gdb.base/varargs.exp: Disable overload resolution explicitly.
10683 * gdb.base/whatis.exp: Allow more ways to pass tests.
10685 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
10690 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
10692 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
10693 print_double_array(double_array)", "continuing to breakpoint
10694 1018", "print print_double_array(array_d)" and "continuing to
10699 * Makefile.in: Add empty html and install-html targets.
10703 * config/mt-*: Remove, these haven't been used since 1996.
10707 * gdb.base/call-strs.c, gdb.base/ending-run.c,
10708 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
10709 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
10713 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
10714 simpler match case for the ptype of the big class.
10718 * gdb.exp: Fix test for gdb_prompt existence.
10722 * gdb.exp (gdb_test): Add fail after calls to perror.
10726 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
10730 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
10734 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
10735 malloc() is linked in.
10739 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
10742 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
10746 * gdb.java/jv-print.exp: New file. (Our first Java test!)
10750 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
10751 * gdb.base/mips_pro.exp: Likewise.
10755 * gdb.c++/templates.cc: Change all "new" operators to throw
10757 * gdb.c++/cplusfuncs.cc: Likewise.
10759 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
10763 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
10764 * gdb.base/ending-run.exp: When stepping out of main, accept a
10765 step into an arbitrary assembler file.
10769 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
10770 "breakpoint-invalid" to be printed.
10771 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
10772 number of "frames-invalid" and "breakpoint-invalid" to be printed.
10773 * gdb.base/annota2.cc: Initialize a.x to 0.
10777 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
10778 when "skip_float_tests" set.
10779 Ditto for "print print_double_array(array_d)", "print print_small_structs",
10780 "print print_ten_doubles", and "step into print_long_arg_list".
10781 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
10782 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
10783 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
10784 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
10785 "skip_float_tests" is set.
10786 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
10787 when "skip_float_tests" set.
10791 * gdb.base/annota2.cc: Include stdio.h.
10795 * gdb.base/crossload.exp: Remove, this has been disabled ever
10796 since BFD stopped including all targets, and cross-GDB gets
10797 plenty of testing anyway.
10798 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
10799 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
10800 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
10801 * gdb.base/README: Remove, was doc for this.
10802 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
10807 * gdb.base/call-ar-st.exp: Fix one regular expression in test
10810 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
10811 * gdb.base/annota2.exp: New file. More annotation tests.
10812 * gdb.base/annota1.c: New file. Source file for annota1.exp.
10813 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
10817 * config/cfdbug.exp: New file.
10821 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
10822 Marcus Daniel's and Dale Hawkins's demangler crashes.
10824 * gdb.c++/demangle.exp (test_gnu_style_demangling,
10825 test_lucid_style_demangling, test_arm_style_demangling,
10826 test_hp_style_demangling): Try Tom Tromey's core-dumping
10827 identifier under each demangling style.
10831 * gdb.c++/demangle.exp: Include the current demangling style
10833 (current_demangling_style): New global variable.
10834 (set_demangling_style, test_demangling_core, test_demangling,
10835 test_demangling_exact): New functions.
10836 (test_gnu_style_demangling, test_lucid_style_demangling,
10837 test_arm_style_demangling, test_hp_style_demangling): Use those,
10838 instead of calling gdb_test and gdb_test_exact directly.
10839 (catch_demangling_errors): New function, which reports errors
10840 signalled by the demangling test functions in an orderly way.
10841 (do_tests): Use catch_demangling_errors.
10845 * gdb.base/signals.exp (test_handle_all_print): Use () for
10846 grouping in expressions, not {}.
10848 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
10853 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
10858 * gdb.stabs/weird.exp: Test for CC being defined before
10859 looking at its value.
10863 * gdb.base/call-ar-st.exp: Remove stray '#'.
10864 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
10865 "short int" and "long int".
10866 * gdb.c++/overload.cc: Cast the string added in the previous
10867 change, to mollify finicky HP compiler.
10868 * gdb.hp/reg-test.exp (testfile): Fix file name.
10869 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
10871 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
10872 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
10873 alternate form of enum ptype.
10877 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
10878 * gdb.hp/*.exp: Change all to run compiler probe only after
10879 passing skip_hp_tests, so as not to waste time on guaranteed
10882 * gdb.c++/overload.cc: Pass string instead of char addr, always
10884 * gdb.c++/templates.cc: Fix syntax error.
10888 * gdb.base/commands.exp: Add test for correct position of '>'
10889 when issuing the 'commands' command after a 'while' or 'if'
10894 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
10896 * gdb.c++/method.exp: It was testing an uninitialized int on the
10897 stack and assuming it was positive.
10899 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
10901 * gdb.base/step-test.exp: Catch a case where finish is broken and
10902 keep it from killing the rest of the tests.
10903 Use gdb_continue_to_end.
10905 * gdb.base/sigall.exp: use gdb_continue_to_end.
10907 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
10909 * gdb.base/display.exp: use runto_main, not run.
10911 * gdb.base/default.exp: Check for the current error message in the
10912 r abbreviation test.
10913 Add strongarm to the targets that know info float.
10915 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
10916 run which doesn't work with monitors.
10918 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
10920 * gdb.base/break.exp: use the gdb_continue_to_end proc.
10922 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
10923 program. Traps the case (in Cygmon) when the program never really
10924 exits. Same as Mark's continue_to_exit, but I had put it in a lot
10925 more places, so I used my name. Sorry Mark...
10927 * config/monitor.exp (gdb_target_monitor): added another
10928 target_info parameter: remotebinarydownload. This will set the
10929 remotebinarydownload flag if this is causing some boards trouble.
10933 * lib/gdb.exp (continue_to_exit): New function.
10935 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
10936 * gdb.base/ending-run.exp: Ditto.
10937 * gdb.base/step-test.exp: Ditto.
10941 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
10946 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
10950 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
10951 descriptions of types (short unsigned int vs unsigned short, etc).
10955 * gdb.base/call-strs.exp: Don't assume that `step' will step over
10956 a call to strlen; sometimes we do have sources.
10960 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
10961 character, so GDB won't print garbage after its end.
10963 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
10964 breakpoint there instead. Sometimes GCC emits memcpy to handle
10965 the large structures being passed by value, so we step into that
10966 instead of sum_array_print, which obscures what we're really testing.
10967 * gdb.base/step-test.exp: However, we do want a test that notices
10968 the bizarre steps into memcpy, so do that here. Add check for
10969 stepping into function calls that pass large structures by value.
10970 ("Is that a noun clause, or are you just happy to see me?")
10971 Remove all references to specific line numbers.
10972 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
10973 New type and function.
10974 (main): Call large_struct_by_value, passing it a large struct by value.
10975 * lib/gdb.exp (gdb_get_line_number): New function.
10977 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
10982 * lib/gdb.exp: Doc fixes.
10986 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
10990 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
10991 commands. They're not germane to this test, and they don't work
10992 that way on remote targets.
10996 * Changelog entries merged over from gdb development branch.
11000 * lib/gdb.exp (gdbtk_analyze_results): Generic function
11001 for outputting results of test run.
11005 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
11009 * lib/gdb.exp (debug_format): initialize
11013 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
11014 * gdb.base/call-rt-st.c: Ditto.
11018 * gdb.threads/pthreads.exp (horiz): New variable.
11019 (test_startup): Fix regexps that capture thread numbers.
11023 * gdb.base/smoke.exp: Disambiguate two test case names (both
11028 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
11033 * gdb.base/miscexprs.exp: Change patterns to match GDB's
11034 actual output formatting.
11035 * gdb.base/smoke.exp: GDB removes leading 0's.
11036 * gdb.base/volatile.exp: Don't check type of remuneration;
11037 that variable is no longer defined in constvars.c.
11038 * gdb.base/step-test.c (main): Exit with explicit exit code.
11039 * gdb.base/step-test.exp: Remove two nexti checks--they are
11044 * gdb.base/help.exp ("help delete display"): Fix test to match
11047 * gdb.base/long_long.c (known_types): Initialize values to zero.
11048 * gdb.base/long_long.exp: Step one more line
11049 so 'dec' is initialized in "get to known place". GDB removes
11050 leading zeros. Explicitly ask for hex formatting. Use
11051 unique test case names.
11055 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
11057 * gdb.c++/method.exp: Add missing close brace.
11061 * gdb.base/maint.exp: Use 'set height 0' to disable page
11062 prompting, not 'set height 400'.
11064 Fix a bunch of timeouts.
11065 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
11066 four separate tests, so expect doesn't take forever to match a ton
11067 of text against a regexp with lots of .* forms.
11068 ("maint print psymbols", "maint print symbols"): Make some of
11069 these greps more selective, so that expect doesn't try to wade
11070 through huge piles of output and time out.
11072 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
11074 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
11075 tests: one which doesn't expect shlib events to be reported, and
11076 another which does, but is XFAIL for all platforms other than
11079 * gdb.base/break.exp: Teach the test suite that the `catch
11080 fork', `catch vfork', and `catch exec' commands produce error
11081 messages on platforms that don't provide these features.
11085 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
11086 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
11087 (shortening names from solib_threshold.exp etc), won't run on
11088 anything but HP-UX for the foreseeable future.
11089 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
11094 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11095 gdb.trace/Makefile.in (clean): Remove all test executables.
11099 * gdb.base/shlib-call.exp: add test cases to verify that gdb
11100 successfully re-sets breakpoints in shared libraries.
11101 * gdb.base/shmain.c (main): return 0, don't fall off the end.
11105 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
11106 and compiled w/o GCC.
11108 * gdb.hp/watch-cmd.exp: ditto.
11110 * gdb.hp/watch-hp.exp: ditto.
11112 * gdb.hp/xdb1.exp: ditto.
11114 * gdb.hp/xdb2.exp: ditto.
11116 * gdb.hp/dbx.exp: ditto.
11120 * constvars.c: Remove C++-isms.
11121 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
11126 The following changes are part of the HP merge.
11128 * gdb.base/break.exp: new tests to verify that catchpoints for
11129 fork, vfork, and exec don't trigger inappropriately.
11131 * gdb.base/opaque.exp: compile one file at a time, then link.
11133 * gdb.base/signals.exp: be more restrictive about which hppa
11134 systems receive a setup_xfail. new tests.
11136 * gdb.base/solib_threshold.build: new file.
11137 * gdb.base/solib_threshold.exp: new file.
11138 * gdb.base/solib_threshold.link_opts: new file.
11139 * gdb.base/solib_threshold.mk: new file.
11140 * gdb.base/gen_solib_threshold.c: new file.
11142 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
11143 tests. New tests for enums inside classes.
11145 * gdb.c++/compiler.cc: indicate support of template debugging.
11147 * gdb.c++/demangle.exp: run hp style demangling tests.
11149 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
11152 * gdb.c++/misc.cc: changes to support new tests.
11154 * gdb.c++/templates.cc: changes to support HP's compiler; changes
11155 to support new tests.
11157 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
11158 gcc, then skip these tests.
11162 The following files are part of the HP merge; some had longer
11163 names at HP, but have been renamed to be no more than 14
11164 characters in length.
11166 * gdb.hp/ambiguous.cc: new file.
11167 * gdb.hp/ambiguous.exp: new file.
11168 * gdb.hp/attach.exp: new file.
11169 * gdb.hp/attach2.exp: new file.
11170 * gdb.hp/classes-hp.exp: new file.
11171 * gdb.hp/ctti.exp: new file.
11172 * gdb.hp/ctti-add.cc: new file.
11173 * gdb.hp/ctti-add1.cc: new file.
11174 * gdb.hp/ctti-add2.cc: new file.
11175 * gdb.hp/ctti-add3.cc: new file.
11176 * gdb.hp/dbx.exp: new file.
11177 * gdb.hp/exception.cc: new file.
11178 * gdb.hp/exception.exp: new file.
11179 * gdb.hp/foll-exec.c: new file.
11180 * gdb.hp/foll-exec.exp: new file.
11181 * gdb.hp/foll-fork.c: new file.
11182 * gdb.hp/foll-fork.exp: new file.
11183 * gdb.hp/foll-vfork.c: new file.
11184 * gdb.hp/foll-vfork.exp: new file.
11185 * gdb.hp/inherit-hp.exp: new file.
11186 * gdb.hp/more-steps.exp: new file.
11187 * gdb.hp/namespace.cc: new file.
11188 * gdb.hp/namespace.exp: new file.
11189 * gdb.hp/optimize.exp: new file.
11190 * gdb.hp/pxdb.c: new file.
11191 * gdb.hp/pxdb.exp: new file.
11192 * gdb.hp/quicksort.exp: new file.
11193 * gdb.hp/reg-test.exp: new file.
11194 * gdb.hp/reg-test.s: new file.
11195 * gdb.hp/sized-enum.c: new file.
11196 * gdb.hp/sized-enum.exp: new file.
11197 * gdb.hp/start-stop.exp: new file.
11198 * gdb.hp/templ-hp.cc: new file.
11199 * gdb.hp/templ-hp.exp: new file.
11200 * gdb.hp/thr-lib.c: new file.
11201 * gdb.hp/thr-lib.exp: new file.
11202 * gdb.hp/thr-lib.h: new file.
11203 * gdb.hp/thr-liblib.c: new file.
11204 * gdb.hp/virtfun-hp.c: new file.
11205 * gdb.hp/virtfun-hp.exp: new file.
11206 * gdb.hp/watch-cmd.exp: new file.
11207 * gdb.hp/watch-hp.exp: new file.
11208 * gdb.hp/xdb1.exp: new file.
11209 * gdb.hp/xdb2.exp: new file.
11210 * gdb.hp/xdb3.exp: new file.
11214 The following files are part of the HP merge; some had longer
11215 names at HP, but have been renamed to be no more than 14
11216 characters in length.
11218 * gdb.base/ss.h: new file.
11219 * gdb.base/call-ar-st.c: new file.
11220 * gdb.base/call-ar-st.exp: new file.
11221 * gdb.base/call-rt-st.c: new file.
11222 * gdb.base/call-rt-st-exp: new file.
11223 * gdb.base/call-strs.exp: new file.
11224 * gdb.base/ena-dis-br.exp: new file.
11225 * gdb.base/environ.exp: new file.
11226 * gdb.base/long_long.exp: new file.
11227 * gdb.base/sect-cmd.exp: new file.
11228 * gdb.base/shlib-cl2.exp: new file.
11229 * gdb.base/smoke.exp: new file.
11230 * gdb.base/so-impl-ld.c: new file.
11231 * gdb.base/so-impl-ld.exp: new file.
11232 * gdb.base/so-indr-cl.c: new file.
11233 * gdb.base/so-indr-cl.exp: new file.
11234 * gdb.base/varargs.exp: new file.
11235 * gdb.base/volatile.exp: new file.
11236 * gdb.base/whatis-exp.exp: new file.
11237 * gdb.base/display.exp: new file.
11238 * gdb.c++/derivation.exp: new file.
11239 * gdb.c++/local.exp: new file.
11240 * gdb.c++/member-ptr.exp: new file.
11241 * gdb.c++/overload.exp: new file.
11242 * gdb.c++/ovldbreak.exp: new file.
11243 * gdb.c++/ref-types.exp: new file.
11244 * gdb.c++/ref-types2.exp: new file.
11245 * gdb.c++/userdef.exp: new file.
11249 * gdb.base/default.exp: Reflect wording change in remote.c.
11253 * gdb.base/help.exp: Update to reflect current text.
11257 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
11258 they're stack variables and contain garbage.
11259 * gdb.c++/anon-union.exp: new file.
11261 The following changes were made by David Taylor
11266 * gdb.base/bitops.exp: new file.
11267 * gdb.base/default.exp: change expected messages for catch and
11268 info catch tests to reflect HP merge changes.
11269 * gdb.base/enable-disable-break.exp
11270 * gdb.base/ending-run.c: new file.
11271 * gdb.base/long_long.c: new file.
11272 * gdb.base/maint.exp: new file.
11273 * gdb.base/pointers2.exp: new file.
11274 * gdb.base/shlib-call2.exp: new file.
11275 * gdb.base/solib.exp: new file.
11276 * gdb.base/step-test.c: new file.
11277 * gdb.c++/anon-union.cc: new file.
11278 * gdb.c++/local.cc: new file.
11279 * gdb.c++/member-pointer.cc: new file.
11280 * gdb.c++/method.cc: new file.
11281 * gdb.c++/ref-types.cc: new file.
11282 * gdb.c++/ref-types2.cc: new file.
11283 * gdb.c++/userdef.cc: new file.
11285 * gdb.base/scope.exp: compile one file at a time, then link.
11286 * gdb.base/langs.exp: ditto.
11287 * gdb.base/list.exp: ditto.
11291 The following changes were made by David Taylor
11296 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
11297 skip tests. When compiling pass c++ flag to gdb_compile.
11300 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
11301 test for on hppa*-*-hpux*; use args to see if c++ was specified.
11302 (skip_hp_tests): new function.
11303 (gdb_preprocess): new function.
11305 * configure.in (hpdir): decide whether to configure gdb.hp.
11306 * configure: regenerated.
11308 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
11309 to delete on clean.
11310 (EXECUTABLES): update to reflect new additions.
11311 * gdb.base/commands.exp: update message expected.
11312 * gdb.base/default.exp: add copyright notice.
11313 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
11314 * gdb.base/help.exp: update messages to reflect current text.
11315 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
11316 targets for recurse tests.
11317 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
11320 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
11321 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
11323 * gdb.c++/misc.exp: ditto.
11324 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
11325 run the tests. tell gdb_compile that it's a c++ compilation.
11327 * gdb.threads/pthreads.exp: fix typo in message.
11329 * gdb.base/all-bin.exp: new file.
11330 * gdb.base/arithmet.exp: new file.
11331 * gdb.base/assign.exp: new file.
11332 * gdb.base/completion.exp: new file.
11333 * gdb.base/cond-expr.exp: new file.
11334 * gdb.base/condbreak.exp: new file.
11335 * gdb.base/define.exp: new file.
11336 * gdb.base/dollar.exp: new file.
11337 * gdb.base/environment.exp: new file.
11338 * gdb.base/eval-skip.exp: new file.
11339 * gdb.base/jump.exp: new file.
11340 * gdb.base/logical.exp: new file.
11341 * gdb.base/pointers.exp: new file.
11342 * gdb.base/relational.exp: new file.
11343 * gdb.base/section_command.exp: new file.
11344 * gdb.base/whatis-expr.exp: new file.
11346 * gdb.base/all-types.c: new file.
11347 * gdb.base/call-array-struct.c: new file.
11348 * gdb.base/call-return-struct.c: new file.
11349 * gdb.base/call-strings.c: new file.
11350 * gdb.base/callfuncs2.c: new file.
11351 * gdb.base/condbreak.c: new file.
11352 * gdb.base/constvars.c: new file.
11353 * gdb.base/display.c: new file.
11354 * gdb.base/int-type.c: new file.
11355 * gdb.base/jump.c: new file.
11356 * gdb.base/miscexprs.c: new file.
11357 * gdb.base/pointers.c: new file.
11358 * gdb.base/pointers2.c: new file.
11359 * gdb.base/shmain.c: new file.
11360 * gdb.base/shr1.c: new file.
11361 * gdb.base/shr2.c: new file.
11362 * gdb.base/solib.c: new file.
11363 * gdb.base/solib1.c: new file.
11364 * gdb.base/solib2.c: new file.
11365 * gdb.base/varargs.c: new file.
11366 * gdb.c++/derivation.cc: new file.
11367 * gdb.c++/overload.cc: new file.
11368 * gdb.c++/ovldbreak.cc: new file.
11369 * gdb.hp/attach.c: new file.
11370 * gdb.hp/attach2.c: new file.
11371 * gdb.hp/average.c: new file.
11372 * gdb.hp/compiler.c: new file.
11373 * gdb.hp/compiler.cc: new file.
11374 * gdb.hp/execd-program.c: new file.
11375 * gdb.hp/follow-exec.c: new file.
11376 * gdb.hp/follow-fork.c: new file.
11377 * gdb.hp/follow-vfork-and-exec.c: new file.
11378 * gdb.hp/misc-hp.cc: new file.
11379 * gdb.hp/more-steps.c: new file.
11380 * gdb.hp/optimize.c: new file.
11381 * gdb.hp/quicksort.c: new file.
11382 * gdb.hp/run-hp.c: new file.
11383 * gdb.hp/start-stop.c: new file.
11384 * gdb.hp/sum.c: new file.
11385 * gdb.hp/templates-hp.cc: new file.
11386 * gdb.hp/thread-local-in-lib.c: new file.
11387 * gdb.hp/thread-local-in-lib.h: new file.
11388 * gdb.hp/thread-local-in-lib.lib.c: new file.
11389 * gdb.hp/vforked-program.c: new file.
11390 * gdb.hp/virtfunc-hp.cc: new file.
11391 * gdb.hp/watchpoint-hp.c: new file.
11392 * gdb.hp/xdb.c: new file.
11393 * gdb.hp/xdb0.c: new file.
11394 * gdb.hp/xdb0.h: new file.
11395 * gdb.hp/xdb1.c: new file.
11399 The following change was made by Edith Epstein
11401 originally made by HP; HP did not create ChangeLog entries.
11403 * gdb.c++/demangle.exp: changed the expected output for some
11404 ARM-style mangling -- removed second reference to datatype.
11405 For example, maint demangle __dt__11T1__pt__2_cFv
11406 T1<char>::~T1<char>(void)
11408 maint demangle __dt__11T1__pt__2_cFv
11409 T1<char>::~T1(void)
11411 (test_hp_style_demangling): new hp specific demangling test cases.
11415 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
11416 * gdb.trace/backtrace.exp: Likewise.
11417 * gdb.trace/circ.exp: Likewise.
11418 * gdb.trace/collection.exp: Likewise.
11419 * gdb.trace/deltrace.exp: Likewise.
11420 * gdb.trace/infotrace.exp: Likewise.
11421 * gdb.trace/limits.exp: Likewise.
11422 * gdb.trace/packetlen.exp: Likewise.
11423 * gdb.trace/passc-dyn.exp: Likewise.
11424 * gdb.trace/passcount.exp: Likewise.
11425 * gdb.trace/report.exp: Likewise.
11426 * gdb.trace/save-trace.exp: Likewise.
11427 * gdb.trace/tfind.exp: Likewise.
11428 * gdb.trace/tracecmd.exp: Likewise.
11429 * gdb.trace/while-dyn.exp: Likewise.
11430 * gdb.trace/while-stepping.exp: Likewise.
11434 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
11438 From Brendan Kehoe:
11439 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
11444 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
11445 remote dos host testing right.
11449 * gdb.base/corefile.exp: remove some xfails.
11453 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
11454 have different timestamps.
11458 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
11459 gdb.base/default.exp: Replace "exec" with "executable".
11463 * gdb.base/default.exp: Change else if to elseif from previous
11468 * gdb.base/default.exp: Add brace missing from previous delta.
11472 * gdb.base/default.exp: Support test for info float for all
11473 varieties of arm toolchain.
11477 * gdb.trace/*.exp: remove "remote_download" command.
11481 * gdb.trace/*.exp: remove -gdwarf from compile.
11485 * gdb.trace/configure.in(AC_INIT): typo
11486 * gdb.trace/configure: regenerated
11490 * config/m68k-emc.exp: New file.
11491 * lib/<emc-support.exp trace-support.exp}: New files.
11492 * configure.in: add new test directory gdb.trace.
11493 * gdb.trace/{configure configure.in Makefile.in}: New files.
11494 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
11495 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
11496 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
11497 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
11498 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
11499 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
11500 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
11504 * gdb.c++/classes.exp: Change all regular expressions to match
11505 arbitrary combinations of newline/carriage-return, so that they
11506 will work equally well on Unix and Windows.
11507 * gdb.c++/inherit.exp: ditto.
11508 * gdb.c++/virtfunc.exp: ditto.
11512 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
11516 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
11517 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
11518 to use a0-a3/d0-d3 as needed.
11522 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
11523 * gdb.disasm/am33.exp: Corresponding changes.
11527 * gdb.base/callfuncs.exp: add cmp10 test.
11528 * gdb.base/callfuncs.c (cmp10): new function.
11532 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
11533 into two parts to get around a synchronization problem in expect.
11537 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
11539 * configure.in: Add options for gdbtk testsuite.
11541 * configure: Regenerate.
11543 * gdb.gdbtk: New directory to hold gdbtk tests.
11547 * gdb.fortran/types.exp: Escape brackets in expect patterns
11548 for test_float_literal_types_accepted tests.
11549 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
11554 * am33.exp: Just compile, do not link the testcase.
11555 * am33.s: Add ".am33" pseudoop to force am33 mode.
11559 * gdb.base/setshow.exp: make sure $pc is sane.
11561 * gdb.stabs/weird.exp: split expect patterns properly.
11565 * gdb.disasm/am33.s: New disassembler testfile for the am33.
11566 * gdb.disasm/am33.exp: Run it.
11570 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
11571 match processing (and eliminate spurious timeouts when running).
11575 * gdb.base/signals.exp (test_handle_all_print): put back Mach
11576 exception test, but conditionalize it on target [mach | gnu].
11580 * gdb.base/overlays.exp: fixup compile line for linker script.
11584 * gdb.fortran/types.exp: don't guess at float size.
11588 * gdb.base/exprs.exp: delete test that depends on int size.
11592 * config/sim.exp: Removed checks for target triplets.
11593 (gdb_target_sim): Use gdb,target_sim_options.
11597 * gdb.base/reread.exp: New file.
11598 * gdb.base/reread1.c: New file.
11599 * gdb.base/reread2.c: New file.
11603 * config/sim.exp: Use 'target sim -sparclite' when running
11604 SPARClite programs.
11608 * gdb.base/structs2.exp: New file.
11609 * gdb.base/structs2.c: New file.
11613 * gdb.asm/common.inc: New file.
11614 * gdb.asm/d10v.inc: New file.
11615 * asm-source.exp: Pass -I's to gas to find .inc files.
11616 Update line numbers in expected output.
11617 * asmsrc1.s: Rewrite.
11618 * asmsrc2.s: Rewrite.
11619 * configure.in: Create arch.inc symlink.
11620 * configure: Regenerate.
11621 * Makefile.in (distclean): Delete arch.inc.
11625 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
11626 (t_enum_value2): ditto
11627 (t_enum_value3): ditto
11631 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
11632 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
11634 Use gdb_test instead of send_gdb/gdb_expect sequences.
11638 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
11643 * gdb.base/branches.c: Code with lots of loops and
11644 subroutines. Used to test gdbs ability to single step through PC
11645 changes, especially to test mips-tdep.c:mips_next_pc
11649 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
11650 more rigorous EGCS C++ error checking.
11654 * gdb.base/help.exp: Clean up `help set args' and `help show args'
11656 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
11657 function when asleep.
11658 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
11659 for i*86 Linux and SVR4 signal handling problems.
11660 Remove linux xfail for `next to handler in signals_tests_1', fixed
11661 by recent infrun.c change.
11662 Limit backtrace to 10 frames to avoid timeout problems with infinite
11664 Adjust expect pattern in `handle all print' test to match Apr 28 1997
11665 target.[ch] change.
11669 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
11670 for a newline from gdb before continuing.
11671 (default_gdb_exit): Just look for y or n.
11672 (gdb_test): Detect abnormal exit from GDB running on DOS; if
11673 it does, fail the rests of the tests in the file.
11677 * config/cygmon.exp: New file.
11681 * gdb.base/list.exp: Fix problem with "list default lines around
11682 main" test on remote targets.
11684 * gdb.base/scope.exp: Fix problem with filelocal_bss before
11685 run test on remote targets.
11689 * gdb.asm: New directory.
11690 * configure.in: Configure it.
11691 * configure: Regenerate.
11692 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
11693 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
11697 * config/mn10300-eval.exp: New file to support MN10300 eval board.
11701 * gdb.base/overlays (several files): Merge the two overlay
11702 managers into one. Change variables (foox, barx, bazx, grbxx)
11703 back into ints but force them to load in their proper sections.
11707 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
11708 on-chip insn memory and IMAP1 to upper 128k.
11709 (D10VCopy): Handle memory regions crossing 16k boundaries.
11710 (D10VCopy): Transfer data in 32 bit chunks.
11714 * gdb.base/overlays.c (main): Exit normally when result is
11717 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
11718 map. Include space for printf in .text segment.
11720 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
11721 updated d10v memory VMA/LMA map.
11722 (D10VCopy): Call D10VTranslate.
11726 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
11728 * gdb.base/bar.c (barx, bar): Change variable to small array so
11729 that it won't be put into the .sdata - small data -
11730 section. Update reference.
11731 * gdb.base/baz.c (bazx, baz): Ditto.
11732 * gdb.base/foo.c (foox, foo): Ditto.
11733 * gdb.base/grbx.c (grbxx, grbx): Ditto.
11735 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
11740 * gdb.base/overlays.exp: fix up and get working again.
11741 Add tests for backtraces from an overlay function.
11745 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
11746 "calling function with watchpoint enabled".
11750 * gdb.base/break.exp (test_next_with_recursion): Remove
11751 gdb_suppress_tests for d10v-*-*.
11752 * lib/gdb.exp (gdb_suppress_tests): Disable this function
11753 pending review of whether it is useful or not.
11757 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
11761 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
11762 * config/dve.exp: New file to support Densan boards.
11766 * gdb.base/interrupt.exp: Document problem of simulators, signals,
11771 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
11774 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
11778 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
11781 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
11782 target_sizeof_long and target_bigendian_p.
11783 (structs_by_value, structs_by_reference): Check values according
11784 to targets word size and endianess.
11788 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
11793 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
11794 Update test of set args help to match source change.
11798 * gdb.base/default.exp: Expect help system output to be in
11799 alphabetical order.
11800 * gdb.base/help.exp: Ditto.
11804 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
11805 "i*86-pc-linux-gnu*".
11806 * gdb.base/interrupt.exp: Ditto.
11807 * gdb.base/corefile.exp: Ditto.
11809 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
11810 define vxworks when building the testcase.
11812 * gdb.base/ptype.exp: Fix testnames to be unique.
11813 * gdb.base/radix.exp: Ditto.
11814 * gdb.base/term.exp: Ditto.
11815 * gdb.base/whatis.exp: Ditto.
11816 * gdb.c++/classes.exp: Ditto.
11820 * gdb.base/callfuncs.exp: Fix indentation.
11822 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
11823 suppress_flag has been set.
11824 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
11829 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
11832 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
11833 set_debug_traps() and breakpoint().
11834 * gdb.c++/misc.cc (main): Ditto.
11835 * gdb.c++/templates.cc (main): Ditto.
11836 * gdb.c++/virtfunc.cc (main): Ditto.
11840 * lib/gdb.exp(gdb_step_for_stub): New function.
11841 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
11842 exists, reload the executable and do a "continue" instead of
11844 (runto_main): Use gdb_step_for_stub.
11846 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
11847 tests to have unique names.
11848 * gdb.base/callfuncs.exp: Ditto.
11849 * gdb.base/commands.exp: Ditto.
11850 * gdb.base/default.exp: Ditto.
11851 * gdb.base/help.exp: Ditto.
11852 * gdb.base/list.exp: Ditto.
11853 * gdb.base/opaque.exp: Ditto.
11854 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
11857 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
11858 * gdb.c++/cplusfuncs.cc: Ditto.
11859 * gdb.c++/virtfunc.cc: Ditto.
11861 * config/monitor.exp: Keep track of the last file we saw, rather
11862 than trying to get the info from gdb.
11864 * gdb.fortran/types.exp: Move comment to previous line.
11868 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
11874 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
11875 string from GDB when it connects.
11877 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
11881 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
11882 if we can't get a debug format from GDB (we may be testing an
11883 older GDB). Use a 10 second timeout when checking for the format.
11885 * gdb.stabs/weird.exp: Fix quoting.
11887 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
11891 * config/arm-ice.exp: New file.
11895 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
11896 until it has been modified to work with the new testsuite.
11898 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
11899 testcase won't compile, cause all of the testcases in the file to
11902 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
11903 (gdb_clear_suppressed): New procedure.
11904 (gdb_stop_suppressing_tests): Only clear suppress_flag if
11905 it contains a positive value.
11909 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
11911 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
11915 * lib/gdb.exp (setup_xfail_format): New function.
11916 (get_debug_format): New function to get debug format.
11917 (debug_format): New global variable to hold last value set
11918 by get_debug_format.
11919 * gdb.base/list.exp: Call get_debug_format and expect some
11920 tests to fail for DWARF 1 and COFF formats.
11921 * gdb.c++/ptype.exp: Ditto.
11922 * gdb.c++/classes.exp: Ditto.
11923 * gdb.c++/cplusfuncs.exp: Ditto.
11924 * gdb.c++/inherit.exp: Ditto.
11925 * gdb.c++/templates.exp: Ditto.
11926 * gdb.c++/virtfunc.exp: Ditto.
11930 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
11931 host doesn't have a currently-open connection.
11933 * config/sparclet.exp: Cleanups and fixes to make it generic for
11934 any gdb stub target. Handle cases where gdb doesn't respond when
11935 interrupted in a sane fashion.
11937 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
11938 same thing in a totally different way.
11940 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
11942 (gdb_start): We set the global gdb_prompt variable in
11943 default_gdb_init now.
11947 * gdb.base/printcmds.exp: Fix "check for floating addition"
11948 regexp to accept results within approx +/- .01 of exact value.
11949 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
11953 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
11955 (gdb_expect): Add optional timeout parameter, and add timeout
11956 value to various calls.
11957 (gdb_suppress_tests): Only give one warning message per group.
11961 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
11962 global variables. Handle getting a value for $timeout more
11967 * lib/gdb.exp: Close connection to remote host if gdb doesn't
11969 (default_gdb_init): New procedure; allow gdb_init to be overridden
11970 by a target configuration file.
11971 (gdb_expect): Pass the timeout to remote_expect.
11973 * config/monitor.exp(gdb_load): Fix typo in regexp.
11977 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
11981 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
11982 here. Call gdb_target_exec before rebooting the target, to make
11983 sure the connection to the target is closed.
11984 (gdb_load): Pass the name of the executable to gdb_target_monitor.
11985 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
11986 Also detect "Timeout reading from remote" error.
11988 * config/gdbserver.exp: Pass the executable being loaded to
11989 gdb_target_monitor. Don't call gdb_file_cmd here; let
11990 gdb_target_monitor do it.
11992 * gdb.disasm/hppa.exp: Don't use exec_output.
11996 * gdb.base/list.exp: If we're debugging a non-native target,
11997 try to set the pc register to point to the start of the
11998 program before doing the first list command.
12000 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
12001 test_calls after restarting.
12003 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
12006 * gdb.base/watchpoint.exp: Fix typo.
12008 * gdb.base/setshow.exp: Check for use_gdb_stub.
12010 * gdb.base/break.exp: Fix continue until exit test for the gdb
12012 * gdb.base/langs.exp: Ditto.
12014 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
12015 gdb_load_offset. If we weren't given a file to load, figure out
12016 what the current file is and use it.
12018 * config/i386-bozo.exp: New file.
12022 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
12025 * config/proelf.exp: New entry.
12029 * lib/gdb.exp: Remove spurious .* patterns at the beginning
12032 * gdb.base/watchpoint.exp: Don't run the test_stepping
12033 tests if gdb can't call functions on the target.
12035 * gdb.base/setshow.exp: Don't run the set prompt tests if
12036 the board has gdb_prompt set.
12040 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
12041 * gdb.base/commands.exp: Likewise.
12042 * gdb.base/setshow.exp: Likewise.
12046 * config/monitor.exp(gdb_start): Look for gdb_prompt target
12049 * config/i960.exp: New file.
12053 * gdb.base/funcargs.exp: Check for gdb,short_int target
12054 feature instead of looking for explicit target triplets.
12058 * gdb.base/printcmds.exp: add a couple more tests a la
12059 "p 123DEADBEEF", to check parse_number.
12060 * top.c: change "to enable to enable" to "to enable" in a couple
12065 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
12070 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
12071 where the test executable is run with explicit args.
12072 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
12076 * gdb.base/run.c: Use FAKEARGV to build test executable that
12077 does not require a command line arg, since most simulators
12078 don't currently support passing such an arg into the simulated
12080 * gdb.base/commands.exp: Change tests to insert the proper
12081 value as the arg to the first recursive factorial call. Change
12082 compilation line to define FAKEARGV at compile time.
12086 * gdb.base/recurse.exp: Enable these tests for the mn10300.
12087 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
12088 function with watchpoint enabled" test.
12092 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
12093 Don't call gdb_test when the command doesn't return to a gdb prompt.
12095 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
12096 "Tests restarted" messages.
12100 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
12104 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
12105 for INFO SYMBOL; add help tests for OVERLAY commands.
12106 * gdb.base/default.exp: add tests for INFO SYMBOL command;
12107 add tests for OVERLAY commands
12108 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
12109 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
12110 * gdb.base/sigall.c: add usestubs code frag
12111 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
12115 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
12117 (gdb_stop_suppressing_tests): Note that tests have restarted.
12121 * config/h8300.exp: New file.
12125 * gdb.base/setshow.exp: Check for the existence of a
12126 feature, not its value.
12130 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
12132 * gdb.base/scope.exp: It's now init0(), not init().
12134 * gdb.base/scope0.c: For now, change init() to be init0().
12136 * config/monitor.exp: Use gdb_serial in preference to serial
12139 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
12140 and it's not already set.
12144 * gdb.base/setshow.exp: Only test the run command if the target
12145 isn't using a stub and if it supports argument passing.
12149 * config/udi.exp(gdb_start): Make sure UDICONF is set
12150 properly before starting gdb.
12154 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
12155 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
12156 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
12160 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
12161 specialized code to reboot the board, use remote_reboot instead.
12163 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
12165 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
12167 * config/monitor.exp: Make sure we disconnect from the target.
12168 Also, try a reboot/reload cycle instead of failing if the
12173 * gdb.base/default.exp: Don't set match_max.
12174 * gdb.base/help.exp: Ditto.
12175 * gdb.base/list.exp: Ditto.
12176 * gdb.base/signals.exp: Ditto.
12178 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
12179 set, use remote_ld to download the testcase instead of
12184 * config/vr5000.exp: New file.
12186 * config/monitor.exp(gdb_target_monitor): Add pattern for
12187 "Ending remote" to detect errors in connecting.
12189 * gdb.base/setshow.exp: Add .* within auto language test.
12191 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
12194 * config/monitor.exp(gdb_load): Check for a failure when loading,
12195 and reboot the board if necessary.
12197 * gdb.base/setvar.exp(test_set): Handle multiple prints within
12198 a set of tests. Remove print.* from the patterns being checked.
12202 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
12203 refer to gdb_spawn_id.
12205 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
12207 * config/sparclet.exp: Ditto.
12208 * config/sparclet-old.exp: Ditto.
12209 * config/slite.exp: Ditto.
12210 * config/sim.exp: Ditto.
12211 * gdb.base/funcargs.exp: Ditto.
12213 * lib/gdb.exp:Remove references to gdb_spawn_id.
12214 (gdb_expect): Move to remote.exp.
12218 * config/monitor.exp: Detect the "Couldn't establish connection"
12223 * gdb.base/bitfields.exp: Use runto instead of explicit
12224 gdb_run_cmd/gdb_expect sequences.
12226 * gdb.base/break.exp(text_next_with_recursion): Add match for
12229 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
12230 We also need to handle the "A program is being debugged already"
12231 prompt from gdb. Use gdb_test to set the baud rate.
12233 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
12234 to 20000. Really. I mean it.
12238 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
12239 fails. If suppress_flag is set, skip perror message about not
12240 being able to send to GDB.
12241 (send_gdb): If suppress_flag is set, don't try to send commands to
12243 (gdb_expect): If suppress_flag is set, always fail immediately.
12244 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
12245 (gdb_init): Call gdb_stop_suppressing_tests.
12246 (default_gdb_exit): Ditto.
12247 (default_gdb_start): Ditto.
12249 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
12250 gdb_stop_suppressing_tests as appropriate.
12251 * gdb.base/break.exp: Ditto.
12252 * gdb.base/callfuncs.exp: Ditto.
12253 * gdb.base/commands.exp: Ditto.
12254 * gdb.base/exprs.exp: Ditto.
12255 * gdb.base/funcargs.exp: Ditto.
12256 * gdb.base/list.exp: Ditto.
12257 * gdb.base/recurse.exp: Ditto.
12258 * gdb.base/scope.exp: Ditto.
12259 * gdb.base/structs.exp: Ditto.
12260 * gdb.c++/inherit.exp: Ditto.
12264 * config/vr4300.exp: New file.
12266 * gdb.*/*.exp: Call gdb_expect instead of expect.
12268 * lib/gdb.exp(gdb_expect): New function.
12272 * lib/gdb.exp(gdb_init): New function.
12274 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
12275 for each individual variable set.
12277 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
12280 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
12282 * gdb.base/scope.exp: Use gdb_test.
12284 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
12285 aborting; the testsuite driver will do that for us (see
12286 gdb_finish). Also, use gdb_test in a few more places.
12290 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
12294 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
12295 and "add_tests" are not at the same address.
12299 * gdb.base/ptype.exp: Use gdb_test.
12303 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
12304 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
12305 left in. No longer expect them to fail.
12307 * gdb.stabs/*.mt; Deleted, no longer used.
12308 * gdb.stabs/configure.in: Remove references to target makefile
12310 * gdb.stabs/configure: Rebuilt.
12312 * gdb.disasm/*.mt: Deleted, no longer used.
12313 * gdb.disasm/configure.in: Remove references to target makefile
12314 frags. Use "sh3.s" as the unique filename for this directory.
12315 * gdb.disasm/configure: Rebuilt.
12317 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
12318 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
12319 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
12323 * config/udi.exp: Use mondfe,name instead of remote_host.
12327 * gdb.base/watchpoint.exp: Don't expect a failure when calling
12328 a function with a watchpoint enabled on the mn10200.
12330 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
12331 before trying to create it!
12335 * config/vx.exp: Use hostname instead of netport.
12337 * config/vxworks.exp: New file.
12339 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
12341 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
12342 gdb before assuming everything worked. Send a ^C if a timeout
12345 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
12346 $gdb_spawn_id directly.
12347 (gdb_run_cmd): Try _start as well as start. Use the target feature
12348 gdb,start_symbol as the symbol to start from when jumping.
12352 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
12355 * gdb.base/recurse.exp: Relax final value test for 'b' so that
12356 it doesn't lose for 16bit integer systems.
12360 * gdb.fortran/types.exp: If the target doesn't support "double"
12361 data types, then expect "real" types to only be 4 bytes.
12363 * gdb.c++/virtfunc.exp: Expect failure for virtual function
12364 call tests if the target doesn't support inferior function calls.
12366 * gdb.base/printcmds.exp: Allow minor deviation in FP values
12371 * gdb.base/help.exp: Disable "help set", "help show", and
12372 "help support". Simplify regexp for "help stack".
12374 * gdb.base/default.exp: Set match_max to 5000 and the timeout
12375 to 60 seconds. Temporarily set match_max to 15000 around the
12376 "info copying" test.
12378 * gdb.base/nodebug.exp: Don't try to do an inferior function
12379 call if the target doesn't support them.
12380 * gdb.base/printcmds.exp: Likewise.
12381 * gdb.base/setvar.exp: Likewise.
12382 * gdb.base/structs.exp: Likewise.
12383 * gdb.c++/templates.exp: Likewise.
12384 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
12386 * gdb.base/recurse.exp: Enable for the mn10200.
12388 * configure.in: Do configure gdb.stabs directory for *-*-elf
12390 * configure: Rebuilt.
12392 * gdb.base/break.exp: Check for gdb,noresults before testing
12393 exit status and/or results from the target.
12394 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
12395 * lib/gdb.exp: Remove old (now bogus) initialization of
12396 noinferior, noargs, noresults and nosignals.
12400 * config/sh.exp: New file.
12402 * config/slite.exp: Try to connect multiple times to the board
12403 before rebooting. Only send a "monitor run" if need_monitor_run
12406 * gdb.base/break.exp: Don't do the "stub continue" test if
12407 the target has gdb_stub set.
12409 * gdb.base/callfuncs.exp: Increase the timeout.
12411 * gdb.base/interrupt.exp: Don't even try to compile the testcase
12412 if the target has gdb,noinferiorio set.
12414 * gdb.base/list.exp: Increase match_max to 10000 characters.
12416 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
12418 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
12421 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
12425 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
12426 trying to delete the copy of gdb. Catch the file delete so we
12427 don't die if the delete fails; also, the file should be copied to
12428 the host, not to the build.
12432 * lib/gdb.exp(gdb_test): Surround the result pattern with
12433 parenthesis in case it contains multiple regexps separated
12436 * gdb.base/watchpoint.exp: Use gdb_test.
12437 * gdb.base/default.exp: Ditto.
12441 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
12443 * gdb.base/scope.exp: Use gdb_test.
12444 * gdb.c++/classes.exp: Ditto.
12445 * gdb.c++/inherit.exp: Ditto.
12449 * gdb.base/crossload.exp: Don't use execute_anywhere, use
12450 remote_exec instead.
12451 * gdb.base/corefile.exp: Don't be ridiculous.
12452 * gdb.base/*.c: Add missing stub invocations.
12456 * config/slite.exp: Miscellaneous fixes.
12458 * lib/gdb.exp: Fix runto.
12460 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
12463 * gdb.base/watchpoint.exp: Fix regexp.
12465 * lib/gdb.exp(default_gdb_exit): Add a catch to the
12466 close and wait commands, as the descriptor may now be
12467 invalid. Always call "remote_close host".
12471 Major rewrite for testsuite revision.
12473 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
12474 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
12475 instead of relying on spawn_id to always contain a valid
12477 (get_compiler_info): New procedure to build the ${binfile}.ci
12478 file, instead of replicating this in N different places.
12479 (gdb_compile): New procedure.
12481 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
12482 appropriate arguments) instead of compile. Use gdb_test in a lot
12483 more places. Use send_gdb instead of send. Always run gdb_start
12484 at the start of a testcase, as this is no longer done magically.
12486 config/*-gdb.exp: Rename without the -gdb suffix.
12488 config/mips.exp: Use remote_close instead of exit_remote_shell.
12489 config/monitor.exp: Use target_info instead of looking at
12490 baud, timeout, etc.
12491 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
12495 * gdb.c++/templates.exp (test_ptype_of_templates),
12496 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
12497 Update expect patterns for destructors and assignment operators
12498 to match corresponding c-typeprint.c changes.
12499 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
12500 to destructor breakpoint test, GDB should be able to set the
12501 destructor breakpoint without specifying arguments.
12505 * gdb.threads/pthreads.exp: Change result for failure to compile due
12506 to lack of pthreads runtime support from an error to simply an
12507 unsupported test, per dejagnu standards.
12511 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
12512 where GDB exits to reduce pattern match time.
12513 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
12515 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
12519 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
12520 * gdb.base/default.exp: ditto.
12521 * gdb.base/nodebug.exp: ditto.
12522 * gdb.base/printcmds.exp: ditto.
12523 * gdb.base/ptype.exp: ditto.
12524 * gdb.base/setvar.exp: ditto.
12525 * gdb.base/structs.exp: ditto.
12526 * gdb.base/setshow.c: Guard against uninitialized values of argc.
12530 * configure, */configure: Rebuild with autoconf 2.12.
12534 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
12535 use new i*86-pc-linux*-gnu quads.
12536 * gdb.base/corefile.exp: Ditto.
12537 * gdb.base/signals.exp: Ditto.
12538 * gdb.base/sigall.exp: Ditto.
12539 * gdb.base/interrupt.exp: Ditto.
12541 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
12542 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
12545 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
12546 linux. This allows the test case to at least compile on latest
12547 linux, but still not run due to missing the threads runtime library.
12551 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
12552 directory to search gdb directory. Accept and step over conditional
12553 stack alignment code. Consume $prompt in failure cases.
12554 Reset timeout to $oldtimeout instead of some arbitrary value.
12555 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
12556 timeout problems with infinite stack backtraces.
12557 * gdb.base/ptype.exp (ptype struct link, union tu_link):
12558 Accept function parameters for linkfunc member.
12562 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
12563 (CXXFLAGS): Remove, unreferenced.
12564 (B_OPTIONS): Add for -B options and add code to initialize with
12565 previous -B options and also add -B option to pick up cross compiled
12567 (TARGET_INCLUDES): Add for -I options and add code to initialize when
12568 doing cross compiles.
12569 (target_alias): Declare global.
12570 (xgcc): Set variable to full path of gcc in build tree. Use findfile
12571 to verify that gcc exists in build tree, and if so set CC to that
12572 gcc and to use B_OPTIONS and TARGET_INCLUDES.
12576 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
12577 ptype test for anonymous union. Fixup testcase to match
12578 current gcc debug output.
12582 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
12583 force argument to an unsigned long type.
12587 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
12588 tests and anonymous union print/ptype tests.
12589 * gdb.base/list.exp (test_forward-search): Increase timeout by
12590 5 minutes for the "search extremely long line" case.
12591 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
12592 completely optional and that the pass/fail messages use the command as
12593 the message if that third arg is a null string.
12594 (gdb_test_exact): Arrange that a null string pattern means match a
12595 null string output rather than any output, which might include random
12597 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
12599 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
12600 always failing and failure is now exposed by gdb.exp changes.
12604 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
12605 weren't being noted.
12609 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
12610 * gdb.stabs/weird.exp: Remove v_comb xfails.
12614 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
12615 list.exp scope.exp watchpoint.exp]
12616 Make all timeout error msgs explicitly say "(timeout)".
12620 * config/monitor.exp: Increase download timeout to 1000 seconds.
12624 * config/m32r.exp: Increase timeout to 120 seconds.
12628 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
12629 and accept older ordering as obsolescent gcc or gdb.
12630 * gdb.c++/templates.exp: Ditto.
12631 * gdb.c++/virtfunc.exp: Ditto.
12635 * gdb.base/coremaker.c: Add code to mmap some data so we
12636 can check that it ends up in the core file.
12637 * gdb.base/corefile.exp: Add test to read mmapped data
12642 * config/m32r.exp: New file.
12646 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
12647 that cflags can contains -gstabs, and work correctly for other tests.
12651 * gdb.base/setshow.exp: New file, tests show and set.
12652 * gdb.base/setshow.c: New file, tests show and set.
12653 * gdb.base/help.exp: Add test for help set|show annotate.
12654 * gdb.base/default.exp: Add test for set|show annotate.
12658 * testsuite/gdb.base/break.exp: Make backtrace from factorial
12660 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
12665 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
12666 and width commands. This is done elsewhere.
12667 * (gdb_start): Don't call gdb_start_sim here. That's already
12668 done in gdb_load. This fixes lots of failures in default.exp.
12673 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
12674 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
12675 in the same we we treat other failures (since it may be an expected
12676 condition), rather than as an error.
12677 * gdb.base/signals.exp (test_handle_all_print): Revert back to
12682 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
12683 (distclean maintainer-clean realclean): No need to remove files
12684 twice. Nuke the duplicates.
12685 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
12686 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
12687 Remove config.h along with other config files.
12691 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
12692 "p func1 ()" and note that rests of tests are skipped.
12693 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
12694 setup_xfails for "print func2::coremaker_local".
12695 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
12696 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
12697 affected by the previous run test.
12698 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
12699 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
12700 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
12701 "pass int powerset tuple" and "pass modeless int powerset tuple".
12702 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
12703 "real write 4" and "real write 8".
12704 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
12705 setup_xfails for "print vs1 after tuple assign 2",
12706 "print \$i after tuple assign 2", and
12707 "print vs2 after tuple assign 2".
12708 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
12709 meaningful error message and return -1 so the caller can
12710 suppress further tests and avoid a cascade of errors.
12714 * gdb.base/a1-selftest.exp: Tweak tests to account for new
12715 format for printing version.
12716 * gdb.base/default.exp: Ditto.
12717 * gdb.base/interrupt.exp: Fix problem with cascade of
12718 errors if child process dies while calling a function.
12722 * Makefile.in (VPATH): Add
12723 * Makefile.in (Makefile, config.status): Fix rules so things get
12724 remade when necessary.
12728 * Makefile.in (just-check): Add path to sibling expect dir
12729 to environment variable specified by RPATH_ENVVAR.
12733 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
12734 (just-check): Add shared library paths for libstdc++, tk,
12735 tcl, bfd, and opcodes to the environment variable specified
12737 * configure.in: Add support to recognize --enable-shared flag
12738 and generate correct value for RPATH_ENVVAR.
12739 * configure: Regenerated with autoconf.
12743 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
12744 include all osf versions.
12745 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
12746 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
12747 when target is linux. When failing to build pthreads test
12748 executable, give more meaningful message.
12749 * gdb.threads/pthreads.c: Hpux also uses old definition of second
12750 arg for pthread_create.
12754 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
12755 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
12756 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
12757 and -lpthreads (everybody else).
12758 (test_startup): Fail gracefully if threads are not supported.
12759 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
12760 "p/c array_index("abcdef",2)" when not gcc compiled.
12761 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
12762 "print func2::coremaker_local" when not gcc compiled.
12763 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
12764 "ptype on opaque struct tagname (statically)",
12765 "ptype on opaque struct tagname (dynamically) 1", and
12766 "ptype on opaque struct tagname (dynamically) 2"
12767 for not compiled with gcc.
12768 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
12769 backtrace when compiled with gcc.
12770 * lib/gdb.exp (runto_main): Return result of "runto main" rather
12771 than always return success.
12775 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
12779 * gdb.base/structs.exp: Undo last change.
12783 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
12784 encapsulate all the steps/nexts done during self test, starting
12785 at main, and makes them less sensitive to optimization issues.
12786 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
12787 signal handler" test.
12788 * gdb.threads/pthreads.exp: Only run this for native configs.
12789 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
12790 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
12792 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
12793 for "runto test_calls(void)" test.
12797 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
12798 and don't expect address info in breakpoint confirmations.
12802 * gdb.base/list.exp (test_forward_search): Increase timeout
12803 temporarily by 60 seconds for searching extremely long line,
12804 and then reset to old value when done. Increase expect input
12809 * gdb.base/list.exp (test_forward_search): Fix to handle very
12810 long source line without overflowing expect's input buffer.
12814 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
12817 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
12820 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
12823 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
12828 * configure.in (configdirs): Add gdb.threads.
12829 * configure: Regenerated with autoconf.
12830 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
12831 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
12832 * gdb.threads/configure: New, generated with autoconf.
12836 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
12840 * gdb.base/signals.exp (test_handle_all_print): Test separately for
12841 each signal's status in the output of "handle all print".
12842 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
12843 the \r\n sequence that immediately precedes the gdb prompt.
12844 * gdb.base/a1-selftest.exp: Save original timeout and restore
12849 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
12854 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
12858 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
12859 timeout by 60 seconds.
12863 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
12864 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
12869 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
12870 gdb initialization, also report how long dejagnu waited. Restore
12871 old timeout before doing error return. Temporarily increase timeout
12872 by 3 minutes to allow for slow startups over heavy NFS use.
12876 * lib/gdb.exp: Report timeout value for verbosity level 2.
12877 * config/gdbserver.exp: Ditto.
12878 * config/hppro.exp: Ditto.
12879 * config/mips-gdb.exp: Ditto.
12880 * config/monitor.exp: Ditto.
12881 * config/netware.exp: Ditto.
12882 * config/sim-gdb.exp: Ditto.
12883 * config/slite-gdb.exp: Ditto.
12884 * config/udi-gdb.exp: Ditto.
12885 * config/unix-gdb.exp: Ditto.
12886 * config/vx-gdb.exp: Ditto.
12887 * gdb.base/a1-selftest.exp: Ditto.
12888 * gdb.base/a2-run.exp: Ditto.
12889 * gdb.base/break.exp: Ditto.
12890 * gdb.base/corefile.exp: Ditto.
12891 * gdb.base/list.exp: Ditto.
12892 * gdb.base/recurse.exp: Ditto.
12893 * gdb.base/scope.exp: Ditto.
12894 * gdb.base/signals.exp: Ditto.
12898 * gdb.threads/Makefile.in (docdir): Removed.
12902 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
12903 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
12905 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
12906 autoconf 2.5 or higher.
12907 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
12911 * configure: Regenerated.
12912 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
12913 avoid name clashes with SunOS headers.
12917 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
12921 * gdb.base/callfuncs.exp: Finish last change -- make sure the
12922 prototype information ends up in the compiler info file.
12926 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
12927 attempting to regenerate it. Eliminate use of a temporary file
12928 and just generate the info file directly. Source it immediately,
12929 for consistency of use.
12930 * gdb.base/corefile.exp: Ditto
12931 * gdb.base/exprs.exp: Ditto.
12932 * gdb.base/funcargs.exp: Ditto.
12933 * gdb.base/langs.exp: Ditto.
12934 * gdb.base/list.exp: Ditto.
12935 * gdb.base/mips_pro.exp: Ditto.
12936 * gdb.base/nodebug.exp: Ditto.
12937 * gdb.base/opaque.exp: Ditto.
12938 * gdb.base/ptype.exp: Ditto.
12939 * gdb.base/scope.exp: Ditto.
12940 * gdb.base/setvar.exp: Ditto.
12941 * gdb.base/signals.exp: Ditto.
12942 * gdb.base/whatis.exp: Ditto.
12943 * gdb.c++/templates.exp: Ditto.
12944 * gdb.c++/virtfunc.exp: Ditto.
12945 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
12946 whether or not to add -lstdc++ to the compile command line args.
12950 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
12951 it got fixed by the recent lookup_minimal_symbol_by_pc change.
12952 Increase timeout, a lot of single stepping might be needed if the
12953 target has no hardware watchpoints.
12957 * gdb.base/break.exp: Ignore compiler warnings when compiling
12959 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
12960 * gdb.base/default.exp: Add h8300 xfails. Handle messages
12962 * gdb.base/exprs.exp: Add h8300 xfails.
12963 * gdb.base/funcargs.exp: Likewise.
12964 * gdb.base/nodebug.exp: Likewise.
12965 * gdb.base/printcmds.exp: Likewise.
12966 * gdb.base/ptype.exp: Likewise.
12967 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
12969 * gdb.base/return.exp: Handle float/double precision problems
12971 * gdb.base/funcargs.c: Explicitly make last constant argument to
12972 call_after_alloca_subr an unsigned long type.
12973 * gdb.base/return.c: Include stdio.h.
12977 * config/abug.exp: New file for the older Motorola Bug monitor
12978 that runs on the mvme13x series VME boards.
12979 * config/monitor.exp: Use the new config array for target settings
12984 * sim-gdb.exp: Make the SH simulator allocate less space when
12989 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
12994 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
12995 "rs6000-*-*" for "list function in include file" when gcc compiled.
12996 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
12997 for "p ctable1[120]".
12998 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
12999 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
13000 Remove setup_xfail for "rs6000-*-*" for
13001 "print 'scope0.c'::filelocal before run".
13002 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
13003 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
13004 since some compilers don't allow both options to be given
13005 on the same command line. Create object file and move it.
13009 * gdb.base/corefile.exp: Always regenerate the core file, since
13010 we always regenerate the coremaker program. Detect special case
13011 where registers cannot be read from core file.
13016 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
13017 * gdb.c++/templates.exp: Only match on basename of file since
13018 some formats like xcoff don't encode directory information.
13019 * gdb.stabs/weird.exp: Use the right sed script for powerpc
13020 and rs6000 AIX xcoff targets.
13021 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
13022 * configure: Regenerate.
13023 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
13024 here, rather than in distclean.
13028 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
13029 defined, and use it to compile the test case with -O2. The
13030 native compilation still uses no optimization.
13031 * gdb.base/mips_pro.c: Remove inline assembly code since
13032 it is compiled PIC by default, which results in assembler
13033 warnings that make the testsuite think the compilation
13038 * gdb.c++/misc.exp: Add note to message for
13039 "print s.a for foo struct" that this is a known gcc 2.7.2
13044 * gdb.base/break.exp: Fix pattern for matching "Delete all
13045 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
13046 setup_xfail for deleting all breakpoints test. Fix various
13047 timeout messages to include "(timeout)".
13048 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
13049 for "p t_float_values2(3.14159,float_val2)".
13050 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
13051 for "continue to call2g" when gcc compiled.
13052 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
13053 "up to foo in langs.exp", "show language at foo in langs.exp",
13054 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
13055 and "show language at fsub in langs.exp".
13056 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
13057 "list line 1 in include file", "list message for lines past EOF",
13058 "list function in include file", "list list0.h:foo", and
13059 "list filename:function; nonexistant function".
13060 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
13061 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
13062 and "ptype t_char_array" to be for native cc only.
13066 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
13067 setup_xfail for "print coremaker_bss", "print coremaker_ro",
13068 "print func2::coremaker_local", and "backtrace in corefile.exp".
13072 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
13073 "bt in signals.exp". This problem only appears when running
13074 the testsuite, and then only intermittently.
13078 * gdb.base/return.exp (return_tests): Differentiate between
13079 two tests of continuing.
13083 * */Makefile.in (maintainer-clean): Remove config.log.
13084 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
13085 * gdb.c++/Makefile.in (PROGS): Add inherit.
13086 (clean): Remove *.ci.
13090 * gdb.c++/misc.cc: Add test code from Mike Stump.
13091 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
13095 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
13096 to "alpha-*-osf2*" and add comment.
13097 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
13098 setup_xfail for "step over execarg initialization" and
13099 "step over corearg initialization".
13100 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
13101 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
13102 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
13103 gcc compiled for "print coremaker_bss", "print coremaker_ro",
13104 "print func2::coremaker_local", and "backtrace in corefile.exp".
13105 * gdb.base/signals.exp: Build and source signals.ci.
13106 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
13107 to be for gcc only.
13108 * lib/gdb.exp: Move verbose statements outside conditionals.
13112 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
13113 Feb 3 procfs.c change.
13117 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
13121 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
13122 from dejagnu's apparent default of 10 seconds, which gives random
13123 results when running the tests over NFS on moderately loaded systems.
13124 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
13128 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
13129 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
13134 * configure.in (CY_AC_PATH_TCLH): Remove.
13135 * configure: Regenerate.
13139 * gdb.c++/Makefile.in (clean): Add missing '{'.
13143 * lib/gdb.exp: Provide a default value for noinferior.
13145 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
13150 * gdb.disasm/hppa.exp: Compile directly into an executable, use
13151 the executable, not the .o to run the tests from.
13155 * gdb.base/break.exp: Don't test for program exit or exit status
13156 if $noresults if nonzero.
13157 * gdb.base/langs.exp: Likewise.
13158 * gdb.base/watchpoint.exp: Likewise.
13160 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
13161 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
13162 trying to compile the testcase.
13166 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
13167 * gdb.base/signals.exp (continue to handler): Likewise.
13171 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
13173 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
13177 * gdb.base/corefile.exp: Recognize "not found" as failure
13178 when trying to determine if a core file was generated.
13179 If no core file was generate the first time, try again without
13180 the ulimit -c to work around braindamaged shells.
13184 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
13185 [] tests with "test" and enclose string in quotes.
13186 * gdb.stabs/configure: Rebuild
13190 Changes in sync with expect:
13191 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
13192 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
13193 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
13194 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
13195 argument to AC_REQUIRE.
13196 * configure: Regenerated.
13200 * gdb.base/corefile.exp: When generating a core, discard any
13201 error messages about ulimit not found and the "core dumped"
13202 message from the shell that runs the coredumper.
13206 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
13208 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
13209 which sed script to run. Expect failure for v_comb test
13214 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
13215 "print func2::coremaker_local" and for "backtrace in corefile.exp"
13219 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
13220 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
13221 "sparc-sun-solaris*" xfails for "p v_comb".
13222 * lib/gdb.exp (default_gdb_start): Fix typo.
13223 * gdb.base/corefile.exp: Allow "Core was generated by ..."
13224 messages to not include the full program name that caused
13225 the core dump since some systems (such as solaris) apparently
13226 truncate this path to about 80 characters.
13227 When generating a core file first try increasing the core file
13228 size limit to unlimited since some systems may default it to
13229 zero, and it is harmless to try it. Move the test for failing
13230 to generate a core file to where it will actually get executed.
13231 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
13232 new gdb result from g++ debug info improvements and make old
13233 pattern obsolescent. Also account for size_t differences
13234 (may be int or long).
13235 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
13236 initialization before function call is placed in the delay slot
13237 and thus appears to be skipped over by commands such as "next".
13241 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
13245 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
13246 input source file; fix code to compile test to deal with this
13248 * gdb.c++/*.exp: Likewise.
13252 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
13253 "bt in signals.exp".
13257 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
13258 "step over execarg initialization" and
13259 "step over corearg initialization".
13263 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
13264 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
13269 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
13270 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
13271 configure.in}, gdb.disasm/{Makefile.in, configure.in},
13272 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
13273 configure.in}: Major reworking for autoconfig.
13274 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
13275 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
13277 * config/unix-gdb.exp: Make GDB global.
13278 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
13279 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
13280 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
13281 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
13282 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
13283 term.exp, twice.exp, watchpoint.exp, whatis.exp},
13284 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
13285 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
13286 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
13287 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
13288 pr-8136.exp, result.exp, string.exp, tuples.exp},
13289 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
13290 to returns as necessary, arrange for test to compile own testcase
13292 * lib/gdb.exp: Changes for testsuite to compile own test cases.
13296 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
13297 clear_xfail at end of test which might not call either pass or fail.
13298 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
13299 "backtrace through signal handler".
13303 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
13304 continuing from a job control stop signal.
13305 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
13309 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
13310 * gdb.base/corefile.exp: Likewise.
13311 * gdb.base/funcargs.exp: Likewise.
13315 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
13316 * config/monitor.exp: Add support for setting baud rate.
13320 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
13321 i*86-*-linux* xfails for "backtrace through signal handler".
13322 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
13323 "print func2::coremaker_local".
13324 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
13325 alpha-dec-osf2* xfail for
13326 "delete all breakpoints when none".
13330 * gdb.base/break.exp: Change test that deletes all breakpoints
13331 when no user breakpoints are installed. A post 4.15 change
13332 causes gdb to no longer prompt in this case.
13336 * gdb.base/return.exp (return_tests): Change xfail for test
13337 "correct value returned double test" to stop xfailing at
13338 Solaris 2.5. Apparently the bug has been fixed.
13342 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
13343 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
13347 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
13348 * gdb.disasm/hppa.s: Corresponding changes.
13352 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
13354 * config/mt-hpux: Deleted.
13358 * Many files: When warning about suppressed tests due to a
13359 nonexistant test binary, avoid incrementing the warning count.
13363 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
13367 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
13368 "sparc-*-solaris2*".
13372 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
13373 Add global and local variables and initialize them.
13374 * gdb.base/corefile.exp: Test correct mapping of corefile sections
13375 by printing variables. Remove rs6000 and powerpc xfails, BFD now
13376 extracts the file name and terminating signal from the core file.
13377 * TODO: Remove note about tests for correct mapping of corefile.
13378 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
13379 from optimizing it away.
13380 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
13381 handles common blocks.
13385 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
13386 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
13390 * Makefile.in (maintainer-clean): New target, synonym for
13392 * gdb.base/Makefile.in (maintainer-clean): Likewise.
13393 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
13394 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
13395 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
13396 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
13397 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
13401 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
13402 xfails when not gcc compiled for "print foo::funclocal".
13403 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
13404 "print foo::funclocal at foo",
13405 "print 'scope1.c'::foo::funclocal at foo",
13406 "print foo::funclocal_bss at foo",
13407 "print 'scope1.c'::foo::funclocal_bss at foo",
13408 "print foo::funclocal_ro at foo",
13409 "print 'scope1.c'::foo::funclocal_ro at foo",
13410 "print bar::funclocal at foo" and
13411 "print 'scope1.c'::bar::funclocal at foo".
13412 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
13413 gcc compiled for "print foo::funclocal at bar".
13414 Expand all messages to ensure that they identify that
13415 the test is at bar().
13416 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
13418 "ptype on opaque struct pointer (statically)",
13419 "ptype on opaque struct tagname (statically)",
13420 "ptype on opaque struct pointer (dynamically) 1",
13421 "ptype on opaque struct tagname (dynamically) 1",
13422 "ptype on opaque struct pointer (dynamically) 2" and
13423 "ptype on opaque struct tagname (dynamically) 2
13424 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
13427 "whatis datalocal",
13430 "whatis bsslocal", and
13432 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
13433 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
13434 when not gcc compiled.
13435 * gdb.base/funcargs.exp (float_and_integral_args): Add
13436 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
13438 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
13439 "backtrace from call6a" when not gcc compiled.
13440 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
13441 "backtrace from call7a" when not gcc compiled.
13442 * gdb.base/callfuncs.exp (do_function_calls):
13443 Add "hppa*-*-hpux*" xfail when not gcc compiled for
13444 "p t_char_array_values(char_array_val2,char_array_val1)",
13445 "p t_char_array_values(char_array_val1,char_array_val2)",
13446 "p t_char_array_values("carray 1","carray 2")",
13447 "p t_char_array_values("carray 1",char_array_val2)",
13448 "p t_char_array_values(char_array_val1,"carray 2")",
13449 "p sum_args(1,{2})",
13450 "p sum_args(2,{2,3})",
13451 "p sum_args(3,{2,3,4})",
13452 "p sum_args(4,{2,3,4,5})"
13453 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
13454 "backtrace in corefile.exp" when not gcc compiled.
13458 * gdb.base/signals.exp: Rewrite `handle all print' test as
13459 a procedure. Accept blanks or TABs as whitespace, increase
13460 timeout and expect input buffer size for the large output
13461 from the command. Remove "i*86-*-bsdi2.0" xfail.
13465 * gdb.base/setvar.exp: Add new testcases for truncation when
13466 assigning invalid values to bitfields.
13470 * gdb.base/callfuncs.exp (do_function_calls): Remove
13471 mips-sgi-irix* xfail for
13472 "call inferior func with struct - returns char *"
13473 and fix test so that an optional (unsigned char *) cast is
13474 accepted in the result.
13478 * gdb.base/funcargs.exp (float_and_integral_args): Remove
13479 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
13480 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
13481 * gdb.base/signals.exp: Remove duplicate "handle all print" test
13482 that accidentally got checked in.
13486 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
13487 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
13489 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
13490 Add mips-sgi-irix5* xfail for not gcc compiled.
13491 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
13492 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
13493 "p top", "whatis top", "p middle", and "whatis middle".
13494 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
13495 "whatis signed char" for not gcc compiled.
13496 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
13497 "set variable signed char=-1 (-1)" and
13498 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
13499 * gdb.base/funcargs.exp (float_and_integral_args):
13500 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
13501 Add mips-sgi-irix* xfail when not gcc compiled for
13502 "continue to call2b".
13503 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
13504 "continue to call2g".
13505 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
13506 "backtrace from call6a"
13507 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
13508 "backtrace from call7k".
13509 Add mips-sgi-irix5* xfail when not gcc compiled for
13510 "backtrace from call7a".
13511 (localvars_after_alloca): Fix gdb_test cmds for
13512 "print * after runto ...".
13513 Remove rs6000-*-* xfails for
13514 "print i after runto localvars_after_alloca" and
13515 "print l after runto localvars_after_alloca"
13517 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
13518 when not compiled with gcc, for:
13519 "print signed char == (minus)",
13520 "print signed char != (minus)",
13521 "print signed char < (minus)",
13522 "print signed char > (minus)".
13523 * gdb.base/callfuncs.exp (do_function_calls):
13524 Add mips-sgi-irix* xfail, when compiled with native compiler, for
13525 "call inferior func with struct - returns char *".
13526 * gdb.base/return.exp (return_tests): Change xfail for
13527 "correct value returned double test" to include Solaris 2.4.
13528 * gdb.base/funcargs.exp (float_and_integral_args):
13529 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
13533 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
13534 enumeration bitfields if compiling with GNU C.
13535 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
13540 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
13541 test for PRO targets.
13543 * gdb.base/funcargs.exp: Avoid ever setting more than 8
13544 breakpoints in the inferior at any given time by making
13545 two groups of breakpoints for call2*, call6* and call7*
13550 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
13551 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
13552 from optimizing it away.
13553 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
13554 "call inferior func with struct".
13558 * configure.in: Only configure gdb.chill for particular targets.
13562 * gdb.base/Makefile.in: Add action to .c.o transformation
13563 rule that generates a .ci file for each .o file and remove
13564 explicit .c.o rules except for callfuncs.o.
13565 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
13566 generates a .ci file for each .o file and remove explicit
13568 (clean): Remove *.tmp *.ci files.
13569 (EXECUTABLES): Remove templ-info.exp.
13570 * gdb.base/compiler.c: New file.
13571 * gdb.c++/compiler.cc: New file
13572 * gdb.base/scope.exp: Source gdb.base/scope.ci.
13573 Change rs6000-*-* xfail for
13574 "print 'scope0.c'::filelocal_ro" and
13575 "print 'scope1.c'::filelocal" and
13576 "print 'scope1.c'::filelocal_bss" and
13577 "print 'scope1.c'::filelocal_ro" and
13578 "print 'scope1.c'::foo::funclocal" and
13579 "print 'scope1.c'::foo::funclocal_ro" and
13580 "print 'scope1.c'::bar::funclocal" and
13581 "print 'scope0.c'::filelocal_ro" and
13582 "print 'scope1.c'::filelocal at foo" and
13583 "print 'scope1.c'::filelocal_bss at foo" and
13584 "print 'scope1.c'::filelocal_ro at foo" and
13585 "print 'scope1.c'::foo::funclocal at foo" and
13586 "print 'scope1.c'::foo::funclocal_bss at foo" and
13587 "print 'scope1.c'::foo::funclocal_ro at foo" and
13588 "print 'scope1.c'::bar::funclocal at foo" and
13589 "print 'scope0.c'::filelocal_ro" and
13590 "print 'scope1.c'::filelocal" and
13591 "print 'scope1.c'::filelocal_bss" and
13592 "print 'scope1.c'::filelocal_ro" and
13593 "print 'scope1.c'::foo::funclocal" and
13594 "print 'scope1.c'::foo::funclocal_bss" and
13595 "print 'scope1.c'::foo::funclocal_ro" and
13596 "print 'scope1.c'::bar::funclocal" and
13597 "print 'scope1.c'::bar::funclocal_bss"
13598 to only be xfail'd when not compiled with gcc.
13599 Add rs6000-*-* xfail for
13600 "print 'scope0.c'::filelocal_bss before run"
13601 when compiled with gcc.
13602 (test_at_main): Add rs6000-*-* xfail for
13603 "print filelocal_ro in test_at_main"
13604 when compiled with gcc.
13605 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
13606 Add rs6000-*-aix* xfail for
13607 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
13608 "ptype t_char_array", not compiled with gcc.
13609 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
13610 xfail for "list foo (in include file)" when gcc compiled.
13611 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
13612 (integral_args): Add rs6000-*-* xfail for
13613 "run to call0a" if not compiled with gcc.
13614 (unsigned_integral_args): Add rs6000-*-* xfail for
13615 "run to call1a" if not compiled with gcc.
13616 (float_and_integral_args): Add rs6000-*-* xfail for
13617 "run to call2a" if not compiled with gcc and for
13618 "continue to call2b" for any compiler.
13619 Add rs6000-*-* xfail to
13620 "print f1 after run to call2a" for gcc compiled.
13621 (discard_and_shuffle): Add rs6000-*-* xfail for
13623 (shuffle_round_robin): Add rs6000-*-* xfail for
13624 "backtrace from call7a" if not compiled with gcc.
13625 Add rs6000-*-* xfail for
13626 "backtrace from call7b" if compiled with gcc.
13627 (call_after_alloca): Add rs6000-*-* xfail for
13628 "print c in call_after_alloca" and
13629 "print s in call_after_alloca" and
13630 "backtrace from call_after_alloca_subr"
13631 if not compiled with gcc.
13632 (localvars_in_indirect_call): Add rs6000-*-* xfail for
13633 "print c in localvars_in_indirect_call" and
13634 "print c in localvars_in_indirect_call" and
13635 "backtrace in indirectly called function" and
13636 "stepping into indirectly called function"
13637 if not compiled with gcc.
13638 (localvars_after_alloca): Add rs6000-*-* xfail for
13639 "print c after runto localvars_after_alloca" and
13640 "print s after runto localvars_after_alloca" and
13641 "print i after runto localvars_after_alloca" and
13642 "print l after runto localvars_after_alloca"
13644 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
13645 than whatis-info.exp.
13646 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
13647 than opaque-info.exp.
13648 Setup rs6000-*-* xfail for
13649 "ptype on opaque struct pointer (statically)" and
13650 "ptype on opaque struct pointer (dynamically)" when
13651 not compiled with gcc.
13652 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
13653 rather than callf-info.exp.
13654 (do_function_calls): Add clear_xfail for rs6000-*-* for
13655 "p t_float_values2(3.14159,float_val2)". Seems to work
13656 fine there, both with xlc and gcc. Need to find out what
13657 it is doing right and fix other platforms.
13658 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
13659 "call inferior func with struct - returns int",
13660 "call inferior func with struct - returns long",
13661 "call inferior func with struct - returns float",
13662 "call inferior func with struct - returns double",
13663 "call inferior func with struct - returns char *",
13664 but only if not gcc compiled (presumes xlc compiled).
13665 Change rs6000-*-* xfails for
13666 "call inferior func with struct - returns char" and
13667 " call inferior func with struct - returns short" to only
13668 xfail if not using gcc.
13669 (clean mostlyclean): Remove *.ci and *.tmp files.
13670 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
13671 than templ-info.exp.
13672 * gdb.base/langs.exp: Source gdb.base/langs.ci.
13673 Add rs6000-*-* xfail for "up to foo in langs.exp"
13674 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
13675 when not gcc compiled.
13679 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
13680 * gdb.base/corefile.exp: Likewise.
13681 * gdb.base/list.exp: Likewise.
13682 * gdb.base/scope.exp: Likewise.
13683 * gdb.base/siganls.exp: Likewise.
13685 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
13687 * gdb.base/whatis.exp: Likewise.
13691 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
13692 failure (opcode table has been fixed to match reality).
13696 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
13697 "call inferior func with struct - returns char",
13698 "call inferior func with struct - returns short"
13700 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
13701 "print 'scope0.c'::filelocal at main",
13702 "print 'scope0.c'::filelocal_bss in test_at_main",
13703 "print 'scope0.c'::filelocal at foo",
13704 "print 'scope0.c'::filelocal_bss in test_at_foo",
13705 "print 'scope0.c'::filelocal at bar",
13706 "print 'scope0.c'::filelocal_bss in test_at_bar"
13708 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
13709 in source file 1". This bug seems to have been fixed with both
13710 gcc and native cc (was native assembler bug?).
13714 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
13715 "backtrace through signal handler" to "i*86-*-sysv4*".
13716 * gdb.base/signals.exp: Add xfail for "'next' behaved as
13717 continue" case. Add "known SVR4 bug" to fail message.
13718 Add "i*86-*-bsdi2.0" xfail for "handle all print".
13719 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
13720 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
13721 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
13722 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
13723 "up to foo in langs.exp", "show language at foo in
13724 langs.exp", "up to cppsub_ in langs.exp", "show
13725 language at cppsub_ in langs.exp", "up to fsub in
13726 langs.exp", and "show language at fsub in langs.exp".
13727 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
13728 "bactrace in corefile.exp".
13729 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
13730 "call inferior function with struct - returns float" and
13731 "call inferior function with struct - returns double".
13735 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
13736 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
13737 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
13738 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
13742 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
13743 (or overriden) "CHILL" macro rather then bare "gcc".
13744 Also look for ../../gcc/xgcc since that is what we will
13745 actually need, not "Makefile". Remove following assignment
13746 of CHILL to CHILL_FOR_TARGET because that results in
13747 recursive definition.
13751 * gdb.base/corefile.exp: Change xfail for backtrace in
13752 corefile.exp from linuxaout to all linux.
13753 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
13754 cases where we miss the breakpoint at the signal handler
13755 for some reason. Setup xfail for linuxoldld/linuxaout and
13756 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
13757 hitting SIGURG breakpoint.
13758 * gdb.base/signals.exp: Setup xfail for "next" acting like
13759 continue to add linuxoldld. Setup xfail for all linux for
13760 "next to handler in signals_tests_1", "backtrace in
13761 signals_tests_1", "continue to func1", "pass SIGUSR1",
13762 and continue to handler".
13766 * Update all FSF addresses except those in COPYING* files.
13770 * gdb.base/a2-run.exp: Change messages to be more explicit about
13771 the status of args, and quote binfile in results.
13775 * gdb.base/callfuncs.exp: Add tests for passing structs to
13776 inferior functions and return various types.
13777 * gdb.base/callfuncs.c: Add functions to receive a struct
13778 and return a member of the struct, in various types.
13782 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
13786 * config/vxworks29k.exp: New file, sources vxworks.exp.
13790 * config/gdbremote.exp: New file. Testing framework using
13795 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
13796 "call function when asleep" and "send end of file".
13797 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
13798 for "backtrace in corefile.exp".
13799 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
13800 for "backtrace through signal handler".
13801 * gdb.base/corefile.exp: Make sure we actually generate a core file
13802 before trying the core tests. Some systems allow the user to suppress
13803 generation of core files and default to that (linux for example).
13804 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
13805 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
13809 * gdb.threads: New directory with some crude multi-threaded
13810 gdb tests (step.exp and step2.exp).
13811 * config/mt-lynx (STEP_EXECUTABLE): Define.
13812 (THREADFLAGS): Define.
13816 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
13818 * gdb.base/signals.exp: Disable whole file for lynx until
13821 * gdb.base/signals.exp: xfail test where "next" acts like
13822 "continue" for lynx.
13824 * gdb.base/interrupt.exp: xfail test for calling function while
13825 inferior is asleep for lynx.
13827 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
13828 than one cr-lf after each command.
13832 * configure.in: Reinstate setting of stabsdirs variable, fix
13833 typo in setting up configdirs for native builds.
13835 * gdb.base/return.exp: Fix typo in return double test.
13836 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
13837 compiler from optimizing them away.
13841 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
13842 sequences to be echo'd by gdb when using gdb_test.
13843 * gdb.chill/chexp.exp: Likewise.
13844 * gdb.fortran/exprs.exp: Likewise
13848 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
13849 after the inferior gdb has started.
13851 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
13852 after each command.
13853 * gdb.base/funcargs.exp: Likewise.
13854 * gdb.base/gdbvars.exp: Likewise.
13855 * gdb.base/interrupt.exp: Likewise.
13856 * gdb.base/list.exp: Likewise.
13857 * gdb.base/watchpoint.exp: Likewise.
13858 * gdb.c++/demangle.exp: Likewise.
13859 * gdb.c++/inherit.exp: Likewise.
13860 * gdb.chill/chexp.exp: Likewise.
13861 * gdb.fortran/exprs.exp: Likewise.
13863 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
13864 test if we can't handle IO to/from the inferior.
13866 * gdb.c++/misc.exp: Always check for a program already being
13867 started after sending a "run" command to gdb.
13869 * gdb.base/twice.exp: Start with a fresh gdb.
13871 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
13872 only depend on gdb's expression code, not the chill runtime.
13874 * gdb.base/return.c: Put return values into variables so we
13875 can have gdb print them rather than depending on the program
13877 * gdb.base/return.exp: Corresponding changes.
13879 * lib/gdb.exp: Provide default value for noinferiorio.
13880 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
13883 * gdb.base/break.exp: Always check for a program already being
13884 started after sending a "run" command to gdb.
13885 (text_next_with_recursion): Don't check the output from the
13886 program's printf statement. Instead just make sure the program
13889 * gdb.base/commands.exp: Protect tests which need arguments with
13890 $noargs conditionals.
13894 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
13895 of structure member arrays to match gdb/valops.c:value_addr change.
13899 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
13904 * configure.in (configdirs): Remove gdb.chill from default list
13905 of subdirs and then add it back in only if doing a native build.
13906 The current chill compiler does not yet work in any cross build.
13907 * Revert all signal changes from Jul 6.
13908 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
13909 for sh-hms targets, allowing these tests to link, with no other
13910 changes. Testing is suppressed by setting "nosignals" in site.exp.
13914 * configure.in (signaldirs): Define and add to configdirs for all
13915 targets except some specific ones that are known to not support signals.
13916 Also clean up formatting.
13917 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
13918 (signals, sigall): Remove rules to build.
13919 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
13920 Moved to new gdb.signals directory.
13921 * gdb.signals: New test directory.
13922 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
13923 signals.c signals.exp}: New or moved files.
13927 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
13931 * gdb.base/return.exp: Xfail `return double' test failure
13932 on at least Solaris 2.3 and handle future/past versions on
13933 a case by case basis as appropriate. Also update message
13934 to include i*86 failures.
13938 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
13940 * lib/gdb.exp: Fix comment which erroneously identified
13941 gdb_file_cmd as gdb_load (the 19 May change was in fact to
13942 gdb_file_cmd not gdb_load).
13943 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
13945 * gdb.base/setvar.exp: Make test names consistent between pass and
13946 fail cases. Use gdb_test more.
13950 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
13954 * gdb.base/help.exp: Fix expected help string for `show commands'.
13958 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
13960 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
13965 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
13966 that loop eventually terminates. Fix Connection refused logic so
13967 that testsuite will expire nicely.
13971 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
13972 config/rom68k.exp: New tcl glue for the appropriate monitors.
13973 These all just end up calling monitor.exp.
13974 * config/monitor.exp (gdb_target_monitor): Handle `Connection
13975 refused' by retrying. Cleanup some timeout issues.
13976 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
13977 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
13978 callers don't have to set/restore global timeout variable.
13980 * The following set of changes centralizes management of the global
13981 timeout variable. This way, it can be set in one target dependent
13982 place instead of dozens of places scattered throughout the test suite.
13983 If you need to lengthen a timeout, then you should either set timeout
13984 in one of the config/{target}.exp files, or multiply it by a factor.
13985 Setting it to an absolute value is always going to lose for some
13987 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
13988 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
13989 * gdb.base/funcargs.exp: Don't set timeout.
13990 * gdb.base/list.exp (test_forward_search): Only use local timeout.
13991 * gdb.base/printcmds.exp (test_print_string_constants
13992 test_print_array_constants): Don't set timeout.
13993 * gdb.base/ptype.exp: Don't set timeout.
13994 * gdb.base/recurse.exp: Don't set timeout.
13995 * gdb.base/return.exp: Don't set timeout.
13996 * gdb.base/watchpoint.exp: Don't set timeout.
13997 * gdb.c++/classes.exp (do_tests): Don't set timeout.
13998 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
14002 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
14006 * lib/gdb.exp: Disable chill tests for irix5.
14010 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
14011 each test pass or fail.
14015 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
14020 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
14024 * config/est.exp: Fix copyright and comments. Remove dead code.
14025 Use targetname, serialport and baud variables instead of fixed
14027 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
14028 * config/cpu32bug.exp: New file to support cpu32bug monitors.
14032 * gdb.base/watchpoint.exp: Don't run
14033 test_watchpoint_triggered_in_syscall for sunos.
14037 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
14038 they don't seem to exist. Do include stdio.h.
14042 * gdb.base/a1-selftest.exp: Add alpha xfail.
14046 * gdb.base/watchpoint.c (main): Prompt before calling read().
14047 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
14048 Revise accordingly. Remove cruft about sending "123" several
14049 times, until it gets noticed. Clean up the "print buf[0]" stuff
14050 so that it passes or fails, and waits for prompts in the usual way.
14054 * gdb.base/recurse.exp: Fix comment.
14056 * TODO: Remove item about printing variables in nodebug.exp. Add
14057 item about enabling tests which are only run on some targets.
14059 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
14060 fail, make test names unique, use new gdb_test convention
14061 regarding pattern, use gdb_test more, etc.).
14063 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
14064 fail, make test names unique, etc.).
14068 * gdb.base/nodebug.c: Change return type of top and middle to
14070 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
14071 are fixed by the recent mdebugread.c changes. Allow `short ()'
14072 as type for top and middle.
14076 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
14077 nearly as I can tell, the whole thing was an accident in Stu's
14078 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
14079 to replace a send/expect pair with gdb_test, but ended up only
14080 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
14081 of 30 Mar 1995 took care of it, but left this vestigial comment
14082 which I am now nuking.
14086 * gdb.base/break.exp: Look for different line number for
14087 breakpoint at main depending on usestubs.
14091 * gdb.base/list.exp: Adjust some alternate expect patterns to
14092 match recent list0.c change. Add alternate expect pattern for
14093 output from `list default lines around main' for optimizing
14098 * lib/gdb.exp: If nosignals is not set, set it to 0.
14102 * config/slite-gdb.exp: Responds to load symbol table prompt.
14103 * gdb.base/break.exp: Adjust line number, fix rerun.
14104 * gdb.base/langs0.c: Add #ifdef usestubs.
14108 * gdb.base/list.exp: Adjust line contents after adding new lines in
14109 list0.c. Also fix a syntax error.
14111 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
14112 * gdb.base/break.exp: ditto.
14113 * gdb.base/list.exp: ditto.
14114 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
14115 * gdb.base/run.c: ditto.
14116 * gdb.base/list0.c: ditto.
14117 * gdb.base/funcargs.c: ditto.
14121 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
14122 $targetname, $serialport and $baud instead of hardwired variables.
14123 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
14124 target doesn't support signals.
14128 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
14132 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
14133 Don't rely on the value of an auto variable before it has been
14134 initialized. Use gdb_test more.
14138 * lib/gdb.exp (default_gdb_version): A version number must start
14139 with a digit, but other than that contains all characters up to
14140 the first whitespace character.
14144 * gdb.base/commands.exp (breakpoint_command_test): New tests.
14148 * gdb.c++/*.exp: Warn if executable does not exist. The original
14149 reason for skipping the warning was that configure.in sometimes
14150 intentionally skipped building the executables but the tcl code
14151 had no way of knowing. That (a) was always bogus with respect to
14152 error handling, (b) is no longer true (right now there is no way
14153 to skip C++ tests).
14155 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
14159 * gdb.base/list.exp: Add expect patterns for output from
14160 SunPRO compiled executables.
14161 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
14166 * gdb.base/break.exp (test_next_with_recursion): Accept any line
14167 number (we are already testing that the correct source line text
14170 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
14171 that is what is intended, but something needed to be done to get
14172 sunos4 native working again.
14174 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
14176 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
14177 apparently went with a (very) old xfail.
14181 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
14182 runto_main is a proc in gdb.exp that will do 'step' for target use
14184 * gdb.base/exprs.exp: ditto.
14185 * gdb.base/interrupt.exp: ditto.
14186 * gdb.base/opaque.exp: ditto.
14187 * gdb.base/printcmds.exp: ditto.
14188 * gdb.base/ptype.exp: ditto.
14189 * gdb.base/scope.exp: ditto.
14190 * gdb.base/setvar.exp: ditto.
14191 * gdb.base/signals.exp: ditto.
14192 * gdb.base/twice.exp: ditto.
14193 * gdb.c++/classes.exp: ditto.
14194 * gdb.c++/inherit.exp: ditto.
14195 * gdb.c++/templates.exp: ditto.
14196 * gdb.base/break.exp: no run and hit main for stubs. Change line
14197 numbers for breakpoints and info breakpoint.
14198 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
14200 * gdb.base/callfuncs.c: ditto.
14201 * gdb.base/exprs: ditto.
14202 * gdb.base/interrupt.c: ditto.
14203 * gdb.base/opaque0.c: ditto.
14204 * gdb.base/printcmds.c: ditto.
14205 * gdb.base/ptype.c: ditto.
14206 * gdb.base/scope0.c: ditto.
14207 * gdb.base/setvar.c: ditto.
14208 * gdb.base/signals.c: ditto.
14209 * gdb.base/twice.c: ditto.
14210 * gdb.c++/misc.cc: ditto.
14211 * gdb.c++/templates.cc: ditto.
14215 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
14217 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
14218 somewhere between `read' and `main.c'. I'm pretty sure the
14219 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
14220 and it isn't particularly useful.
14222 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
14226 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
14230 * config/mt-slite: add LIBS and -nostdlib.
14231 * config/slite-gdb.exp: add this new file to support sparclite target.
14235 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
14237 * gdb.base/a2-run.exp: Change argument to istarget from
14238 "*-*-vxworks" to "*-*-vxworks*".
14239 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
14243 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
14244 will not runto main but do a 'step' to step out of breakpoint().
14245 * config/mt-slite: add -Dusestubs.
14249 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
14252 * gdb.base/signals.exp: Add test for "handle all print".
14253 * TODO: Remove "handle all print". Also remove item about
14254 checking copyright date (I don't like the idea of a spurious FAIL
14255 based on when we run the tests).
14257 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
14258 for SunOS4 (reason for failure not investigated). Remove
14259 redundant test for $binfile.
14261 * gdb.base/nodebug.c (array_index): Call malloc.
14263 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
14267 * gdb.base/recurse.exp: Update gdb_test invocation to use new
14268 conventions and slightly simplify the matching regexp.
14272 * gdb.base/break.exp: Update gdb_test invocation to use new
14275 * lib/gdb.exp: If noargs is not set, set it to 0.
14277 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
14280 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
14284 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
14285 one argument of type "<non-float parameter>".
14289 * config/rom68k.exp: New file to support Motorola IDP board.
14290 * gdb.base/a2-run.exp: Skip this file if noargs is set.
14291 * gdb.base/break.c: Change things around so that this program
14292 doesn't depend upon args. This is necessary to make remote
14293 targets work (in general, they can't take args).
14294 * gdb.base/break.exp: Don't try to send args to program. Don't
14295 expect output. Also, replace lots of code with gdb_test.
14299 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
14300 printing of '\'' (which is what the comment says we are testing,
14301 even though we were not), not '''.
14302 (test_integer_literals_rejected): Test that printing ''' is an error.
14304 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
14305 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
14306 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
14307 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
14308 Use gdb_test not test_print_accept.
14309 * lib/gdb.exp: Remove test_print_accept.
14311 * gdb.base/signals.exp (signal_tests_1): Make pass message
14312 consistent with fail message.
14314 * gdb.base/whatis.exp: Remove xfails for printing char vs.
14315 unsigned char; the bug (PR 1821) is fixed.
14317 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
14319 * gdb.base/scope.exp (test_at_localscopes): Call pass for
14320 successful tests--makes xfailing them work right.
14324 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
14325 only \r\n, not .*. The test can pass .* as the last thing in
14326 $pattern if that is what it wants. In addition to providing this
14327 flexibility, this change should speed up pattern matching in cases
14328 where the pattern already ended with .* (there were a number of
14329 them). This change also helps catch bad patterns--in the old
14330 scheme the typo "char \*" instead of "char \\*" would pass. Now
14332 * Many .exp files: Update callers.
14334 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
14335 clearer and does not spuriously match multiple ('s. Likewise for
14338 * gdb.base/nodebug.exp: Test ability to call a function and pass
14339 it a string (even with no debugging info).
14341 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
14342 "p '\'", which is the same as "p ''" once tcl gets done with
14343 quoting, to "p '\\'", which I suspect is what is intended (one
14344 backslash gets sent to GDB).
14346 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
14350 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
14351 1817) was fixed literally years ago.
14355 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
14356 test, it causes stepping out of call_after_alloca_subr with
14357 optimizing compilers.
14358 (localvars_in_indirect_call): Consume GDB prompt if `finish'
14361 * gdb.c++/templates.exp: Source templ-info.exp only if
14362 the templates executable exists.
14364 * gdb.c++/misc.cc (class Contains_static_instance,
14365 class Contains_nested_static_instance),
14366 gdb.c++/classes.exp (test_static_members): Test printing of
14367 a class that contains a static instance of the class.
14371 * gdb.base/langs2.c (cppsub_): Don't prototype.
14372 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
14377 * lib/gdb.exp (skip_chill_tests): New procedure.
14379 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
14383 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
14384 each expect pattern. Cuts runtime from 12 to about 4 seconds.
14388 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
14390 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
14391 disassemble 8, not 16, instructions for part 4.
14393 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
14394 support the latter anymore.
14396 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
14398 * gdb.base/callfuncs.c: Control use of prototypes based on
14399 NO_PROTOTYPES, not __STDC__.
14400 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
14401 t_float_values2 tests if prototypes in use.
14403 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
14404 t_double_values): When checking differences against DELTA, check
14405 that difference is within the range (-DELTA,DELTA), not just
14410 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
14411 'file' command firts, then 'target', then 'load', this is due to gdb
14413 * config/mips-gdb.exp: Fix a couple regular exp bugs.
14417 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
14418 FP load/store variants.
14419 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
14423 * gdb.base/term.exp: Do not give a warning if not native, it is
14424 not an abnormal condition.
14428 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
14433 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
14434 are getting the version number.
14436 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
14437 if not native, it is not an abnormal condition.
14441 * lib/gdb.exp: Just use "file exists", rather than undocumented
14442 dejagnu procedure "findfile".
14446 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
14447 (LDFLAGS): Set to -Xlinker -Ur.
14449 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
14450 Removed, these values are set by lib/gdb.exp.
14452 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
14456 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
14457 of replicating gdb startup code.
14459 * config/mt-vxworks (LDFLAGS): Set to -r.
14460 (CFLAGS_FOR_TARGET): Removed.
14462 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
14463 (gdb) and gdb for vxworks uses (vxgdb).
14465 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
14466 executable is not in the tree and host != target, use sed and
14467 program_transform_name to determine the gdb name used by the
14470 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
14471 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
14475 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
14476 floats, chars, and shorts where there are ANSI-style function
14479 * gdb.base/langs.exp, gdb.base/langs*: New test.
14480 * gdb.base/Makefile.in: Build it.
14481 * TODO: Remove item about checking that C names don't get C++
14482 demangling applied; this test tests it.
14486 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
14487 went with the const70 xfail. The xfail went away a year ago.
14489 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
14491 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
14494 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
14496 * gdb.base/a1-selftest.exp: Don't run on hp300.
14500 * Makefile.in (site.exp): Set host_alias and target_alias as well
14501 as host_triplet and target_triplet.
14505 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
14507 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
14508 places as other ecoff systems).
14510 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
14515 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
14517 * gdb.base/nodebug.exp: Accept "function" in addition to "text
14518 variable and "variable" in addition to "data variable".
14519 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
14521 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
14523 * gdb.base/list1.c (long_line): Add additional statement at start
14525 * gdb.base/list.exp (test_forward_search): Update line number to
14526 reflect new statement.
14530 * gdb.base/signals.exp: Reinitialize searched source directories
14531 after gdb_start call.
14535 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
14536 * gdb.stabs/Makefile.in: Likewise.
14538 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
14539 change. Instead split the tests into smaller pieces.
14540 * gdb.disasm/hppa.s: Corresponding changes.
14544 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
14545 Quote ^C when passing it to stty. For some shells ^ is a pipe.
14547 * gdb.base/funcargs.exp: Modify many tests so that every test
14548 either passes or fails. Make some test names unique.
14552 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
14553 Call stty to set interrupt character.
14555 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
14556 for HP assembler versus GNU assembler based on actual behavior of
14557 $(CC), rather than assuming that $(AS) is always the GNU assembler.
14559 * TODO: Suggest a few more stepping tests.
14563 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
14564 restart GDB for h8300 after a continue.
14565 (return): Add pattern to match a29k-udi behavior.
14566 * gdb.base/nodebug.exp: Remove obsolete comment.
14567 * gdb.base/regs.exp: New file, testing of register displays.
14568 * gdb.base/return.exp: Fix typo in reference to $objdir.
14569 * gdb.base/whatis.exp: Always start with a fresh GDB.
14573 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
14574 higher, these tests generate a lot of output.
14578 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
14579 code following the catch silently ignored some errors; without the
14580 catch they should be thrown like any other tcl error. Also, the
14581 catch used "" instead of {} which meant all the callers who wanted
14582 to include one of the characters "[]$ had to quote it an extra time.
14583 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
14584 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
14585 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
14586 Remove extra quoting.
14590 * gdb.base/commands.exp: Make test names unique; every test either
14591 passes or fails. Update some comments.
14593 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
14597 The following fixes a FAIL caused by the fact that the alpha stabs
14598 configuration didn't use the ".if alpha" code in weird.def.
14599 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
14600 bit pointer, so the 32 bit version works even on the alpha.
14601 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
14602 Remove the stuff which allowed us to have separate versions for
14603 alpha and everything else.
14605 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
14606 regexp which "info func operator\[\](" is supposed to match. Fix
14607 string to send to GDB. Note that GDB still doesn't work right. Add a
14608 new test for "info func .perator\[\](" which GDB does handle correctly.
14610 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
14614 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
14615 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
14616 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
14617 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
14618 it makes the tests harder to understand and confuses test-o-matic.
14619 The preferred style is that each test provides a PASS or a FAIL,
14620 and has a unique message (e.g. "continue #54" not just "continue")
14621 which is the same for the pass and the fail.
14622 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
14623 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
14625 * gdb.base/printcmds.exp: Use test_print_accept. Remove
14626 prt_accept which was basically the same thing. Likewise for
14627 test_print_reject and prt_reject.
14628 * lib/gdb.exp (test_print_reject): Add some more error message
14629 patterns to match from the former printcmds.exp (prt_reject).
14630 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
14631 One defect of the passcount stuff is that some of it failed to
14632 report XPASS where appropriate.
14633 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
14634 stuff before and after arg in expected pattern.
14635 (test_paddr_operator_functions): Re-do test without print_addr_of;
14636 this is the only test which seems to want extra stuff there.
14640 * gdb.base/nodebug.exp: Update new tests to reflect improved
14641 wording of gdb output.
14643 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
14644 and "ptype" work on variables in files compiled without -g.
14645 Replaces commented out "maint print msymbol" tests.
14649 * gdb.base/setvar.c (dummy): Call malloc.
14651 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
14652 losing with the irix4 sed.
14654 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
14659 * TODO: Remove items about corefile.exp testing new exec-file and
14660 backtrace; both are now done. Add items about printing enums.
14664 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
14665 "get signal $thissig" test fails.
14667 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
14671 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
14672 compiler warning with dec alpha compiler.
14674 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
14675 extra \n from gdb_test call (this explains why the prompt test
14676 that I removed yesterday was there).
14677 (user_defined_command_test): Remove extra \n and prompt test.
14679 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
14680 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
14682 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
14683 Also remove alpha workaround, which turns out to be because
14684 SIGABRT == SIGLOST.
14686 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
14688 * gdb.base/help.exp: Don't test "help show".
14692 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
14693 "set print address" is on.
14694 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
14695 pass prompt to gdb_test; gdb_test already looks for the prompt.
14697 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
14699 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
14700 was a vestige of the manual TESTSTRATEGY, and the purpose of it
14701 was to make sure that gdb can read a core file. But (a) the "read
14702 the corefile" part didn't make it to a1-selftest.exp, we just
14703 delete the corefile after creating it, and (b) we test reading
14704 corefiles in corefile.exp anyway. Also, this test left around a
14705 xgdb process on Solaris.
14707 * gdb.base/corefile.exp: Also test backtrace.
14711 * gdb.base/commands.exp: Test a simple user defined command with
14712 arguments and if/while statements; verify the full user command is
14713 printed by "show user".
14715 * gdb.base/commands.exp: Test if/while commands as part of a
14716 breakpoint command list; verify they appear in breakpoint
14721 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
14722 than by dividing by zero.
14726 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
14727 performing an inferior call with watchpoints enabled.
14728 * gdb.base/watchpoint.c (main): Delete second unnecessary read
14733 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
14736 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
14737 Add additional pattern for when "int operator int(void);" appears
14738 in a different order.
14742 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
14744 * gdb.base/help.exp: Replace most of docstrings for "info signals"
14745 and "signal" with ".*".
14749 * TODO: Add note about "handle all nostop".
14751 * gdb.base/{sigall.c, sigall.exp}: New test.
14752 * gdb.base/Makefile.in: Add it.
14756 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
14757 when invoking GDB, suppresses any windowing interface.
14761 * config/sim-gdb: New file, simulator testing support.
14765 * gdb.base/interrupt.exp: Test calling func1 twice.
14769 * gdb.base/list.exp (test_forward_search): Set timeout higher
14770 when we'll be getting lots of output from gdb.
14772 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
14773 "init_malloc" to after the expect statement. Run it if that
14774 regexp is taken, but also for two others which happen if source
14779 * gdb.base/printcmds.exp: New test, for printing register before
14780 program is running.
14784 * gdb.base/list.exp: Correct some alternate expect patterns
14785 to reflect changes in list1.c.
14789 * TODO: Add item regarding large frames.
14791 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
14793 * TODO: Remove item about enabling return.exp; it
14794 is enabled. Suggest a few more "return" tests.
14798 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
14803 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
14804 and pr-5646.o, so "make" is the same as "make all", not "make
14809 * gdb.base/list.exp: Adjust expectations to reflect changes in
14811 (test_forward_search): New test proc.
14812 * gdb.base/list1.c (long_line): New function, has long source line.
14816 * gdb.base/a1-selftest.exp: Change initial stepping to know about
14817 additional line of code that was added.
14821 * gdb.disasm/hppa.s: Break the large branching tests into smaller
14822 tests so as not to overflow expect's input buffers.
14823 * gdb.disasm/hppa.exp: Corresponding changes.
14827 Beginnings of template debugging tests.
14828 * gdb.c++/templ-info.cc: New file to test for template
14829 debugging capability of the compiler.
14830 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
14832 * gdb.c++/templates.cc: Add explicit template instantiations
14833 to enable compiling with -fno-implicit-templates. Add destructor
14834 and 'value' method to T5 class for template tests.
14835 * gdb.c++/templates.exp: Add testcases for printing of template
14836 types, setting breakpoints on template methods and calling a
14841 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
14842 branch target since some assemblers (gas-2.5) may emit a
14843 relocation for the branch instead of resolving it in the
14848 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
14849 through signal handler.
14853 * configure.in (*-*-netware): Use config/mt-netware.
14855 * config/mt-netware: New file.
14856 * config/mt-i386-netware: Removed, separate configs for different
14857 netware architectures are no longer needed now that we have
14862 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
14863 by the recent changes to use ANSI C arithmetic conversions.
14867 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
14868 bug involving using inferior_pid to figure out whether to select a
14873 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
14874 match the current disassembler output.
14878 * gdb.fortran/exprs.exp: Expect VOID instead of void.
14879 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
14880 types, expect "int" as type of integer values (for now).
14884 * gdb.base/commands.exp: New tests for if/while commands.
14888 * lib/gdb.exp (runto): Replace sub-pattern for hex value
14889 by .*, since hex values have different syntax in Chill mode.
14893 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
14894 linefeed from expect pattern for repeated types with indices > 9.
14898 First part of Fortran test suite.
14899 * gdb.fortran: New directory.
14900 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
14904 * gdb.base/default.exp: Update expect pattern for load command
14909 * configure.in: Change i386 to i[345]86.
14910 * gdb.base/configure.in: Likewise.
14911 * gdb.c++/configure.in: Likewise.
14912 * gdb.chill/configure.in: Likewise.
14916 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
14917 patterns, since that is not a valid context for comments.
14921 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
14922 repeated types and repeated types with indices > 9.
14926 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
14927 2417; old bug has been fixed.
14931 * gdb.base/interrupt.exp: When trying to wake up the inferior,
14932 send the newline ourselves instead of assuming gdb_test will do
14933 so when passed an empty input string.
14935 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
14940 * lib/gdb.exp (gdb_test): Don't send anything if the first
14941 argument is an empty string. This makes cases where we want to
14942 match output that is already in expect's buffers (for example,
14943 matching a breakpoint after gdb_run_cmd has been called) work
14948 * config/netware.exp: New file.
14952 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
14953 the -B and -L prefixes so we can find the debugging stub.
14955 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
14956 there and we are using the gcc from the tree.
14958 * gdb.base/types.c: Removed.
14960 * gdb.base/configure.in: Look for makefile fragments in ../config.
14961 Recognize i386-*-netware.
14962 * gdb.c++/configure.in: Likewise.
14966 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
14967 the correct TCL syntax.
14971 * gdb.base/opaque.exp: use runto instead of messing around with
14972 breakpoints. Simplify by using gdb_test.
14974 * gdb.base/bitfields.exp: restart between tests on netware targets
14975 because breakpoints aren't relocated after target death. Run
14976 processes to completion.
14978 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
14982 * Makefile.in: Remove extra tabs that confuse some versions
14983 of "make". Use the newly built gdb to test with by default,
14984 rather than the first one in the tester's search path.
14988 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
14990 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
14995 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
14997 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
14999 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
15000 * gdb.base/funcargs.exp: Likewise.
15002 * gdb.base/bitfields.exp: Simplify by using gdb_test.
15003 * gdb.base/funcargs.exp: Likewise.
15005 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
15010 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
15011 return,signals,twice}.exp: Handle non-existant binaries
15014 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
15015 * gdb.base/Makefile.in: Don't try to generate a core dump, we
15016 might testing a cross development system.
15020 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
15021 runtest script is relative to ${srcdir}, not ${rootdir}.
15025 * gdb.base/signals.exp: Allow for optionality of breakpoint
15030 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
15034 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
15035 for size_t definition.
15036 * gdb.c++/templates.cc: Likewise
15038 * config/mt-i386-netware: New file.
15040 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
15043 * gdb.base/Makefile.in: Added support for systems that name core
15044 files by appending "core" to the program name.
15045 * gdb.base/a1-selftest.exp: Likewise.
15049 * gdb.base/return.exp: Add comment and message for `return double'
15050 test failure on Sparc Solaris.
15054 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
15058 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
15059 from optimizing them away.
15060 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
15061 patterns to include default constructors and assignment operators,
15062 to match gcc versions beyond 2.5.8. Accept any cplus demangling
15063 character in the output of the virtual base pointer.
15067 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
15068 expression match in print_addr_of to avoid unintented matches.
15069 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
15070 versions up to 2.5.8.
15074 * gdb.base/list.exp: Tweak alternate pattern for listing of an
15075 included file to run under newer versions of expect.
15076 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
15077 consecutive >'s in templates to accomodate recent cplus-dem.c change.
15078 Remove xfail for the virtual table of BDDHookV.
15082 * lib/gdb.exp (string_to_regexp): Set a default result.
15083 (default_gdb_start): Fix misleading message.
15087 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
15088 Remove all CC, etc definitions.
15089 * config/mt-hpux: New file.
15090 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
15091 (CFLAGS, LDFLAGS): Define.
15092 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
15094 * Makefile.in (site.exp): Don't insert host_os, etc.
15095 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
15096 (distclean): Check existence of subdir.
15097 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
15098 * gdb.base/Makefile.in: General cleanup and simplification.
15099 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
15100 to build executables. Use default rule to build .o files.
15101 (EXPECT, RUNTEST, CC): Fix relative pathname.
15102 (site.exp): Don't insert host_os, etc.
15103 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
15104 and/or SIGUSR1 defined.
15105 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
15106 * gdb.c++/Makefile.in: General cleanup and simplification.
15107 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
15109 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
15113 * gdb.base/recurse.exp: Misc changes to get tests running again
15114 after Kung's changes to the watchpoint code.
15115 * gdb.base/watchpoint.exp: Likewise.
15119 * lib/gdb.exp (string_to_regexp): Convert {\} also.
15123 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
15124 * lib/gdb.exp (default_gdb_start): Define.
15125 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
15126 gdb.base/funcargs.exp, gdb.base/opaque.exp,
15127 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
15128 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
15129 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
15130 Don't call gdb_target_udi in between tests.
15134 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
15135 (which was basically just a local version of the same thing). In
15136 addition to avoiding duplication, gdb_test_exact is faster.
15137 * lib/gdb.exp (gdb_test_exact): Fix typo.
15139 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
15140 don't give an error.
15142 * gdb.base/term.exp: Call delete_breakpoints before starting.
15144 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
15145 (t10): Add comment.
15149 Reorganization of the GDB Test Suite.
15151 * gdb.base: New directory, contains all the basic tests.
15152 * gdb.c++: New directory, tests specific to C++.
15153 * gdb.chill: New directory, tests specific to Chill.
15154 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
15155 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
15156 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
15157 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
15158 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
15160 * */gdbme.*: Rename to match appropriate expect scripts.
15161 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
15162 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
15163 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
15164 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
15165 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
15166 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
15167 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
15168 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
15169 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
15170 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
15171 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
15172 gdb.c++/virtfunc.cc: New names of C++ files.
15173 * gdb.chill/chillvars.ch: New name of Chill file.
15174 * gdb.base/configure.in, gdb.c++/configure.in,
15175 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
15176 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
15177 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
15178 * configure.in (configdirs): Update to reflect directory changes.
15179 (target_abbrev): No longer define for any configuration.
15180 * Makefile.in: Cosmetic improvements to header comments.
15184 Various changes to gdb.t31:
15186 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
15187 * gdbme.ch: Make all key-words and predefineds be upper-case.
15188 * chillvars.exp: Expect key-words and predefinds in upper-case.
15190 * chillvars.exp: Use gdb_test_exact many places.
15191 Change expected output for arrays (which now includes index labels).
15193 * pr-5020.exp, gdme.ch (module PR_5020):
15194 New test, for PR-5020.
15198 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
15199 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
15203 * Makefile.in: Fix bit-rot in definitions of CHILL,
15204 CHILL_FOR_TARGET and Chill_LIB.
15205 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
15206 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
15207 CHILL, and CHILL_LIB.
15211 * Revert the previous changes. Please see Rob's directory
15212 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
15216 * Makefile.in, configure.in, config/mips-gdb.exp,
15217 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
15218 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
15219 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
15220 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
15221 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
15222 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
15223 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
15224 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
15225 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
15226 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
15227 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
15228 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
15229 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
15230 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
15231 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
15236 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
15237 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
15238 Rob's new testing fragments.
15242 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
15243 lib/gdb.exp: Replace error proc calls with perror.
15247 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
15248 version also, match on casted version strings, and match on
15249 gdb startup case where the line numbers might be messed up.
15253 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
15254 (CFLAGS): Delete it from here.
15258 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
15262 * Makefile.in (RUNTEST): Default to just "runtest".
15266 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
15267 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
15268 the code has been restructured.
15272 * gdb.t00/default.exp (set write): Allow any number of \r and/or
15273 \n, not just one of each.
15275 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
15276 /bin/cc gives a warning if you do.
15280 * gdb.t24/demangle.exp: change expect pattern of
15281 __t10ListS_link1ZUiRCUiPT0
15285 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
15286 on local variables in recursive functions.
15288 * gdb.t07/Makefile.in: Build the new test.
15292 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
15293 directly. Instead compare the return values from actual calls.
15297 * Makefile.in (check): Set TCL_LIBRARY for runtest.
15301 * From Peter Schauer with minor modifications.
15302 * gdb.t15/return.exp (return_tests): Handle targets where "return"
15303 stops in mid-line in the caller. Add xfail for returning a float
15304 value on X86 targets.
15308 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
15309 to avoid expect lossage.
15310 (fmem_LRbug_tests): Likewise.
15311 * gdb.disasm/hppa.s: Corresponding changes.
15313 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
15314 conditions to work with latest dejagnu/expect.
15316 * gdb.t15/funcargs.exp (finish from indirect call): No longer
15317 expected to fail on the PA.
15318 (backtrace in call with trampolines): Explicitly require main
15319 to be frame #1 (no trampolines should show up in backtrace).
15321 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
15322 "continue -expect".
15323 * gdb.t06/break.exp: Likewise.
15324 * gdb.t07/watchpoint.exp: Likewise.
15325 * gdb.t13/bitfields.exp: Likewise.
15326 * gdb.t15/{funcargs,return}.exp: Likewise.
15327 * gdb.stabs/weird.exp: Likewise.
15328 * config/{mips,udi}-gdb.exp: Likewise.
15330 * hppa.sed: Enclose comments within a sed command to avoid
15331 losing with the old OSF1 sed.
15335 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
15337 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
15338 * gdb.t15/funcargs.exp: Conditionally step again to really
15339 finish from marker_call_with_trampolines. Handle the case where
15340 the first step from within call_with_trampolines already steps
15342 * gdb.t15/gdbme.c: Add comment to closing brace of
15343 call_with_trampolines for funcargs.exp.
15347 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
15352 * gdb.t07/gdbme.c: More code for watchpoint testing.
15354 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
15355 "Hardware watchpoint" throughout file.
15356 (test_watchpoint_triggered_in_syscall): New test.
15357 (test_complex_watchpoint): New test.
15361 * gdbme.c (call_with_trampolines): New function to try and step
15362 into. Tests trampoline problems on the PA.
15364 * funcargs.exp (localvars_in_indirect_call): No longer expect
15365 stepping into indirect call to fail on PAs.
15366 (test_stepping_over_trampolines): New test.
15370 * TODO: Add suggestions for static member function tests, and
15375 * TODO: Add suggestions for "p/a" tests.
15377 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
15378 (default_gdb_exit): Replace all the hair with sending "quit" to
15379 the process with a simple close.
15383 * TODO: Add suggestions for shared library tests.
15387 * TODO: Add suggestions for x/s tests.
15391 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
15392 "enable once", and "enable breakpoints once" with ".*".
15396 * TODO: Add suggestions about structure passing tests.
15400 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
15401 the primary1 test, use work around if __GNUC__ < 2.
15402 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
15403 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
15404 Test for bad output rather than waiting for timeout. Issue
15405 second continue only if first continue failed.
15409 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
15410 operator[] test with gdb_test because the old code didn't seem to
15411 be getting the quoting right with the new dejagnu.
15415 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
15417 * Makefile.in: Use a fresh expect if there is one, use runtest
15418 from the src tree if there is one.
15422 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
15423 next over recursive call. Revise the tests from that point on
15424 (which had been skipped) to match GDB's actual (correct) output.
15426 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
15427 with next over a breakpoint whose condition is false.
15429 * gdb.t00/help.exp: Comment out "help set print" tests just like
15430 (and for same reason as) "help set" test.
15434 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
15435 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
15439 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
15440 necessary gdb_target_udi.
15442 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
15444 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
15445 1838 and 2417; they are fixed.
15447 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
15448 gdb.t03/ptype.exp (ptype structure, ptype union):
15449 Remove xfails; the test is looser than when the xfails were added.
15451 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
15452 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
15454 * gdb.t01/run.exp: Only run shell test if isnative.
15456 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
15457 since "run" automatically loads if necessary. Call gdb_target_udi
15458 after the "file" since "file" kills any execution target.
15460 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
15461 GDB. GDB doesn't work that way (not anymore at least) on UDI.
15462 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
15467 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
15469 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
15473 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
15474 properly quoting regexps. This makes the second argument to
15475 demangle a fixed string, which matches the callers, instead of a
15476 shell-style pattern which is what the previous implementation
15477 used. Update some of the callers.
15481 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
15482 (comib_nullified_tests): Fix typo.
15483 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
15484 strings. No longer expected to fail.
15486 * gdb.disasm/hppa.s (addib_tests): Fix typo.
15487 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
15488 strings. No longer expected to fail.
15490 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
15491 string. No longer expected to fail.
15495 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
15496 No longer expected to fail.
15498 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
15499 string. No longer expected to fail.
15503 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
15504 only in the names (I probably got most of them). I was even
15505 generous with some which differed in underscores in names, and
15506 probably missed a few, and I *still* was able to remove almost a
15507 third of the file with almost no impact on testsuite coverage.
15511 * gdb.t00/default.exp: Match udi_attach error message as well as
15512 the one from child_attach.
15514 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
15516 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
15518 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
15519 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
15521 * Move test with enums and partial symbols back to
15522 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
15523 Reverts the change of 26 May 93. Per today's change to
15524 stabs.texinfo, the behavior that weird.exp was expecting was
15525 unreasonable; what is important is that the compiler+gdb get
15526 things right, which happens with a recent gcc. Also fix the test
15527 to deal with native compilers which put out the stab gdb can't
15532 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
15533 in the names. The main thing these accomplish is to slow things down.
15534 Many more such duplicates surely remain.
15536 * gdb.t00/help.exp: Comment out "help support" test just like
15537 (and for same reason as) "help set" test.
15541 * gdb.t06/break.exp: Remove setup_xfails for
15542 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
15543 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
15544 about known bug in gcc to include up through 2.5.8.
15545 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
15547 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
15548 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
15549 with latest gcc and gdb.
15550 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
15555 * configure.in (hppa*-*-*): Also configure and build stabs-only
15560 * gdb.t10/hppa.mt: A makefile fragment for the PA.
15561 * gdb.t10/configure.in (hppa*-*-*): Use it.
15565 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
15569 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
15570 versions prior to 1.13.5.
15574 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
15575 the prompt is at the start of a line.
15579 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
15580 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
15581 in the copr tests now.
15582 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
15583 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
15588 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
15589 gdb.t31/chillvars.exp, lib/gdb.exp:
15590 Tweak to run under either version of expect.
15591 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
15592 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
15593 * gdb.t11/list.exp: Remove extraneous whitespace.
15597 * gdb.t16/printcmds.exp (test_print_strings): Accept
15598 "(unsigned char *) " before the string.
15600 * TODO: Add notes about printing of fancy types and GDB expressions.
15604 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
15605 * gdb.t06/configure.in: Don't try to compile signals test program
15606 if doing mips-idt-ecoff.
15610 * Most .exp files: Tweak to run under either version of expect.
15614 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
15615 xfails; I'm not sure why they are failing, but not because of PR 1806.
15619 * config/unix-gdb.exp: Remove gdb_unload cause it's already
15620 defined in lib/gdb.exp.
15624 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
15625 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
15626 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
15627 have to be typeless.
15631 * TODO: Add suggestion for copyright year test.
15635 * configure.in (*-*-lynxos*): Add stabs tests.
15639 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
15640 so insert a tab before any assembler directive in column zero.
15642 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
15644 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
15646 (fpu_short_memory_tests): Likewise.
15650 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
15651 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
15652 .stabs directives in comments.
15656 * TODO: New file, describing tests we could write.
15657 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
15661 * gdb.t06/signals.exp: Add kludge to force re-sync.
15663 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
15664 to xgdb instead of gdb, get out of gdb.
15668 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
15673 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
15674 * gdb.stabs/configure.in (hppa*-*-*): Use it.
15675 * gdb.stabs/hppa.sed: New sed script for the PA.
15679 * gdb.stabs: Re-write weird.def and configuration to use sed
15680 instead of cpp. sed is portable and POSIX; cpp is neither.
15684 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
15688 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
15692 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
15694 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
15695 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
15699 * lib/gdb.exp: Comment out code which depends on non-existent
15700 `transform' procedure.
15704 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
15705 * lib/gdb.exp: Transform tool name.
15706 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
15707 1.1's new error handling system.
15711 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
15715 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
15716 They made pattern matching so slow that timeouts happened on
15717 heavily loaded systems. Now any output from "show print" which
15718 gets us back to the GDB prompt is a PASS.
15720 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
15722 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
15726 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
15728 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
15729 It is not from PR 3220.
15733 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
15734 just started failing because they depended on the order the
15735 subcommands are presented, or exact docstring text. This kind of
15736 test is a pain and has minimal benefit.
15740 * gdb.t09/corefile.exp: At end of test, use "core" command with
15743 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
15745 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
15746 17}/Makefile.in: Make it possible to run the testsuite with Sun
15747 make and CC = cross gcc by adding explicit build rules for .o
15752 * gdb.t15/funcargs.exp: Don't put comments on same line as
15753 setup_xfail (@#$*%& tcl braindamage!).
15757 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
15761 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
15762 * gdb.t20/inherit.exp: remove three dumplicate entries.
15766 * gdb.t06/break.exp: For "next over recursive call", fail on any
15767 incorrect output, not just on "factorial (value=2)".
15771 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
15772 working now. Add an xfail if accesing a bss variable causes
15773 a memory error if the target is not yet run.
15777 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
15778 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
15779 name of __st* demangling (2 strings). Did Kung really get the
15780 more than 95 others right without testing them?
15784 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
15788 * configure.in (configdirs): Add gdb.disasm
15789 * gdb.disasm: New directory for GDB disassembler tests.
15790 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
15794 * gdb.t00/help.exp: Don't test "help set".
15796 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
15797 from within expect statements. None of these happen anymore and
15798 they cause regressions to be silently unnoticed.
15800 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
15801 messages) about known failures with gcc cygnus-2.4.5-930417.
15803 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
15804 comp-info.exp so it gets built if it doesn't exist.
15806 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
15807 it is no longer used.
15808 * gdb.t13/comp-info.c: Removed.
15812 * gdb.t06/signals.exp: Add xfail for sun3.
15816 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
15817 relevant because ^C doesn't get sent but failure can be reproduced
15822 * gdb.stabs/alpha.mt: New configuration file for alpha.
15823 * gdb.stabs/configure.in: Use it.
15824 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
15825 sharing with alpha.mt, redefine long to word via preprocessor.
15826 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
15828 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
15830 * gdb.t00/teststrategy.exp: Change expect string so that we
15831 consume the `(xgdb)' from the command echo and from the gdb prompt.
15832 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
15833 gdb currently compares all values as long, so this failure probably
15834 applies to any configuration where LONGEST is bigger than a target int.
15835 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
15837 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
15838 to handle opaque pointers, gcc is.
15839 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
15840 as first argument. Include <sys/types.h> and change all operator
15841 new definitions to use size_t.
15842 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
15843 now that we use size_t.
15847 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
15848 a long or float array cast all array members to the same type.
15849 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
15851 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
15853 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
15857 * gdb.t24 (demangle.exp): Constructors of templates have names like
15858 vector<int>::vector(int) not vector<int>::vector<int>(int). See
15859 section 14.6 of the ARM.
15861 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
15862 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
15863 accomplish little and slow down the testsuite.
15865 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
15866 Accept spaces various places.
15870 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
15871 with watchpoint enabled.
15873 * Makefile.in: Remove definition of CC and remove the second
15874 definition of CXX (the "CXX = gcc" one remains). These definitions
15875 were causing backquotes to be expanded within backquotes, which
15880 * gdb.t17/callfuncs.exp: Add "return 0" to end.
15884 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
15885 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
15886 by mips cc and contains no stabs entries.
15890 * config/vx-gdb.exp: Use fake device to load files rather than
15892 * lib/gdb.exp: New proc to do "file" command.
15893 * config/unix-gdb.exp: Use new "file" proc.
15897 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
15898 Rework board rebooting slightly.
15899 (gdb_exit): Don't exit from the remote shell; there isn't one.
15900 * gdb.stabs/weird.exp: If a program is being debugged already,
15902 * gdb.t04/setvar.exp: Stop and restart gdb.
15903 * gdb.t05/expr.exp: Likewise.
15904 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
15905 restart gdb and reload the program.
15906 * gdb.t08/opaque.exp: Likewise.
15907 * gdb.t12/scope.exp: Likewise.
15908 * gdb.t13/bitfields.exp: Likewise.
15909 * gdb.t15/funcargs.exp: Likewise.
15910 * gdb.t20/classes.exp: Likewise.
15911 * gdb.t03/ptype.exp: Increase timeout.
15912 * gdb.t16/printcmds.exp (test_print_string_constants,
15913 test_print_array_constants): Likewise.
15914 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
15915 * gdb.t20/classes.exp (do_tests): Likewise.
15916 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
15920 * gdb.stabs: Renamed *wierd* to *weird*.
15924 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
15925 for timeout. Add "known gcc 2.4.5 bug" to failure message.
15929 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
15930 (do_tests): Remove xfail for whatis on one_var and two_var.
15934 * Makefile.in: Made cross building work better by adding
15935 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
15939 * gdb.t15/{return.c,return.exp,Makefile.in}:
15940 New test, currently commented out.
15944 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
15945 still running and removes the leftover named socket so GDb can do
15950 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
15952 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
15953 cross testing works better with "make check"
15954 * config/unix-gdb: Use default procedures for exit and version.
15955 * config/vx-gdb.exp: Cleaned up and massaged back to working order
15956 with the newest VxWorks.
15960 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
15963 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
15964 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
15966 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
15968 * config/unix-gdb.exp: Remove this version of gdb_exit
15969 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
15970 Rob says he'll look at it when he gets back to testing boards.
15974 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
15975 an expected fail for certain ptype commands.
15977 * gdb.t20/classes.exp: Update expected results of "ptype class
15978 Base1" to account for the constructor that now appears in the type.
15982 * configure.in (configdirs): Restore gdb.t04, which mysteriously
15983 disappeared from list.
15984 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
15985 "alldone" proc with call to cleanup and exit.
15986 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
15987 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
15988 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
15989 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
15990 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
15991 "alldone" proc with simple returns that suppress remaining
15992 tests. The alldone proc went away many months ago.
15996 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
15998 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
16002 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
16003 as vax gdb will display them.
16007 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
16010 * scope.exp: Change "bad value for localval" messages so each one
16013 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
16014 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
16016 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
16020 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
16021 doesn't exist (due to optimization).
16025 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
16026 contains \r because the filename is long.
16028 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
16029 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
16033 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
16034 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
16036 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
16038 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
16042 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
16044 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
16045 to match does not match the passing case but still matches the
16050 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
16054 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
16055 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
16056 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
16057 Remove various versions of gdb_exit.
16058 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
16060 * config/unix-gdb.exp: gdb_exit remains here, and should override
16061 the generic version, since it's doing a lot of wierd stuff that
16062 the other versions aren't. FIXME, fold it in, or abandon this
16067 * gdb.t24/demangle.exp: Add tests for PR 3220.
16071 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
16075 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
16076 "i386-*-*". Works for i486 as well.
16078 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
16079 bug, and expand domain of xfail to all SVR4 systems, since the
16080 actual problem is likely to be in generic SVR4 /proc support.
16084 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
16088 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
16089 xfails for other systems. Match a missing 'Continuing.' as an
16090 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
16092 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
16093 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
16094 Only issue warning for missing executables if -all option is used.
16096 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
16097 file if -all option is used. It's like an unpredictable XFAIL.
16101 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
16102 for dynamically linked binaries.
16104 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
16108 * gdb.t20/inherit.exp: Change message for "print tagless struct"
16109 to state that this is a known bug in old versions of g++.
16113 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
16114 while waiting for `Continuing'.
16118 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
16119 in text, data, and bss.
16120 * gdb.t10/nodebug.c: Add local and global test variables for
16121 initialized and uninitialized data.
16125 * config/unix-gdb.exp (gdb_exit): Add "wait".
16129 * gdb.t06/signals.exp: xfail the continue from the handler for all
16132 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
16133 function with watchpoints enabled, the i386 call dummy starts with
16136 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
16137 386 bsd names its corefiles.
16141 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
16142 compilers don't grok it.
16143 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
16144 with small octal ints rather than character constants, which
16145 are signed and might not fit if first promoted to int.
16149 * gdb.t09/Makefile.in (clean): Remove corefile.
16153 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
16158 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
16159 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
16160 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
16164 * gdb.t17/interrupt.exp: Add xfail for hppa.
16168 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
16169 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
16170 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
16171 to determine signed-ness of bitfields and use the result to setup
16173 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
16174 * gdb.t15/funcargs.exp: Use them to step until the second indirect
16175 call line is reached if necessary.
16179 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
16183 * gdb.t06/break.exp: Also test `clear' command.
16187 * gdb.t00/teststrategy.exp: Remove extra quote.
16189 * gdb.t07/watchpoint.exp: Change xfail for calling function with
16190 watchpoint enabled to be for all non-68k machines.
16192 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
16196 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
16197 targets use aout.mt instead of ecoff.mt as gas understands
16198 standard aout format.
16202 * lib/gdb.exp (runto): Don't insist that function we are running to
16203 was compiled with -g.
16205 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
16207 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
16208 to get back into the read system call.
16209 Accept leading newline in case where we woke it up.
16213 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
16214 to make the stabs test work on ecoff systems using gcc and -with-stabs.
16215 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
16216 enable ecoff configuration.
16220 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
16224 * gdb.t16/printcmds.exp: Add another printf test.
16228 * configure.in: If configured -with-stabs on any target, add
16229 stabsdirs to configdirs.
16233 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
16234 fun" so pattern does not match the command itself.
16238 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
16242 * gdb.t17/interrupt.exp: Test for more things.
16246 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
16247 compiler arranges the code and line numbers.
16249 * gdb.t17/interrupt.exp: Don't send \n after ^C.
16253 * gdb.t00/help.exp: Increase expect input buffer size.
16257 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
16259 * gdb.t07/watchpoint.exp: Add xfail for hppa.
16261 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
16263 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
16264 [0-9]*, not just [0-9].
16268 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
16270 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
16274 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
16278 * gdb.t06/signals.c: Add xfails for sun3.
16280 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
16282 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
16283 test_stepping tests.
16287 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
16289 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
16291 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
16292 rather than actually putting it through cpp twice.
16294 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
16298 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
16303 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
16305 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
16306 C++ features prints as "struct", make it a pass, not an xfail.
16310 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
16311 Don't require VA to print as "class" rather than "struct".
16315 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
16319 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
16323 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
16328 * gdb.t16/printcmds.exp: Add printf tests.
16330 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
16332 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
16336 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
16337 pass counts, to counteract any existing or future setup_xfails.
16341 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
16342 {BEGIN,END}_COMMON for common block instead of STAB.
16343 * gdb.stabs/wierd.exp: Add xfail for rs6000.
16345 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
16346 intp_var should be N_GSYM not N_LSYM.
16347 wierd-aout.S: Use a label for the value of the N_SO.
16348 wierd.def: Remove all backslashes.
16349 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
16353 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
16354 get the expected next to inheritance3.
16358 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
16359 now that gcc-2.4 gets it right.
16363 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
16365 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
16366 generating comp-info.exp which works for cross-compilation.
16370 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
16375 * gdb.t01/run.exp: Start with a fresh gdb.
16376 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
16381 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
16382 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
16383 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
16384 Makefile.in (distclean, realclean): Remove gdbme.c from list of
16389 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
16390 test cases from bug reports.
16394 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
16395 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
16396 avoid spurious xfails.
16397 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
16398 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
16399 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
16403 * gdb.t00/teststrategy.exp: Rework to provide more useful
16404 description of each test, fix problem with systems that define
16405 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
16406 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
16407 results for "next over recursive call" so timeouts aren't taken
16412 * gdb.t12/scope.exp: Test printing of variables before run.
16414 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
16415 printed in wrong order due to sorting.
16419 * gdb.t00/teststrategy.exp: Fix expected results for printing
16420 user entered string constant. Is array of char, prints with no
16423 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
16425 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
16426 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
16427 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
16428 of struct of char arrays.
16429 * gdb.t00/radix.exp: New tests for radix commands.
16433 * gdb.t16/printcmd.exp: Print a variable before running program
16434 (with xfail for AIX).
16438 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
16440 * gdb.t16/printcmd.exp: Don't print variables before running program.
16442 * gdb.t06/break.exp: Don't require envp argument to main.
16444 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
16446 * gdb.t02/whatis.exp, gdb.t11/list.exp:
16447 Add xfails for rs6000.
16449 * gdb.t02/whatis.exp: Change other tests not to re-test something
16452 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
16453 each type used has a variable of that type.
16457 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
16459 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
16461 * configure.in: change srctrigger to be a file, not a directory
16465 * configure.in (mips-idt-ecoff*): Added trailing '*'.
16467 * gdb.t11/list.exp: Fixed a couple of typos.
16471 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
16472 is fixed and PR is closed.
16473 * gdb.t16 (gdbme.c): Add simple test string variable.
16474 * gdb.t16 (printcmds.exp): Add tests with simple test string
16475 variable, primarily for boundaries on "set print elements".
16479 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
16480 Make leading 0's optional and don't expect a tab in the middle
16483 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
16485 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
16486 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
16487 don't end command passed to gdb_test with newline.
16489 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
16490 signed keyword away, don't expect signed bitfields to be signed.
16492 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
16493 printing with only as many 1's as are in the field as well as printing
16494 with 32 1's (see comment).
16498 * gdb.t00/default.exp: Start with a fresh gdb.
16499 * configure.in (configdirs): Remove gdb.t31 until the chill
16500 compiler works again. It no longer is able to find chillrt0
16501 since it isn't in libchill.a anymore.
16502 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
16503 wierd.o, make more modular.
16504 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
16505 spurious newlines that caused problems.
16509 * Move test with enums and partial symbols from gdb.t03/ptype.exp
16510 to gdb.stabs/wierd.exp since GCC has worked around the bug.
16511 gdb.stabs/wierd.{exp,def}: Many new tests.
16513 * gdb.t00/default.exp: update info line for new message.
16515 * gdb.t02/{whatis.exp,gdbme.c}:
16516 Test that "char *" doesn't print as "caddr_t".
16520 * gdb.t00/help.exp: Use .* in place of some help messages which
16522 gdb.t00/default.exp: Update "info frame" test for new message.
16523 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
16528 * gdb.t03/{gdbme.c,ptype.exp}:
16529 Add tests for typedef'd struct and union without tags.
16530 Also check "whatis" on a variable of a typedef'd enum without a tag.
16532 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
16533 PRMS 1823; the bug still exists but isn't reproduced by this test
16534 anymore), and remove rs6000 XFAIL (the bug is fixed).
16536 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
16537 duplicated from whatis.exp. For those that are left, accept
16538 "long", "long int", or "int" for long variables (whatis.exp already
16539 has an XFAIL for "int", so no need to fail it here).
16541 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
16542 Deal with GCC's names for types now that GDB uses the compiler's names.
16544 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
16545 setup_xfail's for sunos4. If we #defined the signed keyword away,
16546 don't expect GDB to know that char it is signed.
16548 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
16552 * configure.in (configdirs): Add gdb.t24 for C++ tests that
16553 should work on any system, regardless of debugging format.
16554 * gdb.t21/demangle.exp: Move to gdb.t24.
16555 * gdb.t24/demangle.exp: Move from gdb.t21.
16556 * gdb.t24/{Makefile.in, configure.in}: New files.
16560 * configure.in: Do gdb.stabs and C++ tests only for stabs.
16561 * gdb.stabs: New directory.
16565 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
16566 not just "Quit anyway?".
16570 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
16571 that all setup_xfails are immediately followed by clear_xfails.
16575 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
16576 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
16577 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
16578 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
16579 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
16580 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
16581 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
16582 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
16583 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
16584 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
16585 gdb.t31/chillvars.exp, lib/gdb.exp:
16591 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
16592 with 0.0, not integer 0.
16596 * gdb.t06/break.exp: Update for "Kill the program" message change.
16600 * Makefile.in (GDBFLAGS): Set to -nx.
16601 * Makefile.in (site.exp): Use GDBFLAGS.
16605 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
16607 (check): depend on just-check.
16608 (just-check): added so that tests can be run without a noop
16613 Switch to using configure's configdirs.
16614 * Makefile.in (Makefile): add configure.in dependency.
16615 (SUBDIRS): removed redundant assignment.
16616 * configure.in: switch subdirs assignment to configdirs.
16617 * gdb.t*/configure.in: new files.
16621 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
16626 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
16627 in explicit rules. Apparently this is not supported by some makes.
16631 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
16635 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
16640 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
16644 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
16645 watchpoint problem that is now fixed.
16646 * gdb.t30/chexp.exp: Remove setup_xfail for printing
16647 uninitialized convenience variables.
16648 * gdb.t31/chillvars.exp: Fix expected patterns for printing
16653 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
16654 which causes expect to get out of sync with gdb on long output
16656 * gdb.t09/corefile.exp: Make expected pattern for core file
16657 failing signal and frame output format less sun specific.
16661 * gdb.t31/chillvars.exp: Add and remove initial dummy
16662 breakpoint, so that symbol table is forced in.
16663 (Needed at least on Sunos4, though it seems not SVR4.)
16664 * gdb.t31/chillvars.exp: Update for changed output format.
16666 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
16668 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
16672 * Makefile.in: Added --srcdir when invoking runtest, removed the
16673 need for a local config file. (optional now)
16677 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
16678 failure count used to force early termination. Add some more
16679 expected failures for gnu style demangling.
16683 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
16684 pmi variable from gdb.t20/gdbme to get optimized away.
16685 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
16686 Check for written corefile upon timeout _and_ eof.
16690 * config/unix-gdb.exp: Add missing return 0.
16694 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
16699 * configure.in (subdirs): Put back gdb.t17 which mysteriously
16704 * gdb.t10/crossload.exp: Disable the i860-elf test until such
16705 time as i860 support works.
16707 * gdb.t15/funcargs.exp: Fix expected outputs to include
16708 "backtrace 100\r" rather than just "backtrace\r", to match last
16713 * config/udi-gdb.exp (gdb_exit): Remove close command.
16714 (gdb_target_udi): New procedure to set the UDI target.
16715 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
16716 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
16717 Added waits for prompts after several question responses. Added
16718 some more responses used by a29k-amd-udi-gdb.
16719 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
16720 pass different arguments, restart UDI connection after program
16722 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
16723 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
16724 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
16725 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
16726 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
16727 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
16728 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
16729 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
16730 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
16731 after program completion.
16732 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
16733 compiled with a SELECT_VECS setting.
16734 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
16735 infinite recursion.
16737 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
16738 Added checks for COFF results, and made them expected failures for
16739 all targets. It would be better to make them expected failures
16740 for COFF targets only.
16742 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
16744 * Makefile.in: add null dvi target, don't bother to recurse
16745 through test directories for info and install-info; rename
16746 $(datadir) to be dejagnu instead of deja-gnu
16750 * gdb.t31/gdbme.ch: Re-enable code that previously caused
16751 compiler to coredump.
16752 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
16757 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
16759 * gdb.t31/chillvars.exp: Comment out tests that depend on that
16762 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
16764 * gdb.t03/ptype.exp: tests for return code from gdb_test.
16765 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
16766 which in a shell. Deletes xgdb when done.
16767 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
16768 Tests the return from the "set height" or "set width" commands.
16769 Added a few return codes where needed.
16773 * Makefile.in (SUBDIRS): Add gdb.t17.
16774 * configure.in (subdirs): Add gdb.t17.
16775 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
16776 files to test gdb's calling of functions in the inferior with
16777 the correct arguments and gdb's ability to retrieve any
16782 * config/unix-gdb.exp (gdb_exit): Remove close commands that
16783 may be called after gdb goes away. Previous versions of expect
16784 needed these to avoid file descriptor leaks, but they cause
16785 errors with the current revision of expect.
16786 * gdb.t00/gdbvars.exp: Use -re on expected output after
16787 setting sevenbit-strings.
16788 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
16789 to set sevenbit-strings consistent across tests.
16790 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
16791 set sevenbit-strings consistent across tests.
16795 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
16796 expected output to match current "expect" expectations.
16800 * gdb.t00/default.exp: Change expected output for default "source"
16801 command, to match new gdb behavior which requires a filename to
16806 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
16807 expected fail for i486-*-* that misses the marker2 function.
16808 * gdb.t10/crossload.exp (bfddefault): Allow successful
16809 recognition of a format to pass even if no symbols are found.
16810 Explicitly catch failures where the format is not recognized
16811 or is ambiguous, and add the reason to the fail message.
16812 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
16813 the cause is and invalid target and add reason to failure message.
16814 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
16815 elf32-i386, elf32-sparc, and elf32-i860.
16816 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
16817 Set up expected failure for 'filename'::variable scope resolution,
16818 which is now apparently broken on all targets.
16819 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
16820 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
16821 gdb.t23/templates.exp: Change failure for missing binfile into
16823 gdb.t21/demangle.exp: Change all cfront references to 'arm'
16828 * gdb.t00/default.exp: Add expected output for default "source"
16829 command, to match new gdb behavior.
16830 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
16834 * config/*-gdb.exp: returns an error, rather than exiting on
16839 * gdb.t03/gdbme.c: Add pointer to struct variable.
16840 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
16841 referencing struct members.
16845 * configure.in (mips-idt-ecoff): New target.
16846 * config/mips-gdb.exp: New file for remote board using MIPS remote
16847 debugging protocol.
16849 * Redid configuration scheme. Removed gdb.t*/configure.in.
16850 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
16851 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
16852 distclean targets. Built executables via .o files. Adjusted
16853 tests to account for source files in $(srcdir) rather than
16855 * lib/gdb.exp (runto): Don't expect () after the function name,
16856 because it may have arguments.
16860 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
16861 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
16862 expected failures for mips-idt-* and mips-sgi-*.
16863 * gdb.t00/default.exp (attach): Kill process if requested.
16864 * gdb.t00/help.exp (help target core, help target): Accept a gdb
16865 that does not read core files.
16866 * gdb.t01/run.exp: Removed checks for exit status code.
16867 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
16869 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
16870 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
16871 appropriate, rather than doing it by hand.
16872 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
16874 * gdb.t10/crossload.exp: Kill existing program if needed.
16875 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
16876 appropriate, rather than doing it by hand. Always increase
16877 timeout for this test, not just for VxWorks.
16881 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
16882 of Chill STRUCT types and STRUCT values.
16883 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
16885 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
16886 struct2): New struct definitions and initializations to test
16887 simple Chill STRUCT types.
16891 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
16892 the null byte at the end of strings.
16893 * gdb.t00/default.exp: Make show version insensitive to copyright
16895 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
16896 to avoid dependencies on target char signedness.
16897 * gdb.t16/printcmds.exp: Update expected results for explicitly
16899 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
16901 * gdb.t21/demangle.exp: Add many more patterns for template
16902 demangling, most of them being expected failures.
16903 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
16904 string we are matching for, to match on the whole string.
16905 * gdb.t21/demangle.exp: Add many new test strings to demangle,
16906 and fix a whole bunch that had incorrect expected output but were
16907 passing anyway because of the bug in "proc demangle".
16908 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
16910 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
16914 * gdb/testsuite: made modifications to testcases, etc., to allow
16915 them to work properly given the reorganization of deja-gnu and the
16916 relocation of the testcases from deja-gnu to a "tool" subdirectory.
16920 * gdb/testsuite: Initial creation of gdb/testsuite.
16921 Migrated dejagnu testcases and support files for testing nm to
16922 gdb/testsuite from deja-gnu. These files were moved "as is"
16923 with no modifications. This migration is part of a major overhaul
16924 of dejagnu. The modifications to these testcases, etc., which
16925 will allow them to work with the new version of dejagnu will be
16926 made in a future update.
16928 For additional changes see gdb.mi/ChangeLog-1999-2003.
16930 ;; Local Variables:
16931 ;; mode: change-log
16934 ;; version-control: never
16937 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
16938 2003, 2004, 2005 Free Software Foundation, Inc.
16939 Copying and distribution of this file, with or without modification,
16940 are permitted provided the copyright notice and this notice are preserved.