From d026e67ed41a249ec758847008d8a19257bf45fc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 10 Dec 2022 06:33:58 -0500 Subject: 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. --- gdb/arm-tdep.c | 2 +- gdb/bfin-tdep.c | 2 +- gdb/frv-tdep.c | 2 +- gdb/ft32-tdep.c | 2 +- gdb/lm32-tdep.c | 2 +- gdb/m32c-tdep.c | 2 +- gdb/rs6000-tdep.c | 2 +- gdb/sh-tdep.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'gdb') 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 #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 . */ #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 /* List of "set sh ..." and "show sh ..." commands. */ -- cgit v1.1