Skip to content

Commit 52192f1

Browse files
committed
[NTOS:KDBG] For SYSREG2: HACK emission of a 'bt' command when entering the debugger
CORE-19807
1 parent 42914af commit 52192f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ntoskrnl/kdbg/kdb_cli.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3278,6 +3278,12 @@ KdbpCliMainLoop(
32783278
static CHAR Command[1024];
32793279
static CHAR LastCommand[1024] = "";
32803280

3281+
// FIXME HACK: SYSREG SUPPORT CORE-19807 -- Emit a backtrace.
3282+
// TODO: Remove once SYSREG "bt" command emission is fixed!
3283+
#if 1
3284+
KdbpDoCommand("bt");
3285+
#endif
3286+
32813287
if (EnteredOnSingleStep)
32823288
{
32833289
if (!KdbSymPrintAddress((PVOID)KeGetContextPc(KdbCurrentTrapFrame), KdbCurrentTrapFrame))

0 commit comments

Comments
 (0)