diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-07-06 20:59:25 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-08-21 11:18:12 +0100 |
commit | 71c196ec5d7a06494d44e13751c71c0e0529aa86 (patch) | |
tree | 55ed64881d70414e1d9e0dce1faa38ba4ee7cd66 | |
parent | d4b75c7563fa1305171058ba8b4546b6b81c28e0 (diff) | |
download | binutils-gdb-71c196ec5d7a06494d44e13751c71c0e0529aa86.tar.gz |
Return X86_TDESC_MMX in x86_get_ipa_tdesc_idx
gdb/gdbserver:
2017-07-10 Yao Qi <yao.qi@linaro.org>
* linux-x86-low.c (x86_get_ipa_tdesc_idx): Use X86_TDESC_MMX
instead of 0.
-rw-r--r-- | gdb/gdbserver/linux-x86-low.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. |