From: Yao Qi Date: Tue, 5 Sep 2017 08:54:53 +0000 (+0100) Subject: Update comments in amd64_linux_core_read_description X-Git-Tag: users/ARM/embedded-binutils-master-2017q4~1163 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9f1d50ffcac4c4b65cb05c2971106cb06e8774c;p=platform%2Fupstream%2Fbinutils.git Update comments in amd64_linux_core_read_description gdb: 2017-09-05 Yao Qi * amd64-linux-tdep.c (amd64_linux_core_read_description): Update comments. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa9d7e8..f7f69fd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-09-05 Yao Qi + * amd64-linux-tdep.c (amd64_linux_core_read_description): Update + comments. + +2017-09-05 Yao Qi + * features/Makefile (XMLTOC): Remove i386/i386-XX-linux.xml. * features/i386/i386-avx-avx512-linux.c: Remove. * features/i386/i386-avx-linux.c: Remove. diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c index 31d2b16..54c2eb9 100644 --- a/gdb/amd64-linux-tdep.c +++ b/gdb/amd64-linux-tdep.c @@ -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;