summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2010-06-23 12:46:34 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2010-06-23 12:46:34 +0000
commit3a61cfc236805fa023f85a9b6cdb34f3098e8bfb (patch)
tree65d4e42b55d43d9b717315c8f260802a5c1114b4 /gdb/breakpoint.h
parentcf689f959de86f7ed612c6303278de8bcf0ed308 (diff)
downloadgdb-3a61cfc236805fa023f85a9b6cdb34f3098e8bfb.tar.gz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index d053db81108..4514290293f 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