From: Mike Frysinger Date: Wed, 10 Nov 2021 10:15:33 +0000 (-0500) Subject: sim: frv: flip trapdump default back to off X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ee4d0e313e974131dbe2b59f4b0aa0108a6ef08;p=binutils-gdb.git sim: frv: flip trapdump default back to off 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. --- diff --git a/sim/configure b/sim/configure index 3da6fce3580..3cd19e0648a 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 797bcd6c60f..75c27a89d04 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