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/mcore | |
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/mcore')
-rw-r--r-- | sim/mcore/ChangeLog | 4 | ||||
-rw-r--r-- | sim/mcore/sim-main.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index 89f17d8..98ebb1e 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/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> * interp.c (set_initial_gprs): Change CIA_SET to CPU_PC_SET. diff --git a/sim/mcore/sim-main.h b/sim/mcore/sim-main.h index f700059..25698c1 100644 --- a/sim/mcore/sim-main.h +++ b/sim/mcore/sim-main.h @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "sim-basics.h" -typedef address_word sim_cia; typedef long int word; typedef unsigned long int uword; |