From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69260 invoked by alias); 23 Apr 2015 12:13:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 69246 invoked by uid 89); 23 Apr 2015 12:13:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mga14.intel.com Received: from mga14.intel.com (HELO mga14.intel.com) (192.55.52.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Apr 2015 12:13:40 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 23 Apr 2015 05:13:37 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 23 Apr 2015 05:13:37 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t3NCDah7011363; Thu, 23 Apr 2015 13:13:36 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id t3NCDZZa027645; Thu, 23 Apr 2015 14:13:35 +0200 Received: (from wtedesch@localhost) by ulvlx001.iul.intel.com with œ id t3NCDZQS027641; Thu, 23 Apr 2015 14:13:35 +0200 From: Walfred Tedeschi To: brobecker@adacore.com Cc: gdb-patches@sourceware.org, Walfred Tedeschi Subject: [PATCH v2 1/3] Fix MPX tests for path changes. Date: Thu, 23 Apr 2015 12:13:00 -0000 Message-Id: <1429791214-27609-1-git-send-email-walfred.tedeschi@intel.com> X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00873.txt.bz2 Joel, Next three patches are about fixing the test compilations and improvement of the test for MPX registers. Followed yor indications. Thanks again and best regards, -Fred Changes on the path for i386-cpuid.h file lead to failure in compiling tests for MPX have to be changed. 2014-08-12 Walfred Tedeschi gdb/testsuite * 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-mpx.c | 3 ++- gdb/testsuite/gdb.arch/i386-mpx.exp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/gdb.arch/i386-mpx.c b/gdb/testsuite/gdb.arch/i386-mpx.c index 8e5096d..e151ea6 100644 --- a/gdb/testsuite/gdb.arch/i386-mpx.c +++ b/gdb/testsuite/gdb.arch/i386-mpx.c @@ -18,7 +18,8 @@ along with this program. If not, see . */ #include -#include "nat/x86-cpuid.h" +#include "x86-cpuid.h" + #ifndef NOINLINE #define NOINLINE __attribute__ ((noinline)) diff --git a/gdb/testsuite/gdb.arch/i386-mpx.exp b/gdb/testsuite/gdb.arch/i386-mpx.exp index 5ed89da..b7078e7 100644 --- a/gdb/testsuite/gdb.arch/i386-mpx.exp +++ b/gdb/testsuite/gdb.arch/i386-mpx.exp @@ -22,10 +22,10 @@ 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}]] } { + [list debug nowarnings additional_flags=${comp_flags}]] } { return -1 } -- 2.1.0