- Don't enable the kernel debugger if the DEBUG option was not set
- Fixes displaying the BSOD when not booting in debug mode (broken in r41534)
svn path=/trunk/; revision=47110
{
/* Enable on the serial port */
KdDebuggerEnabled = TRUE;
{
/* Enable on the serial port */
KdDebuggerEnabled = TRUE;
+ KdDebuggerNotPresent = FALSE;
KdpDebugMode.Serial = TRUE;
KdpDebugMode.Serial = TRUE;
- /* Get the KDBG Settings and enable it */
- KdDebuggerEnabled = TRUE;
- KdDebuggerNotPresent = FALSE;
- KdbpGetCommandLineSettings(LoaderBlock->LoadOptions);
+ /* Get the KDBG Settings */
+ KdbpGetCommandLineSettings(LoaderBlock->LoadOptions);
/* Get the port and baud rate */
Port = strstr(CommandLine, "DEBUGPORT");
/* Get the port and baud rate */
Port = strstr(CommandLine, "DEBUGPORT");