Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v4 0/6] gdb/aarch64: Support for FPMR
@ 2025-10-31 15:16 Ezra.Sitorus
  2025-10-31 15:16 ` [PATCH v4 1/6] gdb/aarch64: Enable FPMR for AArch64 in gdb on Linux Ezra.Sitorus
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Ezra.Sitorus @ 2025-10-31 15:16 UTC (permalink / raw)
  To: gdb-patches; +Cc: luis.machado.foss, Ezra Sitorus

From: Ezra Sitorus <ezra.sitorus@arm.com>

The Floating Point Mode Register (FPMR) determines the behaviour of FP8
instructions. This patch series adds support for this register into gdb.

I've run the full testsuite on aarch64-none-linux-gnu, and ran the
gdb.arch tests using Shrinkwrap, which allows me to run Linux on a
model of an Arm system with new features. You can find more information
here: [1].

In v2:
* I've addressed the various comments on formatting/whitespaces
* Testing is simplified - there's less repetition of code. I've also
  removed the remote versions of procedures to run the tests on
  gdbserver remotely.

In v3:
* Changes to do with formatting/whitespace/comments
* Simplified code in certain places
* Added gdb/NEWS and gdb.texinfo entries

In v4:
* Changes to do with formatting/whitespace/comments
* Removed unrelated changes in gdb/NEWS file
* Copy and paste error in gdb.texinfo

[1]: https://shrinkwrap.docs.arm.com/en/latest/

Ezra

Ezra Sitorus (6):
  gdb/aarch64: Enable FPMR for AArch64 in gdb on Linux
  gdbserver/aarch64: Enable FPMR for AArch64 in gdbserver on Linux
  gdb/aarch64: signal frame support for fpmr
  gdb/aarch64: core file support for FPMR
  gdb/aarch64: Tests for fpmr
  gdb/doc: Document AArch64 FPMR support

 gdb/NEWS                                      |   2 +
 gdb/aarch64-linux-nat.c                       |  57 +++++++++
 gdb/aarch64-linux-tdep.c                      |  52 ++++++++
 gdb/aarch64-tdep.c                            |  15 +++
 gdb/aarch64-tdep.h                            |   9 ++
 gdb/arch/aarch64.c                            |   4 +
 gdb/arch/aarch64.h                            |  12 +-
 gdb/doc/gdb.texinfo                           |  71 +++++++++++
 gdb/features/Makefile                         |   1 +
 gdb/features/aarch64-fpmr.c                   |  44 +++++++
 gdb/features/aarch64-fpmr.xml                 |  57 +++++++++
 gdb/testsuite/gdb.arch/aarch64-fpmr-core.c    |  40 ++++++
 gdb/testsuite/gdb.arch/aarch64-fpmr-core.exp  |  97 ++++++++++++++
 .../gdb.arch/aarch64-fpmr-sighandler.c        |  55 ++++++++
 .../gdb.arch/aarch64-fpmr-sighandler.exp      |  74 +++++++++++
 gdb/testsuite/gdb.arch/aarch64-fpmr.c         | 118 ++++++++++++++++++
 gdb/testsuite/gdb.arch/aarch64-fpmr.exp       |  99 +++++++++++++++
 gdb/testsuite/lib/gdb.exp                     |  66 ++++++++++
 gdbserver/linux-aarch64-low.cc                |  29 +++++
 19 files changed, 901 insertions(+), 1 deletion(-)
 create mode 100644 gdb/features/aarch64-fpmr.c
 create mode 100644 gdb/features/aarch64-fpmr.xml
 create mode 100644 gdb/testsuite/gdb.arch/aarch64-fpmr-core.c
 create mode 100644 gdb/testsuite/gdb.arch/aarch64-fpmr-core.exp
 create mode 100644 gdb/testsuite/gdb.arch/aarch64-fpmr-sighandler.c
 create mode 100644 gdb/testsuite/gdb.arch/aarch64-fpmr-sighandler.exp
 create mode 100644 gdb/testsuite/gdb.arch/aarch64-fpmr.c
 create mode 100644 gdb/testsuite/gdb.arch/aarch64-fpmr.exp

-- 
2.45.2


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

end of thread, other threads:[~2025-11-14  7:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-31 15:16 [PATCH v4 0/6] gdb/aarch64: Support for FPMR Ezra.Sitorus
2025-10-31 15:16 ` [PATCH v4 1/6] gdb/aarch64: Enable FPMR for AArch64 in gdb on Linux Ezra.Sitorus
2025-10-31 15:16 ` [PATCH v4 2/6] gdbserver/aarch64: Enable FPMR for AArch64 in gdbserver " Ezra.Sitorus
2025-10-31 15:16 ` [PATCH v4 3/6] gdb/aarch64: signal frame support for fpmr Ezra.Sitorus
2025-10-31 15:16 ` [PATCH v4 4/6] gdb/aarch64: core file support for FPMR Ezra.Sitorus
2025-10-31 15:16 ` [PATCH v4 5/6] gdb/aarch64: Tests for fpmr Ezra.Sitorus
2025-11-09 20:11   ` Luis
2025-10-31 15:16 ` [PATCH v4 6/6] gdb/doc: Document AArch64 FPMR support Ezra.Sitorus
2025-10-31 16:57   ` Eli Zaretskii
2025-11-09 20:15   ` Luis
2025-11-10 12:00     ` Eli Zaretskii
2025-11-10 17:28     ` Ezra Sitorus
2025-11-14  7:38       ` Luis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox