Use ui_file_as_string in gdb/compile/
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index 8489eb6a97e7ed3bbbe8971f932bba6961ae8e35..62190008fa9435d9c1afcc6c640033ccf8612590 100644 (file)
@@ -554,7 +554,7 @@ gdbsim_kill (struct target_ops *ops)
 
   /* There is no need to `kill' running simulator - the simulator is
      not running.  Mourning it is enough.  */
-  target_mourn_inferior ();
+  target_mourn_inferior (inferior_ptid);
 }
 
 /* Load an executable file into the target process.  This is expected to
@@ -955,10 +955,7 @@ gdb_os_poll_quit (host_callback *p)
     deprecated_ui_loop_hook (0);
 
   if (check_quit_flag ())      /* gdb's idea of quit */
-    {
-      clear_quit_flag ();      /* we've stolen it */
-      return 1;
-    }
+    return 1;
   return 0;
 }
 
This page took 0.042395 seconds and 4 git commands to generate.