aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/i386-word.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-word.exp')
-rw-r--r--gdb/testsuite/gdb.arch/i386-word.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-word.exp b/gdb/testsuite/gdb.arch/i386-word.exp
index 5ad01eb..16d7dbf 100644
--- a/gdb/testsuite/gdb.arch/i386-word.exp
+++ b/gdb/testsuite/gdb.arch/i386-word.exp
@@ -19,7 +19,7 @@
# This file is part of the gdb testsuite.
-if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"])} then {
+if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"])} {
verbose "Skipping i386 word register tests."
return
}
@@ -33,7 +33,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list
clean_restart ${binfile}
-if ![runto_main] then {
+if {![runto_main]} {
return 0
}