Don't check target is running in remote_target::mourn_inferior
[deliverable/binutils-gdb.git] / gdb / remote.c
index 539b27ebd29133f2603286ae230346526c245cfe..51fa5da0c18c9934da8abb1b9252ff07cb1a612f 100644 (file)
@@ -9843,26 +9843,6 @@ remote_target::mourn_inferior ()
 
   /* Call common code to mark the inferior as not running.  */
   generic_mourn_inferior ();
-
-  if (!have_inferiors ())
-    {
-      if (!remote_multi_process_p (rs))
-       {
-         /* Check whether the target is running now - some remote stubs
-            automatically restart after kill.  */
-         putpkt ("?");
-         getpkt (&rs->buf, 0);
-
-         if (rs->buf[0] == 'S' || rs->buf[0] == 'T')
-           {
-             /* Assume that the target has been restarted.  Set
-                inferior_ptid so that bits of core GDB realizes
-                there's something here, e.g., so that the user can
-                say "kill" again.  */
-             inferior_ptid = magic_null_ptid;
-           }
-       }
-    }
 }
 
 bool
This page took 0.024197 seconds and 4 git commands to generate.