gdb: Support XSAVE layouts for the current host in the FreeBSD x86 targets.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 28 Aug 2023 21:18:19 +0000 (14:18 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 28 Aug 2023 21:18:19 +0000 (14:18 -0700)
commit24ef2641d917695470fb2d43dabb133e3ee6678f
treee2c1d0a8672860555ec19964967dfebddb9a090e
parent22ca5c10279903a221ba4580afef71af0c639704
gdb: Support XSAVE layouts for the current host in the FreeBSD x86 targets.

Use the CPUID instruction to fetch the offsets of supported state
components.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/amd64-fbsd-nat.c
gdb/configure.nat
gdb/i386-fbsd-nat.c
gdb/x86-fbsd-nat.c
gdb/x86-fbsd-nat.h