aboutsummaryrefslogtreecommitdiff
path: root/sim/cris
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-26 20:20:23 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-26 20:38:31 -0500
commit1b393626cef48974502e7077b191555b56680ee6 (patch)
tree90319a4085b670ee672d0bf335352b45789a07e9 /sim/cris
parent466b619e95908dc073b78413f0d0d0b1cb97e4b5 (diff)
downloadgdb-1b393626cef48974502e7077b191555b56680ee6.zip
gdb-1b393626cef48974502e7077b191555b56680ee6.tar.gz
gdb-1b393626cef48974502e7077b191555b56680ee6.tar.bz2
sim: punt WITH_DEVICES & tconfig.h support
No arch is using this anymore, and we want all new ports using the hardware framework instead. Punt WITH_DEVICES and the two callbacks device_io_{read,write}_buffer. We can also punt the tconfig.h file as no port is using it anymore. This fixes in-tree builds that get confused by picking up the wrong one (common/ vs <port>/) caused by commit ae7d0cac8ce971f7108d270c. Any port that needs to set up a global define can use their own sim-main.h file that they must provide regardless.
Diffstat (limited to 'sim/cris')
-rw-r--r--sim/cris/ChangeLog5
-rw-r--r--sim/cris/Makefile.in2
-rw-r--r--sim/cris/config.in2
-rwxr-xr-xsim/cris/configure6
4 files changed, 8 insertions, 7 deletions
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index 82cffd3..f2be067 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,5 +1,10 @@
2015-12-26 Mike Frysinger <vapier@gentoo.org>
+ * config.in, configure: Regenerate.
+ * Makefile.in (rvdummy.o): Delete tconfig.h.
+
+2015-12-26 Mike Frysinger <vapier@gentoo.org>
+
* sim-if.c (sim_open): Delete cpu variable. Pass NULL/NULL_CIA to
sim_core_write_buffer.
diff --git a/sim/cris/Makefile.in b/sim/cris/Makefile.in
index a0520ac..887407c 100644
--- a/sim/cris/Makefile.in
+++ b/sim/cris/Makefile.in
@@ -72,7 +72,7 @@ check: rvdummy$(EXEEXT)
rvdummy$(EXEEXT): rvdummy.o $(EXTRA_LIBDEPS)
$(CC) $(ALL_CFLAGS) -o rvdummy$(EXEEXT) rvdummy.o $(EXTRA_LIBS)
-rvdummy.o: rvdummy.c config.h tconfig.h $(remote_sim_h) $(callback_h)
+rvdummy.o: rvdummy.c config.h $(remote_sim_h) $(callback_h)
# CRISV10 objs
diff --git a/sim/cris/config.in b/sim/cris/config.in
index d2184e6..1734eea 100644
--- a/sim/cris/config.in
+++ b/sim/cris/config.in
@@ -174,5 +174,3 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
-
-#include "tconfig.h"
diff --git a/sim/cris/configure b/sim/cris/configure
index 46daa18..eb1e7f4 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -8311,8 +8311,6 @@ else
fi
-
-
# Some of the common include files depend on bfd.h, and bfd.h checks
# that config.h is included first by testing that the PACKAGE macro
# is defined.
@@ -12328,7 +12326,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12331 "configure"
+#line 12329 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12434,7 +12432,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12437 "configure"
+#line 12435 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H