diff --git a/src/Ryujinx.HLE/Debugger/Gdb/CommandProcessor.cs b/src/Ryujinx.HLE/Debugger/Gdb/CommandProcessor.cs index a07dafd1c..cef1123f7 100644 --- a/src/Ryujinx.HLE/Debugger/Gdb/CommandProcessor.cs +++ b/src/Ryujinx.HLE/Debugger/Gdb/CommandProcessor.cs @@ -146,6 +146,12 @@ namespace Ryujinx.HLE.Debugger.Gdb break; } + if (ss.ConsumeRemaining("Attached")) + { + Reply("1"); + break; + } + if (ss.ConsumeRemaining("ProcessInfo")) { Reply( diff --git a/src/Ryujinx.HLE/Debugger/Gdb/Commands.cs b/src/Ryujinx.HLE/Debugger/Gdb/Commands.cs index 0220e259f..a665e657e 100644 --- a/src/Ryujinx.HLE/Debugger/Gdb/Commands.cs +++ b/src/Ryujinx.HLE/Debugger/Gdb/Commands.cs @@ -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()