aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-10 06:33:58 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-20 21:06:32 -0500
commitd026e67ed41a249ec758847008d8a19257bf45fc (patch)
treecc49e25810d2453ed8ed389f9e79eff4be34eb59 /gdb
parent897903a2104878d541a6370b12644ec34afb389b (diff)
downloadbinutils-d026e67ed41a249ec758847008d8a19257bf45fc.zip
binutils-d026e67ed41a249ec758847008d8a19257bf45fc.tar.gz
binutils-d026e67ed41a249ec758847008d8a19257bf45fc.tar.bz2
sim: move register headers into sim/ namespace [PR sim/29869]
These headers define the register numbers for each port to implement the sim_fetch_register & sim_store_register interfaces. While gdb uses these, the APIs are part of the sim, not gdb. Move the headers out of the gdb/ include namespace and into sim/ instead.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/arm-tdep.c2
-rw-r--r--gdb/bfin-tdep.c2
-rw-r--r--gdb/frv-tdep.c2
-rw-r--r--gdb/ft32-tdep.c2
-rw-r--r--gdb/lm32-tdep.c2
-rw-r--r--gdb/m32c-tdep.c2
-rw-r--r--gdb/rs6000-tdep.c2
-rw-r--r--gdb/sh-tdep.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 6f02f04..78a2fe2 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -51,7 +51,7 @@
#include "arch/arm.h"
#include "arch/arm-get-next-pcs.h"
#include "arm-tdep.h"
-#include "gdb/sim-arm.h"
+#include "sim/sim-arm.h"
#include "elf-bfd.h"
#include "coff/internal.h"
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index f751e27..44d6449 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -30,7 +30,7 @@
#include "trad-frame.h"
#include "dis-asm.h"
#include "sim-regno.h"
-#include "gdb/sim-bfin.h"
+#include "sim/sim-bfin.h"
#include "dwarf2/frame.h"
#include "symtab.h"
#include "elf-bfd.h"
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c
index 056aad3..1cfb1a6 100644
--- a/gdb/frv-tdep.c
+++ b/gdb/frv-tdep.c
@@ -28,7 +28,7 @@
#include "trad-frame.h"
#include "dis-asm.h"
#include "sim-regno.h"
-#include "gdb/sim-frv.h"
+#include "sim/sim-frv.h"
#include "opcodes/frv-desc.h" /* for the H_SPR_... enums */
#include "symtab.h"
#include "elf-bfd.h"
diff --git a/gdb/ft32-tdep.c b/gdb/ft32-tdep.c
index 8da3dba..45169db 100644
--- a/gdb/ft32-tdep.c
+++ b/gdb/ft32-tdep.c
@@ -40,7 +40,7 @@
#include "opcode/ft32.h"
#include "ft32-tdep.h"
-#include "gdb/sim-ft32.h"
+#include "sim/sim-ft32.h"
#include <algorithm>
#define RAM_BIAS 0x800000 /* Bias added to RAM addresses. */
diff --git a/gdb/lm32-tdep.c b/gdb/lm32-tdep.c
index dd60132..5640b9e 100644
--- a/gdb/lm32-tdep.c
+++ b/gdb/lm32-tdep.c
@@ -27,7 +27,7 @@
#include "symfile.h"
#include "remote.h"
#include "gdbcore.h"
-#include "gdb/sim-lm32.h"
+#include "sim/sim-lm32.h"
#include "arch-utils.h"
#include "regcache.h"
#include "trad-frame.h"
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c
index f510163..0a2f5d7 100644
--- a/gdb/m32c-tdep.c
+++ b/gdb/m32c-tdep.c
@@ -18,7 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "gdb/sim-m32c.h"
+#include "sim/sim-m32c.h"
#include "gdbtypes.h"
#include "regcache.h"
#include "arch-utils.h"
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index cbd8451..7a47074 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -35,7 +35,7 @@
#include "osabi.h"
#include "infcall.h"
#include "sim-regno.h"
-#include "gdb/sim-ppc.h"
+#include "sim/sim-ppc.h"
#include "reggroups.h"
#include "dwarf2/frame.h"
#include "target-descriptions.h"
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index a2e9148..1adbb3c 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -49,7 +49,7 @@
#include "elf/sh.h"
#include "dwarf2.h"
/* registers numbers shared with the simulator. */
-#include "gdb/sim-sh.h"
+#include "sim/sim-sh.h"
#include <algorithm>
/* List of "set sh ..." and "show sh ..." commands. */