forked from Imagelibrary/binutils-gdb
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user