[NTOS:KDBG] For SYSREG2: HACK emission of a 'bt' command when entering the debugger

CORE-19807
This commit is contained in:
Hermès Bélusca-Maïto
2024-10-14 23:36:20 +02:00
parent 42914af218
commit 52192f19d6

View File

@@ -3278,6 +3278,12 @@ KdbpCliMainLoop(
static CHAR Command[1024];
static CHAR LastCommand[1024] = "";
// FIXME HACK: SYSREG SUPPORT CORE-19807 -- Emit a backtrace.
// TODO: Remove once SYSREG "bt" command emission is fixed!
#if 1
KdbpDoCommand("bt");
#endif
if (EnteredOnSingleStep)
{
if (!KdbSymPrintAddress((PVOID)KeGetContextPc(KdbCurrentTrapFrame), KdbCurrentTrapFrame))