gdb: Store an x86_xsave_layout in i386_gdbarch_tdep.
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)
commita388ab0b863a07ddb37d1e98ae8e7443ab85746c
tree9bb1a51cd7e8cd1d955ecac026342577a13d2cd7
parentd39b60f2e036f4af7224adf06c2d70bb3f8f71f3
gdb: Store an x86_xsave_layout in i386_gdbarch_tdep.

This structure is fetched from the current target in i386_gdbarch_init
via a new "fetch_x86_xsave_layout" target method.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/i386-tdep.c
gdb/i386-tdep.h
gdb/target-debug.h
gdb/target-delegates.c
gdb/target.c
gdb/target.h