aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-tdep.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-10-26 10:20:56 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2018-10-26 10:20:56 -0700
commitd7ded98f4cf9891cf04fe6af5c90b6af6709dff8 (patch)
tree5ebd088ea3d73f1613a7b9bcd98512bca3568b4a /gdb/fbsd-tdep.c
parent77c6f5fcdae65da0428ff75fa81059f1b5271cf0 (diff)
downloadgdb-d7ded98f4cf9891cf04fe6af5c90b6af6709dff8.zip
gdb-d7ded98f4cf9891cf04fe6af5c90b6af6709dff8.tar.gz
gdb-d7ded98f4cf9891cf04fe6af5c90b6af6709dff8.tar.bz2
Support AT_HWCAP2 on FreeBSD.
include/ChangeLog: * elf/common.h (AT_FREEBSD_HWCAP2): Define. gdb/ChangeLog: * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_FREEBSD_HWCAP2.
Diffstat (limited to 'gdb/fbsd-tdep.c')
-rw-r--r--gdb/fbsd-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/fbsd-tdep.c b/gdb/fbsd-tdep.c
index 94ae2d6..4e9ea81 100644
--- a/gdb/fbsd-tdep.c
+++ b/gdb/fbsd-tdep.c
@@ -1521,6 +1521,7 @@ fbsd_print_auxv_entry (struct gdbarch *gdbarch, struct ui_file *file,
TAG (STACKPROT, _("Initial stack protection"), AUXV_FORMAT_HEX);
TAG (EHDRFLAGS, _("ELF header e_flags"), AUXV_FORMAT_HEX);
TAG (HWCAP, _("Machine-dependent CPU capability hints"), AUXV_FORMAT_HEX);
+ TAG (HWCAP2, _("Extension of AT_HWCAP"), AUXV_FORMAT_HEX);
default:
default_print_auxv_entry (gdbarch, file, type, val);
return;