From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126490 invoked by alias); 8 Jun 2015 16:06:31 -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 126467 invoked by uid 89); 8 Jun 2015 16:06:31 -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: mga02.intel.com Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Jun 2015 16:06:18 +0000 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 08 Jun 2015 09:06:17 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 08 Jun 2015 09:06:16 -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 t58G6Fr6022420; Mon, 8 Jun 2015 17:06:15 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id t58G6FiT000475; Mon, 8 Jun 2015 18:06:15 +0200 Received: (from wtedesch@localhost) by ulvlx001.iul.intel.com with œ id t58G6EVG000471; Mon, 8 Jun 2015 18:06:15 +0200 From: Walfred Tedeschi To: brobecker@adacore.com Cc: gdb-patches@sourceware.org, Walfred Tedeschi Subject: [obvious] Indentation fixes on test sample and test file for MPX registers. Date: Mon, 08 Jun 2015 16:06:00 -0000 Message-Id: <1433779568-441-1-git-send-email-walfred.tedeschi@intel.com> X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00114.txt.bz2 Pushing right away ok? 2015-06-08 Walfred Tedeschi gdb/testsuite: * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed. * gdb.arch/i386-mpx.exp: Indentation fixed. --- gdb/testsuite/gdb.arch/i386-mpx.c | 18 +++++++++--------- gdb/testsuite/gdb.arch/i386-mpx.exp | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gdb/testsuite/gdb.arch/i386-mpx.c b/gdb/testsuite/gdb.arch/i386-mpx.c index 87c753c..23b9650 100644 --- a/gdb/testsuite/gdb.arch/i386-mpx.c +++ b/gdb/testsuite/gdb.arch/i386-mpx.c @@ -35,17 +35,17 @@ have_mpx (void) return 0; if ((ecx & bit_OSXSAVE) == bit_OSXSAVE) - { - if (__get_cpuid_max (0, NULL) < 7) - return 0; + { + if (__get_cpuid_max (0, NULL) < 7) + return 0; - __cpuid_count (7, 0, eax, ebx, ecx, edx); + __cpuid_count (7, 0, eax, ebx, ecx, edx); - if ((ebx & bit_MPX) == bit_MPX) - return 1; - else - return 0; - } + if ((ebx & bit_MPX) == bit_MPX) + return 1; + else + return 0; + } return 0; } diff --git a/gdb/testsuite/gdb.arch/i386-mpx.exp b/gdb/testsuite/gdb.arch/i386-mpx.exp index 6835b24..2db6401 100644 --- a/gdb/testsuite/gdb.arch/i386-mpx.exp +++ b/gdb/testsuite/gdb.arch/i386-mpx.exp @@ -30,7 +30,7 @@ if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } { 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.4