summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/mips_pro.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/mips_pro.exp')
-rw-r--r--gdb/testsuite/gdb.base/mips_pro.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/mips_pro.exp b/gdb/testsuite/gdb.base/mips_pro.exp
index fe5eb94f001..45186161cb7 100644
--- a/gdb/testsuite/gdb.base/mips_pro.exp
+++ b/gdb/testsuite/gdb.base/mips_pro.exp
@@ -19,7 +19,7 @@ standard_testfile
# This test must be compiled with -O2 if using gcc.
set options debug
-if { [test_compiler_info gcc-*-*] } then {
+if {[test_compiler_info gcc-*-*]} {
lappend options additional_flags=-O2 additional_flags=-fno-inline
}
@@ -27,11 +27,11 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile $options]} {
return -1
}
-if [runto middle] then {
+if {[runto middle]} {
# PR 3016
# warning: Hit heuristic-fence-post without finding
# warning: enclosing function for pc 0x1006ead0
- if { [test_compiler_info gcc-*-*] } then {
+ if {[test_compiler_info gcc-*-*]} {
setup_xfail "mips64*-*-elf"
}
# The call chain is main -> top -> middle. But gcc can optimize a tail