diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-09-23 15:36:10 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-09-23 15:36:10 -0700 |
commit | 4f60f82104e428ba23cf7c82cde7ea536af092fd (patch) | |
tree | 69a86b7d4ef3020d9f562348263a2af3f6bc87bd /include | |
parent | eb668e50036e979fb0a74821df4eee0307b44e66 (diff) | |
download | gdb-4f60f82104e428ba23cf7c82cde7ea536af092fd.zip gdb-4f60f82104e428ba23cf7c82cde7ea536af092fd.tar.gz gdb-4f60f82104e428ba23cf7c82cde7ea536af092fd.tar.bz2 |
Support AT_USRSTACKBASE and AT_USRSTACKLIM.
FreeBSD's kernel has recently added two new ELF auxiliary vector
entries to describe the location of the user stack for the initial
thread in a process.
This change displays the proper name and description of these entries
in 'info auxv'.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h index ebcd8f9..287526d 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -1405,6 +1405,8 @@ #define AT_FREEBSD_PS_STRINGS 32 /* struct ps_strings. */ #define AT_FREEBSD_FXRNG 33 /* Pointer to root RNG seed version. */ #define AT_FREEBSD_KPRELOAD 34 /* Base of vdso. */ +#define AT_FREEBSD_USRSTACKBASE 35 /* Top of user stack. */ +#define AT_FREEBSD_USRSTACKLIM 36 /* Grow limit of user stack. */ #define AT_SUN_UID 2000 /* Effective user ID. */ #define AT_SUN_RUID 2001 /* Real user ID. */ |