diff options
Diffstat (limited to 'gdb/testsuite/gdb.ada/call_pn.exp')
-rw-r--r-- | gdb/testsuite/gdb.ada/call_pn.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.ada/call_pn.exp b/gdb/testsuite/gdb.ada/call_pn.exp index 7e01523..295e7c79 100644 --- a/gdb/testsuite/gdb.ada/call_pn.exp +++ b/gdb/testsuite/gdb.ada/call_pn.exp @@ -20,7 +20,7 @@ require allow_ada_tests standard_ada_testfile foo if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } { - return -1 + return } clean_restart ${testfile} @@ -38,7 +38,7 @@ if {![runto "foo.adb:$bp_location"]} { gdb_test_no_output {maint expand-symtabs "\(pck\|foo\)\.adb"} set gcc_major_version [gcc_major_version] -set have_xfail [expr $gcc_major_version >= 8 && $gcc_major_version <= 9] +set have_xfail [expr {$gcc_major_version >= 8 && $gcc_major_version <= 9}] # The xfail is for PR gcc/94469, which occurs with target board # unix/-flto/-O0/-flto-partition=none/-ffat-lto-objects and gcc-8 and later. |