summaryrefslogtreecommitdiff
path: root/overlay/mgdb/gdb/winnt-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/mgdb/gdb/winnt-nat.c')
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index 7ae3bf6..d32464c 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -354,6 +354,7 @@ static void winnt_mourn_inferior (struct target_ops * t)
x86_cleanup_dregs();
inf_child_maybe_unpush_target(t);
inf_child_mourn_inferior(t);
+ delete_inferior(current_inferior());
}
static void winnt_abandon (winnt_process * pidinfo)