mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-10-25 07:34:25 +00:00
gdb: Support qAttached; Add missing ReplyOK when detach (ryubing/ryujinx!184)
See merge request ryubing/ryujinx!184
This commit is contained in:
@@ -146,6 +146,12 @@ namespace Ryujinx.HLE.Debugger.Gdb
|
||||
break;
|
||||
}
|
||||
|
||||
if (ss.ConsumeRemaining("Attached"))
|
||||
{
|
||||
Reply("1");
|
||||
break;
|
||||
}
|
||||
|
||||
if (ss.ConsumeRemaining("ProcessInfo"))
|
||||
{
|
||||
Reply(
|
||||
|
||||
@@ -83,12 +83,13 @@ namespace Ryujinx.HLE.Debugger.Gdb
|
||||
}
|
||||
|
||||
Debugger.DebugProcess.DebugContinue();
|
||||
Processor.ReplyOK();
|
||||
}
|
||||
|
||||
internal void Detach()
|
||||
{
|
||||
Debugger.BreakpointManager.ClearAll();
|
||||
Continue(null);
|
||||
Continue(null); // Continue() will call ReplyError/ReplyOK for us.
|
||||
}
|
||||
|
||||
internal void ReadRegisters()
|
||||
|
||||
Reference in New Issue
Block a user