Return X86_TDESC_MMX in x86_get_ipa_tdesc_idx

gdb/gdbserver:

2017-09-05  Yao Qi  <yao.qi@linaro.org>

	* linux-x86-low.c (x86_get_ipa_tdesc_idx): Use X86_TDESC_MMX
	instead of 0.
This commit is contained in:
Yao Qi 2017-09-05 09:54:52 +01:00
parent f7000548a2
commit 2b68ef2f11
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-09-05 Yao Qi <yao.qi@linaro.org>
* linux-x86-low.c (x86_get_ipa_tdesc_idx): Use X86_TDESC_MMX
instead of 0.
2017-09-05 Yao Qi <yao.qi@linaro.org>
* Makefile.in (IPA_OBJS): Add vec-ipa.o

View File

@ -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.