OSDN Git Service

gdb/
authorpalves <palves>
Wed, 15 Oct 2008 19:15:32 +0000 (19:15 +0000)
committerpalves <palves>
Wed, 15 Oct 2008 19:15:32 +0000 (19:15 +0000)
commite8131fe67eb99ee2239d6ee27ed5ea372557edf1
tree9fa235fca721d397470f344e80ce5ef9680381f6
parentc0ff22179178a28568f889f9d9095299d0c41972
gdb/
* breakpoint.c (breakpoint_init_inferior): Clean up the moribund
locations list.
(moribund_breakpoint_here_p): Record the moribund
location in the moribund_locations vector.
* breakpoint.h (moribund_breakpoint_here_p): Declare.
(displaced_step_fixup): Check if the breakpoint the thread was
trying to step over has been removed since having been placed in
the displaced stepping queue.
(adjust_pc_after_break): In non-stop mode, check for a moribund
breakpoint at the stop pc.
(handle_inferior_event): Don't retire moribund breakpoints on
TARGET_WAITKIND_IGNORE.

gdb/testsuite/
* gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infrun.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-nsmoribund.exp [new file with mode: 0644]
gdb/testsuite/gdb.mi/nsmoribund.c [new file with mode: 0644]