OSDN Git Service

* breakpoint.c (update_global_location_list): Add boolean
authorPedro Alves <pedro@codesourcery.com>
Tue, 8 Jul 2008 11:09:40 +0000 (11:09 +0000)
committerPedro Alves <pedro@codesourcery.com>
Tue, 8 Jul 2008 11:09:40 +0000 (11:09 +0000)
commitdfcbf0aef15da1d9106ed58f0c1a324364cad3ef
tree2526257763e7879c7d8df5b929ffea05705c13bc
parente58e16208228dc878391a692f1446a5effb2b1db
* breakpoint.c (update_global_location_list): Add boolean
"should_insert" argument.  Only insert locations if caller told it
too.
(update_global_location_list_nothrow): Add boolean "should_insert"
argument.  Pass it to update_global_location_list.
(insert_breakpoints, create_longjmp_breakpoint)
(create_overlay_event_breakpoint, enable_overlay_breakpoints)
(create_thread_event_breakpoint, create_solib_event_breakpoint)
(create_fork_vfork_event_catchpoint, create_exec_event_catchpoint)
(enable_watchpoints_after_interactive_call_stop)
(set_momentary_breakpoint, create_breakpoints)
(break_command_really, watch_command_1)
(create_ada_exception_breakpoint, update_breakpoint_locations)
(do_enable_breakpoint, enable_command): Pass true to
update_global_location_list.
(bpstat_stop_status, disable_overlay_breakpoints)
(disable_watchpoints_before_interactive_call_start)
(delete_breakpoint, disable_breakpoint, disable_command): Pass
false to update_global_location_list.
(update_breakpoints_after_exec): Don't temporarily disable
always-inserted mode.
gdb/ChangeLog
gdb/breakpoint.c