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 /gdb/fbsd-tdep.c | |
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 'gdb/fbsd-tdep.c')
-rw-r--r-- | gdb/fbsd-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/fbsd-tdep.c b/gdb/fbsd-tdep.c index 4037010..309777c 100644 --- a/gdb/fbsd-tdep.c +++ b/gdb/fbsd-tdep.c @@ -1571,6 +1571,8 @@ fbsd_print_auxv_entry (struct gdbarch *gdbarch, struct ui_file *file, TAG (PS_STRINGS, _("Pointer to ps_strings"), AUXV_FORMAT_HEX); TAG (FXRNG, _("Pointer to root RNG seed version"), AUXV_FORMAT_HEX); TAG (KPRELOAD, _("Base address of vDSO"), AUXV_FORMAT_HEX); + TAG (USRSTACKBASE, _("Top of user stack"), AUXV_FORMAT_HEX); + TAG (USRSTACKLIM, _("Grow limit of user stack"), AUXV_FORMAT_HEX); } fprint_auxv_entry (file, name, description, format, type, val); |