gdb: support rseq auxvs
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 21 Jun 2023 23:03:04 +0000 (01:03 +0200)
committerSimon Marchi <simon.marchi@efficios.com>
Sat, 7 Oct 2023 01:29:11 +0000 (21:29 -0400)
commit7a3bb62d82631ff042525b7115d9e03a7329e7be
treeaa1b5923bdf79363b299115dfee0b21f81a0cc13
parent08330ace11fb41a1d014858b9909f73aeb856da9
gdb: support rseq auxvs

Linux kernel commit commit 317c8194e6ae ("rseq: Introduce feature size
and alignment ELF auxiliary vector entries") introduced two new auxvs:
AT_RSEQ_FEATURE_SIZE and AT_RSEQ_ALIGN.  Support them in GDB.  This
fixes auxv.exp on kernels >= v6.3.

Change-Id: I8966c4d5c73eb7b45de6d410a9b28a6628edad2e
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30540
Approved-By: Tom Tromey <tom@tromey.com>
gdb/auxv.c
include/elf/common.h