summaryrefslogtreecommitdiff
path: root/sim/debug.hh
diff options
context:
space:
mode:
Diffstat (limited to 'sim/debug.hh')
-rw-r--r--sim/debug.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/debug.hh b/sim/debug.hh
index eb0be772e..a4f8b8702 100644
--- a/sim/debug.hh
+++ b/sim/debug.hh
@@ -29,6 +29,10 @@
#ifndef __DEBUG_HH__
#define __DEBUG_HH__
+#ifdef DEBUG
void debug_break();
+#else
+inline void debug_break() { }
+#endif
#endif // __DEBUG_HH__