From: Mike Frysinger Date: Tue, 15 Jun 2021 03:44:48 +0000 (-0400) Subject: sim: mn10300: switch abort to sim_engine_abort X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa077c0d188c724e9ab7506159ba46442a5c59dc;p=binutils-gdb.git 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(). --- diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 9a2c1d1929c..ff7d6c18f11 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2021-06-14 Mike Frysinger + + * mn10300.igen: Change abort to sim_engine_abort. + 2021-06-12 Mike Frysinger * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. diff --git a/sim/mn10300/mn10300.igen b/sim/mn10300/mn10300.igen index 80a394309c9..f67468da17e 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"); }