aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-08 14:09:06 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-08 14:09:06 +0700
commit195064c8da5a86a602d6312c5ad31b2bdb3721f9 (patch)
treeca36b902db08beb6ce1c25fbf259d5cf4028dae3
parent0a98ae7645a449de86a13918cf488a4ac1692642 (diff)
downloadgdb-195064c8da5a86a602d6312c5ad31b2bdb3721f9.zip
gdb-195064c8da5a86a602d6312c5ad31b2bdb3721f9.tar.gz
gdb-195064c8da5a86a602d6312c5ad31b2bdb3721f9.tar.bz2
sim: drop unused CORE_ADDR_TYPE
This hasn't been used by gdb in decades, and doesn't make sense with a standalone sim program/library where the ABI is fixed. So punt it to simplify the code.
-rw-r--r--include/sim/sim.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sim/sim.h b/include/sim/sim.h
index 5569481..20a667c 100644
--- a/include/sim/sim.h
+++ b/include/sim/sim.h
@@ -27,14 +27,7 @@ extern "C" {
/* This file is used when building stand-alone simulators, so isolate this
file from gdb. */
-/* Pick up CORE_ADDR_TYPE if defined (from gdb), otherwise use same value as
- gdb does (unsigned int - from defs.h). */
-
-#ifndef CORE_ADDR_TYPE
typedef unsigned int SIM_ADDR;
-#else
-typedef CORE_ADDR_TYPE SIM_ADDR;
-#endif
/* Semi-opaque type used as result of sim_open and passed back to all