Compare commits

...

3 commits

Author SHA1 Message Date
Coxxs
3434854bd0 Merge branch 'gdb-stub' into 'master'
Add GDB Stub

See merge request [ryubing/ryujinx!71](https://git.ryujinx.app/ryubing/ryujinx/-/merge_requests/71)
2025-06-24 15:57:36 -05:00
Coxxs
f7a0b17a07 gdb: Fix missing return 2025-06-25 03:46:28 +08:00
Coxxs
ac2c4ff399 gdb: Change HandleVContCommand comment 2025-06-25 03:28:17 +08:00

View file

@ -548,6 +548,7 @@ namespace Ryujinx.HLE.Debugger
if (!BreakpointManager.SetBreakPoint(addr, len, false))
{
ReplyError();
return;
}
ReplyOK();
return;
@ -583,6 +584,7 @@ namespace Ryujinx.HLE.Debugger
if (!BreakpointManager.ClearBreakPoint(addr, len))
{
ReplyError();
return;
}
ReplyOK();
return;
@ -693,7 +695,7 @@ namespace Ryujinx.HLE.Debugger
// If we receive "vCont;c", just continue the process.
// If we receive something like "vCont;c:2e;c:2f" (IDA Pro will send commands like this), continue these threads.
// For "vCont;s:2f;c", we only step thread 2f, and do not continue other threads. (Is this correct?)
// For "vCont;s:2f;c", `DebugProcess.DebugStep()` will continue and suspend other threads if needed, so we don't do anything here.
if (threadActionMap.Values.All(a => a.Action == VContAction.Continue))
{
DebugProcess.DebugContinue();