diff options
author | Pedro Alves <pedro@codesourcery.com> | 2010-04-12 17:39:41 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2010-04-12 17:39:41 +0000 |
commit | b85579f12a452fb5dd104e9a198667a91e0c06c6 (patch) | |
tree | 03ba4e010a2216ed9360868e4382fc5be92a27ed /gdb/gdbserver/spu-low.c | |
parent | d691350337a747dc827c09a265859df1ac86e79b (diff) | |
download | gdb-b85579f12a452fb5dd104e9a198667a91e0c06c6.tar.gz |
gdb/gdbserver/
* linux-low.c (linux_mourn): Also remove the process.
* server.c (handle_target_event): Don't remove the process here.
* nto-low.c (nto_mourn): New.
(nto_target_ops): Install it.
* spu-low.c (spu_mourn): New.
(spu_target_ops): Install it.
* win32-low.c (win32_mourn): New.
(win32_target_ops): Install it.
Diffstat (limited to 'gdb/gdbserver/spu-low.c')
-rw-r--r-- | gdb/gdbserver/spu-low.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c index d171abc3fc4..d9ac815d20f 100644 --- a/gdb/gdbserver/spu-low.c +++ b/gdb/gdbserver/spu-low.c @@ -355,6 +355,12 @@ spu_detach (int pid) } static void +spu_mourn (struct process_info *process) +{ + remove_process (process); +} + +static void spu_join (int pid) { int status, ret; @@ -606,7 +612,7 @@ static struct target_ops spu_target_ops = { spu_attach, spu_kill, spu_detach, - NULL, /* mourn */ + spu_mourn, spu_join, spu_thread_alive, spu_resume, |