From 8723be733c9fdc865fbd7ff4f7bac7a19ed301fa Mon Sep 17 00:00:00 2001 From: Ivan Labutin Date: Mon, 18 Dec 2017 08:27:31 +0100 Subject: [PATCH] [NTOS:PS] Skip backtrace on non-x86 --- ntoskrnl/ps/debug.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ntoskrnl/ps/debug.c b/ntoskrnl/ps/debug.c index 6da8ea22e24..d87595a8d54 100644 --- a/ntoskrnl/ps/debug.c +++ b/ntoskrnl/ps/debug.c @@ -59,6 +59,7 @@ PspDumpThreads(BOOLEAN IncludeSystem) Thread->Tcb.State == Standby || Thread->Tcb.State == Waiting) { +#ifdef _M_IX86 ULONG i = 0; PULONG Esp = (PULONG)Thread->Tcb.KernelStack; PULONG Ebp = (PULONG)Esp[4]; @@ -77,6 +78,9 @@ PspDumpThreads(BOOLEAN IncludeSystem) /* Print a new line if there's nothing */ if((i % 8) != 0) DbgPrint("\n"); +#else + DbgPrint("FIXME: Backtrace skipped on non-x86\n"); +#endif } /* Move to the next Thread */