aboutsummaryrefslogtreecommitdiff
path: root/sim/cr16
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cr16')
-rw-r--r--sim/cr16/ChangeLog6
-rw-r--r--sim/cr16/interp.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index 1640e6b..c7f1189 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/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/cr16/interp.c b/sim/cr16/interp.c
index cdbbb2a..86c4c0d 100644
--- a/sim/cr16/interp.c
+++ b/sim/cr16/interp.c
@@ -1417,18 +1417,18 @@ sim_stop_reason (sd, reason, sigrc)
case SIG_CR16_BUS:
*reason = sim_stopped;
- *sigrc = TARGET_SIGNAL_BUS;
+ *sigrc = GDB_SIGNAL_BUS;
break;
//
// case SIG_CR16_IAD:
// *reason = sim_stopped;
-// *sigrc = TARGET_SIGNAL_IAD;
+// *sigrc = GDB_SIGNAL_IAD;
// break;
default: /* some signal */
*reason = sim_stopped;
if (stop_simulator && !State.exception)
- *sigrc = TARGET_SIGNAL_INT;
+ *sigrc = GDB_SIGNAL_INT;
else
*sigrc = State.exception;
break;