* [obvious] Indentation fixes on test sample and test file for MPX registers.
@ 2015-06-08 16:06 Walfred Tedeschi
2015-06-09 18:24 ` Joel Brobecker
0 siblings, 1 reply; 2+ messages in thread
From: Walfred Tedeschi @ 2015-06-08 16:06 UTC (permalink / raw)
To: brobecker; +Cc: gdb-patches, Walfred Tedeschi
Pushing right away ok?
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 | 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [obvious] Indentation fixes on test sample and test file for MPX registers.
2015-06-08 16:06 [obvious] Indentation fixes on test sample and test file for MPX registers Walfred Tedeschi
@ 2015-06-09 18:24 ` Joel Brobecker
0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2015-06-09 18:24 UTC (permalink / raw)
To: Walfred Tedeschi; +Cc: gdb-patches
On Mon, Jun 08, 2015 at 06:06:08PM +0200, Walfred Tedeschi wrote:
> Pushing right away ok?
>
> 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.
Yep! Indentation fixes are considered "obvious" and therefore
can be pushed without review.
Thank you,
--
Joel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-09 18:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-08 16:06 [obvious] Indentation fixes on test sample and test file for MPX registers Walfred Tedeschi
2015-06-09 18:24 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).