Implement qThreadExtraInfo

This commit is contained in:
merry 2022-02-19 16:12:19 +00:00 committed by svc64
parent 7e4944cc88
commit 8bd4417b24
9 changed files with 50 additions and 1 deletions

View file

@ -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(':');