summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/i386/machdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index ec148fc..7031fb3 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -95,6 +95,9 @@ __FBSDID("$FreeBSD$");
#include <sys/cons.h>
#ifdef DDB
+#ifndef KDB
+#error KDB must be enabled in order for DDB to work!
+#endif
#include <ddb/ddb.h>
#include <ddb/db_sym.h>
#endif
OpenPOWER on IntegriCloud