diff options
Diffstat (limited to 'overlay/mgdb/gdb/winnt-nat.c')
-rw-r--r-- | overlay/mgdb/gdb/winnt-nat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c index fac6e27..64e4e65 100644 --- a/overlay/mgdb/gdb/winnt-nat.c +++ b/overlay/mgdb/gdb/winnt-nat.c @@ -734,6 +734,9 @@ static void winnt_attach (struct target_ops * t, const char * args, int from_tty static void winnt_mourn_inferior (struct target_ops * t) { + if (inferior_ptid.pid) + winnt_plist_remove(inferior_ptid.pid); + x86_cleanup_dregs(); inf_child_maybe_unpush_target(t); inf_child_mourn_inferior(t); |