aboutsummaryrefslogtreecommitdiff
path: root/sim/aarch64
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/aarch64
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/aarch64')
-rw-r--r--sim/aarch64/ChangeLog5
-rw-r--r--sim/aarch64/cpustate.h2
-rw-r--r--sim/aarch64/interp.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog
index fba3984..085aea6 100644
--- a/sim/aarch64/ChangeLog
+++ b/sim/aarch64/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-14 Mike Frysinger <vapier@gentoo.org>
+
+ * cpustate.h: Update include path.
+ * interp.c: Likewise.
+
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/aarch64/cpustate.h b/sim/aarch64/cpustate.h
index 00b62e1..c3f2637 100644
--- a/sim/aarch64/cpustate.h
+++ b/sim/aarch64/cpustate.h
@@ -27,7 +27,7 @@
#include <stdint.h>
#include <inttypes.h>
-#include "gdb/remote-sim.h"
+#include "sim/sim.h"
/* Symbolic names used to identify general registers which also match
the registers indices in machine code.
diff --git a/sim/aarch64/interp.c b/sim/aarch64/interp.c
index fae2b7a..cc3cf6a 100644
--- a/sim/aarch64/interp.c
+++ b/sim/aarch64/interp.c
@@ -29,8 +29,8 @@
#include "ansidecl.h"
#include "bfd.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-aarch64.h"