public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: v850: reduce extra header inclusion to igen files
@ 2023-01-19 0:36 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2023-01-19 0:36 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c743e42e2213abe73a63c847409fbf0ca3c8cd46
commit c743e42e2213abe73a63c847409fbf0ca3c8cd46
Author: Mike Frysinger <vapier@gentoo.org>
Date: Wed Jan 18 19:11:38 2023 -0500
sim: v850: reduce extra header inclusion to igen files
Limit these extra header includes to only when specific igen files
include us until we can move the includes to the igen fils directly.
Diff:
---
sim/v850/sim-main.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sim/v850/sim-main.h b/sim/v850/sim-main.h
index b1753601904..eefe72cf52f 100644
--- a/sim/v850/sim-main.h
+++ b/sim/v850/sim-main.h
@@ -8,7 +8,11 @@
* TODO: Move these includes to the igen files that need them.
* This requires extending the igen syntax to support header includes.
*/
+#if defined(SEMANTICS_C) || defined(SUPPORT_C)
#include "sim-signal.h"
+#endif
+#if defined(ENGINE_C) || defined(IDECODE_C) || defined(SEMANTICS_C)
#include "v850-sim.h"
+#endif
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-19 0:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 0:36 [binutils-gdb] sim: v850: reduce extra header inclusion to igen files Michael 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).