sim: drop unused SIM_ADDR type [PR sim/7504]

Message ID 20221223011006.17469-1-vapier@gentoo.org
State Committed
Headers
Series sim: drop unused SIM_ADDR type [PR sim/7504] |

Commit Message

Mike Frysinger Dec. 23, 2022, 1:10 a.m. UTC
  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(-)
  

Patch

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'.  */