Obvious indentation fixes on test sample and test file for MPX registers.
authorWalfred Tedeschi <walfred.tedeschi@intel.com>
Mon, 8 Jun 2015 15:42:08 +0000 (17:42 +0200)
committerWalfred Tedeschi <walfred.tedeschi@intel.com>
Wed, 10 Jun 2015 07:58:05 +0000 (09:58 +0200)
2015-06-08  Walfred Tedeschi  <walfred.tedeschi@intel.com>

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
gdb/testsuite/gdb.arch/i386-mpx.exp

index 87c753c399bdbb31193b9feb0da6c42feffef904..23b96509376068aee19ba67b25c4ef9087ff498f 100644 (file)
@@ -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;
 }
 
index 6835b244301315cbdf26ebd28ed5c87c695dd2ad..2db6401f27e13cb8ed4c1ab109b49822d6e26e22 100644 (file)
@@ -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
 }
 
This page took 0.028016 seconds and 4 git commands to generate.