gdb: Support qAttached; Add missing ReplyOK when detach (ryubing/ryujinx!184)
See merge request ryubing/ryujinx!184
This commit is contained in:
parent
6541ad0726
commit
a0e5edf8ba
2 changed files with 8 additions and 1 deletions
|
|
@ -146,6 +146,12 @@ namespace Ryujinx.HLE.Debugger.Gdb
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ss.ConsumeRemaining("Attached"))
|
||||||
|
{
|
||||||
|
Reply("1");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (ss.ConsumeRemaining("ProcessInfo"))
|
if (ss.ConsumeRemaining("ProcessInfo"))
|
||||||
{
|
{
|
||||||
Reply(
|
Reply(
|
||||||
|
|
|
||||||
|
|
@ -83,12 +83,13 @@ namespace Ryujinx.HLE.Debugger.Gdb
|
||||||
}
|
}
|
||||||
|
|
||||||
Debugger.DebugProcess.DebugContinue();
|
Debugger.DebugProcess.DebugContinue();
|
||||||
|
Processor.ReplyOK();
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void Detach()
|
internal void Detach()
|
||||||
{
|
{
|
||||||
Debugger.BreakpointManager.ClearAll();
|
Debugger.BreakpointManager.ClearAll();
|
||||||
Continue(null);
|
Continue(null); // Continue() will call ReplyError/ReplyOK for us.
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void ReadRegisters()
|
internal void ReadRegisters()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue