From 9727279886e870b67a99aa94f851ac9d6fbc7fbb Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 16 Aug 2004 22:57:47 +0000 Subject: [PATCH] Sync with i386 - add foot shooting protection for the DDB/KDB thing. --- sys/amd64/amd64/machdep.c | 5 +++++ 1 file changed, 5 insertions(+) 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