Fix MPX and AVX512 tests for path changes.
authorWalfred Tedeschi <walfred.tedeschi@intel.com>
Mon, 8 Jun 2015 15:51:04 +0000 (17:51 +0200)
committerWalfred Tedeschi <walfred.tedeschi@intel.com>
Wed, 10 Jun 2015 07:58:05 +0000 (09:58 +0200)
Changes on the path for i386-cpuid.h file lead to failure in compiling
tests for AVX512 and MPX.

2015-06-08  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/testsuite
* gdb.arch/i386-avx512.c: Change path in include file.
* gdb.arch/i386-avx512.exp: Change include dir path
compilation flag.
* gdb.arch/i386-mpx.c: Change path in include file.
* gdb.arch/i386-mpx.exp: Change include dir path compilation
flag.

gdb/testsuite/gdb.arch/i386-avx512.c
gdb/testsuite/gdb.arch/i386-avx512.exp
gdb/testsuite/gdb.arch/i386-mpx.c
gdb/testsuite/gdb.arch/i386-mpx.exp

index 73c4179847f0ec2fcef60fbb3330c898c00fe10a..26f2fb8fbd219581d74f2378bcd51cce063b8cd9 100644 (file)
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "nat/x86-cpuid.h"
+#include "x86-cpuid.h"
 
 typedef struct
 {
index 41ee9d61593031221b41f75935710a02a31612c7..42fc4eb87ae7449f9c4d811c59275abccdd8b165 100644 (file)
@@ -26,7 +26,7 @@ if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } {
 
 standard_testfile
 
-set comp_flags "-mavx512f -I${srcdir}/.."
+set comp_flags "-mavx512f -I${srcdir}/../nat"
 
 if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \
      [list debug nowarnings additional_flags=${comp_flags}]] } {
index 7c6c2cebe60f5089f9b5a303b7a8acb148f4a29d..b62a2725269275842354c88aa9bb555cf6361ad4 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <stdio.h>
-#include "nat/x86-cpuid.h"
+#include "x86-cpuid.h"
 
 #ifndef NOINLINE
 #define NOINLINE __attribute__ ((noinline))
index f9d5d535df21a9c0cf2160d999655e78aeebffbd..8b50aed3b2bbc6007491b0e9e687e72a80d8ef55 100644 (file)
@@ -22,7 +22,7 @@ if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } {
 
 standard_testfile
 
-set comp_flags "-fmpx -I${srcdir}/../common"
+set comp_flags "-fmpx -I${srcdir}/../nat/"
 
 if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \
  [list debug nowarnings additional_flags=${comp_flags}]] } {
This page took 0.030182 seconds and 4 git commands to generate.