aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-22 22:23:04 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-23 04:14:27 -0400
commit3649cb065699316bc8cd64b06f273c72f1806323 (patch)
treecf56f50cedc1a0d897cc271556c067a033d20d67 /sim/mips
parent80fc77e6c14835462fca0b7adc15655ce2e4bb99 (diff)
downloadgdb-3649cb065699316bc8cd64b06f273c72f1806323.zip
gdb-3649cb065699316bc8cd64b06f273c72f1806323.tar.gz
gdb-3649cb065699316bc8cd64b06f273c72f1806323.tar.bz2
sim: dv-sockser: add stub funcs when not available
This lets ports assume that the dv-sockser API is always available if they want to. This way we don't have to do an abort at configure time and it makes the resulting code a bit simpler.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog5
-rwxr-xr-xsim/mips/configure9
-rw-r--r--sim/mips/configure.ac9
3 files changed, 5 insertions, 18 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index f8c3494..5c8e6eb 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-23 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+ * configure.ac: Delete sim_hw checks for dv-sockser.
+
2015-03-16 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/mips/configure b/sim/mips/configure
index 39c20b9..650b6bb 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -14126,15 +14126,6 @@ fi
mips_extra_objs="$SIM_DV_SOCKSER_O"
-if test "$sim_hw_p" = yes -a -z "$SIM_DV_SOCKSER_O"; then
- case " $sim_hw " in
- *" tx3904sio "*)
- as_fn_error "Sorry, but tx3904sio hardware support is
-unavailable for your target. Please use --disable-sim-hardware, or pass a
-list of devices to enable that does not include that." "$LINENO" 5
- esac
-fi
-
# Choose simulator engine
case "${target}" in
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index 4565379..02deab6 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -422,15 +422,6 @@ SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
mips_extra_objs="$SIM_DV_SOCKSER_O"
AC_SUBST(mips_extra_objs)
-if test "$sim_hw_p" = yes -a -z "$SIM_DV_SOCKSER_O"; then
- case " $sim_hw " in
- *" tx3904sio "*)
- AC_MSG_ERROR([Sorry, but tx3904sio hardware support is
-unavailable for your target. Please use --disable-sim-hardware, or pass a
-list of devices to enable that does not include that.])
- esac
-fi
-
# Choose simulator engine
case "${target}" in