mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[NTOSKRNL]
- 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
This commit is contained in:
parent
a9e356ef1d
commit
6b6c137341
|
@ -171,15 +171,14 @@ KdInitSystem(ULONG BootPhase,
|
|||
{
|
||||
/* Enable on the serial port */
|
||||
KdDebuggerEnabled = TRUE;
|
||||
KdDebuggerNotPresent = FALSE;
|
||||
KdpDebugMode.Serial = TRUE;
|
||||
}
|
||||
|
||||
#ifdef KDBG
|
||||
/* Get the KDBG Settings and enable it */
|
||||
KdDebuggerEnabled = TRUE;
|
||||
KdDebuggerNotPresent = FALSE;
|
||||
KdbpGetCommandLineSettings(LoaderBlock->LoadOptions);
|
||||
/* Get the KDBG Settings */
|
||||
KdbpGetCommandLineSettings(LoaderBlock->LoadOptions);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Get the port and baud rate */
|
||||
Port = strstr(CommandLine, "DEBUGPORT");
|
||||
|
|
Loading…
Reference in a new issue