aboutsummaryrefslogtreecommitdiff
path: root/sim/rx
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/rx
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/rx')
-rw-r--r--sim/rx/ChangeLog6
-rw-r--r--sim/rx/gdb-if.c4
-rw-r--r--sim/rx/load.h2
-rw-r--r--sim/rx/syscalls.c2
4 files changed, 10 insertions, 4 deletions
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index b941caf..cbb3b47 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -1,3 +1,9 @@
+2021-05-14 Mike Frysinger <vapier@gentoo.org>
+
+ * gdb-if.c: Update include path.
+ * load.h: Likewise.
+ * syscalls.c: Likewise.
+
2021-05-05 Mike Frysinger <vapier@gentoo.org>
* gdb-if.c: Include libiberty.h.
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c
index ec41910..4a0f070 100644
--- a/sim/rx/gdb-if.c
+++ b/sim/rx/gdb-if.c
@@ -28,8 +28,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "ansidecl.h"
#include "libiberty.h"
-#include "gdb/callback.h"
-#include "gdb/remote-sim.h"
+#include "sim/callback.h"
+#include "sim/sim.h"
#include "gdb/signals.h"
#include "gdb/sim-rx.h"
diff --git a/sim/rx/load.h b/sim/rx/load.h
index bb22776..562fa23 100644
--- a/sim/rx/load.h
+++ b/sim/rx/load.h
@@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "bfd.h"
-#include "gdb/callback.h"
+#include "sim/callback.h"
extern int default_machine;
diff --git a/sim/rx/syscalls.c b/sim/rx/syscalls.c
index 0c75c7d..73ca0f2 100644
--- a/sim/rx/syscalls.c
+++ b/sim/rx/syscalls.c
@@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <unistd.h>
#include <sys/time.h>
-#include "gdb/callback.h"
+#include "sim/callback.h"
#include "cpu.h"
#include "mem.h"