From ad9cb3cc3467b27d0ac42ae8b40e38afc3844bb3 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 15 May 2010 03:21:54 +0000 Subject: [PATCH] [NTOSKRNL] - Fix a bug that broke /NODEBUG and /CRASHDEBUG svn path=/trunk/; revision=47216 --- reactos/ntoskrnl/kd/kdinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/kd/kdinit.c b/reactos/ntoskrnl/kd/kdinit.c index 6c5f240761b..5fcc0ee8cd2 100644 --- a/reactos/ntoskrnl/kd/kdinit.c +++ b/reactos/ntoskrnl/kd/kdinit.c @@ -166,8 +166,8 @@ KdInitSystem(ULONG BootPhase, /* XXX Check for settings that we support */ if (strstr(CommandLine, "BREAK")) KdpEarlyBreak = TRUE; if (strstr(CommandLine, "NODEBUG")) KdDebuggerEnabled = FALSE; - if (strstr(CommandLine, "CRASHDEBUG")) KdDebuggerEnabled = FALSE; - if (strstr(CommandLine, "DEBUG")) + else if (strstr(CommandLine, "CRASHDEBUG")) KdDebuggerEnabled = FALSE; + else if (strstr(CommandLine, "DEBUG")) { /* Enable on the serial port */ KdDebuggerEnabled = TRUE;