aboutsummaryrefslogtreecommitdiff
path: root/sim/frv/sim-main.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-27 00:03:32 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-27 23:36:28 -0400
commit520ca9a7be910686b1e2107165d5cdd5f50da318 (patch)
tree93349d70e26248873aeecd33d89150cf04dd7249 /sim/frv/sim-main.h
parenta9d200398aea31fc81191d44f91dad3996780bc8 (diff)
downloadgdb-520ca9a7be910686b1e2107165d5cdd5f50da318.zip
gdb-520ca9a7be910686b1e2107165d5cdd5f50da318.tar.gz
gdb-520ca9a7be910686b1e2107165d5cdd5f50da318.tar.bz2
sim: frv: fix engine hook
This hook doesn't return a value, so don't define it to 0 to avoid the compiler warning about it not being used.
Diffstat (limited to 'sim/frv/sim-main.h')
-rw-r--r--sim/frv/sim-main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/frv/sim-main.h b/sim/frv/sim-main.h
index 9297e55..b7ead0b 100644
--- a/sim/frv/sim-main.h
+++ b/sim/frv/sim-main.h
@@ -37,7 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA) \
frv_sim_engine_halt_hook ((SD), (LAST_CPU), (CIA))
-#define SIM_ENGINE_RESTART_HOOK(SD, LAST_CPU, CIA) 0
+#define SIM_ENGINE_RESTART_HOOK(SD, LAST_CPU, CIA)
#include "sim-base.h"
#include "cgen-sim.h"