projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
925f1a6
)
[NTOS:PS] Skip backtrace on non-x86
author
Ivan Labutin
<linuxrf@gmail.com>
Mon, 18 Dec 2017 07:27:31 +0000
(08:27 +0100)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Wed, 20 Dec 2017 05:56:09 +0000
(06:56 +0100)
ntoskrnl/ps/debug.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/ps/debug.c
b/ntoskrnl/ps/debug.c
index
6da8ea2
..
d87595a
100644
(file)
--- 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 */