aboutsummaryrefslogtreecommitdiff
path: root/sim/ft32/interp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-22 22:42:02 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-23 08:32:58 -0500
commit84bc490d588a8b7bcdae002e3b5876c5b7c289a8 (patch)
tree0a77bbe3ba56752ef3ff417641461fe6f8ec15ad /sim/ft32/interp.c
parent6960600787fe66de47dc102f8ffaddb05295cfc3 (diff)
downloadgdb-84bc490d588a8b7bcdae002e3b5876c5b7c289a8.zip
gdb-84bc490d588a8b7bcdae002e3b5876c5b7c289a8.tar.gz
gdb-84bc490d588a8b7bcdae002e3b5876c5b7c289a8.tar.bz2
sim: ft32: 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 ft32-sim.h include and move it to the few files that actually need it.
Diffstat (limited to 'sim/ft32/interp.c')
-rw-r--r--sim/ft32/interp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c
index 9324475..dfea472 100644
--- a/sim/ft32/interp.c
+++ b/sim/ft32/interp.c
@@ -37,6 +37,8 @@
#include "opcode/ft32.h"
+#include "ft32-sim.h"
+
/*
* FT32 is a Harvard architecture: RAM and code occupy
* different address spaces.