gdb/
authorPedro Alves <palves@redhat.com>
Wed, 15 Oct 2008 19:15:34 +0000 (19:15 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 15 Oct 2008 19:15:34 +0000 (19:15 +0000)
commit1c5cfe8615a947f26ef1569f3af3017bb1c63899
tree67c00221d017a285eaf67bc17815044541a57d9f
parent41702f1b3391a34327b3fb4786b690583c1249b6
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]