summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watch-cond-infcall.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/watch-cond-infcall.exp')
-rw-r--r--gdb/testsuite/gdb.base/watch-cond-infcall.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/watch-cond-infcall.exp b/gdb/testsuite/gdb.base/watch-cond-infcall.exp
index c2d96699881..df3b19df05c 100644
--- a/gdb/testsuite/gdb.base/watch-cond-infcall.exp
+++ b/gdb/testsuite/gdb.base/watch-cond-infcall.exp
@@ -18,6 +18,11 @@
standard_testfile
+if [target_info exists gdb,cannot_call_functions] {
+ unsupported "can not call functions"
+ return
+}
+
if { [build_executable ${testfile}.exp ${testfile} ${testfile}.c {debug}] } {
untested "failed to compile"
return -1