[PATCH qemu 3/3] target/arm/gdbstub: Support reading M security extension registers from GDB

2023-01-09 Thread ~dreiss-meta
From: David Reiss Follows a fairly similar pattern to the existing special register debug support. Only reading is implemented, but it should be possible to implement writes. Signed-off-by: David Reiss --- target/arm/cpu.h | 4 +- target/arm/gdbstub.c | 149 +

Re: [PATCH qemu 3/3] target/arm/gdbstub: Support reading M security extension registers from GDB

2023-01-17 Thread Peter Maydell
On Mon, 9 Jan 2023 at 23:18, ~dreiss-meta wrote: > > From: David Reiss > > Follows a fairly similar pattern to the existing special register debug > support. Only reading is implemented, but it should be possible to > implement writes. > > Signed-off-by: David Reiss > +static struct v8m_stack_

Re: [PATCH qemu 3/3] target/arm/gdbstub: Support reading M security extension registers from GDB

2023-01-17 Thread David Reiss
On 1/17/23 5:37 AM, Peter Maydell wrote: > In patch 1 you skip the registers that don't exist without > the main extension, but here you throw them all in regardless. > Why the difference ? Ah, yes. This was an oversight. I'm not sure if there are any chips that support the security extension bu