mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
kern: implement thread call stack debug
This commit is contained in:
parent
16e2f46aed
commit
af259eabda
11 changed files with 657 additions and 32 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue