diff options
Diffstat (limited to 'sim/rx')
-rw-r--r-- | sim/rx/ChangeLog | 6 | ||||
-rw-r--r-- | sim/rx/gdb-if.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index 7170cb1..52c291f 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/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-24 Mike Frysinger <vapier@gentoo.org> * aclocal.m4, config.in, configure: Regenerate. diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c index 9a7e030..a9903e5 100644 --- a/sim/rx/gdb-if.c +++ b/sim/rx/gdb-if.c @@ -710,12 +710,12 @@ handle_step (int rc) if (execution_error_get_last_error () != SIM_ERR_NONE) { reason = sim_stopped; - siggnal = TARGET_SIGNAL_SEGV; + siggnal = GDB_SIGNAL_SEGV; } if (RX_STEPPED (rc) || RX_HIT_BREAK (rc)) { reason = sim_stopped; - siggnal = TARGET_SIGNAL_TRAP; + siggnal = GDB_SIGNAL_TRAP; } else if (RX_STOPPED (rc)) { @@ -766,7 +766,7 @@ sim_resume (SIM_DESC sd, int step, int sig_to_deliver) { stop = 0; reason = sim_stopped; - siggnal = TARGET_SIGNAL_INT; + siggnal = GDB_SIGNAL_INT; break; } @@ -777,7 +777,7 @@ sim_resume (SIM_DESC sd, int step, int sig_to_deliver) if (execution_error_get_last_error () != SIM_ERR_NONE) { reason = sim_stopped; - siggnal = TARGET_SIGNAL_SEGV; + siggnal = GDB_SIGNAL_SEGV; break; } |