* remote-sim.c (gdbsim_cntrl_c): Pass remote_sim_ptid to
authorKevin Buettner <kevinb@redhat.com>
Thu, 10 Jul 2008 19:34:00 +0000 (19:34 +0000)
committerKevin Buettner <kevinb@redhat.com>
Thu, 10 Jul 2008 19:34:00 +0000 (19:34 +0000)
gdbsim_stop().

gdb/ChangeLog
gdb/remote-sim.c

index 0e86f31..064bbe1 100644 (file)
@@ -1,3 +1,8 @@
+2008-07-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-sim.c (gdbsim_cntrl_c): Pass remote_sim_ptid to
+       gdbsim_stop().
+
 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * NEWS (New commands): Mention "set disable-randomization".
index df1cf9b..a205a32 100644 (file)
@@ -679,7 +679,7 @@ gdb_os_poll_quit (host_callback *p)
 static void
 gdbsim_cntrl_c (int signo)
 {
-  gdbsim_stop ();
+  gdbsim_stop (remote_sim_ptid);
 }
 
 static ptid_t