gdb: Log CommandReadMemory failure

This commit is contained in:
Coxxs 2025-06-24 07:26:20 +08:00
parent cd2a7c9916
commit 1b37038d5a

View file

@ -862,6 +862,9 @@ namespace Ryujinx.HLE.Debugger
} }
catch (InvalidMemoryRegionException) catch (InvalidMemoryRegionException)
{ {
// InvalidAccessHandler will show an error message, we log it again to tell user the error is from GDB (which can be ignored)
// TODO: Do not let InvalidAccessHandler show the error message
Logger.Notice.Print(LogClass.GdbStub, $"GDB failed to read memory at 0x{addr:X16}");
ReplyError(); ReplyError();
} }
} }