Author: cgutman
Date: Sat May 15 05:21:54 2010
New Revision: 47216
URL:
http://svn.reactos.org/svn/reactos?rev=47216&view=rev
Log:
[NTOSKRNL]
- Fix a bug that broke /NODEBUG and /CRASHDEBUG
Modified:
trunk/reactos/ntoskrnl/kd/kdinit.c
Modified: trunk/reactos/ntoskrnl/kd/kdinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kd/kdinit.c?rev=4…
==============================================================================
--- trunk/reactos/ntoskrnl/kd/kdinit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kd/kdinit.c [iso-8859-1] Sat May 15 05:21:54 2010
@@ -166,8 +166,8 @@
/* 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;