aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/i386-avx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-avx.c')
-rw-r--r--gdb/testsuite/gdb.arch/i386-avx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-avx.c b/gdb/testsuite/gdb.arch/i386-avx.c
index 791ead0..94f8052 100644
--- a/gdb/testsuite/gdb.arch/i386-avx.c
+++ b/gdb/testsuite/gdb.arch/i386-avx.c
@@ -18,7 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <stdio.h>
-#include "nat/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))