From aba6488e0b73756f31f154d12a228baa82a68d8a Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 28 Nov 2005 18:33:03 +0000 Subject: * remote-sim.c (gdbsim_wait): Pass target signal numbers to sim_resume. Expect target signal numbers from sim_stop_reason. * wrapper.c (gdb/signals.h): Include it. (SIGTRAP): Don't define. (SIGBUS): Likewise. (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*. * sim-reason.c (sim_stop_reason): Use sim_signal_to_target, not sim_signal_to_host. * sim-signal.c (sim_signal_to_host): Fix typo. (sim_signal_to_target): New function. * interp.c (gdb/signals.h): Include it. (sim_stop_reason): Use TARGET_SIGNAL_*. * interf.c: (gdb/signals.h): Include it. (sim_stop_reason): Use TARGET_SIGNAL_*. * sim_calls.c (gdb/signals.h): Include it. (sim_stop_reason): Use TARGET_SIGNAL_*. * psim.c (cntrl_c_simulation): Use TARGET_SIGNAL_*. --- sim/ppc/psim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/ppc/psim.c') diff --git a/sim/ppc/psim.c b/sim/ppc/psim.c index a574fe7..e2eac2a 100644 --- a/sim/ppc/psim.c +++ b/sim/ppc/psim.c @@ -572,7 +572,7 @@ cntrl_c_simulation(void *data) psim_halt(system, psim_nr_cpus(system), was_continuing, - SIGINT); + TARGET_SIGNAL_INT); } INLINE_PSIM\ -- cgit v1.1