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/ppc | |
parent | 897903a2104878d541a6370b12644ec34afb389b (diff) | |
download | gdb-d026e67ed41a249ec758847008d8a19257bf45fc.zip gdb-d026e67ed41a249ec758847008d8a19257bf45fc.tar.gz 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/ppc')
-rw-r--r-- | sim/ppc/Makefile.in | 2 | ||||
-rw-r--r-- | sim/ppc/gdb-sim.c | 2 |
2 files changed, 2 insertions, 2 deletions
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. */ |