aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-09-22 19:33:32 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-09-22 19:33:32 +0000
commitfe3f5fa8f97cf34afe70a581e1e58fae0bc80e47 (patch)
treea80989a2f57c35909315613cb23e4dced9f15758 /gdb/infrun.c
parent018d34a46b565ceaf494bcf8f3a8a9ec488bb69a (diff)
downloadgdb-fe3f5fa8f97cf34afe70a581e1e58fae0bc80e47.zip
gdb-fe3f5fa8f97cf34afe70a581e1e58fae0bc80e47.tar.gz
gdb-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/infrun.c')
-rw-r--r--gdb/infrun.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 1a85567..f1a96a3 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -1337,10 +1337,6 @@ handle_inferior_event (struct execution_control_state *ecs)
#endif
target_terminal_inferior ();
- /* Try to reenable shared library breakpoints, additional
- code segments in shared libraries might be mapped in now. */
- re_enable_breakpoints_in_shlibs ();
-
/* If requested, stop when the dynamic linker notifies
gdb of events. This allows the user to get control
and place breakpoints in initializer routines for
@@ -2276,10 +2272,6 @@ process_event_stop_test:
#endif
target_terminal_inferior ();
- /* Try to reenable shared library breakpoints, additional
- code segments in shared libraries might be mapped in now. */
- re_enable_breakpoints_in_shlibs ();
-
/* If requested, stop when the dynamic linker notifies
gdb of events. This allows the user to get control
and place breakpoints in initializer routines for