New in v4: Moved arm_v7m_mrs_control out of the `#ifdef
CONFIG_USER_ONLY` block, unbreaking the user-only build. The downside
is that this function is now taking up space in the user-only binary,
but it can (presumably?) never be used because there are no user modes
for v8m cores. Let me know if you'd prefer for me to wrap `#ifdef
CONFIG_USER_ONLY` around the v8m registers in the gdb stub. Also, let
me know if you'd prefer a separate commit for renaming and moving
v7m_mrs_control.
David Reiss (2):
target/arm/gdbstub: Support reading M system registers from GDB
target/arm/gdbstub: Support reading M security extension registers
from GDB
target/arm/cpu.h | 25 ++++-
target/arm/gdbstub.c | 241 ++++++++++++++++++++++++++++++++++++++++++
target/arm/m_helper.c | 87 +++++++--------
3 files changed, 305 insertions(+), 48 deletions(-)
--
2.34.5