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/cris | |
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/cris')
-rw-r--r-- | sim/cris/ChangeLog | 4 | ||||
-rw-r--r-- | sim/cris/sim-main.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 4c81975..ff1cc93 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,5 +1,9 @@ 2015-04-18 Mike Frysinger <vapier@gentoo.org> + * sim-main.h (_sim_cpu, 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/cris/sim-main.h b/sim/cris/sim-main.h index 7eb74b5..6e50106 100644 --- a/sim/cris/sim-main.h +++ b/sim/cris/sim-main.h @@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define USING_SIM_BASE_H -struct _sim_cpu; -typedef struct _sim_cpu SIM_CPU; - #include "symcat.h" #include "sim-basics.h" #include "cgen-types.h" |