diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-28 09:42:15 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-28 09:42:15 +0000 |
commit | 802b983480609a1e3c6bd01cf505fc1b856fae58 (patch) | |
tree | e663fefed176c49b1fac8a4856a5ae336a8548ee /gdb/infrun.c | |
parent | d4f0ecf6eba15bbd0f130006e3f225e530025dab (diff) | |
download | gdb-802b983480609a1e3c6bd01cf505fc1b856fae58.tar.gz |
* breakpoint.c (moribund_locations): New.
(bpstat_stop_status): Process moribund locations.
(update_global_location_list): Add removed
locations to moribund_locations.
(breakpoint_retire_moribund): New.
* breakpoint.h (struct bp_location): New field
events_till_retirement.
(breakpoint_retire_moribund): Declare.
* thread.c (thread_count): New.
* infrun.c (handle_inferior_event): Call
breakpoint_retire_moribund.
* gdbthread.h (thread_count): Declare.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 73b92be5ae2..2c4ebc8fc44 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1705,6 +1705,8 @@ handle_inferior_event (struct execution_control_state *ecs) int stopped_by_watchpoint; int stepped_after_stopped_by_watchpoint = 0; + breakpoint_retire_moribund (); + /* Cache the last pid/waitstatus. */ target_last_wait_ptid = ecs->ptid; target_last_waitstatus = *ecs->wp; |