public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: mn10300: tweak engine halt hook
@ 2021-06-06 17:33 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2021-06-06 17:33 UTC (permalink / raw)
  To: gdb-patches

The hook is a void func, so defining it to 0 triggers warnings,
and isn't really needed.
---
 sim/mn10300/sim-main.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h
index e184613860b5..875072941839 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"
-- 
2.31.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-06 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-06 17:33 [PATCH] sim: mn10300: tweak engine halt hook Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).