summaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-26 23:27:09 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-26 23:27:09 +0000
commitdbd7cd63b99874422f5e1a151e9d7119c3a3dd61 (patch)
tree45116c63b0dcbc491acf28b958890c863d6e346e /sim/mn10300
parent5d1a8fc95ab579dfe4eff6db3a9b141f490c6262 (diff)
downloadbinutils-dbd7cd63b99874422f5e1a151e9d7119c3a3dd61.tar.gz
binutils-dbd7cd63b99874422f5e1a151e9d7119c3a3dd61.tar.bz2
binutils-dbd7cd63b99874422f5e1a151e9d7119c3a3dd61.zip
Index: common/ChangeLog
2003-02-26 Andrew Cagney <cagney@redhat.com> * sim-engine.h (sim_engine_abort): Add noreturn attribute. (sim_engine_vabort): Ditto. (sim_engine_halt, sim_engine_restart): Ditto. Index: mn10300/ChangeLog 2003-02-26 Andrew Cagney <cagney@redhat.com> * am33.igen: Call sim_engine_abort instead of abort.
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/am33.igen2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index b7ea00d272b..ce01a53d931 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-26 Andrew Cagney <cagney@redhat.com>
+
+ * am33.igen: Call sim_engine_abort instead of abort.
+
2003-02-26 David Carlton <carlton@math.stanford.edu>
* dv-mn103tim.c (read_special_timer6_reg): Add break after
diff --git a/sim/mn10300/am33.igen b/sim/mn10300/am33.igen
index a5745e2f9ca..db41889e747 100644
--- a/sim/mn10300/am33.igen
+++ b/sim/mn10300/am33.igen
@@ -34,7 +34,7 @@
case 4:
return REG_MCVF;
default:
- abort ();
+ sim_engine_abort (SD, CPU, cia, "%s:%d: bad switch\n", __FILE__, __LINE__);
}
}