diff options
author | Pedro Alves <palves@redhat.com> | 2010-04-12 17:39:42 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-04-12 17:39:42 +0000 |
commit | 505106cdc7c816a44bbfee11daf500f4e5e14072 (patch) | |
tree | 3d597594a2631f14b55ffe8e38f0b0125b785dd6 /gdb/gdbserver/nto-low.c | |
parent | 58f03a4028987eef6b222b41d49e1f5781510b7c (diff) | |
download | gdb-505106cdc7c816a44bbfee11daf500f4e5e14072.zip gdb-505106cdc7c816a44bbfee11daf500f4e5e14072.tar.gz gdb-505106cdc7c816a44bbfee11daf500f4e5e14072.tar.bz2 |
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/nto-low.c')
-rw-r--r-- | gdb/gdbserver/nto-low.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/nto-low.c b/gdb/gdbserver/nto-low.c index 8542082..17548a4 100644 --- a/gdb/gdbserver/nto-low.c +++ b/gdb/gdbserver/nto-low.c @@ -406,6 +406,12 @@ nto_detach (int pid) return 0; } +static void +nto_mourn (struct process_info *process) +{ + remove_process (process); +} + /* Check if the given thread is alive. Return 1 if alive, 0 otherwise. */ @@ -900,7 +906,7 @@ static struct target_ops nto_target_ops = { nto_attach, nto_kill, nto_detach, - NULL, /* nto_mourn */ + nto_mourn, NULL, /* nto_join */ nto_thread_alive, nto_resume, |