* breakpoint.c (moribund_locations): New.
authorVladimir Prus <vladimir@codesourcery.com>
Sat, 28 Jun 2008 09:42:15 +0000 (09:42 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Sat, 28 Jun 2008 09:42:15 +0000 (09:42 +0000)
commit20874c92f88d70f91bbc166ccb8d2f78f09d90a4
tree4e7e123ebc40feaf8a12d48b36a7b4a6dfd19e9d
parent2a9bd7a88c03fc8e9fea49f9e4c09df819b4ec23
    * 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.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/gdbthread.h
gdb/infrun.c
gdb/thread.c