mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Prevent double screen output when GDB is active
svn path=/trunk/; revision=5755
This commit is contained in:
parent
8773b1104e
commit
a06a9da285
1 changed files with 5 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: bug.c,v 1.35 2003/08/11 18:50:12 chorns Exp $
|
/* $Id: bug.c,v 1.36 2003/08/22 14:49:54 gvg Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/bug.c
|
* FILE: ntoskrnl/ke/bug.c
|
||||||
|
@ -106,7 +106,10 @@ KeBugCheckWithTf(ULONG BugCheckCode,
|
||||||
|
|
||||||
/* Make sure we're switching back to the blue screen and print messages on it */
|
/* Make sure we're switching back to the blue screen and print messages on it */
|
||||||
HalReleaseDisplayOwnership();
|
HalReleaseDisplayOwnership();
|
||||||
KdDebugState |= KD_DEBUG_SCREEN;
|
if (0 == (KdDebugState & KD_DEBUG_GDB))
|
||||||
|
{
|
||||||
|
KdDebugState |= KD_DEBUG_SCREEN;
|
||||||
|
}
|
||||||
|
|
||||||
__asm__("cli\n\t");
|
__asm__("cli\n\t");
|
||||||
DbgPrint("Bug detected (code %x param %x %x %x %x)\n",
|
DbgPrint("Bug detected (code %x param %x %x %x %x)\n",
|
||||||
|
|
Loading…
Reference in a new issue