diff options
Diffstat (limited to 'sim/ppc')
-rw-r--r-- | sim/ppc/ChangeLog | 6 | ||||
-rw-r--r-- | sim/ppc/psim.c | 2 | ||||
-rw-r--r-- | sim/ppc/sim_calls.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 042a558..b7ba20d 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,9 @@ +2012-05-24 Pedro Alves <palves@redhat.com> + + PR gdb/7205 + + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + 2012-03-14 Michael Haubenwallner <michael.haubenwallner@salomon.at> * emul_unix.c (st_pad1, st_pad2, st_pad3): Undefine. diff --git a/sim/ppc/psim.c b/sim/ppc/psim.c index 3e76386..7378b9b 100644 --- a/sim/ppc/psim.c +++ b/sim/ppc/psim.c @@ -592,7 +592,7 @@ cntrl_c_simulation(void *data) psim_halt(system, psim_nr_cpus(system), was_continuing, - TARGET_SIGNAL_INT); + GDB_SIGNAL_INT); } INLINE_PSIM\ diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c index e80db88..66d7f03 100644 --- a/sim/ppc/sim_calls.c +++ b/sim/ppc/sim_calls.c @@ -198,13 +198,13 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc) case was_continuing: *reason = sim_stopped; if (status.signal == 0) - *sigrc = TARGET_SIGNAL_TRAP; + *sigrc = GDB_SIGNAL_TRAP; else *sigrc = status.signal; break; case was_trap: *reason = sim_stopped; - *sigrc = TARGET_SIGNAL_TRAP; + *sigrc = GDB_SIGNAL_TRAP; break; case was_exited: *reason = sim_exited; |