OSDN Git Service

* 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)
commit802b983480609a1e3c6bd01cf505fc1b856fae58
treee663fefed176c49b1fac8a4856a5ae336a8548ee
parentd4f0ecf6eba15bbd0f130006e3f225e530025dab
    * 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