From d03285ec7b543bb910328d0cc55ff094486ea126 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 23 Jun 2010 12:46:37 +0000 Subject: 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. --- gdb/breakpoint.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/breakpoint.h') 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 -- cgit v1.1