OSDN Git Service

ChangeLog:
authoruweigand <uweigand>
Wed, 23 Jun 2010 21:46:34 +0000 (21:46 +0000)
committeruweigand <uweigand>
Wed, 23 Jun 2010 21:46:34 +0000 (21:46 +0000)
commitafe5461b01f8cd24160cf2293930a9e0cfdcdeef
treee699b458775fea69f953102c938e49e51e99b6df
parent5c3107f373a150bfafc0d0419f33ed10665200a7
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/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infrun.c
gdb/spu-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cell/fork-spu.c [new file with mode: 0644]
gdb/testsuite/gdb.cell/fork.c [new file with mode: 0644]
gdb/testsuite/gdb.cell/fork.exp [new file with mode: 0644]