summaryrefslogtreecommitdiff
path: root/sim/system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'sim/system.hh')
-rw-r--r--sim/system.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/system.hh b/sim/system.hh
index 8cfe790de..aa697c040 100644
--- a/sim/system.hh
+++ b/sim/system.hh
@@ -97,7 +97,7 @@ class System : public SimObject
Kernel::Binning *kernelBinning;
-#ifdef DEBUG
+#ifndef NDEBUG
/** Event to halt the simulator if the console calls panic() */
BreakPCEvent *consolePanicEvent;
#endif