Support AT_BSDFLAGS on FreeBSD.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 26 Mar 2020 16:48:28 +0000 (09:48 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 26 Mar 2020 16:48:28 +0000 (09:48 -0700)
commita879b4d5a683f8dbebae8cf98297ee4a2db2e9e1
tree79b1d70d76c6f0470a043a5d5165621e879e9bca
parent0826b30a9fa085ccee574465523d0560a4a01198
Support AT_BSDFLAGS on FreeBSD.

FreeBSD's kernel recently added a new ELF auxiliary vector entry
holding a mask of software features provided by the kernel.  This
change fixes 'info auxv' to report the name and description for this
vector entry instead of '???'.

include/ChangeLog:

* elf/common.h (AT_FREEBSD_BSDFLAGS): Define.

gdb/ChangeLog:

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