aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/structs2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/structs2.exp')
-rw-r--r--gdb/testsuite/gdb.base/structs2.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/structs2.exp b/gdb/testsuite/gdb.base/structs2.exp
index 8ccd50d..f0e8342 100644
--- a/gdb/testsuite/gdb.base/structs2.exp
+++ b/gdb/testsuite/gdb.base/structs2.exp
@@ -15,7 +15,7 @@
standard_testfile .c
-if { [prepare_for_testing "failed to prepare" $binfile $srcfile {debug}] } {
+if { [prepare_for_testing "failed to prepare" $testfile $srcfile {debug}] } {
return -1
}
@@ -31,14 +31,14 @@ gdb_test "break param_reg" \
"Breakpoint .* at .*" \
"structs2 breakpoint set"
-if [test_compiler_info gcc-3-*] {
+if {[test_compiler_info gcc-3-*]} {
setup_xfail hppa*-* gcc/15860
}
gdb_test "continue" \
".*pr_char=120.*pr_uchar=130.*pr_short=32000.*pr_ushort=33000.*bkpt = 1.*" \
"structs2 continue1"
-if [test_compiler_info gcc-3-*] {
+if {[test_compiler_info gcc-3-*]} {
setup_xfail hppa*-* gcc/15860
}
gdb_test "continue" \