diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:19:56 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:31:36 -0400 |
commit | 20bca71d82598a015de0991196e45f0b5f7ead81 (patch) | |
tree | 430360c5efe05979bc42a916dd483aae35c30eb6 /sim/mn10300 | |
parent | 7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 (diff) | |
download | gdb-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/mn10300')
-rw-r--r-- | sim/mn10300/ChangeLog | 4 | ||||
-rw-r--r-- | sim/mn10300/sim-main.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 1b649e2..bee772f 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/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. (SIM_ADDR): Delete comment. diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h index 2ddbfb9..847506e 100644 --- a/sim/mn10300/sim-main.h +++ b/sim/mn10300/sim-main.h @@ -42,8 +42,6 @@ #include "itable.h" #include "idecode.h" -typedef struct _sim_cpu SIM_CPU; - #define WITH_WATCHPOINTS 1 #define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \ |