From: Mike Frysinger Date: Sun, 6 Jun 2021 03:10:14 +0000 (-0400) Subject: sim: mn10300: tweak engine halt hook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc3de083d522ef0fb465adaacd065a61481d4007;p=binutils-gdb.git sim: mn10300: tweak engine halt hook The hook is a void func, so defining it to 0 triggers warnings, and isn't really needed. --- diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index a813e4e3b34..1fd873b7bc9 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2021-06-09 Mike Frysinger + + * sim-main.h (SIM_ENGINE_HALT_HOOK): Delete 0. + 2021-06-08 Mike Frysinger * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h index e184613860b..87507294183 100644 --- a/sim/mn10300/sim-main.h +++ b/sim/mn10300/sim-main.h @@ -22,7 +22,7 @@ #ifndef SIM_MAIN_H #define SIM_MAIN_H -#define SIM_ENGINE_HALT_HOOK(SD,LAST_CPU,CIA) 0 /* disable this hook */ +#define SIM_ENGINE_HALT_HOOK(SD,LAST_CPU,CIA) /* disable this hook */ #include "sim-basics.h" #include "sim-signal.h"