X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.arch%2Fi386-avx.c;h=a05808503ef8eeda6dbdebc31a195be57c0044e8;hb=003ea5a89ab7e9eaa65cb158a953d63dac2612c6;hp=2fbf1d85ed9daffe32ddc978cc4de022fc24e750;hpb=a0eaec95753c0f093f5cb80080ef423030d35edd;p=platform%2Fupstream%2Fgdb.git diff --git a/gdb/testsuite/gdb.arch/i386-avx.c b/gdb/testsuite/gdb.arch/i386-avx.c index 2fbf1d8..a058085 100644 --- a/gdb/testsuite/gdb.arch/i386-avx.c +++ b/gdb/testsuite/gdb.arch/i386-avx.c @@ -1,6 +1,6 @@ /* Test program for AVX registers. - Copyright 2010-2014 Free Software Foundation, Inc. + Copyright 2010-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -18,7 +18,7 @@ along with this program. If not, see . */ #include -#include "i386-cpuid.h" +#include "nat/x86-cpuid.h" typedef struct { float f[8]; @@ -53,7 +53,7 @@ have_avx (void) { unsigned int eax, ebx, ecx, edx; - if (!i386_cpuid (1, &eax, &ebx, &ecx, &edx)) + if (!x86_cpuid (1, &eax, &ebx, &ecx, &edx)) return 0; if ((ecx & (bit_AVX | bit_OSXSAVE)) == (bit_AVX | bit_OSXSAVE))