diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/call-rt-st.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/call-rt-st.exp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp index a84c167..9840e3c 100644 --- a/gdb/testsuite/gdb.base/call-rt-st.exp +++ b/gdb/testsuite/gdb.base/call-rt-st.exp @@ -19,7 +19,9 @@ # corresponding source file: call_return_struct.c - +# Some targets can't do function calls, so don't even bother with this +# test. +require {!target_info exists gdb,cannot_call_functions} standard_testfile .c @@ -28,13 +30,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb return -1 } -# Some targets can't do function calls, so don't even bother with this -# test. -if [target_info exists gdb,cannot_call_functions] { - unsupported "this target can not call functions" - return -} - set allow_float_test [allow_float_test] # Start with a fresh gdb. |