On 17/10/25 17:30, Peter Maydell wrote:
For SME2, we need to expose the new ZT0 register in the gdbstub XML.
gdb documents that the requirements are:

The ‘org.gnu.gdb.aarch64.sme2’ feature is optional.  If present,
then the ‘org.gnu.gdb.aarch64.sme’ feature must also be present.
The ‘org.gnu.gdb.aarch64.sme2’ feature should contain the
following:

    - ZT0 is a register of 512 bits (64 bytes).  It is defined as a
      vector of bytes.

Implement this.

Signed-off-by: Peter Maydell <[email protected]>
---
  configs/targets/aarch64-bsd-user.mak      |  2 +-
  configs/targets/aarch64-linux-user.mak    |  2 +-
  configs/targets/aarch64-softmmu.mak       |  2 +-
  configs/targets/aarch64_be-linux-user.mak |  2 +-
  target/arm/internals.h                    |  2 +
  target/arm/gdbstub.c                      |  6 +++
  target/arm/gdbstub64.c                    | 52 +++++++++++++++++++++++
  gdb-xml/aarch64-sme2.xml                  | 14 ++++++
  8 files changed, 78 insertions(+), 4 deletions(-)
  create mode 100644 gdb-xml/aarch64-sme2.xml

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to