This adds .debug=1 attribute for GDB's phys mem access mode, adds memory transaction error handling for it so it reports cannot access memory instead of silent success, and silences warning logs for invalid memory access coming from the debugger.
Changes since v1: - Move phys_memory_rw_debug() into gdbstub/system.c and update patch changelog to match. Thanks, Nick Nicholas Piggin (2): gdbstub: Improve physical memory access handling memory: suppress INVALID_MEM logs caused by debug access gdbstub/system.c | 27 +++++++++++++++++++++------ system/memory.c | 37 ++++++++++++++++++++++--------------- 2 files changed, 43 insertions(+), 21 deletions(-) -- 2.47.1