From a9c640111debc0b61f074ef7ce2521ca9a587a10 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 20 Nov 2008 17:17:59 +0000 Subject: [PATCH] * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns matching syscall entry point. * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) (tcatch_vfork_then_child_follow): Likewise. Finish through vfork even if we stopped at the syscall trampoline. --- gdb/testsuite/ChangeLog | 664 +++++++++++++++++----------------- gdb/testsuite/gdb.base/foll-fork.exp | 4 +- gdb/testsuite/gdb.base/foll-vfork.exp | 14 +- 3 files changed, 348 insertions(+), 334 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b08bcd1..cc95257 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2008-11-20 Andreas Schwab + + * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns + matching syscall entry point. + * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) + (tcatch_vfork_then_child_follow): Likewise. Finish through + vfork even if we stopped at the syscall trampoline. + 2008-11-20 Doug Evans * gdb.base/sepsymtab.exp: Update, old "info sym" format restored. @@ -10,7 +18,7 @@ 2008-11-18 Paul Pluzhnikov * gdb.base/sepsymtab.exp: Update for new 'info sym' format. - + 2008-11-17 Doug Evans * gdb.mi/mi-syn-frame.exp: Update expected output. @@ -19,15 +27,15 @@ 2008-11-17 Vladimir Prus * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure - "thread N" results in =thread-selected. - * lib/mi-support (mi_run_cmd, mi_expect_stop) - (mi_send_resuming_command_raw): Be prepared for - =thread-selected. - + "thread N" results in =thread-selected. + * lib/mi-support (mi_run_cmd, mi_expect_stop) + (mi_send_resuming_command_raw): Be prepared for + =thread-selected. + 2008-11-17 Vladimir Prus - * gdb.mi/mi-nonstop.exp: Expect 'group-id' field. - * lib/mi-support.exp: Likewise. + * gdb.mi/mi-nonstop.exp: Expect 'group-id' field. + * lib/mi-support.exp: Likewise. 2008-11-16 Joel Brobecker @@ -158,7 +166,7 @@ * gdb.cp/gdb2384.cc: Likewise. * gdb.cp/gdb2384-base.h: Likewise. * gdb.cp/gdb2384-base.cc: Likewise. - + 2008-10-02 Jan Kratochvil * gdb.base/maint.exp (maint print type): Remove printing @@ -284,7 +292,7 @@ *gdb.base/mips_pro.exp: compile with gcc -fno-inline, lest gcc-4.3.1 optimizes the whole thing away. - + 2008-09-04 Michael Snyder * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well @@ -335,8 +343,8 @@ 2008-08-19 Vladimir Prus - * gdb.mi/mi-async.exp: Use 'set target-async'. - * lib/mi-support.exp: Use 'set/show target-async'. + * gdb.mi/mi-async.exp: Use 'set target-async'. + * lib/mi-support.exp: Use 'set/show target-async'. 2008-08-18 Daniel Jacobowitz @@ -365,7 +373,7 @@ 2008-08-08 Paul Pluzhnikov * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test. - + 2008-08-07 Ulrich Weigand * gdb.arch/spu-info.exp: Updated for "info spu dma" changes. @@ -528,11 +536,11 @@ 2008-07-15 Paul Pluzhnikov * gdb.cp/class2.exp: fix for failure on spu-elf - + 2008-07-14 Paul Pluzhnikov * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477. - + 2008-07-13 Jan Kratochvil * gdb.base/randomize.exp: Catch non-Linux targets as untested. @@ -598,22 +606,22 @@ 2008-06-25 Vladimir Prus - * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and - mi_expect_stop. - * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command): - Demand that *running is output. - (detect_async): Perform checking every time. - (mi_send_resuming_command): Extract everything into... - (mi_send_resuming_command_raw): ...this. + * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and + mi_expect_stop. + * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command): + Demand that *running is output. + (detect_async): Perform checking every time. + (mi_send_resuming_command): Extract everything into... + (mi_send_resuming_command_raw): ...this. (mi_expect_stop): Don't accept any output before *stopped. 2008-06-13 Vladimir Prus Robustify mi-simplerun. - * gdb.mi/basics.c (main): Add a call to sleep. - * gdb.mi/mi-cli.exp: Adjust for change in line numbers. - * gdb.mi/mi2-cli.exp: Likewise. - * gdb.mi/mi-break.exp: Likewise. + * gdb.mi/basics.c (main): Add a call to sleep. + * gdb.mi/mi-cli.exp: Adjust for change in line numbers. + * gdb.mi/mi2-cli.exp: Likewise. + * gdb.mi/mi-break.exp: Likewise. 2008-06-11 Vladimir Prus @@ -621,23 +629,23 @@ 2008-06-10 Vladimir Prus - * gdb.mi/mi-console.exp: Adjust. - * gdb.mi/mi-syn-frame.exp: Adjust. - * gdb.mi/mi2-console.exp: Adjust. - * gdb.mi/mi2-syn-frame.exp: Adjust. - * lib/mi-support.exp (mi_run_cmd): Adjust. - (mi_send_resuming_command): Adjust. + * gdb.mi/mi-console.exp: Adjust. + * gdb.mi/mi-syn-frame.exp: Adjust. + * gdb.mi/mi2-console.exp: Adjust. + * gdb.mi/mi2-syn-frame.exp: Adjust. + * lib/mi-support.exp (mi_run_cmd): Adjust. + (mi_send_resuming_command): Adjust. 2008-06-10 Vladimir Prus * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern. - * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct - testing of stopped. - * gdb.mi/mi2-syn-frame.exp: Likewise. - * lib/mi-support.exp (default_mi_gdb_start): Call detect_async. - (async, detect_async): New. - (mi_expect_stop, mi_continue_to_line): Adjust expectation - depending on if we're running in sync or async mode. + * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct + testing of stopped. + * gdb.mi/mi2-syn-frame.exp: Likewise. + * lib/mi-support.exp (default_mi_gdb_start): Call detect_async. + (async, detect_async): New. + (mi_expect_stop, mi_continue_to_line): Adjust expectation + depending on if we're running in sync or async mode. 2008-06-09 Tom Tromey @@ -662,11 +670,11 @@ annotation. 2008-06-05 Paul Pluzhnikov - Pedro Alves + Pedro Alves * gdb.threads/execl.c, gdb.threads/execl1.c, gdb.threads/execl.exp: New tests. - + 2008-06-05 Aleksandar Ristovski Daniel Jacobowitz @@ -679,9 +687,9 @@ 2008-05-28 Vladimir Prus - * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is - now printed. - * gdb.mi/mi2-var-cmd.exp: Likewise. + * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is + now printed. + * gdb.mi/mi2-var-cmd.exp: Likewise. 2008-05-27 Andreas Schwab @@ -749,7 +757,7 @@ * gdb.base/step-test.exp: Allow callee@plt when stepping in. 2008-05-06 Jerome Guitton - Joel Brobecker + Joel Brobecker * gdb.ada/lang_switch: New test program. * gdb.ada/lang_switch.exp: New testcase. @@ -847,9 +855,9 @@ 2008-04-24 Vladimir Prus - * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance. - * gdb.mi/mi2-syn-frame.exp: Likewise. - * lib/mi-support.exp: Likewise. + * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance. + * gdb.mi/mi2-syn-frame.exp: Likewise. + * lib/mi-support.exp: Likewise. 2008-04-24 Vladimir Prus @@ -879,8 +887,8 @@ 2008-04-23 Paolo Bonzini - * aclocal.m4: Add override.m4. - * configure: Regenerate. + * aclocal.m4: Add override.m4. + * configure: Regenerate. 2008-04-19 Vladimir Prus @@ -942,7 +950,7 @@ * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint. * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for new "disp" field. - (mi_expect_stop): Move after_reason argument to be really after + (mi_expect_stop): Move after_reason argument to be really after reason. This is to support fix for PR2424. 2008-04-15 Jan Kratochvil @@ -952,13 +960,13 @@ 2008-04-13 Vladimir Prus * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed - field. Add more floating varobj tests. + field. Add more floating varobj tests. * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed - field. - * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New. - (main): Call do_at_tests. - * lib/mi-support.exp (mi_create_floating_varobj) - (mi_varobj_update_with_type_change): New. + field. + * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New. + (main): Call do_at_tests. + * lib/mi-support.exp (mi_create_floating_varobj) + (mi_varobj_update_with_type_change): New. 2008-04-09 Marc Khouzam @@ -969,11 +977,11 @@ 2008-04-07 Vladimir Prus Introduce test setup helpers. - * lib/gdb.exp (build_executable, clean_restart) - (prepare_for_testing): New. - * gdb.base/break.exp: Use prepare_for_testing, and clean_restart. - * gdb.base/return.exp: Likewise. - * gdb.base/ending-run.exp: Likewise. + * lib/gdb.exp (build_executable, clean_restart) + (prepare_for_testing): New. + * gdb.base/break.exp: Use prepare_for_testing, and clean_restart. + * gdb.base/return.exp: Likewise. + * gdb.base/ending-run.exp: Likewise. 2008-04-07 Nick Roberts @@ -982,10 +990,10 @@ 2008-04-06 Vladimir Prus - * gdb.cp/breakpoint.cc: New code to test conditions involving - member variables. - * gdb.cp/breakpoint.exp: Test condition involving member - variables. + * gdb.cp/breakpoint.cc: New code to test conditions involving + member variables. + * gdb.cp/breakpoint.exp: Test condition involving member + variables. 2008-04-05 Vladimir Prus @@ -1078,7 +1086,7 @@ * gdb.mi/mi-var-display.exp: Remove obsolete xfail. * gdb.mi/mi2-var-display.exp: Likewise. - + 2008-03-26 Vladimir Prus * lib/mi-support.exp (mi_create_varobj_checked): New. @@ -1165,7 +1173,7 @@ 2008-02-28 Pierre Muller - * gdb.base/assign.exp: avoid same output for different tests. + * gdb.base/assign.exp: avoid same output for different tests. 2008-02-27 Doug Evans @@ -1186,7 +1194,7 @@ 2008-02-27 Pierre Muller * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting - tests. + tests. 2008-02-27 Pierre Muller @@ -1195,16 +1203,16 @@ 2008-02-26 Vladimir Prus - * gdb.base/annota1.exp: Adjust for 'info break' - format changes. - * gdb.base/annota3.exp: Likewise. - * gdb.base/break.exp: Likewise. - * gdb.base/condbreak.exp: Likewise. - * gdb.base/pending.exp: Likewise. - * gdb.base/sepdebug.exp: Likewise. - * gdb.base/unload.exp: Likewise. - * gdb.cp/ovldbreak.exp: Likewise. - * gdb.mi/mi-pending.exp: Likewise. + * gdb.base/annota1.exp: Adjust for 'info break' + format changes. + * gdb.base/annota3.exp: Likewise. + * gdb.base/break.exp: Likewise. + * gdb.base/condbreak.exp: Likewise. + * gdb.base/pending.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/unload.exp: Likewise. + * gdb.cp/ovldbreak.exp: Likewise. + * gdb.mi/mi-pending.exp: Likewise. 2008-02-07 Doug Evans @@ -1258,9 +1266,9 @@ 2008-02-01 Vladimir Prus * gdb.mi/basic.c (return_1): New function. - * gdb.mi/mi-break.exp: Make sure that failed -break-insert - don't cause future evaluations of function to report - creation of internal breakpoints. + * gdb.mi/mi-break.exp: Make sure that failed -break-insert + don't cause future evaluations of function to report + creation of internal breakpoints. 2008-02-01 Vladimir Prus @@ -1376,8 +1384,8 @@ 2008-01-29 Vladimir Prus * gdb.base/watchpoint-solib.exp: New. - * gdb.base/watchpoint-solib.c: New. - * gdb.base/watchpoint-solib-shr.c: New. + * gdb.base/watchpoint-solib.c: New. + * gdb.base/watchpoint-solib-shr.c: New. 2008-01-29 Pierre Muller @@ -1399,7 +1407,7 @@ 2008-01-24 Nick Roberts - * gdb.mi/mi2-var-display.exp: Add value field to tests for output of + * gdb.mi/mi2-var-display.exp: Add value field to tests for output of -var-set-format. 2008-01-23 Chris Demetriou @@ -1410,8 +1418,8 @@ 2008-01-23 Nick Roberts * lib/gdb.exp: Add the variable octal. - - * gdb.mi/mi-var-display.exp: Add value field to tests for output of + + * gdb.mi/mi-var-display.exp: Add value field to tests for output of -var-set-format. 2008-01-22 Daniel Jacobowitz @@ -1423,10 +1431,10 @@ 2008-01-22 Vladimir Prus * gdb.mi/basics.c: Setup for testing breakpoints - ignore count. - * gdb.mi/mi-break.exp: Test for breakpoint ignore count. - * gdb.mi/mi-cli.exp: Adjust. - * gdb.mi/mi2-cli.exp: Adjust. + ignore count. + * gdb.mi/mi-break.exp: Test for breakpoint ignore count. + * gdb.mi/mi-cli.exp: Adjust. + * gdb.mi/mi2-cli.exp: Adjust. 2008-01-17 Pedro Alves @@ -1552,11 +1560,11 @@ 2008-01-02 Joel Brobecker * array_subscript_addr/p.adb: New file. - * array_subscript_addr.exp: New testcase. + * array_subscript_addr.exp: New testcase. 2008-01-02 Joel Brobecker - * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb: + * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb: New files. * gdb.ada/str_cmp_ref.exp: New testcase. @@ -1564,7 +1572,7 @@ * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb, gdb.ada/fun_in_declare/foo.adb: New files. - * gdb.ada/fun_in_declare.exp: New testcase. + * gdb.ada/fun_in_declare.exp: New testcase. 2008-01-01 Joel Brobecker @@ -1637,7 +1645,7 @@ 2007-12-19 Pierre Muller * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function - and record first explicitly generated thread number. + and record first explicitly generated thread number. Use that thread number for thread specific watchpoint test. Add iteration number to repetitive tests. @@ -1667,12 +1675,12 @@ * gdb.base/frame-args.exp: New testcase. 2007-12-16 Daniel Jacobowitz - Joseph Myers + Joseph Myers * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New. 2007-12-14 Vladimir Prus - + * gdb.mi/mi-pending.exp: New. * gdb.mi/mi-pending.c: New. * gdb.mi/mi-pendshr.c: New. @@ -1724,12 +1732,12 @@ * gdb.base/ending-run.exp: Expect the list of cleared breakpoint to come in natural order, not the reversed one. - + 2007-11-07 Vladimir Prus * gdb.mi/mi-var-child.c (do_child_deletion): New. * gdb.mi/mi-var-child.exp: Run child_deletion tests. - + 2007-11-05 Luis Machado * gdb.base/printcmds.exp: New function @@ -1784,13 +1792,13 @@ * Makefile.in: Create new directory "gdb.opt". * configure.ac: Add "gdb.opt" directory. * configure: Regenerated. - + 2007-10-25 Doug Evans * gdb.cp/mb-ctor.exp: Check skip_cplus_tests. * gdb.cp/mb-templates.exp: Check skip_cplus_tests. -2007-10-15 Wu Zhou +2007-10-15 Wu Zhou Thiago Jung Bauermann * gdb.base/dfp-exprs.exp: new file adding tests for Decimal @@ -1874,7 +1882,7 @@ disable it. 2007-10-08 Pierre Muller - Daniel Jacobowitz + Daniel Jacobowitz * Makefile.in (ALL_SUBDIRS): Add gdb.pascal. * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile. @@ -1911,7 +1919,7 @@ * gdb.mi/var-cmd.c (do_children_tests): Initialize the 'struct_declarations' variable to zeros. - + 2007-09-24 Vladimir Prus * gdb.cp/mb-ctor.cc: New. @@ -1930,7 +1938,7 @@ * configure: Regenerate. 2007-09-23 Vladimir Prus - + * gdb.base/annota1.exp: Adjust for 'info break' format changes. * gdb.base/annota3.exp: Likewise. @@ -1940,14 +1948,14 @@ * gdb.base/sepdebug.exp: Likewise. * gdb.base/unload.exp: Likewise. * gdb.base/ovldbreak.exp: Likewise. - + 2007-09-22 Vladimir Prus * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved" messages. * gdb.base/chng-syms.exp: Likewise. * gdb.base/unload.exp: Likewise. - + 2007-09-21 Daniel Jacobowitz * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix. @@ -2169,7 +2177,7 @@ * gdb.base/chng-syms.exp: Handle glibc's __GI_exit. 2007-06-21 Chris Dearman - Maciej W. Rozycki + Maciej W. Rozycki * gdb.base/display.exp: Allow a newline after display/i. * gdb.base/pc-fp.exp: Likewise. @@ -2262,7 +2270,7 @@ 2007-05-11 Ulrich Weigand * gdb.base/overlays.exp: Add support for targets with only code - overlay support, not data overlay. Support spu-*-* target in + overlay support, not data overlay. Support spu-*-* target in this mode. * gdb.base/ovlymgr.c: Provide stubs for spu target. * gdb.base/spu.ld: New file. @@ -2296,7 +2304,7 @@ * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise. 2007-04-25 Vladimir Prus - + * gdb.base/sigaltstack.exp: Use 'srcfile' in error message, not the undefined 'module' variable. * gdb.base/siginfo.exp: Likewise. @@ -2328,7 +2336,7 @@ * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous tests. Run the frozen varobjs test. * gdb.mi/var-cmd.c (do_frozen_tests): New. - * lib/mi-support.exp (mi_varobj_update): Fix thinko. + * lib/mi-support.exp (mi_varobj_update): Fix thinko. 2007-04-11 Jan Kratochvil @@ -2336,8 +2344,8 @@ gdb.base/type-opaque.exp: New files. 2007-04-01 Vladimir Prus - - * gdb.mi/mi-var-child.c + + * gdb.mi/mi-var-child.c (do_children_tests): User char[2] instead of char so that automatic printing of pointers to char don't give unpredicable result. @@ -2347,12 +2355,12 @@ of do_children_tests. * gdb.mi/mi2-var-child.exp: Likewise. * gdb.mi/mi-var-cmd.exp: Step to right line of - do_locals_tests. + do_locals_tests. (do_children_tests): User char[2] instead of char so that automatic printing of pointers to char - don't give unpredicable result. + don't give unpredicable result. * gdb.mi/mi2-var-cmd.exp: Likewise. - * lib/mi-support.exp (mi_continue_to_line): + * lib/mi-support.exp (mi_continue_to_line): Pass test name to mi_wait_for_stop. 2007-03-30 Daniel Jacobowitz @@ -2419,7 +2427,7 @@ gdb.base/start.exp: Use gdb_start_cmd. 2007-03-23 Nigel Stephens - Maciej W. Rozycki + Maciej W. Rozycki * gdb.base/sigbpt.exp: Fix the message when skipping test. * gdb.base/signull.exp: Similarly. @@ -2488,7 +2496,7 @@ 2007-03-02 Michael Snyder - * gdb.threads/manythreads.exp: Use $message string for + * gdb.threads/manythreads.exp: Use $message string for consistancy; add a default (timeout) case. 2007-03-02 Michael Snyder @@ -2507,8 +2515,8 @@ 2007-02-27 Joel Brobecker - * gdb.dwarf2/dw2-producer.S: New file. - * gdb.dwarf2/dw2-producer.exp: New testcase. + * gdb.dwarf2/dw2-producer.S: New file. + * gdb.dwarf2/dw2-producer.exp: New testcase. 2007-02-27 Nick Roberts @@ -2573,7 +2581,7 @@ * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp * gdb.mi/gdb792.exp, lib/mi-support.exp: Update tests to include value field in output of -var-create. - + 2007-02-08 Andreas Schwab * gdb.mi/mi-var-child.exp: Fix matching display of function value. @@ -2648,7 +2656,7 @@ (main): Call the above. (reference_update_test, base_in_reference_test) (reference_to_pointer): Delete the created varobjs. - + 2007-01-23 Daniel Jacobowitz * Makefile.in (ALL_SUBDIRS): Add gdb.xml. @@ -2736,8 +2744,8 @@ 2007-01-05 Joel Brobecker - * gdb.base/nofield.c: New file. - * gdb.base/nofield.exp: New testcase. + * gdb.base/nofield.c: New file. + * gdb.base/nofield.exp: New testcase. 2007-01-05 Nick Roberts @@ -2794,7 +2802,7 @@ Use mi_runto_helper. * gdb.mi/mi-var-cmd.exp: Adjust to changes. * gdb.mi/mi2-var-cmd.exp: Likewise. - + 2006-01-04 Joel Brobecker Make this testcase a bit more realistic. The current code @@ -2918,7 +2926,7 @@ (mi_Check_varobj_value): New function. * gdb.mi/mi-var-cp.exp: New file. * gdb.mi/mi-var-cp.cc: New file. - + 2006-12-01 Daniel Jacobowitz * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c, @@ -2951,7 +2959,7 @@ Daniel Jacobowitz * gdb.base/ending-run.exp: Flatten expect script stepping out of - main to remove duplication. Add start function of the form + main to remove duplication. Add start function of the form '_*start[1-9]*'. Add RVDS start function. 2006-11-22 Daniel Jacobowitz @@ -2986,7 +2994,7 @@ * gdb.base/main.exp: Adjust. * gdb.cp/maint.exp: Adjust. * gdb.trace/tracecmd.exp: Use test_help_class. - + 2006-11-09 Vladimir Prus * gdb.stabs/weird.exp (print_weird_var): Use @@ -3065,9 +3073,9 @@ 2006-10-02 Vladimir Prus * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path - via string_to_regexp. + via string_to_regexp. * gdb.mi/mi2-basics.exp: Likewise. - + 2006-09-20 Michael Snyder * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp: @@ -3081,7 +3089,7 @@ * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that HIGH_FRAME argument to -stack-list-arguments can be larger than - the number of frames. + the number of frames. 2006-09-15 Daniel Jacobowitz @@ -3101,7 +3109,7 @@ * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that HIGH_FRAME argument to -stack-list-locals can be larger than the number of frames. - + 2006-08-18 Fred Fish * lib/gdb.exp (skip_altivec_tests): Fix apparent typo, @@ -3520,8 +3528,8 @@ 2006-05-19 Joel Brobecker - * gdb.base/del.exp (test_delete_alias): New function. - Now check that both "del" and "d" work as aliases for "delete". + * gdb.base/del.exp (test_delete_alias): New function. + Now check that both "del" and "d" work as aliases for "delete". 2006-05-18 Fred Fish @@ -3546,7 +3554,7 @@ 2006-05-06 Ulrich Weigand - * gdb.mi/mi-basics.exp: Add missing serial number to + * gdb.mi/mi-basics.exp: Add missing serial number to expected output in some mi_gdb_test statements. * gdb.mi/mi2-basics.exp: Likewise. @@ -3566,7 +3574,7 @@ (*-data-list-register-*): Correct regular expressions to expect the new pseudo d? floating point registers. * gdb.mi/mi2-regs.exp: Likewise. - + 2006-05-05 Christophe Lyon * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member. @@ -3744,7 +3752,7 @@ * gdb.base/pc-fp.exp (get_valueofx): Don't print environment specifix hex value as part of results. * gdb.base/shreloc.exp (get_msym_addrs): Ditto. - + 2006-02-16 Fred Fish * gdb.base/whatis.c: Define variables using typedefs char_addr, @@ -3752,7 +3760,7 @@ away. * gdb.base/whatis.exp: Add tests using type name for struct type, union type, enum type, and typedef. - + 2006-02-13 Mark Kettenis * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080. @@ -3895,8 +3903,8 @@ 2005-11-03 Jim Blandy - Checked in by Elena Zannoni - + Checked in by Elena Zannoni + * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests. 2005-11-02 Corinna Vinschen @@ -3913,8 +3921,8 @@ 2005-10-17 Paul Gilliam - * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg - vscr" tests to better match output. + * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg + vscr" tests to better match output. 2005-10-12 Jim Blandy @@ -3937,8 +3945,8 @@ 2005-10-03 Joel Brobecker - * gdb.base/arrayidx.c: New file. - * gdb.base/arrayidx.exp: New testcase. + * gdb.base/arrayidx.c: New file. + * gdb.base/arrayidx.exp: New testcase. 2005-09-29 Nick Roberts @@ -3948,7 +3956,7 @@ 2005-09-27 Bob Rossi - * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .* + * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .* from test. Escape the | in mi_gdb_test call. * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp, gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp, @@ -3991,18 +3999,18 @@ 2005-09-13 Paul Gilliam - * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg - vscr" tests to match output. + * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg + vscr" tests to match output. 2005-09-13 Paul Gilliam - * gdb.arch/altivec-regs.exp: Adjust "print $vx" tests to match - output. + * gdb.arch/altivec-regs.exp: Adjust "print $vx" tests to match + output. 2005-09-11 Bob Rossi * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored. - * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for + * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for commands that return an MI output command and an asyncronous MI output command. * gdb.mi/mi-console.exp: Ditto. @@ -4035,7 +4043,7 @@ (mi_gdb_test): Add IPATTERN parameter. 2005-08-02 Bob Rossi - + * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE parameter to mi_gdb_test. * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary. @@ -4063,7 +4071,7 @@ * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use them for tests for "-var-update --no-values" and - "-var-update --all-values". + "-var-update --all-values". Add test for "-var-list-children --simple-values". * gdb.mi/basics.c (callee4): Add integer array D[3]... @@ -4082,7 +4090,7 @@ sigaltsatck'. 2005-07-14 Bob Rossi - + * gdb.base/default.exp (tty): Changed output of command. * gdb.base/help.exp (help tty): Ditto. @@ -4121,7 +4129,7 @@ -stack-select-frame without arguments. (test_stack_frame_listing): Add test for newly implemented command -stack-info-frame. - + 2005-06-17 Wu Zhou * gdb.fortran/array-element.f: New file. @@ -4193,10 +4201,10 @@ 2004-05-02 Paul Gilliam - * lib/gdb.exp (skip_altivec_tests): New function, based on - check_vmx_hw_available from the GCC testsuite. - * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests. - * lib/gdb.arch/altivec-regs.exp: Likewise. + * lib/gdb.exp (skip_altivec_tests): New function, based on + check_vmx_hw_available from the GCC testsuite. + * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests. + * lib/gdb.arch/altivec-regs.exp: Likewise. 2005-05-02 Jim Blandy @@ -4215,7 +4223,7 @@ 2005-04-29 Paul Gilliam * gdb.base/so-impl-ld.exp: Use new shared library - infrastructure. + infrastructure. 2005-04-29 Corinna Vinschen @@ -4229,18 +4237,18 @@ 2005-04-28 Paul Gilliam - * gdb.base/pending.exp: Change to use new shared library - infrastructure. + * gdb.base/pending.exp: Change to use new shared library + infrastructure. 2005-04-28 Paul Gilliam - * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler, - use test_compiler_info instead of gcc_compiled, and update copyright. + * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler, + use test_compiler_info instead of gcc_compiled, and update copyright. 2005-04-27 Paul Gilliam - * gdb.base/annota1.exp : Deal with messages caused by breakpoints in - shared objects being adjusted and update copyright years. + * gdb.base/annota1.exp : Deal with messages caused by breakpoints in + shared objects being adjusted and update copyright years. 2005-04-27 Daniel Jacobowitz @@ -4259,7 +4267,7 @@ 2005-04-12 Paul Gilliam - * lib/gdb.exp (test_compiler_info): Give argument a default value. + * lib/gdb.exp (test_compiler_info): Give argument a default value. 2005-04-08 Daniel Jacobowitz @@ -4288,8 +4296,8 @@ 2005-04-06 Paul Gilliam - * lib/gdb.exp (test_compiler_info): Return compiler_info - if no arguments are given. + * lib/gdb.exp (test_compiler_info): Return compiler_info + if no arguments are given. 2005-04-01 Paul Gilliam @@ -4354,7 +4362,7 @@ * gdb.asm/iq2000.inc: New file. 2005-03-07 Manoj Iyer - + * gdb.base/command.exp: Change hardcoded value to regular expression. * gdb.base/float.exp: Add powerpc to the list of targets checked. @@ -4373,8 +4381,8 @@ 2004-03-03 Paul Gilliam - * lib/compiler.c: Add test for IBM's xlc compiler. - * lib/compiler.cc: Likewise. + * lib/compiler.c: Add test for IBM's xlc compiler. + * lib/compiler.cc: Likewise. 2004-02-24 Joel Brobecker @@ -4466,7 +4474,7 @@ * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL of powerpc*-*-*. * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto. - * gdb.base/list.exp (test_list_function) + * gdb.base/list.exp (test_list_function) (test_list_filename_and_function): Ditto. * gdb.base/callfuncs.exp (do_function_calls): Ditto. @@ -4615,7 +4623,7 @@ 2004-10-11 Orjan Friberg - * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead + * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead of "run", since the latter doesn't work with remote targets. Adjust the breakpoint numbering accordingly. * gdb.threads/pthread_cond_wait.exp: Ditto. @@ -4690,9 +4698,9 @@ 2004-09-10 Jason Molenda (jmolenda@apple.com) - * gdb.base/define.exp: Two new tests to verify zero space chars - after 'if' and 'while' commands in a user-defined command is correctly - parsed. + * gdb.base/define.exp: Two new tests to verify zero space chars + after 'if' and 'while' commands in a user-defined command is correctly + parsed. 2004-09-08 Andrew Cagney @@ -5257,7 +5265,7 @@ 2004-07-08 Jeff Johnston * gdb.java/jmain.exp: Fix expected line number for main to - break at. Set XFAIL for break at main test since gcj does not + break at. Set XFAIL for break at main test since gcj does not provide line number info for first statement in main. 2004-07-08 Andrew Cagney @@ -5362,7 +5370,7 @@ 2004-06-20 Jim Blandy - Fix PR testsuite/1680. + Fix PR testsuite/1680. * gdb.arch/i386-sse.exp: Properly quote curly braces in regular expressions. @@ -5475,7 +5483,7 @@ * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for gdb/1455, bug is specific to "long long" and "double". - + * gdb.base/structs.exp (test_struct_returns, test_struct_returns) (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*, x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447 @@ -5549,7 +5557,7 @@ * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf. 2004-05-21 Joel Brobecker - Daniel Jacobowitz + Daniel Jacobowitz * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the GDB prompt. @@ -5560,7 +5568,7 @@ setjmp/longjmp. Use sigaction instead of signal. 2004-05-19 J. Brobecker - Michael Snyder + Michael Snyder * gdb.threads/pthread_cond_wait.c: New file. * gdb.threads/pthread_cond_wait.exp: New testcase. @@ -5648,7 +5656,7 @@ * gdb.base/sigstep.exp: Ditto. 2004-04-22 Jeff Johnston - Daniel Jacobowitz + Daniel Jacobowitz * gdb.threads/manythreads.c: New testcase. * gdb.threads/manythreads.exp: Ditto. @@ -6009,8 +6017,8 @@ 2004-02-07 Elena Zannoni - * gdb.base/maint.exp: Update test to reflect - obstack changes. + * gdb.base/maint.exp: Update test to reflect + obstack changes. 2004-02-04 Jeff Johnston @@ -6263,12 +6271,12 @@ 2004-01-13 Elena Zannoni - * gdb.threads/gcore-thread.exp: Prefix name of binary with - test specific name. - * gdb.mi/gdb669.exp: Ditto. - * gdb.mi/mi-pthreads.exp: Ditto. - * gdb.mi/mi1-pthreads.exp: Ditto. - * gdb.mi/mi2-pthreads.exp: Ditto. + * gdb.threads/gcore-thread.exp: Prefix name of binary with + test specific name. + * gdb.mi/gdb669.exp: Ditto. + * gdb.mi/mi-pthreads.exp: Ditto. + * gdb.mi/mi1-pthreads.exp: Ditto. + * gdb.mi/mi2-pthreads.exp: Ditto. 2004-01-12 Michael Chastain @@ -6285,7 +6293,7 @@ 2004-01-12 Elena Zannoni * gdb.mi/mi2-basics.exp: Make sure that full pathnames are - escaped correctly. + escaped correctly. 2004-01-12 Elena Zannoni @@ -6824,7 +6832,7 @@ 2003-11-07 Elena Zannoni * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint' - as well as 'Watchpoint'. + as well as 'Watchpoint'. 2003-11-06 Elena Zannoni @@ -6834,8 +6842,8 @@ 2003-11-06 Elena Zannoni - * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint' - as well as 'Watchpoint'. + * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint' + as well as 'Watchpoint'. 2003-11-05 Michael Chastain @@ -6928,7 +6936,7 @@ 2003-09-23 Elena Zannoni * gdb.base/selftest.exp: Accomodate more instruction reordering - weirdness. + weirdness. 2003-09-17 Michael Chastain @@ -6948,7 +6956,7 @@ 2003-09-11 Elena Zannoni - * gdb.base/relocate.exp: Handle new gdb output at startup. + * gdb.base/relocate.exp: Handle new gdb output at startup. * gdb.stabs/weird.exp: Ditto. 2003-09-08 Michael Chastain @@ -7028,18 +7036,18 @@ 2003-08-07 Elena Zannoni - * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp, - gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp, - gdb.trace/save-trace.exp: Make sure that full pathnames are - escaped correctly. + * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp, + gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp, + gdb.trace/save-trace.exp: Make sure that full pathnames are + escaped correctly. 2003-08-07 Elena Zannoni - * configure.in: Don't generate config.h from config.hin. - * configure: Regenerate. - * config.hin: Remove file. - * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs. - * gdb.threads/pthreads.c: Ditto. + * configure.in: Don't generate config.h from config.hin. + * configure: Regenerate. + * config.hin: Remove file. + * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs. + * gdb.threads/pthreads.c: Ditto. 2003-08-07 Daniel Jacobowitz @@ -7127,11 +7135,11 @@ 2003-07-22 Elena Zannoni - * gdb.threads/tls.c : New file. - * gdb.threads/tls.exp : New file. - * gdb.threads/tls-main.c : New file. - * gdb.threads/tls-shared.c : New file. - * gdb.threads/tls-shared.exp : New file. + * gdb.threads/tls.c : New file. + * gdb.threads/tls.exp : New file. + * gdb.threads/tls-main.c : New file. + * gdb.threads/tls-shared.c : New file. + * gdb.threads/tls-shared.exp : New file. 2003-07-22 Andreas Schwab @@ -7158,11 +7166,11 @@ 2003-07-09 Elena Zannoni - * gdb.threads/tls.c: New file. - * gdb.threads/tls.exp: New file. - * gdb.threads/tls-main.c: New file. - * gdb.threads/tls-shared.c: New file. - * gdb.threads/tls-shared.exp: New file. + * gdb.threads/tls.c: New file. + * gdb.threads/tls.exp: New file. + * gdb.threads/tls-main.c: New file. + * gdb.threads/tls-shared.c: New file. + * gdb.threads/tls-shared.exp: New file. 2003-07-09 Elena Zannoni @@ -7294,7 +7302,7 @@ * gdb.base/shreloc.exp: New file, check symbol values obtained from shared objects after relocation at load time (gdb PR/1132). * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c: - as above, part of the shared object relocation test. + as above, part of the shared object relocation test. 2003-06-08 Mark Kettenis @@ -7449,7 +7457,7 @@ 2003-04-16 Elena Zannoni * gdb.base/completion.exp: Make 'info func mark' complete on 'info - func marke' instead. Update test name. + func marke' instead. Update test name. 2003-04-15 David Carlton @@ -7462,8 +7470,8 @@ 2003-04-14 Elena Zannoni - * gdb.base/attach.exp: Add new message from ptrace in case of - attaching to nonexistent process. + * gdb.base/attach.exp: Add new message from ptrace in case of + attaching to nonexistent process. 2003-04-11 Jim Blandy @@ -7476,8 +7484,8 @@ 2003-04-11 Elena Zannoni - * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint - match on sourcefile name, instead of directory name. + * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint + match on sourcefile name, instead of directory name. 2003-04-10 Elena Zannoni @@ -7771,17 +7779,17 @@ 2003-02-02 Andrew Cagney 2002-11-10 Jason Molenda (jason-cl@molenda.com): - * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is - now a list, not a tuple. - * gdb.mi/mi-var-display.exp: Ditto. - * gdb.mi/gdb792.exp: Ditto. + * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is + now a list, not a tuple. + * gdb.mi/mi-var-display.exp: Ditto. + * gdb.mi/gdb792.exp: Ditto. 2003-02-01 Andrew Cagney From 2002-11-09 Jason Molenda (jason-cl@molenda.com): - * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in - stack backtraces. - * gdb.mi/mi-syn-frame.c: Part of same. + * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in + stack backtraces. + * gdb.mi/mi-syn-frame.c: Part of same. 2003-02-01 Mark Kettenis @@ -7859,7 +7867,7 @@ removal of until tests. * gdb.base/help.exp: Update test for new 'until' help message. Add test for help on 'advance'. - * gdb.base/args.exp: Fix foobar with GDBFLAGS global. + * gdb.base/args.exp: Fix foobar with GDBFLAGS global. 2003-01-15 Mark Kettenis @@ -7881,8 +7889,8 @@ 2003-01-14 Elena Zannoni - * gdb.base/args.c: New file. - * gdb.base/args.exp: New file. + * gdb.base/args.c: New file. + * gdb.base/args.exp: New file. 2003-01-14 Daniel Jacobowitz @@ -8246,7 +8254,7 @@ 2002-09-19 Jim Blandy - * gdb.base/charset.exp, gdb.base/charset.c: New files. + * gdb.base/charset.exp, gdb.base/charset.c: New files. 2002-09-19 Andrew Cagney @@ -8382,8 +8390,8 @@ 2002-08-22 Elena Zannoni - * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c, - not altivec.c. + * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c, + not altivec.c. 2002-08-17 Mark Kettenis @@ -8549,8 +8557,8 @@ 2002-05-19 Elena Zannoni - * configure.in (configdirs): Add gdb.arch. - * configure: Regenerate. + * configure.in (configdirs): Add gdb.arch. + * configure: Regenerate. 2002-05-17 Jim Blandy @@ -8559,10 +8567,10 @@ 2002-05-14 Elena Zannoni - * gdb.arch/altivec-abi.c: New file. - * gdb.arch/altivec-abi.exp: New file. - * gdb.arch/altivec-regs.c: New file. - * gdb.arch/altivec-regs.exp: New file. + * gdb.arch/altivec-abi.c: New file. + * gdb.arch/altivec-abi.exp: New file. + * gdb.arch/altivec-regs.c: New file. + * gdb.arch/altivec-regs.exp: New file. 2002-05-14 Daniel Jacobowitz @@ -8734,7 +8742,7 @@ From David S. Miller 2002-04-12 Michael Snyder From Jim Blandy - * gdb.base/foo.c (foox): Remove section attribute; the linker + * gdb.base/foo.c (foox): Remove section attribute; the linker script can handle this instead. * gdb.base/bar.c (barx): Same. * gdb.base/baz.c (bazx): Same. @@ -8774,7 +8782,7 @@ From Jim Blandy 2002-04-07 Elena Zannoni - Work around for PR gdb/285: + Work around for PR gdb/285: * gdb.asm/asm-source.exp: Bail out if multilibs are detected. 2002-04-07 Elena Zannoni @@ -9004,9 +9012,9 @@ From Jim Blandy 2002-01-30 Daniel Jacobowitz - * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'. - (check_philosopher_stack): Check for manager thread before checking - for a just-starting thread. + * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'. + (check_philosopher_stack): Check for manager thread before checking + for a just-starting thread. 2002-01-30 Daniel Jacobowitz @@ -9026,8 +9034,8 @@ From Jim Blandy 2002-01-21 Fred Fish - * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to - optionally accept the "shlib events" variation. + * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to + optionally accept the "shlib events" variation. 2002-01-21 Jim Blandy @@ -9249,12 +9257,12 @@ Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com) Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com) - * gdb.base/break.exp: Fix HP specific search string when testing - backtracing in a called function. + * gdb.base/break.exp: Fix HP specific search string when testing + backtracing in a called function. - * gdb.base/constvars.exp: Only set lang to C++ if we're - compiling the test with HP's compilers. - * gdb.base/volatile.exp: Similarly. + * gdb.base/constvars.exp: Only set lang to C++ if we're + compiling the test with HP's compilers. + * gdb.base/volatile.exp: Similarly. 2001-12-19 Jim Blandy @@ -9272,16 +9280,16 @@ Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com) * gdb.base/completion.exp: On some systems, there is, in fact, a variable named `b' in scope, since GDB treats all static - variables as being in scope. So use `no_var_named_this' - instead of `b'. + variables as being in scope. So use `no_var_named_this' + instead of `b'. * gdb.base/corefile.exp: Recognize the message saying that GDB can't find the core file's registers as a failure. 2001-12-13 Jackie Smith Cashion - * gdb.base/commands.exp (user_defined_command_test): Make "show user" - test expect string more specific. + * gdb.base/commands.exp (user_defined_command_test): Make "show user" + test expect string more specific. 2001-12-13 Corinna Vinschen @@ -9353,7 +9361,7 @@ Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com) * gdb.asm/s390.inc: New file. * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for the S/390 architecture. - * gdb.asm/configure: Regenerated. + * gdb.asm/configure: Regenerated. 2001-11-30 Michael Snyder @@ -9910,31 +9918,31 @@ Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com) 2001-05-10 Elena Zannoni - * gdb.base/completion.exp: Revamp test. Make it execute on all - platforms. + * gdb.base/completion.exp: Revamp test. Make it execute on all + platforms. 2001-05-10 Elena Zannoni - * config/gdbserver.exp (gdb_load): Handle the case - in which the arguments to gdbserver are given in the - baseboard configuration file. - Also handle the case in which the server needs to do a - load. + * config/gdbserver.exp (gdb_load): Handle the case + in which the arguments to gdbserver are given in the + baseboard configuration file. + Also handle the case in which the server needs to do a + load. 2001-05-07 Keith Seitz - * lib/gdb.exp (gdbtk_initialize_display): New proc which will - set up the display for testing. - (gdbtk_start): Convert all paths to paths that tcl will like. - Export target information to environment. - (_gdbtk_xvfb_init): New proc to start Xvfb if available and - necessary. - (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary. - (to_tcl_path): New proc to convert a given pathname into - a path acceptible as an argument to a tcl command. - (_gdbtk_export_target_info): New proc to export target info - into the environment for gdbtk testing. - (gdbtk_done): New proc to signal end-of-test. + * lib/gdb.exp (gdbtk_initialize_display): New proc which will + set up the display for testing. + (gdbtk_start): Convert all paths to paths that tcl will like. + Export target information to environment. + (_gdbtk_xvfb_init): New proc to start Xvfb if available and + necessary. + (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary. + (to_tcl_path): New proc to convert a given pathname into + a path acceptible as an argument to a tcl command. + (_gdbtk_export_target_info): New proc to export target info + into the environment for gdbtk testing. + (gdbtk_done): New proc to signal end-of-test. 2001-05-06 Jim Blandy @@ -10117,8 +10125,8 @@ Thu Mar 8 16:06:00 2001 David Taylor 2001-02-19 Fernando Nasser From Drew Moseley - * gdb.base/ending-run.exp: Properly handle the BSP state when - stepping past the end of main. + * gdb.base/ending-run.exp: Properly handle the BSP state when + stepping past the end of main. 2001-02-19 John Moore @@ -10388,8 +10396,8 @@ Fri Jan 12 18:29:01 2001 Andrew Cagney * gdb.base/sizeof.c: include . * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to - 'finish', otherwise uncaptured gdb_prompt would potentially - throw remaining test points out of sync. + 'finish', otherwise uncaptured gdb_prompt would potentially + throw remaining test points out of sync. 2000-07-26 Scott Bambrough @@ -10602,7 +10610,7 @@ Mon Mar 27 14:46:37 2000 Andrew Cagney 2000-03-23 Fernando Nasser From David Whedon - * gdb.base/commands.exp : Added command deprecator tests. + * gdb.base/commands.exp : Added command deprecator tests. 2000-03-22 Daniel Berlin @@ -11207,7 +11215,7 @@ Tue Aug 10 15:25:16 1999 Andrew Cagney * gdb.base/annota1.exp: Clean up some more, in case printf has debug info. Deal with lack of signal hanlder info in stack. - From Jim Kingdon : + From Jim Kingdon : * gdb.base/annota1.exp: If printf has debug info, deal with it. 1999-07-19 Stan Shebs @@ -11241,10 +11249,10 @@ Tue Jul 13 23:37:18 1999 Andrew Cagney Wed Jul 7 00:27:35 1999 Andrew Cagney - * gdb.base/setvar.exp: Increase the time-out on tests indirectly + * gdb.base/setvar.exp: Increase the time-out on tests indirectly calling malloc. - * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto. - * ptype.exp: Move test for get_debug_format to before its first + * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto. + * ptype.exp: Move test for get_debug_format to before its first use. 1999-07-06 Elena Zannoni @@ -11349,7 +11357,7 @@ Fri Jun 25 19:27:28 1999 Andrew Cagney 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com) - * Makefile.in: Add empty html and install-html targets. + * Makefile.in: Add empty html and install-html targets. 1999-06-24 Stan Shebs @@ -11414,8 +11422,8 @@ Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com) Wed Jun 2 17:37:05 1999 Andrew Cagney * gdb.base/condbreak.exp: Use rerun_to_main to start the program. - * gdb.base/ending-run.exp: When stepping out of main, accept a - step into an arbitrary assembler file. + * gdb.base/ending-run.exp: When stepping out of main, accept a + step into an arbitrary assembler file. 1999-05-20 Elena Zannoni @@ -11700,8 +11708,8 @@ Fri Feb 5 12:42:56 1999 Stan Shebs * gdb.base/long_long.c (known_types): Initialize values to zero. * gdb.base/long_long.exp: Step one more line so 'dec' is initialized in "get to known place". GDB removes - leading zeros. Explicitly ask for hex formatting. Use - unique test case names. + leading zeros. Explicitly ask for hex formatting. Use + unique test case names. Tue Feb 2 10:16:08 1999 Elena Zannoni @@ -12056,10 +12064,10 @@ Mon Dec 21 14:08:38 1998 David Taylor * gdb.c++/demangle.exp: changed the expected output for some ARM-style mangling -- removed second reference to datatype. For example, maint demangle __dt__11T1__pt__2_cFv - T1::~T1(void) + T1::~T1(void) becomes, - maint demangle __dt__11T1__pt__2_cFv - T1::~T1(void) + maint demangle __dt__11T1__pt__2_cFv + T1::~T1(void) (test_hp_style_demangling): new hp specific demangling test cases. @@ -12304,18 +12312,18 @@ Mon Apr 13 22:32:51 1998 Frank Ch. Eigler Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * gdb.base/help.exp: Clean up `help set args' and `help show args' - tests. - * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling - function when asleep. - * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment - for i*86 Linux and SVR4 signal handling problems. - Remove linux xfail for `next to handler in signals_tests_1', fixed - by recent infrun.c change. - Limit backtrace to 10 frames to avoid timeout problems with infinite - stack backtraces. - Adjust expect pattern in `handle all print' test to match Apr 28 1997 - target.[ch] change. + * gdb.base/help.exp: Clean up `help set args' and `help show args' + tests. + * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling + function when asleep. + * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment + for i*86 Linux and SVR4 signal handling problems. + Remove linux xfail for `next to handler in signals_tests_1', fixed + by recent infrun.c change. + Limit backtrace to 10 frames to avoid timeout problems with infinite + stack backtraces. + Adjust expect pattern in `handle all print' test to match Apr 28 1997 + target.[ch] change. Tue Mar 31 00:40:32 1998 Bob Manson @@ -12351,9 +12359,9 @@ Mon Feb 23 08:22:44 1998 Mark Alexander Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com) - * gdb.base/overlays (several files): Merge the two overlay - managers into one. Change variables (foox, barx, bazx, grbxx) - back into ints but force them to load in their proper sections. + * gdb.base/overlays (several files): Merge the two overlay + managers into one. Change variables (foox, barx, bazx, grbxx) + back into ints but force them to load in their proper sections. Thu Feb 12 13:49:30 1998 Andrew Cagney @@ -12390,8 +12398,8 @@ Fri Feb 6 14:13:12 1998 Andrew Cagney Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com) - * gdb.base/overlays.exp: fix up and get working again. - Add tests for backtraces from an overlay function. + * gdb.base/overlays.exp: fix up and get working again. + Add tests for backtraces from an overlay function. Fri Jan 23 07:52:45 1998 Fred Fish @@ -13265,7 +13273,7 @@ Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) Tue Nov 5 10:44:23 1996 Michael Snyder * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp - list.exp scope.exp watchpoint.exp] + list.exp scope.exp watchpoint.exp] Make all timeout error msgs explicitly say "(timeout)". Mon Nov 4 12:03:06 1996 Michael Snyder @@ -15867,9 +15875,9 @@ Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com) Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com) * Makefile.in, configure.in, config/mips-gdb.exp, - config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy, - config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp, - config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,, + config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy, + config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp, + config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,, gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in, gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c, gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in, @@ -15893,7 +15901,7 @@ Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com), Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com) * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp, - lib/gdb.exp: Replace error proc calls with perror. + lib/gdb.exp: Replace error proc calls with perror. Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com) @@ -15904,7 +15912,7 @@ Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com) Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com) * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links. - (CFLAGS): Delete it from here. + (CFLAGS): Delete it from here. Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com) @@ -15952,9 +15960,9 @@ Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu) * From Peter Schauer with minor modifications. - * gdb.t15/return.exp (return_tests): Handle targets where "return" - stops in mid-line in the caller. Add xfail for returning a float - value on X86 targets. + * gdb.t15/return.exp (return_tests): Handle targets where "return" + stops in mid-line in the caller. Add xfail for returning a float + value on X86 targets. Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu) @@ -16497,13 +16505,13 @@ Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing + * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing a long or float array cast all array members to the same type. - * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long + * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long with 64 bit longs. - * gdb.t07/watchpoint.exp: Add finish and until variations encountered + * gdb.t07/watchpoint.exp: Add finish and until variations encountered on alpha. - * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha. + * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha. Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com) @@ -16534,8 +16542,8 @@ Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com) Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * gdb.stabs/ecoff.mt: Remove STABSCC hack. - * gdb.stabs/weird.exp: Handle the case where weird.o is compiled + * gdb.stabs/ecoff.mt: Remove STABSCC hack. + * gdb.stabs/weird.exp: Handle the case where weird.o is compiled by mips cc and contains no stabs entries. Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com) @@ -17318,7 +17326,7 @@ Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com) Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com) - * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path. + * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path. Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com) @@ -17564,9 +17572,9 @@ Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com) Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com) - * gdb/testsuite: made modifications to testcases, etc., to allow - them to work properly given the reorganization of deja-gnu and the - relocation of the testcases from deja-gnu to a "tool" subdirectory. + * gdb/testsuite: made modifications to testcases, etc., to allow + them to work properly given the reorganization of deja-gnu and the + relocation of the testcases from deja-gnu to a "tool" subdirectory. Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com) diff --git a/gdb/testsuite/gdb.base/foll-fork.exp b/gdb/testsuite/gdb.base/foll-fork.exp index 79a9a01..fc72e41 100644 --- a/gdb/testsuite/gdb.base/foll-fork.exp +++ b/gdb/testsuite/gdb.base/foll-fork.exp @@ -167,7 +167,7 @@ proc catch_fork_child_follow {} { send_gdb "continue\n" gdb_expect { - -re "Catchpoint.*(forked process.*),.*in .*(fork|__kernel_vsyscall).*$gdb_prompt $"\ + -re "Catchpoint.*(forked process.*),.*in .*(fork|__kernel_v?syscall).*$gdb_prompt $"\ {pass "explicit child follow, catch fork"} -re "$gdb_prompt $" {fail "explicit child follow, catch fork"} timeout {fail "(timeout) explicit child follow, catch fork"} @@ -239,7 +239,7 @@ proc tcatch_fork_parent_follow {} { send_gdb "continue\n" gdb_expect { - -re ".*in .*(fork|__kernel_vsyscall).*$gdb_prompt $"\ + -re ".*in .*(fork|__kernel_v?syscall).*$gdb_prompt $"\ {pass "explicit parent follow, tcatch fork"} -re "$gdb_prompt $" {fail "explicit parent follow, tcatch fork"} timeout {fail "(timeout) explicit parent follow, tcatch fork"} diff --git a/gdb/testsuite/gdb.base/foll-vfork.exp b/gdb/testsuite/gdb.base/foll-vfork.exp index 4500999..41a5039 100644 --- a/gdb/testsuite/gdb.base/foll-vfork.exp +++ b/gdb/testsuite/gdb.base/foll-vfork.exp @@ -264,7 +264,7 @@ proc tcatch_vfork_then_parent_follow {} { # HP-UX 10.20 seems to stop you in "vfork", while more recent HP-UXs # stop you in "_vfork". gdb_expect { - -re "0x\[0-9a-fA-F\]*.*vfork.*$gdb_prompt "\ + -re "0x\[0-9a-fA-F\]*.*(vfork|__kernel_v?syscall).*$gdb_prompt "\ {pass "vfork parent follow, tcatch vfork"} -re "vfork \\(\\) at.*$gdb_prompt "\ {pass "vfork parent follow, tcatch vfork"} @@ -275,6 +275,10 @@ proc tcatch_vfork_then_parent_follow {} { gdb_expect { -re "Run till exit from.*vfork.*0x\[0-9a-fA-F\]* in main .* at .*${srcfile}:12.*$gdb_prompt "\ {pass "vfork parent follow, finish after tcatch vfork"} + -re "Run till exit from.*__kernel_v?syscall.*0x\[0-9a-fA-F\]* in vfork .*$gdb_prompt " { + send_gdb "finish\n" + exp_continue + } -re "$gdb_prompt $" {fail "vfork parent follow, finish after tcatch vfork"} timeout {fail "(timeout) vfork parent follow, finish after tcatch vfork" } } @@ -308,9 +312,7 @@ proc tcatch_vfork_then_child_follow {} { gdb_expect { -re "vfork \\(\\) at .*$gdb_prompt $"\ {pass "vfork child follow, tcatch vfork"} - -re "0x\[0-9a-fA-F\]*.*vfork.*$gdb_prompt "\ - {pass "vfork child follow, tcatch vfork"} - -re "0x\[0-9a-fA-F\]*.*_vfork.*$gdb_prompt "\ + -re "0x\[0-9a-fA-F\]*.*(vfork|__kernel_v?syscall).*$gdb_prompt "\ {pass "vfork child follow, tcatch vfork"} -re "$gdb_prompt $" {fail "vfork child follow, tcatch vfork"} timeout {fail "(timeout) vfork child follow, tcatch vfork"} @@ -319,6 +321,10 @@ proc tcatch_vfork_then_child_follow {} { gdb_expect { -re "Run till exit from.*vfork.*${srcfile}:12.*$gdb_prompt "\ {pass "vfork child follow, finish after tcatch vfork"} + -re "Run till exit from.*__kernel_v?syscall.*0x\[0-9a-fA-F\]* in vfork .*$gdb_prompt " { + send_gdb "finish\n" + exp_continue + } -re "Run till exit from.*vfork.*${srcfile2}:9.*$gdb_prompt "\ {pass "vfork child follow, finish after tcatch vfork (followed exec)"} -re "$gdb_prompt $" {fail "vfork child follow, finish after tcatch vfork"} -- 2.7.4