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.
This commit is contained in:
Pedro Alves
2010-04-12 17:39:42 +00:00
parent 58f03a4028
commit 505106cdc7
6 changed files with 36 additions and 7 deletions

View File

@@ -2999,10 +2999,7 @@ handle_target_event (int err, gdb_client_data client_data)
if (last_status.kind == TARGET_WAITKIND_EXITED
|| last_status.kind == TARGET_WAITKIND_SIGNALLED)
{
mourn_inferior (process);
remove_process (process);
}
mourn_inferior (process);
if (forward_event)
{