Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 5 Oct 2017 16:50:01 +0000 (09:50 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 5 Oct 2017 16:50:01 +0000 (09:50 -0700)
commit12c4bd7f53e9cefcf7c3a7f8cbf9e552526cb963
treef02505e3e580b47d64c1db0b07c96fc7833f9234
parent2bfa0cdfadd313f3cc35329a17ba3c62865208a3
Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types.

FreeBSD recently added two additional ELF auxiliary vectors.  FreeBSD's
AT_HWCAP uses a different number compared to AT_HWCAP on Linux as the
numerical value was already in use for a different vector on FreeBSD.

include/ChangeLog:

* elf/common.h (AT_FREEBSD_EHDRFLAGS, AT_FREEBSD_HWCAP): Define.

gdb/ChangeLog:

* fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_EHDRFLAGS and
AT_HWCAP.
gdb/ChangeLog
gdb/fbsd-tdep.c
include/ChangeLog
include/elf/common.h