gdb: Use x86_xstate_layout to parse the XSAVE extended state area.
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)
commit8938f5311757ebd7dc88edb860d568d26756ac3b
treefa8241f6f8a555340ac3c8e2bee9383a0d020e68
parent9848bf83750ba897090320137221977584405e06
gdb: Use x86_xstate_layout to parse the XSAVE extended state area.

All of the tables describing the offsets of individual registers for
XSAVE state components now hold relative offsets rather than absolute
offsets.  Some tables (those for MPX registers and ZMMH registers) had
to be split into separate tables as they held entries that spanned
multiple state components.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/i387-tdep.c
gdb/i387-tdep.h