Update comments in amd64_linux_core_read_description
gdb: 2017-09-05 Yao Qi <yao.qi@linaro.org> * amd64-linux-tdep.c (amd64_linux_core_read_description): Update comments.
This commit is contained in:
parent
d1f28ea24a
commit
b9f1d50ffc
@ -1,3 +1,8 @@
|
||||
2017-09-05 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* amd64-linux-tdep.c (amd64_linux_core_read_description): Update
|
||||
comments.
|
||||
|
||||
2017-09-05 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* features/Makefile (XMLTOC): Remove i386/i386-XX-linux.xml.
|
||||
|
@ -1589,7 +1589,7 @@ amd64_linux_core_read_description (struct gdbarch *gdbarch,
|
||||
{
|
||||
case X86_XSTATE_AVX_MPX_AVX512_PKU_MASK:
|
||||
if (gdbarch_ptr_bit (gdbarch) == 32)
|
||||
/* No MPX on x32, fallback to AVX-AVX512. */
|
||||
/* No MPX, PKU on x32, fallback to AVX-AVX512. */
|
||||
return tdesc_x32_avx_avx512_linux;
|
||||
else
|
||||
return tdesc_amd64_avx_mpx_avx512_pku_linux;
|
||||
@ -1600,13 +1600,13 @@ amd64_linux_core_read_description (struct gdbarch *gdbarch,
|
||||
return tdesc_amd64_avx_avx512_linux;
|
||||
case X86_XSTATE_MPX_MASK:
|
||||
if (gdbarch_ptr_bit (gdbarch) == 32)
|
||||
/* No MPX on x32, fallback to AVX-AVX512. */
|
||||
/* No MPX on x32, fallback to AVX. */
|
||||
return tdesc_x32_avx_linux;
|
||||
else
|
||||
return tdesc_amd64_mpx_linux;
|
||||
case X86_XSTATE_AVX_MPX_MASK:
|
||||
if (gdbarch_ptr_bit (gdbarch) == 32)
|
||||
/* No MPX on x32, fallback to AVX-AVX512. */
|
||||
/* No MPX on x32, fallback to AVX. */
|
||||
return tdesc_x32_avx_linux;
|
||||
else
|
||||
return tdesc_amd64_avx_mpx_linux;
|
||||
|
Loading…
Reference in New Issue
Block a user