This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]