Skip to content

ARM: Add support for V8M special registers in GDB stub

~dreiss-meta qemu-arm qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 2 repliesSuperseded
  3. v23 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches5 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/arm/gdbstub: Support reading M system registers from GDBtarget/arm/cpu.h target/arm/gdbstub.c target/arm/m_helper.c+138 -50 replies
2/2target/arm/gdbstub: Support reading M security extension registers from GDBtarget/arm/cpu.h target/arm/gdbstub.c target/arm/m_helper.c+168 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH qemu v4 0/2] ARM: Add support for V8M special registers in GDB stub

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(-)
Signature · 1 line
2.34.5