* [PATCH] sim: lm32/m32r: drop redundant opcode/cgen.h include
@ 2022-12-23 5:58 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2022-12-23 5:58 UTC (permalink / raw)
To: gdb-patches
The xxx-desc.h header file already includes this, and it's how the
other cgen ports are getting it, so drop it from these two.
---
sim/lm32/sim-main.h | 1 -
sim/m32r/sim-main.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/sim/lm32/sim-main.h b/sim/lm32/sim-main.h
index 0e13aeb6758b..ce30349e71af 100644
--- a/sim/lm32/sim-main.h
+++ b/sim/lm32/sim-main.h
@@ -32,7 +32,6 @@
#include "sim-base.h"
#include "cgen-sim.h"
#include "lm32-sim.h"
-#include "opcode/cgen.h"
\f
struct lm32_sim_cpu
{
diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h
index a5a745d15bcf..70962320dfc7 100644
--- a/sim/m32r/sim-main.h
+++ b/sim/m32r/sim-main.h
@@ -15,7 +15,6 @@
#include "sim-base.h"
#include "cgen-sim.h"
#include "m32r-sim.h"
-#include "opcode/cgen.h"
\f
struct m32r_sim_cpu {
M32R_MISC_PROFILE m32r_misc_profile;
--
2.39.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-23 5:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 5:58 [PATCH] sim: lm32/m32r: drop redundant opcode/cgen.h include 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).