public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: v850: reduce extra header inclusion to igen files Date: Thu, 19 Jan 2023 00:36:34 +0000 (GMT) [thread overview] Message-ID: <20230119003634.0D701385842A@sourceware.org> (raw) 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
reply other threads:[~2023-01-19 0:36 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230119003634.0D701385842A@sourceware.org \ --to=vapier@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).