diff options
author | Pedro Alves <palves@redhat.com> | 2008-10-15 19:15:34 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-10-15 19:15:34 +0000 |
commit | 1c5cfe8615a947f26ef1569f3af3017bb1c63899 (patch) | |
tree | 67c00221d017a285eaf67bc17815044541a57d9f /gdb/breakpoint.h | |
parent | 41702f1b3391a34327b3fb4786b690583c1249b6 (diff) | |
download | gdb-1c5cfe8615a947f26ef1569f3af3017bb1c63899.zip gdb-1c5cfe8615a947f26ef1569f3af3017bb1c63899.tar.gz gdb-1c5cfe8615a947f26ef1569f3af3017bb1c63899.tar.bz2 |
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.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index de21b9a..65f5ae1 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -681,6 +681,8 @@ enum breakpoint_here extern enum breakpoint_here breakpoint_here_p (CORE_ADDR); +extern int moribund_breakpoint_here_p (CORE_ADDR); + extern int breakpoint_inserted_here_p (CORE_ADDR); extern int regular_breakpoint_inserted_here_p (CORE_ADDR); |