From 3eaecff5137752dbe01b82efba36aad1d190fe7b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 23 Dec 2022 00:32:29 -0500 Subject: sim: cgen: move symcat.h include to where it's used Move this out of the global sim-main.h and to the few files that actually use functions from it. Only the cgen ports were pulling this, so this makes cgen & non-cgen behave more the same. --- sim/m32r/m32r-sim.h | 2 ++ sim/m32r/sim-main.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'sim/m32r') diff --git a/sim/m32r/m32r-sim.h b/sim/m32r/m32r-sim.h index 0c5103b..fc41c21 100644 --- a/sim/m32r/m32r-sim.h +++ b/sim/m32r/m32r-sim.h @@ -20,6 +20,8 @@ #ifndef M32R_SIM_H #define M32R_SIM_H +#include "symcat.h" + /* GDB register numbers. */ #define PSW_REGNUM 16 #define CBR_REGNUM 17 diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h index 81a6c68..a5a745d 100644 --- a/sim/m32r/sim-main.h +++ b/sim/m32r/sim-main.h @@ -8,7 +8,6 @@ one of -scache/-pbb. */ #define WITH_SCACHE_PBB 1 -#include "symcat.h" #include "sim-basics.h" #include "m32r-desc.h" #include "m32r-opc.h" -- cgit v1.1