summaryrefslogtreecommitdiff
path: root/sim/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/debug.cc')
-rw-r--r--sim/debug.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/debug.cc b/sim/debug.cc
index 09c604a95..b73ab4245 100644
--- a/sim/debug.cc
+++ b/sim/debug.cc
@@ -40,11 +40,13 @@
using namespace std;
+#ifdef DEBUG
void
debug_break()
{
kill(getpid(), SIGTRAP);
}
+#endif
//
// Debug event: place a breakpoint on the process function and