public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: drop unused SIM_ADDR type [PR sim/7504]
@ 2022-12-23  1:10 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2022-12-23  1:10 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-23  1:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23  1:10 [PATCH] sim: drop unused SIM_ADDR type [PR sim/7504] Mike Frysinger

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