aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-debug.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-08-28 14:18:19 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2023-08-28 14:18:19 -0700
commit2e639674c56a35a14ebb33bcfcd9ff614a516735 (patch)
tree4f9be15461f1d2790124134cafa4abd53e02ac3a /gdb/target-debug.h
parente85aad4ae764d7fbc02d4f6a5729c1308597499f (diff)
downloadgdb-2e639674c56a35a14ebb33bcfcd9ff614a516735.zip
gdb-2e639674c56a35a14ebb33bcfcd9ff614a516735.tar.gz
gdb-2e639674c56a35a14ebb33bcfcd9ff614a516735.tar.bz2
x86 nat: Add helper functions to save the XSAVE layout for the host.
x86_xsave_length returns the total length of the XSAVE state area standard format as queried from CPUID. x86_fetch_xsave_layout uses CPUID to query the offsets of XSAVE extended regions from the running host. The total length of the XSAVE state area can either be supplied by the caller if known (e.g. from FreeBSD's PT_GETXSTATEINFO) or it can be queried from the running host using x86_xsave_length. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/target-debug.h')
0 files changed, 0 insertions, 0 deletions