Implement qThreadExtraInfo
This commit is contained in:
parent
7e4944cc88
commit
8bd4417b24
9 changed files with 50 additions and 1 deletions
|
@ -295,6 +295,27 @@ namespace Ryujinx.HLE.Debugger
|
|||
break;
|
||||
}
|
||||
|
||||
if (ss.ConsumePrefix("ThreadExtraInfo,"))
|
||||
{
|
||||
ulong? threadId = ss.ReadRemainingAsThreadUid();
|
||||
if (threadId == null)
|
||||
{
|
||||
ReplyError();
|
||||
break;
|
||||
}
|
||||
|
||||
IExecutionContext ctx = GetThread(threadId.Value);
|
||||
if (ctx.GetDebugState() == DebugState.Stopped)
|
||||
{
|
||||
Reply(ToHex("Stopped"));
|
||||
}
|
||||
else
|
||||
{
|
||||
Reply(ToHex("Not stopped"));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (ss.ConsumePrefix("Xfer:features:read:"))
|
||||
{
|
||||
string feature = ss.ReadUntil(':');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue