Fix booting with /DEBUGPORT=GDB and Pice too.

svn path=/trunk/; revision=24215
This commit is contained in:
Saveliy Tretiakov 2006-09-20 15:00:17 +00:00
parent 9907e96a49
commit b9ade034f9

View file

@ -57,6 +57,7 @@ KdpGetWrapperDebugMode(PCHAR Currentp2,
/* Enable Debugging */
KdDebuggerEnabled = TRUE;
KdDebuggerNotPresent = FALSE;
WrapperInitRoutine = KdpGdbStubInit;
}
@ -69,6 +70,7 @@ KdpGetWrapperDebugMode(PCHAR Currentp2,
/* Enable Debugging */
KdDebuggerEnabled = TRUE;
KdDebuggerNotPresent = FALSE;
}
#ifdef KDBG
@ -136,7 +138,7 @@ KdpCallInitRoutine(ULONG BootPhase)
{
PLIST_ENTRY CurrentEntry;
PKD_DISPATCH_TABLE CurrentTable;
/* Call the registered handlers */
CurrentEntry = KdProviders.Flink;
while (CurrentEntry != &KdProviders)