aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-14 23:44:48 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-14 23:46:41 -0400
commitaa077c0d188c724e9ab7506159ba46442a5c59dc (patch)
tree6fd107cd8d6bbba5ec49281c57ed21df6e35dff1 /sim/mn10300
parent757b3c2fea905abfd487dd159c7e0550169ed966 (diff)
downloadgdb-aa077c0d188c724e9ab7506159ba46442a5c59dc.zip
gdb-aa077c0d188c724e9ab7506159ba46442a5c59dc.tar.gz
gdb-aa077c0d188c724e9ab7506159ba46442a5c59dc.tar.bz2
sim: mn10300: switch abort to sim_engine_abort
This allows the caller to catch engine aborts if they want, and fixes the warning about missing stdlib.h include by not using abort().
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/mn10300.igen2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 9a2c1d1..ff7d6c1 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-14 Mike Frysinger <vapier@gentoo.org>
+
+ * mn10300.igen: Change abort to sim_engine_abort.
+
2021-06-12 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
diff --git a/sim/mn10300/mn10300.igen b/sim/mn10300/mn10300.igen
index 80a3943..f67468d 100644
--- a/sim/mn10300/mn10300.igen
+++ b/sim/mn10300/mn10300.igen
@@ -3624,7 +3624,7 @@
{
/* OP_F0FF (); */
PC = cia;
- abort ();
+ sim_engine_abort (SD, CPU, cia, "F0FF");
}