aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-06-22 01:03:04 +0200
committerSimon Marchi <simon.marchi@efficios.com>2023-10-06 21:29:11 -0400
commit7a3bb62d82631ff042525b7115d9e03a7329e7be (patch)
treeaa1b5923bdf79363b299115dfee0b21f81a0cc13 /include
parent08330ace11fb41a1d014858b9909f73aeb856da9 (diff)
downloadgdb-7a3bb62d82631ff042525b7115d9e03a7329e7be.zip
gdb-7a3bb62d82631ff042525b7115d9e03a7329e7be.tar.gz
gdb-7a3bb62d82631ff042525b7115d9e03a7329e7be.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/elf/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 2edfb15..244b133 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1377,6 +1377,8 @@
may differ from AT_PLATFORM. */
#define AT_RANDOM 25 /* Address of 16 random bytes. */
#define AT_HWCAP2 26 /* Extension of AT_HWCAP. */
+#define AT_RSEQ_FEATURE_SIZE 27 /* rseq supported feature size */
+#define AT_RSEQ_ALIGN 28 /* rseq allocation alignment */
#define AT_EXECFN 31 /* Filename of executable. */
/* Pointer to the global system page used for system calls and other
nice things. */