aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-22 21:36:24 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-22 21:55:47 -0500
commit547eedc132de227210d1ba7fc68703170c274f61 (patch)
treed35bdb6b992fb934498e191a7b8c76f0b5a56ce2 /sim
parent3841a73a271d4849deb4e406f0632dd7567c23f8 (diff)
downloadgdb-547eedc132de227210d1ba7fc68703170c274f61.zip
gdb-547eedc132de227210d1ba7fc68703170c274f61.tar.gz
gdb-547eedc132de227210d1ba7fc68703170c274f61.tar.bz2
sim: cr16/d10v/mcore/moxie: clean up unused word & uword types
Nothing actually uses these, so punt them. Some of the ports are using local "word" types, but we'll clean those up in a follow up.
Diffstat (limited to 'sim')
-rw-r--r--sim/cr16/sim-main.h4
-rw-r--r--sim/d10v/sim-main.h4
-rw-r--r--sim/mcore/sim-main.h1
-rw-r--r--sim/moxie/interp.c1
4 files changed, 0 insertions, 10 deletions
diff --git a/sim/cr16/sim-main.h b/sim/cr16/sim-main.h
index 667db19..188c32c 100644
--- a/sim/cr16/sim-main.h
+++ b/sim/cr16/sim-main.h
@@ -20,10 +20,6 @@
#define SIM_MAIN_H
#include "sim-basics.h"
-
-typedef long int word;
-typedef unsigned long int uword;
-
#include "sim-base.h"
#include "bfd.h"
diff --git a/sim/d10v/sim-main.h b/sim/d10v/sim-main.h
index 3d7b732..a6462d8 100644
--- a/sim/d10v/sim-main.h
+++ b/sim/d10v/sim-main.h
@@ -20,10 +20,6 @@
#define SIM_MAIN_H
#include "sim-basics.h"
-
-typedef long int word;
-typedef unsigned long int uword;
-
#include "sim-base.h"
#include "bfd.h"
diff --git a/sim/mcore/sim-main.h b/sim/mcore/sim-main.h
index fc4625b..23e7ae6 100644
--- a/sim/mcore/sim-main.h
+++ b/sim/mcore/sim-main.h
@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-basics.h"
typedef long int word;
-typedef unsigned long int uword;
#include "sim-base.h"
#include "bfd.h"
diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c
index ea0a559..4291865 100644
--- a/sim/moxie/interp.c
+++ b/sim/moxie/interp.c
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "target-newlib-syscall.h"
typedef int word;
-typedef unsigned int uword;
/* Extract the signed 10-bit offset from a 16-bit branch
instruction. */