From 307c3b1526917712323009bd6aba16233ddea8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Mon, 6 Oct 2003 16:24:20 +0000 Subject: [PATCH] Prevent double output svn path=/trunk/; revision=6250 --- reactos/ntoskrnl/ke/bug.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ke/bug.c b/reactos/ntoskrnl/ke/bug.c index 79496636f80..8d247f3d897 100644 --- a/reactos/ntoskrnl/ke/bug.c +++ b/reactos/ntoskrnl/ke/bug.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: bug.c,v 1.38 2003/08/27 21:28:08 dwelch Exp $ +/* $Id: bug.c,v 1.39 2003/10/06 16:24:20 gvg Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/bug.c @@ -183,7 +183,10 @@ KeBugCheckEx(ULONG BugCheckCode, /* Make sure we're switching back to the blue screen and print messages on it */ HalReleaseDisplayOwnership(); - KdDebugState |= KD_DEBUG_SCREEN; + if (0 == (KdDebugState & KD_DEBUG_GDB)) + { + KdDebugState |= KD_DEBUG_SCREEN; + } __asm__("cli\n\t"); if (KeGetCurrentIrql() < DISPATCH_LEVEL)