mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Fixed a bug in KdpPrintString().
When serial debug was enabled, than the bochs debug dosn't work. svn path=/trunk/; revision=2246
This commit is contained in:
parent
aebc047c8c
commit
5ee0bf283e
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: kdebug.c,v 1.28 2001/08/30 20:38:19 dwelch Exp $
|
||||
/* $Id: kdebug.c,v 1.29 2001/09/09 09:47:18 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -204,7 +204,7 @@ KdInitSystem (
|
|||
ULONG KdpPrintString (PANSI_STRING String)
|
||||
{
|
||||
PCH pch = String->Buffer;
|
||||
|
||||
|
||||
if (KdpDebugType & ScreenDebug)
|
||||
{
|
||||
HalDisplayString (String->Buffer);
|
||||
|
@ -223,6 +223,7 @@ ULONG KdpPrintString (PANSI_STRING String)
|
|||
}
|
||||
if (KdpDebugType & BochsDebug)
|
||||
{
|
||||
pch = String->Buffer;
|
||||
while (*pch != 0)
|
||||
{
|
||||
if (*pch == '\n')
|
||||
|
|
Loading…
Reference in a new issue