reactos/ntoskrnl/kd
diff -u -r1.57 -r1.58
--- kdebug.c 12 Dec 2004 20:14:01 -0000 1.57
+++ kdebug.c 14 Dec 2004 10:18:57 -0000 1.58
@@ -1,4 +1,4 @@
-/* $Id: kdebug.c,v 1.57 2004/12/12 20:14:01 hbirr Exp $
+/* $Id: kdebug.c,v 1.58 2004/12/14 10:18:57 gvg Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -127,7 +127,7 @@
KdDebuggerEnabled = TRUE;
KdDebugState |= KD_DEBUG_BOCHS;
}
- else if (!_strnicmp(p2, "GDB", 3) && BootPhase > 0)
+ else if (!_strnicmp(p2, "GDB", 3) && BootPhase == 0)
{
p2 += 3;
KdDebuggerEnabled = TRUE;
@@ -255,7 +255,7 @@
/* Perform any initialization nescessary */
if (KdDebuggerEnabled == TRUE)
{
- if (KdDebugState & KD_DEBUG_GDB && BootPhase > 0)
+ if (KdDebugState & KD_DEBUG_GDB && BootPhase == 0)
KdPortInitializeEx(&GdbPortInfo, 0, 0);
if (KdDebugState & KD_DEBUG_SERIAL && BootPhase == 0)