aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 0710ac7..2ba5d7d 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -616,8 +616,6 @@ kill_inferior (void)
if (forks_exist_p ())
{
linux_fork_killall ();
- pop_target ();
- generic_mourn_inferior ();
}
else
{
@@ -646,8 +644,8 @@ kill_inferior (void)
ptrace (PT_KILL, pid, 0, 0);
ret = wait (&status);
}
- target_mourn_inferior ();
}
+ target_mourn_inferior ();
}
/* On GNU/Linux there are no real LWP's. The closest thing to LWP's