diff options
Diffstat (limited to 'gdb/testsuite/gdb.threads/hand-call-in-threads.exp')
-rw-r--r-- | gdb/testsuite/gdb.threads/hand-call-in-threads.exp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp index 336199112b0..58039ddd30e 100644 --- a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp +++ b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp @@ -19,15 +19,12 @@ set NR_THREADS 4 standard_testfile -if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS"]] != "" } { - 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 +require {!target_info exists gdb,cannot_call_functions} + +if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS"]] != "" } { + return -1 } proc get_dummy_frame_number { } { |