diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-05-30 11:24:52 +0200 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-05-30 11:24:52 +0200 |
commit | 8e86a419d7f8753f4e77cf23aa53bc02ac6febf1 (patch) | |
tree | 0173816e258a3dfd90f7b250a34d9990b1593086 /gdb/testsuite/gdb.base/watch-cond-infcall.exp | |
parent | ca87ae741fe9c8aad9db1afbf109dc070d0168cf (diff) | |
download | binutils-gdb-8e86a419d7f8753f4e77cf23aa53bc02ac6febf1.tar.gz |
gdb.base/watch-cond-infcall.exp: Don't run if target doesn't support infcalls
This test requires calling a function in the inferior, and therefore it
doesn't make sense to run it if the target doesn't support calling
functions from GDB.
gdb/testsuite/ChangeLog:
* gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
support function calls from GDB.
Diffstat (limited to 'gdb/testsuite/gdb.base/watch-cond-infcall.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/watch-cond-infcall.exp | 5 |
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 |