From: Yao Qi Date: Tue, 5 Sep 2017 08:54:52 +0000 (+0100) Subject: Return X86_TDESC_MMX in x86_get_ipa_tdesc_idx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b68ef2f11daef3ab3c6941ebf53dfcd0fb79fbf;p=binutils-gdb.git Return X86_TDESC_MMX in x86_get_ipa_tdesc_idx gdb/gdbserver: 2017-09-05 Yao Qi * linux-x86-low.c (x86_get_ipa_tdesc_idx): Use X86_TDESC_MMX instead of 0. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 8fa8ef16075..b6febf24eb5 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2017-09-05 Yao Qi + + * linux-x86-low.c (x86_get_ipa_tdesc_idx): Use X86_TDESC_MMX + instead of 0. + 2017-09-05 Yao Qi * Makefile.in (IPA_OBJS): Add vec-ipa.o diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c index 12c7a1b156b..5c56a5d7eaf 100644 --- a/gdb/gdbserver/linux-x86-low.c +++ b/gdb/gdbserver/linux-x86-low.c @@ -2927,7 +2927,8 @@ x86_get_ipa_tdesc_idx (void) if (tdesc == tdesc_i386_avx_avx512_linux) return X86_TDESC_AVX_AVX512; - return 0; + /* If none tdesc is found, return the one with minimum features. */ + return X86_TDESC_MMX; } /* This is initialized assuming an amd64 target.