diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 81c0949cbfe9..3ec46a01edf7 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -95,6 +95,11 @@ __FBSDID("$FreeBSD$"); #include #include +#ifdef DDB +#ifndef KDB +#error KDB must be enabled in order for DDB to work! +#endif +#endif #include #include