[NTOSKRNL]

- Fix a bug that broke /NODEBUG and /CRASHDEBUG

svn path=/trunk/; revision=47216
This commit is contained in:
Cameron Gutman 2010-05-15 03:21:54 +00:00
parent d3f8544eca
commit ad9cb3cc34

View file

@ -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;