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] sim: drop unused SIM_ADDR type [PR sim/7504]
Date: Thu, 22 Dec 2022 20:10:06 -0500	[thread overview]
Message-ID: <20221223011006.17469-1-vapier@gentoo.org> (raw)

Now that sim APIs either use 64-bit addresses all the time, or more
appropriate target-specific types, drop this now-unused 32-bit-only
address type.

Bug: https://sourceware.org/PR7504
---
 include/sim/sim.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/sim/sim.h b/include/sim/sim.h
index 468a63bbc201..6243bd49a123 100644
--- a/include/sim/sim.h
+++ b/include/sim/sim.h
@@ -26,12 +26,6 @@
 extern "C" {
 #endif
 
-/* This file is used when building stand-alone simulators, so isolate this
-   file from gdb.  */
-
-typedef unsigned int SIM_ADDR;
-
-
 /* Semi-opaque type used as result of sim_open and passed back to all
    other routines.  "desc" is short for "descriptor".
    It is up to each simulator to define `sim_state'.  */
-- 
2.39.0


                 reply	other threads:[~2022-12-23  1:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20221223011006.17469-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).