aboutsummaryrefslogtreecommitdiff
path: root/sim/moxie
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-06 18:45:05 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-12 10:58:22 -0400
commitdba333c1e4051400983d3cb8b13c9c4a2d766e9c (patch)
tree73dbf6f84c54dbfe766ca52c5f967246a86f1a4f /sim/moxie
parentb15c5d7a516d4e3466753e19df77d34b404d397e (diff)
downloadgdb-dba333c1e4051400983d3cb8b13c9c4a2d766e9c.zip
gdb-dba333c1e4051400983d3cb8b13c9c4a2d766e9c.tar.gz
gdb-dba333c1e4051400983d3cb8b13c9c4a2d766e9c.tar.bz2
sim: unify assert build settings
Move the --sim-enable-assert option up to the common dir so we only test & export it once across all ports.
Diffstat (limited to 'sim/moxie')
-rw-r--r--sim/moxie/ChangeLog4
-rw-r--r--sim/moxie/aclocal.m41
-rw-r--r--sim/moxie/config.in3
-rwxr-xr-xsim/moxie/configure26
4 files changed, 6 insertions, 28 deletions
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog
index d80a314..96c040b 100644
--- a/sim/moxie/ChangeLog
+++ b/sim/moxie/ChangeLog
@@ -1,5 +1,9 @@
2021-06-12 Mike Frysinger <vapier@gentoo.org>
+ * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12 Mike Frysinger <vapier@gentoo.org>
+
* config.in, configure: Regenerate.
2021-05-17 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/moxie/aclocal.m4 b/sim/moxie/aclocal.m4
index 4300d0e..db1cdbf 100644
--- a/sim/moxie/aclocal.m4
+++ b/sim/moxie/aclocal.m4
@@ -112,7 +112,6 @@ m4_include([../../ltversion.m4])
m4_include([../../lt~obsolete.m4])
m4_include([../m4/sim_ac_common.m4])
m4_include([../m4/sim_ac_option_alignment.m4])
-m4_include([../m4/sim_ac_option_assert.m4])
m4_include([../m4/sim_ac_option_endian.m4])
m4_include([../m4/sim_ac_option_environment.m4])
m4_include([../m4/sim_ac_option_hardware.m4])
diff --git a/sim/moxie/config.in b/sim/moxie/config.in
index bcc3ce5..0b237bf 100644
--- a/sim/moxie/config.in
+++ b/sim/moxie/config.in
@@ -114,9 +114,6 @@
#endif
-/* Sim assert settings */
-#undef WITH_ASSERT
-
/* Sim debug setting */
#undef WITH_DEBUG
diff --git a/sim/moxie/configure b/sim/moxie/configure
index 40d9a04..b4c00bd 100755
--- a/sim/moxie/configure
+++ b/sim/moxie/configure
@@ -776,7 +776,6 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
-enable_sim_assert
enable_sim_environment
enable_sim_inline
with_pkgversion
@@ -1430,7 +1429,6 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
- --enable-sim-assert Specify whether to perform random assertions
--enable-sim-environment=environment
Specify mixed, user, virtual or operating
environment
@@ -10785,7 +10783,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10788 "configure"
+#line 10786 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10891,7 +10889,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10894 "configure"
+#line 10892 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11274,26 +11272,6 @@ $as_echo "$sim_profile" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
-$as_echo_n "checking whether to enable sim asserts... " >&6; }
-sim_assert="1"
-# Check whether --enable-sim-assert was given.
-if test "${enable_sim_assert+set}" = set; then :
- enableval=$enable_sim_assert; case "${enableval}" in
- yes) sim_assert="1";;
- no) sim_assert="0";;
- *) as_fn_error $? "--enable-sim-assert does not take a value" "$LINENO" 5;;
-esac
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define WITH_ASSERT $sim_assert
-_ACEOF
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
-$as_echo "$sim_assert" >&6; }
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
$as_echo_n "checking default sim environment setting... " >&6; }
sim_environment="ALL_ENVIRONMENT"