From a34870829162e3276a9e0152efe2c7de5677a0c3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 12 Jun 2015 10:32:54 -0400 Subject: sim: drop -DTRACE from configure No code uses this anymore and the symbol conflicts with the new TRACE helper. Punt it from configure. --- sim/lm32/ChangeLog | 4 ++++ sim/lm32/configure | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'sim/lm32') diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index bd5760a..06e1e09 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,5 +1,9 @@ 2015-06-12 Mike Frysinger + * configure: Regenerate. + +2015-06-12 Mike Frysinger + * decode.c (lm32bf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT. * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI. diff --git a/sim/lm32/configure b/sim/lm32/configure index 3fa679c..b2492b1 100755 --- a/sim/lm32/configure +++ b/sim/lm32/configure @@ -12750,10 +12750,10 @@ fi # Check whether --enable-sim-trace was given. if test "${enable_sim_trace+set}" = set; then : enableval=$enable_sim_trace; case "${enableval}" in - yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; - no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; + yes) sim_trace="-DWITH_TRACE=-1";; + no) sim_trace="-DWITH_TRACE=0";; [-0-9]*) - sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; + sim_trace="-DWITH_TRACE='(${enableval})'";; [[:lower:]]*) sim_trace="" for x in `echo "$enableval" | sed -e "s/,/ /g"`; do -- cgit v1.1