]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/msp430/msp430-sim.c
sim: msp430: move arch-specific settings to internal header
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 03:47:10 +0000 (22:47 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 13:32:58 +0000 (08:32 -0500)
commitdcd1a4d15acf510952ab7f188c14ae4f13fdb511
treeedb031f61024707dc363c50710f7e175e73bfbf6
parent84bc490d588a8b7bcdae002e3b5876c5b7c289a8
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.
sim/msp430/msp430-sim.c
sim/msp430/msp430-sim.h
sim/msp430/sim-main.h