mirror of
https://github.com/reactos/reactos.git
synced 2025-04-10 15:47:31 +00:00
Make GDB work again
svn path=/trunk/; revision=12116
This commit is contained in:
parent
a95a04eb35
commit
eb3db535d2
1 changed files with 3 additions and 3 deletions
|
@ -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 @@ KdInitSystem(ULONG BootPhase,
|
|||
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 @@ KdInitSystem(ULONG BootPhase,
|
|||
/* 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)
|
||||
|
|
Loading…
Reference in a new issue