ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 23 Jun 2010 12:46:37 +0000 (12:46 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 23 Jun 2010 12:46:37 +0000 (12:46 +0000)
commitd03285ec7b543bb910328d0cc55ff094486ea126
treeb15447c5b4fa2424ac99931ac4a08317393078d0
parent61e8a5ea173059baf957e65885fbaa3613cc6076
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]