forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user