summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2008-07-10 19:34:00 +0000
committerKevin Buettner <kevinb@redhat.com>2008-07-10 19:34:00 +0000
commit3ee14acb14bc58120557de9fe313cba73a937721 (patch)
tree7288a1e3014191a31ef340cb2f165a5487cd558f
parentfaafc279cf6243180a8ddf1d912745f2f9ebe397 (diff)
downloadgdb-3ee14acb14bc58120557de9fe313cba73a937721.tar.gz
* remote-sim.c (gdbsim_cntrl_c): Pass remote_sim_ptid to
gdbsim_stop().
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-sim.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0e86f319606..064bbe1bf8c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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".
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index df1cf9b191b..a205a3254d0 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -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