mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[NTOS:PS] Skip backtrace on non-x86
This commit is contained in:
parent
925f1a67ea
commit
8723be733c
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,7 @@ PspDumpThreads(BOOLEAN IncludeSystem)
|
||||||
Thread->Tcb.State == Standby ||
|
Thread->Tcb.State == Standby ||
|
||||||
Thread->Tcb.State == Waiting)
|
Thread->Tcb.State == Waiting)
|
||||||
{
|
{
|
||||||
|
#ifdef _M_IX86
|
||||||
ULONG i = 0;
|
ULONG i = 0;
|
||||||
PULONG Esp = (PULONG)Thread->Tcb.KernelStack;
|
PULONG Esp = (PULONG)Thread->Tcb.KernelStack;
|
||||||
PULONG Ebp = (PULONG)Esp[4];
|
PULONG Ebp = (PULONG)Esp[4];
|
||||||
|
@ -77,6 +78,9 @@ PspDumpThreads(BOOLEAN IncludeSystem)
|
||||||
|
|
||||||
/* Print a new line if there's nothing */
|
/* Print a new line if there's nothing */
|
||||||
if((i % 8) != 0) DbgPrint("\n");
|
if((i % 8) != 0) DbgPrint("\n");
|
||||||
|
#else
|
||||||
|
DbgPrint("FIXME: Backtrace skipped on non-x86\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Move to the next Thread */
|
/* Move to the next Thread */
|
||||||
|
|
Loading…
Reference in a new issue