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.
This commit is contained in:
Mike Frysinger 2015-06-23 23:42:29 +05:45
parent b50a153264
commit 4953dc2094
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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