public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] SME2 support for AArch64 gdb/gdbserver on Linux
@ 2023-08-22 11:21 Luis Machado
  2023-08-22 11:21 ` [PATCH v2 1/6] [gdb/aarch64] sme2: Enable SME2 for AArch64 gdb " Luis Machado
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Luis Machado @ 2023-08-22 11:21 UTC (permalink / raw)
  To: gdb-patches; +Cc: thiago.bauermann

The following series enables SME 2 (Scalable Matrix Extension 2) support for
AArch64 gdb and gdbserver.

SME2 expands on SME by adding a predicate register of 512 bits named ZT0.

At a high level, this series does the following:

- Adds support for the ZT0 register and adds a new target description feature
  for it.
- Core file support (depends on binutils patches).
- Signal frame context support.
- Native Linux handling of the new NT_ARM_ZT register set.

This series depends on the SME series, and should be applied on top of that
one.

Luis Machado (6):
  [gdb/aarch64] sme2: Enable SME2 for AArch64 gdb on Linux
  [gdbserver/aarch64] sme2: Enable SME2 support in gdbserver
  [gdb/aarch64] sme2: signal frame support
  [gdb/aarch64] sme2: Core file support for ZT register set
  [gdb/testsuite] sme2: Extend SME tests to include SME2
  [gdb/docs] sme2: Document SME2 registers and features

 gdb/NEWS                                      |   3 +
 gdb/aarch64-linux-nat.c                       |  49 ++++++
 gdb/aarch64-linux-tdep.c                      | 146 ++++++++++++++++++
 gdb/aarch64-tdep.c                            |  21 +++
 gdb/aarch64-tdep.h                            |  10 ++
 gdb/arch/aarch64-scalable-linux.h             |   6 +
 gdb/arch/aarch64.c                            |   4 +
 gdb/arch/aarch64.h                            |  12 +-
 gdb/doc/gdb.texinfo                           |  65 ++++++++
 gdb/features/aarch64-sme2.c                   |  43 ++++++
 gdb/nat/aarch64-scalable-linux-ptrace.c       | 134 ++++++++++++++++
 gdb/nat/aarch64-scalable-linux-ptrace.h       |  26 ++++
 gdb/testsuite/gdb.arch/aarch64-sme-core.c     |  32 +++-
 .../gdb.arch/aarch64-sme-core.exp.tcl         |   2 +-
 .../aarch64-sme-regs-available.exp.tcl        |  17 ++
 .../gdb.arch/aarch64-sme-regs-sigframe.c      |  32 +++-
 .../aarch64-sme-regs-sigframe.exp.tcl         |  13 +-
 .../aarch64-sme-regs-unavailable.exp.tcl      |  12 ++
 gdb/testsuite/gdb.arch/aarch64-sme-sanity.c   |  32 +++-
 gdb/testsuite/lib/aarch64-scalable.exp        |  44 ++++++
 gdb/testsuite/lib/aarch64.exp                 |  53 +++++++
 gdbserver/linux-aarch64-low.cc                |  63 ++++++++
 22 files changed, 810 insertions(+), 9 deletions(-)
 create mode 100644 gdb/features/aarch64-sme2.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-08-30 12:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-22 11:21 [PATCH v2 0/6] SME2 support for AArch64 gdb/gdbserver on Linux Luis Machado
2023-08-22 11:21 ` [PATCH v2 1/6] [gdb/aarch64] sme2: Enable SME2 for AArch64 gdb " Luis Machado
2023-08-27  1:16   ` Thiago Jung Bauermann
2023-08-30 12:53     ` Luis Machado
2023-08-22 11:21 ` [PATCH v2 2/6] [gdbserver/aarch64] sme2: Enable SME2 support in gdbserver Luis Machado
2023-08-27  1:18   ` Thiago Jung Bauermann
2023-08-30 12:54     ` Luis Machado
2023-08-22 11:21 ` [PATCH v2 3/6] [gdb/aarch64] sme2: signal frame support Luis Machado
2023-08-27  1:19   ` Thiago Jung Bauermann
2023-08-22 11:21 ` [PATCH v2 4/6] [gdb/aarch64] sme2: Core file support for ZT register set Luis Machado
2023-08-27  1:21   ` Thiago Jung Bauermann
2023-08-30 12:56     ` Luis Machado
2023-08-22 11:21 ` [PATCH v2 5/6] [gdb/testsuite] sme2: Extend SME tests to include SME2 Luis Machado
2023-08-27  1:23   ` Thiago Jung Bauermann
2023-08-30 12:56     ` Luis Machado
2023-08-22 11:21 ` [PATCH v2 6/6] [gdb/docs] sme2: Document SME2 registers and features Luis Machado
2023-08-22 11:34   ` Eli Zaretskii
2023-08-22 11:45     ` Luis Machado
2023-08-27  1:27   ` Thiago Jung Bauermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).