[PING] [PATCH 0/3] Aarch64: Detect FP registers in signal frames

Alan Hayward Alan.Hayward@arm.com
Tue Sep 25 11:54:00 GMT 2018


Ping!

> On 17 Sep 2018, at 13:53, Alan Hayward <Alan.Hayward@arm.com> wrote:
> 
> I was looking at adding code to detect SVE registers for call frames
> whilst in a signal handler, and noticed that there was no code to detect
> the NEON vfp registers. This set of patches fixes up the code for both
> aarch64 and aarch64 with SVE.
> 
> Patch 1 simply moves some defines.
> Patch 2 is the main work, iterating through the reserved space of the
> sigcontext.
> Patch 3 adds an aarch64 specific test.
> 
> Alan Hayward (3):
>  Aarch64: Move pseudo defines to header
>  Aarch64: Detect FP regs in signal frame
>  Testsuite: Aarch64: Add signal handler registers test
> 
> gdb/aarch64-linux-tdep.c                           | 218 +++++++++++++++++++--
> gdb/aarch64-tdep.c                                 |   8 -
> gdb/arch/aarch64.h                                 |   8 +
> gdb/testsuite/gdb.arch/aarch64-sighandler-regs.c   | 170 ++++++++++++++++
> gdb/testsuite/gdb.arch/aarch64-sighandler-regs.exp | 150 ++++++++++++++
> gdb/testsuite/lib/gdb.exp                          |  51 +++++
> 6 files changed, 578 insertions(+), 27 deletions(-)
> create mode 100644 gdb/testsuite/gdb.arch/aarch64-sighandler-regs.c
> create mode 100644 gdb/testsuite/gdb.arch/aarch64-sighandler-regs.exp
> 
> -- 
> 2.15.2 (Apple Git-101.1)
> 



More information about the Gdb-patches mailing list