diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-06-23 23:42:29 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-06-23 14:05:38 -0400 |
commit | 4953dc20941a48eed02b575cec29d8de419f87eb (patch) | |
tree | 5bb8809f04cbdf655e123f8df0d5ae74b3cdce62 /sim | |
parent | b50a153264dae2267e3846772819515c648e3c97 (diff) | |
download | fsf-binutils-gdb-4953dc20941a48eed02b575cec29d8de419f87eb.zip fsf-binutils-gdb-4953dc20941a48eed02b575cec29d8de419f87eb.tar.gz fsf-binutils-gdb-4953dc20941a48eed02b575cec29d8de419f87eb.tar.bz2 |
sim: trace: do not enable internal debug by default
Since --trace-debug is for people hacking on the sim sources rather than
people just using the sim, default it to off. This matches the behavior
of other debug knobs we have.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/sim-config.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 0f0773d..c0ddbca 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,9 @@ 2015-06-23 Mike Frysinger <vapier@gentoo.org> + * sim-config.h (WITH_TRACE): Define to ~TRACE_debug. + +2015-06-23 Mike Frysinger <vapier@gentoo.org> + * cgen-trace.c [!__STDC__]: Delete. * sim-trace.h [!__STDC__]: Likewise. diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h index bf7428c..f4fe076 100644 --- a/sim/common/sim-config.h +++ b/sim/common/sim-config.h @@ -487,10 +487,10 @@ extern int current_floating_point; #endif /* Include the tracing code. Disabling this eliminates all tracing - code */ + code. Default to all tracing but internal debug. */ #ifndef WITH_TRACE -#define WITH_TRACE (-1) +#define WITH_TRACE (~TRACE_debug) #endif /* Include the profiling code. Disabling this eliminates all profiling |