Add a function to walk the stack, not yet perfect.

Could use improvements, but with a decent symbol table does very well so
far in the games I tested it in.
This commit is contained in:
Unknown W. Brackets committed 2013-08-12 01:54:14 -07:00
1 parent 92482dfcb3
commit 7ac67a8931
9 files changed
+227 -2

No files matched your search

+2
View File
@@ -3539,6 +3539,8 @@ std::vector<DebugThreadInfo> GetThreadsInfo()
info.name[KERNELOBJECT_MAX_NAME_LENGTH] = 0;
info.status = t->nt.status;
info.entrypoint = t->nt.entrypoint;
info.initialStack = t->nt.initialStack;
info.stackSize = (u32)t->nt.stackSize;
info.priority = t->nt.currentPriority;
info.waitType = t->nt.waitType;
if(*iter == currentThread)