[NTOS:KDBG] Only load symbols on x86

Symbol loading leads to a hang on x64 boot in 2nd stage and KDBG symbols don't work on x64 anyway.
This commit is contained in:
Timo Kreuzer 2023-04-14 13:07:11 +03:00
parent f2a58733e8
commit df72bcd06c

View file

@ -355,8 +355,10 @@ KdbSymInit(
SHORT Found = FALSE;
CHAR YesNo;
/* By default, load symbols in DBG builds, but not in REL builds */
#if DBG
/* By default, load symbols in DBG builds, but not in REL builds
or anything other than x86, because they only work on x86
and can cause the system to hang on x64. */
#if DBG && defined(_M_IX86)
LoadSymbols = TRUE;
#else
LoadSymbols = FALSE;