diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2007-09-22 19:33:32 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2007-09-22 19:33:32 +0000 |
commit | fe3f5fa8f97cf34afe70a581e1e58fae0bc80e47 (patch) | |
tree | a80989a2f57c35909315613cb23e4dced9f15758 /gdb/testsuite/gdb.base/pending.exp | |
parent | 018d34a46b565ceaf494bcf8f3a8a9ec488bb69a (diff) | |
download | binutils-fe3f5fa8f97cf34afe70a581e1e58fae0bc80e47.zip binutils-fe3f5fa8f97cf34afe70a581e1e58fae0bc80e47.tar.gz binutils-fe3f5fa8f97cf34afe70a581e1e58fae0bc80e47.tar.bz2 |
* breakpoint.c (do_restore_lang_radix_cleanup): Remove.
(resolve_pending_breakpoint): Remove.
(re_enable_breakpoints_in_shlibs): Remove.
(unlink_locations_from_global_list): New.
(update_breakpoint_locations): New.
(breakpoint_re_set_one): Don't bail out on pending breakpoints.
Use parse_condition and update_breakpoint_location to
reset breakpoint. Ignore 'symbol not found' error from
decode_line_1.
(breakpoint_re_set): Don't emit newline before the
reason why breakpoint is not reset.
(do_enable_breakpoint): Don't specially process pending
breakpoints.
(free_bp_location): New.
(break_command_1): For pending breakpoints, initialize
all fields of a sal with zeroes.
* breakpoint.h (re_enable_breakpoints_in_shlibs): Remove.
* infcmd.c (post_create_inferior): Don't call
re_enable_breakpoints_in_shlibs.
* infrun.c (handle_inferior_event): Likewise.
* solib-irix.c (irix_solib_create_inferior_hook): Likewise.
* solib-osf.c (osf_solib_create_inferior_hook): Likewise.
* win32-nat.c (get_win32_debug_event): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/pending.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/pending.exp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp index 4822b7e..24c6079 100644 --- a/gdb/testsuite/gdb.base/pending.exp +++ b/gdb/testsuite/gdb.base/pending.exp @@ -194,9 +194,7 @@ gdb_test "info break" \ gdb_run_cmd gdb_test "" \ -"Breakpoint.*at.* -Pending breakpoint \"pendshr.c:$bp2_loc if x > 3\" resolved.* -Breakpoint.*, main.*$mainline.*" \ +".*Breakpoint.*, main.*$mainline.*" \ "running to main" # @@ -204,8 +202,7 @@ Breakpoint.*, main.*$mainline.*" \ # gdb_test "enable 1" \ -"Breakpoint.*at.* -Pending breakpoint \"pendfunc1.* resolved.*" \ +"" \ "re-enabling pending breakpoint that can resolve instantly" # |