diff options
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 1619622..13ea146 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1755,9 +1755,7 @@ mips_detach (struct target_ops *ops, char *args, int from_tty) if (args) error (_("Argument given to \"detach\" when remotely debugging.")); - pop_target (); - - mips_close (); + unpush_target (ops); if (from_tty) printf_unfiltered ("Ending remote MIPS debugging.\n"); |