Re: [PATCH 1/2] gdbstub: Add phys_memory_rw_debug for physical memory access

2025-03-17 Thread Nicholas Piggin
On Sat Mar 15, 2025 at 7:19 AM AEST, Richard Henderson wrote: > On 3/14/25 00:41, Nicholas Piggin wrote: >> Add an accessor for gdb physical memory access mode which sets the >> the .debug attribute for the MemTxAttribute, and also returns success >> to the caller. >> >> GDB with PhyMemMode will n

Re: [PATCH 1/2] gdbstub: Add phys_memory_rw_debug for physical memory access

2025-03-14 Thread Richard Henderson
On 3/14/25 00:41, Nicholas Piggin wrote: Add an accessor for gdb physical memory access mode which sets the the .debug attribute for the MemTxAttribute, and also returns success to the caller. GDB with PhyMemMode will now report failure from memory accesses outside valid system memory addresses,

[PATCH 1/2] gdbstub: Add phys_memory_rw_debug for physical memory access

2025-03-14 Thread Nicholas Piggin
Add an accessor for gdb physical memory access mode which sets the the .debug attribute for the MemTxAttribute, and also returns success to the caller. GDB with PhyMemMode will now report failure from memory accesses outside valid system memory addresses, and it is also able to write to ROMs as GD