public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 1/3] sim: cr16/d10v/mcore/moxie: clean up unused word & uword types
Date: Thu, 22 Dec 2022 21:55:33 -0500	[thread overview]
Message-ID: <20221223025535.482-1-vapier@gentoo.org> (raw)

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.
---
 sim/cr16/sim-main.h  | 4 ----
 sim/d10v/sim-main.h  | 4 ----
 sim/mcore/sim-main.h | 1 -
 sim/moxie/interp.c   | 1 -
 4 files changed, 10 deletions(-)

diff --git a/sim/cr16/sim-main.h b/sim/cr16/sim-main.h
index 667db199ea12..188c32caa09c 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 3d7b73231838..a6462d8c6a43 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 fc4625ba8ec2..23e7ae64b05c 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 ea0a559a0572..42918659e488 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.  */
-- 
2.39.0


             reply	other threads:[~2022-12-23  2:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23  2:55 Mike Frysinger [this message]
2022-12-23  2:55 ` [PATCH 2/3] sim: moxie: replace custom "word" type with int32_t Mike Frysinger
2022-12-23  2:55 ` [PATCH 3/3] sim: mcore: " Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221223025535.482-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).