diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-12-10 06:33:58 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-20 21:06:32 -0500 |
commit | d026e67ed41a249ec758847008d8a19257bf45fc (patch) | |
tree | cc49e25810d2453ed8ed389f9e79eff4be34eb59 /sim | |
parent | 897903a2104878d541a6370b12644ec34afb389b (diff) | |
download | fsf-binutils-gdb-d026e67ed41a249ec758847008d8a19257bf45fc.zip fsf-binutils-gdb-d026e67ed41a249ec758847008d8a19257bf45fc.tar.gz fsf-binutils-gdb-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 'sim')
-rw-r--r-- | sim/aarch64/interp.c | 2 | ||||
-rw-r--r-- | sim/arm/wrapper.c | 2 | ||||
-rw-r--r-- | sim/bfin/machs.c | 2 | ||||
-rw-r--r-- | sim/cr16/interp.c | 2 | ||||
-rw-r--r-- | sim/d10v/interp.c | 2 | ||||
-rw-r--r-- | sim/frv/frv.c | 2 | ||||
-rw-r--r-- | sim/ft32/ft32-sim.h | 2 | ||||
-rw-r--r-- | sim/h8300/compile.c | 2 | ||||
-rw-r--r-- | sim/lm32/lm32-sim.h | 2 | ||||
-rw-r--r-- | sim/m32c/gdb-if.c | 2 | ||||
-rw-r--r-- | sim/ppc/Makefile.in | 2 | ||||
-rw-r--r-- | sim/ppc/gdb-sim.c | 2 | ||||
-rw-r--r-- | sim/riscv/sim-main.c | 2 | ||||
-rw-r--r-- | sim/rl78/gdb-if.c | 2 | ||||
-rw-r--r-- | sim/rx/gdb-if.c | 2 | ||||
-rw-r--r-- | sim/sh/interp.c | 2 |
16 files changed, 16 insertions, 16 deletions
diff --git a/sim/aarch64/interp.c b/sim/aarch64/interp.c index eb8d055..9848d5f 100644 --- a/sim/aarch64/interp.c +++ b/sim/aarch64/interp.c @@ -34,7 +34,7 @@ #include "sim/callback.h" #include "sim/sim.h" #include "gdb/signals.h" -#include "gdb/sim-aarch64.h" +#include "sim/sim-aarch64.h" #include "sim-main.h" #include "sim-options.h" diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 831a0ff..2c5253f 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -36,7 +36,7 @@ #include "armemu.h" #include "dbg_rdi.h" #include "ansidecl.h" -#include "gdb/sim-arm.h" +#include "sim/sim-arm.h" #include "gdb/signals.h" #include "libiberty.h" #include "iwmmxt.h" diff --git a/sim/bfin/machs.c b/sim/bfin/machs.c index bbc3b51..adc0eb3 100644 --- a/sim/bfin/machs.c +++ b/sim/bfin/machs.c @@ -24,7 +24,7 @@ #include <stdlib.h> #include "sim-main.h" -#include "gdb/sim-bfin.h" +#include "sim/sim-bfin.h" #include "bfd.h" #include "sim-hw.h" diff --git a/sim/cr16/interp.c b/sim/cr16/interp.c index cfe157c..1522ca4 100644 --- a/sim/cr16/interp.c +++ b/sim/cr16/interp.c @@ -32,7 +32,7 @@ #include "sim-options.h" #include "sim-signal.h" -#include "gdb/sim-cr16.h" +#include "sim/sim-cr16.h" #include "gdb/signals.h" #include "opcode/cr16.h" diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c index 496ccff..f83fa66 100644 --- a/sim/d10v/interp.c +++ b/sim/d10v/interp.c @@ -11,7 +11,7 @@ #include "sim-options.h" #include "sim-signal.h" -#include "gdb/sim-d10v.h" +#include "sim/sim-d10v.h" #include "gdb/signals.h" #include <string.h> diff --git a/sim/frv/frv.c b/sim/frv/frv.c index 19bf4b9..69ff9fa 100644 --- a/sim/frv/frv.c +++ b/sim/frv/frv.c @@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "cgen-engine.h" #include "cgen-par.h" #include "bfd.h" -#include "gdb/sim-frv.h" +#include "sim/sim-frv.h" #include <math.h> #include <stdlib.h> diff --git a/sim/ft32/ft32-sim.h b/sim/ft32/ft32-sim.h index 255aa48..27cb81c 100644 --- a/sim/ft32/ft32-sim.h +++ b/sim/ft32/ft32-sim.h @@ -23,7 +23,7 @@ #include <stdint.h> -#include "gdb/sim-ft32.h" +#include "sim/sim-ft32.h" #define FT32_HARD_FP 29 #define FT32_HARD_CC 30 diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index 25fb8b8..1a9e6b2 100644 --- a/sim/h8300/compile.c +++ b/sim/h8300/compile.c @@ -29,7 +29,7 @@ #include "bfd.h" #include "sim-main.h" -#include "gdb/sim-h8300.h" +#include "sim/sim-h8300.h" #include "sys/stat.h" #include "sys/types.h" #include "sim-options.h" diff --git a/sim/lm32/lm32-sim.h b/sim/lm32/lm32-sim.h index eb58fb9..95a945d 100644 --- a/sim/lm32/lm32-sim.h +++ b/sim/lm32/lm32-sim.h @@ -20,7 +20,7 @@ #ifndef LM32_SIM_H #define LM32_SIM_H -#include "gdb/sim-lm32.h" +#include "sim/sim-lm32.h" /* CSRs. */ #define LM32_CSR_IE 0 diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c index 2b33f40..b065bdc 100644 --- a/sim/m32c/gdb-if.c +++ b/sim/m32c/gdb-if.c @@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "sim/callback.h" #include "sim/sim.h" #include "gdb/signals.h" -#include "gdb/sim-m32c.h" +#include "sim/sim-m32c.h" #include "cpu.h" #include "mem.h" diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index cc9635e..5f58ccf 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -142,7 +142,7 @@ ANSIDECL_H = $(srcroot)/include/ansidecl.h BFD_H = ../../bfd/bfd.h GDB_CALLBACK_H = $(srcroot)/include/sim/callback.h GDB_REMOTE_SIM_H = $(srcroot)/include/sim/sim.h -GDB_SIM_PPC_H = $(srcroot)/include/gdb/sim-ppc.h +GDB_SIM_PPC_H = $(srcroot)/include/sim/sim-ppc.h COMMON_SIM_BASE_H = $(srcroot)/sim/common/sim-base.h COMMON_SIM_BASICS_H = $(srcroot)/sim/common/sim-basics.h COMMON_SIM_FPU_H = $(srcroot)/sim/common/sim-fpu.h diff --git a/sim/ppc/gdb-sim.c b/sim/ppc/gdb-sim.c index 5c4ad11..fbe4c53 100644 --- a/sim/ppc/gdb-sim.c +++ b/sim/ppc/gdb-sim.c @@ -26,7 +26,7 @@ #include "sim_callbacks.h" #include "sim/callback.h" #include "sim/sim.h" -#include "gdb/sim-ppc.h" +#include "sim/sim-ppc.h" /* Return the register name for the supplied SPR if any, or NULL if none. */ diff --git a/sim/riscv/sim-main.c b/sim/riscv/sim-main.c index 6f253d5..b8771e6 100644 --- a/sim/riscv/sim-main.c +++ b/sim/riscv/sim-main.c @@ -33,7 +33,7 @@ #include "opcode/riscv.h" -#include "gdb/sim-riscv.h" +#include "sim/sim-riscv.h" #define TRACE_REG(cpu, reg) \ TRACE_REGISTER (cpu, "wrote %s = %#" PRIxTW, riscv_gpr_names_abi[reg], \ diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c index 15653cb..cc76a7d 100644 --- a/sim/rl78/gdb-if.c +++ b/sim/rl78/gdb-if.c @@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "sim/callback.h" #include "sim/sim.h" #include "gdb/signals.h" -#include "gdb/sim-rl78.h" +#include "sim/sim-rl78.h" #include "cpu.h" #include "mem.h" diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c index d4cab50..70f84c1 100644 --- a/sim/rx/gdb-if.c +++ b/sim/rx/gdb-if.c @@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "sim/callback.h" #include "sim/sim.h" #include "gdb/signals.h" -#include "gdb/sim-rx.h" +#include "sim/sim-rx.h" #include "cpu.h" #include "mem.h" diff --git a/sim/sh/interp.c b/sim/sh/interp.c index bfac1ba..e0cbc7f 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -55,7 +55,7 @@ #include "bfd.h" #include "sim/callback.h" #include "sim/sim.h" -#include "gdb/sim-sh.h" +#include "sim/sim-sh.h" #include "sim-main.h" #include "sim-base.h" |