This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/5] Add support for Intel PKRU register to GDB and GDBserver.
> From: Michael Sturm <michael.sturm@intel.com>
> Cc: gdb-patches@sourceware.org, michael.sturm@intel.com
> Date: Wed, 1 Feb 2017 14:03:25 +0100
>
> This patch adds support for the registers added by the
> Memory Protection Keys for Userspace (PKU aka PKEYs) feature.
> Native and remote debugging are covered by this patch.
>
> The XSAVE area is extended with a new state containing
> the 32-bit wide PKRU register. The new register is added to
> amd64-avx-mpx_avx512-* tdesc, thus it is renamed accordingly. Also,
> respective xstate mask X86_XSTATE_AVX_MPX_AVX512_MASK is renamed to
> X86_XSTATE_AVX_MPX_AVX512_PKU_MASK to reflect the new feature set
> it supports.
>
> For more information, please refer to the
> Intel(R) 64 and IA-32 Architectures Software Developer's
> Manual - Septemper 2015
> http://www.intel.com/content/dam/www/public/us/en/documents/
> manuals/64-ia-32-architectures-software-developer-manual-325462.pdf
OK for the documentation parts.
Thanks.