mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 02:26:23 +02:00
gdb: Implement QRcmd (monitor) commands
monitor backtrace (mo bt) monitor registers (mo reg) monitor get info
This commit is contained in:
parent
7d189ab2c0
commit
009d319bc2
4 changed files with 144 additions and 4 deletions
|
@ -502,12 +502,20 @@ namespace Ryujinx.HLE.HOS
|
|||
IsPaused = pause;
|
||||
}
|
||||
|
||||
internal IDebuggableProcess DebugGetApplicationProcess()
|
||||
internal IDebuggableProcess DebugGetApplicationProcessDebugInterface()
|
||||
{
|
||||
lock (KernelContext.Processes)
|
||||
{
|
||||
return KernelContext.Processes.Values.FirstOrDefault(x => x.IsApplication)?.DebugInterface;
|
||||
}
|
||||
}
|
||||
|
||||
internal KProcess DebugGetApplicationProcess()
|
||||
{
|
||||
lock (KernelContext.Processes)
|
||||
{
|
||||
return KernelContext.Processes.Values.FirstOrDefault(x => x.IsApplication);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue