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().
This commit is contained in:
Mike Frysinger
2021-06-14 23:44:48 -04:00
parent 757b3c2fea
commit aa077c0d18
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -3624,7 +3624,7 @@
{
/* OP_F0FF (); */
PC = cia;
abort ();
sim_engine_abort (SD, CPU, cia, "F0FF");
}