Treat all unknown auxv tags on FreeBSD as unknown.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 26 Oct 2018 17:20:56 +0000 (10:20 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 26 Oct 2018 17:20:56 +0000 (10:20 -0700)
commitfd2b4de5e63ad5994baf9c57b5d0c49d1f1dd4e4
tree8dc58e9e55e40f006464c58682dabaa1e57beee9
parentd7ded98f4cf9891cf04fe6af5c90b6af6709dff8
Treat all unknown auxv tags on FreeBSD as unknown.

Previously, default_print_auxv_entry was called for any auxv entries
without a known AT_FREEBSD_* tag.  However, this resulted in false
positive matches when FreeBSD added a new tag that has an existing
AT_* tag with a different meaning.  Instead, only call
default_print_auxv_entry for specific tag values for which FreeBSD
matches the default AT_* values.

gdb/ChangeLog:

* fbsd-tdep.c (fbsd_print_auxv_entry): Only use
default_print_auxv_entry for specific tag values.
gdb/ChangeLog
gdb/fbsd-tdep.c