aboutsummaryrefslogtreecommitdiff
path: root/sim/msp430
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-18 04:19:56 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-18 04:31:36 -0400
commit20bca71d82598a015de0991196e45f0b5f7ead81 (patch)
tree430360c5efe05979bc42a916dd483aae35c30eb6 /sim/msp430
parent7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 (diff)
downloadgdb-20bca71d82598a015de0991196e45f0b5f7ead81.zip
gdb-20bca71d82598a015de0991196e45f0b5f7ead81.tar.gz
gdb-20bca71d82598a015de0991196e45f0b5f7ead81.tar.bz2
sim: unify SIM_CPU definition
Since every target typedefs this the same way, move it to the common code. We have to leave Blackfin behind here for now because of inter-dependencies on types and headers: sim-base.h includes sim-model.h which needs types in machs.h which needs types in bfim-sim.h which needs SIM_CPU.
Diffstat (limited to 'sim/msp430')
-rw-r--r--sim/msp430/ChangeLog4
-rw-r--r--sim/msp430/sim-main.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
index ce81693..c2205b5 100644
--- a/sim/msp430/ChangeLog
+++ b/sim/msp430/ChangeLog
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/msp430/sim-main.h b/sim/msp430/sim-main.h
index fdc4151..f08f3e4 100644
--- a/sim/msp430/sim-main.h
+++ b/sim/msp430/sim-main.h
@@ -23,9 +23,6 @@
#include "sim-basics.h"
#include "sim-signal.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "msp430-sim.h"
#include "sim-base.h"