summaryrefslogtreecommitdiff
path: root/sim/system.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/system.cc')
-rw-r--r--sim/system.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/system.cc b/sim/system.cc
index c91d7f142..4bcc89c56 100644
--- a/sim/system.cc
+++ b/sim/system.cc
@@ -123,7 +123,7 @@ System::System(Params *p)
DPRINTF(Loader, "Kernel loaded...\n");
Addr addr = 0;
-#ifdef DEBUG
+#ifndef NDEBUG
consolePanicEvent = addConsoleFuncEvent<BreakPCEvent>("panic");
#endif