diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2010-06-23 12:46:37 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2010-06-23 12:46:37 +0000 |
commit | d03285ec7b543bb910328d0cc55ff094486ea126 (patch) | |
tree | b15447c5b4fa2424ac99931ac4a08317393078d0 /gdb/breakpoint.h | |
parent | 61e8a5ea173059baf957e65885fbaa3613cc6076 (diff) | |
download | gdb-d03285ec7b543bb910328d0cc55ff094486ea126.zip gdb-d03285ec7b543bb910328d0cc55ff094486ea126.tar.gz gdb-d03285ec7b543bb910328d0cc55ff094486ea126.tar.bz2 |
ChangeLog:
* infrun.c (handle_inferior_event): Handle presence of single-step
breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED.
Cancel single-step breakpoints for TARGET_WAITKIND_EXITED,
TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD.
* breakpoint.c (detach_single_step_breakpoints): New function.
(detach_breakpoints): Call it.
(cancel_single_step_breakpoints): New function.
* breakpoint.h (cancel_single_step_breakpoints): Add prototype.
* spu-tdep.c (spu_memory_remove_breakpoint): New function.
(spu_gdbarch_init): Install it.
testsuite/ChangeLog:
* gdb.cell/fork.exp: New file.
* gdb.cell/fork.c: Likewise.
* gdb.cell/fork-spu.c: Likewise.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index d053db8..4514290 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -985,6 +985,7 @@ extern int remove_hw_watchpoints (void); extern void insert_single_step_breakpoint (struct gdbarch *, struct address_space *, CORE_ADDR); extern void remove_single_step_breakpoints (void); +extern void cancel_single_step_breakpoints (void); /* Manage manual breakpoints, separate from the normal chain of breakpoints. These functions are used in murky target-specific |