https://git.reactos.org/?p=reactos.git;a=commitdiff;h=df72bcd06c64672f1943c4...
commit df72bcd06c64672f1943c487a8b0275e9bcc653f Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Fri Apr 14 13:07:11 2023 +0300 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Thu May 4 14:09:14 2023 +0300
[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. --- ntoskrnl/kdbg/kdb_symbols.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/kdbg/kdb_symbols.c b/ntoskrnl/kdbg/kdb_symbols.c index 8cd897f339d..11ccd572219 100644 --- a/ntoskrnl/kdbg/kdb_symbols.c +++ b/ntoskrnl/kdbg/kdb_symbols.c @@ -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;