Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Luis <luis.machado.foss@gmail.com>
To: Ezra.Sitorus@arm.com, gdb-patches@sourceware.org
Cc: thiago.bauermann@linaro.org
Subject: Re: [PATCH v2 0/5] gdb/aarch64: Support for FPMR
Date: Sat, 11 Oct 2025 13:05:54 +0100	[thread overview]
Message-ID: <a24d6a17-9fc0-4445-8041-8d2a79d05d00@gmail.com> (raw)
In-Reply-To: <20251007123132.26769-1-Ezra.Sitorus@arm.com>

On 07/10/2025 13:31, Ezra.Sitorus@arm.com wrote:
> 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.
> 
> Ezra
> 
> [1]: https://shrinkwrap.docs.arm.com/en/latest/
> 
> Ezra Sitorus (5):
>    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/aarch64-linux-nat.c                       |  57 +++++++++
>   gdb/aarch64-linux-tdep.c                      | 101 +++++++++++++++
>   gdb/aarch64-tdep.c                            |  18 ++-
>   gdb/aarch64-tdep.h                            |   9 ++
>   gdb/arch/aarch64.c                            |   4 +
>   gdb/arch/aarch64.h                            |  12 +-
>   gdb/features/Makefile                         |   1 +
>   gdb/features/aarch64-fpmr.c                   |  44 +++++++
>   gdb/features/aarch64-fpmr.xml                 |  53 ++++++++
>   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      |  77 ++++++++++++
>   gdb/testsuite/gdb.arch/aarch64-fpmr.c         | 117 ++++++++++++++++++
>   gdb/testsuite/gdb.arch/aarch64-fpmr.exp       |  72 +++++++++++
>   gdb/testsuite/lib/gdb.exp                     |  66 ++++++++++
>   gdbserver/linux-aarch64-low.cc                |  29 +++++
>   17 files changed, 850 insertions(+), 2 deletions(-)
>   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
> 

Thanks for the updated series. We'll need a documentation entry 
describing the feature and what it does (to the extent that is 
reasonable) and also documentation about the FPMR register set. See the 
gdb manual for the documentation on the other AArch64 register sets.

Also, we will need a NEWS entry for the feature. Again, you can find 
other examples in the gdb/NEWS file.

      parent reply	other threads:[~2025-10-11 12:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-07 12:31 Ezra.Sitorus
2025-10-07 12:31 ` [PATCH v2 1/5] gdb/aarch64: Enable FPMR for AArch64 in gdb on Linux Ezra.Sitorus
2025-10-11 11:35   ` Luis
2025-10-07 12:31 ` [PATCH v2 2/5] gdbserver/aarch64: Enable FPMR for AArch64 in gdbserver " Ezra.Sitorus
2025-10-11 11:50   ` Luis
2025-10-13 13:40     ` Richard Earnshaw
2025-10-13 14:53       ` Ezra Sitorus
2025-10-16 22:01         ` Luis
2025-10-07 12:31 ` [PATCH v2 3/5] gdb/aarch64: signal frame support for fpmr Ezra.Sitorus
2025-10-11 11:57   ` Luis
2025-10-11 12:15   ` Luis
2025-10-07 12:31 ` [PATCH v2 4/5] gdb/aarch64: core file support for FPMR Ezra.Sitorus
2025-10-11 12:03   ` Luis
2025-10-07 12:31 ` [PATCH v2 5/5] gdb/aarch64: Tests for fpmr Ezra.Sitorus
2025-10-11 12:53   ` Luis
2025-10-11 12:05 ` Luis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a24d6a17-9fc0-4445-8041-8d2a79d05d00@gmail.com \
    --to=luis.machado.foss@gmail.com \
    --cc=Ezra.Sitorus@arm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=thiago.bauermann@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox