aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v
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/d10v
parent183aaaf72a8c0643de1aab1018e23fe020e2ff79 (diff)
downloadfsf-binutils-gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.zip
fsf-binutils-gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.tar.gz
fsf-binutils-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/d10v')
-rw-r--r--sim/d10v/ChangeLog6
-rw-r--r--sim/d10v/Makefile.in2
-rw-r--r--sim/d10v/d10v_sim.h4
-rw-r--r--sim/d10v/interp.c4
4 files changed, 11 insertions, 5 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index cc70f28..0a5c7a7 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,9 @@
+2021-05-14 Mike Frysinger <vapier@gentoo.org>
+
+ * Makefile.in: Update path.
+ * d10v_sim.h: Update include path.
+ * interp.c: Likewise.
+
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/d10v/Makefile.in b/sim/d10v/Makefile.in
index 13b902d..67c7efd 100644
--- a/sim/d10v/Makefile.in
+++ b/sim/d10v/Makefile.in
@@ -28,7 +28,7 @@ SIM_EXTRA_CLEAN = clean-extra
SIM_EXTRA_DEPS = simops.h
-INCLUDE = d10v_sim.h $(srcroot)/include/gdb/callback.h targ-vals.h endian.c \
+INCLUDE = d10v_sim.h $(srcroot)/include/sim/callback.h targ-vals.h endian.c \
$(srcroot)/include/gdb/sim-d10v.h
# This selects the d10v newlib/libgloss syscall definitions.
diff --git a/sim/d10v/d10v_sim.h b/sim/d10v/d10v_sim.h
index 64f974f..972402c 100644
--- a/sim/d10v/d10v_sim.h
+++ b/sim/d10v/d10v_sim.h
@@ -3,7 +3,7 @@
#include <ctype.h>
#include <limits.h>
#include "ansidecl.h"
-#include "gdb/callback.h"
+#include "sim/callback.h"
#include "opcode/d10v.h"
#include "bfd.h"
@@ -21,7 +21,7 @@
extern int d10v_debug;
-#include "gdb/remote-sim.h"
+#include "sim/sim.h"
#include "sim-config.h"
#include "sim-types.h"
diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c
index 6250776..a0dc2f5 100644
--- a/sim/d10v/interp.c
+++ b/sim/d10v/interp.c
@@ -2,8 +2,8 @@
#include <inttypes.h>
#include <signal.h>
#include "bfd.h"
-#include "gdb/callback.h"
-#include "gdb/remote-sim.h"
+#include "sim/callback.h"
+#include "sim/sim.h"
#include "sim-main.h"
#include "sim-options.h"