diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-12-22 22:47:10 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-23 08:32:58 -0500 |
commit | dcd1a4d15acf510952ab7f188c14ae4f13fdb511 (patch) | |
tree | edb031f61024707dc363c50710f7e175e73bfbf6 /sim/msp430/sim-main.h | |
parent | 84bc490d588a8b7bcdae002e3b5876c5b7c289a8 (diff) | |
download | gdb-dcd1a4d15acf510952ab7f188c14ae4f13fdb511.zip gdb-dcd1a4d15acf510952ab7f188c14ae4f13fdb511.tar.gz gdb-dcd1a4d15acf510952ab7f188c14ae4f13fdb511.tar.bz2 |
sim: msp430: move arch-specific settings to internal header
There's no need for these settings to be in sim-main.h which is shared
with common/ sim code, so drop the msp430-sim.h include and move it to
the few files that actually need it.
While we're here, drop redundant includes from sim-main.h:
* sim-config.h & sim-types.h included by sim-basics.h already
* sim-engine.h included by sim-base.h already
And move sim-options.h to the one file that needs it.
Diffstat (limited to 'sim/msp430/sim-main.h')
-rw-r--r-- | sim/msp430/sim-main.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sim/msp430/sim-main.h b/sim/msp430/sim-main.h index 5603d41..92fce3c 100644 --- a/sim/msp430/sim-main.h +++ b/sim/msp430/sim-main.h @@ -22,14 +22,6 @@ #define _MSP430_MAIN_SIM_H_ #include "sim-basics.h" -#include "msp430-sim.h" #include "sim-base.h" -#define MSP430_SIM_CPU(cpu) ((struct msp430_cpu_state *) CPU_ARCH_DATA (cpu)) - -#include "sim-config.h" -#include "sim-types.h" -#include "sim-engine.h" -#include "sim-options.h" - #endif /* _MSP430_MAIN_SIM_H_ */ |