diff options
author | John Baldwin <jhb@FreeBSD.org> | 2023-08-28 14:18:19 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2023-08-28 14:18:19 -0700 |
commit | 24ef2641d917695470fb2d43dabb133e3ee6678f (patch) | |
tree | e2c1d0a8672860555ec19964967dfebddb9a090e /gdb/configure.nat | |
parent | 22ca5c10279903a221ba4580afef71af0c639704 (diff) | |
download | gdb-24ef2641d917695470fb2d43dabb133e3ee6678f.zip gdb-24ef2641d917695470fb2d43dabb133e3ee6678f.tar.gz gdb-24ef2641d917695470fb2d43dabb133e3ee6678f.tar.bz2 |
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>
Diffstat (limited to 'gdb/configure.nat')
-rw-r--r-- | gdb/configure.nat | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/configure.nat b/gdb/configure.nat index aabcdef..b371ad8 100644 --- a/gdb/configure.nat +++ b/gdb/configure.nat @@ -166,7 +166,8 @@ case ${gdb_host} in i386) # Host: FreeBSD/i386 NATDEPFILES="${NATDEPFILES} x86-nat.o nat/x86-dregs.o \ - x86-bsd-nat.o x86-fbsd-nat.o i386-fbsd-nat.o bsd-kvm.o" + nat/x86-xstate.o x86-bsd-nat.o x86-fbsd-nat.o i386-fbsd-nat.o \ + bsd-kvm.o" ;; mips) # Host: FreeBSD/mips @@ -195,7 +196,7 @@ case ${gdb_host} in # Host: FreeBSD/amd64 NATDEPFILES="${NATDEPFILES} amd64-nat.o \ amd64-fbsd-nat.o bsd-kvm.o x86-nat.o nat/x86-dregs.o \ - x86-bsd-nat.o x86-fbsd-nat.o" + nat/x86-xstate.o x86-bsd-nat.o x86-fbsd-nat.o" ;; esac ;; |