Skip to content

hexagon: sys+guest regs in gdbstub

Brian Cain qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gdbstub/gdb-xml: Add hexagon sys regsconfigs/targets/hexagon-softmmu.mak gdbstub/gdb-xml/hexagon-sys.xml+158 -10 replies
2/2target/hexagon: gdbstub - Add sys reg supporttarget/hexagon/cpu.c target/hexagon/cpu.h target/hexagon/gdbstub.c +1 more+78 -30 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPierrick Bouvier
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] hexagon: sys+guest regs in gdbstub

Add support for reading/writing system/guest registers in the gdbstub.

In v2:
- updated URLs in hexagon-sys.xml to use a tag.
- updated hexagon_greg_{read,write} to use the full range of guest-regs.

The guest regs above g3 have synthetic values for PMU-like features not-yet- implemented. But they accept writes so we can just treat them more conventionally for now and fill in the PMU behavior later. Guest sw reads from these registers will still generate output for LOG_UNIMP.

v1: https://lore.kernel.org/qemu-devel/[email protected]/

Brian Cain (2):
gdbstub/gdb-xml: Add hexagon sys regs
target/hexagon: gdbstub - Add sys reg support

 configs/targets/hexagon-softmmu.mak |   2 +-
 target/hexagon/cpu.h                |   1 +
 target/hexagon/internal.h           |   4 +
 target/hexagon/cpu.c                |  13 ++-
 target/hexagon/gdbstub.c            |  63 +++++++++++
 gdbstub/gdb-xml/hexagon-sys.xml     | 157 ++++++++++++++++++++++++++++
 6 files changed, 236 insertions(+), 4 deletions(-)
 create mode 100644 gdbstub/gdb-xml/hexagon-sys.xml
Signature · 1 line
2.34.1