Uniquefy gdb.threads/attach-into-signal.exp
[deliverable/binutils-gdb.git] / gdb / monitor.c
index c7f5fc70ce9fe6d30bce64f148bc2fe9cb1e95cf..4657d7383f376b36443d351cd27e854d4a1a4170 100644 (file)
@@ -853,8 +853,7 @@ monitor_close (struct target_ops *self)
 
   monitor_desc = NULL;
 
-  delete_thread_silent (monitor_ptid);
-  delete_inferior_silent (ptid_get_pid (monitor_ptid));
+  discard_all_inferiors ();
 }
 
 /* Terminate the open connection to the remote debugger.  Use this
This page took 0.025085 seconds and 4 git commands to generate.