From 0aef6ba222c28ed51ad3c042819bbe1095f00457 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Thu, 10 Jul 2008 19:34:00 +0000 Subject: [PATCH] * remote-sim.c (gdbsim_cntrl_c): Pass remote_sim_ptid to gdbsim_stop(). --- gdb/ChangeLog | 5 +++++ gdb/remote-sim.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * remote-sim.c (gdbsim_cntrl_c): Pass remote_sim_ptid to + gdbsim_stop(). + 2008-07-10 Jan Kratochvil * 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 -- 2.30.2