* [PATCH] sim: frv: flip trapdump default back to off
@ 2021-11-10 10:19 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2021-11-10 10:19 UTC (permalink / raw)
To: gdb-patches
When I refactored this by scoping it to sim-frv-xxx in commit
e7954ef5e5ed90fb7d28c013518f4c2e6bcd20a1 ("sim: frv: scope the
unique configure flag"), I changed the default from off to on.
While the feature is nice for developers, it breaks a bunch of
tests which aren't expecting this extra output. So flip it back
to off by default.
---
sim/configure | 2 +-
sim/frv/acinclude.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sim/configure b/sim/configure
index 3da6fce3580c..3cd19e0648ae 100755
--- a/sim/configure
+++ b/sim/configure
@@ -15317,7 +15317,7 @@ yes|no) ;;
esac
fi
-if test "x${enable_sim_frv_trapdump}" != xno; then
+if test "x${enable_sim_frv_trapdump}" = xyes; then
SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
diff --git a/sim/frv/acinclude.m4 b/sim/frv/acinclude.m4
index 797bcd6c60f7..75c27a89d04a 100644
--- a/sim/frv/acinclude.m4
+++ b/sim/frv/acinclude.m4
@@ -24,7 +24,7 @@ AC_ARG_ENABLE(sim-frv-trapdump,
yes|no) ;;
*) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump");;
esac])
-if test "x${enable_sim_frv_trapdump}" != xno; then
+if test "x${enable_sim_frv_trapdump}" = xyes; then
SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
AC_MSG_RESULT([yes])
else
--
2.33.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-10 10:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 10:19 [PATCH] sim: frv: flip trapdump default back to off Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).