]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: trace: do not enable internal debug by default
authorMike Frysinger <vapier@gentoo.org>
Tue, 23 Jun 2015 17:57:29 +0000 (23:42 +0545)
committerMike Frysinger <vapier@gentoo.org>
Tue, 23 Jun 2015 18:05:38 +0000 (14:05 -0400)
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.

sim/common/ChangeLog
sim/common/sim-config.h

index 0f0773deb813223436b4701423e94b97b4535a5f..c0ddbcab78ada687638658b29d132652ab17de1f 100644 (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.
index bf7428ca5a9968355068c2e4cfebf5bf3833bca4..f4fe076ba166cf0e3c95991fbf96e3b4a92202b4 100644 (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