This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFC 2/4] Fix iq2000-elf sim, default hardware to off.
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 20 Aug 2014 06:33:08 +0200
- Subject: [RFC 2/4] Fix iq2000-elf sim, default hardware to off.
- Authentication-results: sourceware.org; auth=none
See previous message re frv-elf (1/4); this similarly fails at the
dv_sockser_install declaration in sim/iq2000/tconfig.in. There's no
HAVE_DV_SOCKSER conditionals here and no other dv-sockser.o artefacts
so maybe there is no further fallout, but I'm disabling sim-hardware
just be consistent with the state before 94c63d78f (2013-03-23) and
with the actions for frv-elf. That's right, we went from not using
dv-sockser to requiring it without actually using it. Unfriendly.
Make check-sim for iq2000-elf shows no failures after this - but
that's because it has no test-suite. At least it builds.
sim/iq2000:
* configure.ac: Default simulator hardware to off again
without emitting errors when off or dv-sockser.o unavailable.
* configure: Regenerate.
diff --git a/sim/iq2000/configure.ac b/sim/iq2000/configure.ac
index 38e0690..dd26a18 100644
--- a/sim/iq2000/configure.ac
+++ b/sim/iq2000/configure.ac
@@ -14,12 +14,6 @@ SIM_AC_OPTION_ENVIRONMENT
SIM_AC_OPTION_INLINE()
SIM_AC_OPTION_CGEN_MAINT
-SIM_AC_OPTION_HARDWARE(always,"","")
-
-if test -z "$SIM_DV_SOCKSER_O"; then
- AC_MSG_ERROR([Sorry, but hardware support in this simulator
-unconditionally relies on dv-sockser.o which is unavailable for your host.
-Please fix this simulator.])
-fi
+SIM_AC_OPTION_HARDWARE(no,"","")
SIM_AC_OUTPUT
brgds, H-P