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/win32-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/win32-low.c')
-rw-r--r-- | gdb/gdbserver/win32-low.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index ea5de4c..dfdb883 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -763,6 +763,12 @@ win32_detach (int pid) return 0; } +static void +win32_mourn (struct process_info *process) +{ + remove_process (process); +} + /* Wait for inferiors to end. */ static void win32_join (int pid) @@ -1752,7 +1758,7 @@ static struct target_ops win32_target_ops = { win32_attach, win32_kill, win32_detach, - NULL, + win32_mourn, win32_join, win32_thread_alive, win32_resume, |