aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
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/sh
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/sh')
-rw-r--r--sim/sh/ChangeLog4
-rw-r--r--sim/sh/interp.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index d3c94d9..be77f8c 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/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>
* configure: Regenerate.
diff --git a/sim/sh/interp.c b/sim/sh/interp.c
index fa361ba..5fb6aff 100644
--- a/sim/sh/interp.c
+++ b/sim/sh/interp.c
@@ -50,8 +50,8 @@
#endif
#include "bfd.h"
-#include "gdb/callback.h"
-#include "gdb/remote-sim.h"
+#include "sim/callback.h"
+#include "sim/sim.h"
#include "gdb/sim-sh.h"
#include "sim-main.h"