This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb/users/hjl/linux/master] [testsuite patch] Fix avx512.exp regression


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=50a18af83d28d66a769af40eef7d0548e2dc0883

commit 50a18af83d28d66a769af40eef7d0548e2dc0883
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Jan 7 15:42:57 2015 +0100

    [testsuite patch] Fix avx512.exp regression
    
    +gdb compile failed, ^[[01m^[[Kgdb/testsuite/gdb.arch/i386-avx512.c:20:27:^[[m^[[K ^[[01;31m^[[Kfatal error: ^[[m^[[Knat/x86-cpuid.h: No
    such file or directory
    + #include "nat/x86-cpuid.h"
    +^[[01;32m^[[K                           ^^[[m^[[K
    +compilation terminated.
    +UNTESTED: gdb.arch/i386-avx512.exp: i386-avx512.exp
    
    125f8a3ddedd413a2290dae011f0bed9ffc78278 is the first bad commit
    commit 125f8a3ddedd413a2290dae011f0bed9ffc78278
    Author: Gary Benson <gbenson@redhat.com>
    Date:   Thu Jun 19 14:46:38 2014 +0100
        Move shared native target specific code to gdb/nat
    
    gdb/testsuite/ChangeLog
    2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Fix testcase compilation.
    	* gdb.arch/i386-avx512.exp (comp_flags): Remove /common.

Diff:
---
 gdb/testsuite/ChangeLog                | 5 +++++
 gdb/testsuite/gdb.arch/i386-avx512.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7db0809..862f27c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix testcase compilation.
+	* gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
+
 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
 
 	* gdb.python/py-type.exp: Add a couple test about empty
diff --git a/gdb/testsuite/gdb.arch/i386-avx512.exp b/gdb/testsuite/gdb.arch/i386-avx512.exp
index 3a2cf0c..41ee9d6 100644
--- a/gdb/testsuite/gdb.arch/i386-avx512.exp
+++ b/gdb/testsuite/gdb.arch/i386-avx512.exp
@@ -26,7 +26,7 @@ if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } {
 
 standard_testfile
 
-set comp_flags "-mavx512f -I${srcdir}/../common"
+set comp_flags "-mavx512f -I${srcdir}/.."
 
 if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \
      [list debug nowarnings additional_flags=${comp_flags}]] } {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]