[NTOS:KD64] Add a missing KdEnteredDebugger reset in KdExitDebugger()

This commit is contained in:
Hermès Bélusca-Maïto 2024-09-29 20:58:07 +02:00
parent 6b89a0da11
commit 7068a790b2
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -1952,7 +1952,8 @@ KdExitDebugger(IN BOOLEAN Enable)
{
ULONG TimeSlip;
/* Restore the state and unlock the port */
/* Reset the debugger entered flag, restore the port state and unlock it */
KdEnteredDebugger = FALSE;
KdRestore(FALSE);
if (KdpPortLocked) KdpPortUnlock();