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.
This commit is contained in:
Simon Marchi 2017-05-30 11:24:52 +02:00 committed by Simon Marchi
parent ca87ae741f
commit 8e86a419d7
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
* gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
support function calls from GDB.
2017-05-21 Tom Tromey <tom@tromey.com>
PR rust/21466:

View File

@ -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