kern: implement thread call stack debug

This commit is contained in:
Michael Scire committed 2020-12-09 22:49:04 -08:00
1 parent 16e2f46aed
commit af259eabda
11 files changed
+657 -32

No files matched your search

@@ -34,6 +34,13 @@ namespace ams::kern::svc {
KDumpObject::DumpThread(arg0);
}
break;
case ams::svc::KernelDebugType_ThreadCallStack:
if (arg0 == static_cast<u64>(-1)) {
KDumpObject::DumpThreadCallStack();
} else {
KDumpObject::DumpThreadCallStack(arg0);
}
break;
default:
break;
}