diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:08:56 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:14:38 -0400 |
commit | 7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 (patch) | |
tree | 910cafbc984799297c2e8b0dc1cfe86dcf13f9c1 /sim/iq2000 | |
parent | b9a7202de81202af1337d2cef22db5e3b5bca665 (diff) | |
download | gdb-7e83aa92f2d986ba60f124287a9fd1e534fbbcf8.zip gdb-7e83aa92f2d986ba60f124287a9fd1e534fbbcf8.tar.gz gdb-7e83aa92f2d986ba60f124287a9fd1e534fbbcf8.tar.bz2 |
sim: unify sim_cia definition
Almost every target defines sim_cia the same way -- either using the
address_word type directly, or a type of equivalent size. The only
odd one out is sh64 (who has 32bit address_word and 64bit cia), and
even that case doesn't seem to make sense. We'll put off clean up
though of sh64 and at least set up a sensible default for everyone.
Diffstat (limited to 'sim/iq2000')
-rw-r--r-- | sim/iq2000/ChangeLog | 4 | ||||
-rw-r--r-- | sim/iq2000/sim-main.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index 44e5002..c9ea375 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,3 +1,7 @@ +2015-04-18 Mike Frysinger <vapier@gentoo.org> + + * sim-main.h (sim_cia): Delete. + 2015-04-17 Mike Frysinger <vapier@gentoo.org> * sim-main.h (CIA_GET, CIA_SET): Delete. diff --git a/sim/iq2000/sim-main.h b/sim/iq2000/sim-main.h index 29d4b62..ce3baba 100644 --- a/sim/iq2000/sim-main.h +++ b/sim/iq2000/sim-main.h @@ -23,9 +23,6 @@ typedef struct _sim_cpu SIM_CPU; /* Pull in IQ2000_{DATA,INSN}_{MASK,VALUE}. */ #include "elf/iq2000.h" -/* These must be defined before sim-base.h. */ -typedef USI sim_cia; - #include "sim-base.h" #include "cgen-sim.h" #include "iq2000-sim.h" |