From a515ef01bf5a97366c1e5bf07ba4dee862caefe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 15 Dec 2024 20:44:36 +0100 Subject: [PATCH] [NTOS:KD64] The kernel debugger is marked as unavailable by default. KdPitchDebugger is set to FALSE only when the debugger will be used later (/DEBUG or /CRASHDEBUG specified in the boot command-line). --- ntoskrnl/kd64/kddata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntoskrnl/kd64/kddata.c b/ntoskrnl/kd64/kddata.c index c94e9427bca..f0eec07cbbf 100644 --- a/ntoskrnl/kd64/kddata.c +++ b/ntoskrnl/kd64/kddata.c @@ -77,7 +77,7 @@ PKDEBUG_ROUTINE KiDebugRoutine = KdpStub; // Debugger Configuration Settings // BOOLEAN KdBreakAfterSymbolLoad; -BOOLEAN KdPitchDebugger; +BOOLEAN KdPitchDebugger = TRUE; // The debugger is unavailable by default. BOOLEAN KdDebuggerNotPresent; BOOLEAN KdDebuggerEnabled; BOOLEAN KdAutoEnableOnEvent;