summaryrefslogtreecommitdiff
path: root/sim/common/sim-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-config.h')
-rw-r--r--sim/common/sim-config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h
index 1205920ab88..7278b3ba604 100644
--- a/sim/common/sim-config.h
+++ b/sim/common/sim-config.h
@@ -416,7 +416,13 @@ extern int current_floating_point;
/* Debugging:
- Control the inclusion of debugging code. */
+ Control the inclusion of debugging code.
+ Debugging is only turned on in rare circumstances [say during development]
+ and is not intended to be turned on otherwise. */
+
+#ifndef WITH_DEBUG
+#define WITH_DEBUG 0
+#endif
/* Include the tracing code. Disabling this eliminates all tracing
code */