public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Aarch64: Detect FP registers in signal frames
@ 2018-09-17 12:53 Alan Hayward
  2018-09-17 12:53 ` [PATCH 1/3] Aarch64: Move pseudo defines to header Alan Hayward
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Alan Hayward @ 2018-09-17 12:53 UTC (permalink / raw)
  To: gdb-patches; +Cc: nd, Alan Hayward

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)

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

end of thread, other threads:[~2018-10-01 14:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-17 12:53 [PATCH 0/3] Aarch64: Detect FP registers in signal frames Alan Hayward
2018-09-17 12:53 ` [PATCH 1/3] Aarch64: Move pseudo defines to header Alan Hayward
2018-09-17 12:53 ` [PATCH 2/3] Aarch64: Detect FP regs in signal frames Alan Hayward
2018-09-30  4:37   ` Simon Marchi
2018-10-01 14:26     ` Alan Hayward
2018-09-17 12:53 ` [PATCH 3/3] Testsuite: Aarch64: Add signal handler registers test Alan Hayward
2018-09-30  5:01   ` Simon Marchi
2018-10-01 14:26     ` Alan Hayward
2018-09-25 11:54 ` [PING] [PATCH 0/3] Aarch64: Detect FP registers in signal frames Alan Hayward

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).