aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-12 00:35:54 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-14 00:41:05 -0400
commitdf68e12b3b3eb91e54d6d888b73049562566e0b3 (patch)
treeb60781365aba1b34bacad73f34987c22615438a4 /sim/mips
parent183aaaf72a8c0643de1aab1018e23fe020e2ff79 (diff)
downloadgdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.zip
gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.tar.gz
gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.tar.bz2
sim: create header namespace
The gdb/callback.h & gdb/remote-sim.h headers have nothing to do with gdb and are really definitions for the libsim API under the sim/ tree. While gdb uses those headers as a client, it's not specific to it. So create a new sim/ namespace and move the headers there.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index c8cf4e2..963e85a 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-14 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Update include path.
+
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* dv-tx3904sio.c: Include stdlib.h.
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index 64259cc..49b79f9 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -48,8 +48,8 @@ code on the hardware.
#include "libiberty.h"
#include "bfd.h"
#include "elf-bfd.h"
-#include "gdb/callback.h" /* GDB simulator callback interface */
-#include "gdb/remote-sim.h" /* GDB simulator interface */
+#include "sim/callback.h" /* GDB simulator callback interface */
+#include "sim/sim.h" /* GDB simulator interface */
#include "sim-syscall.h" /* Simulator system call support */
char* pr_addr (SIM_ADDR addr);