* [pushed] gdb.base/watch-cond-infcall.exp: Don't run if target doesn't support infcalls
@ 2017-05-30 9:29 Simon Marchi
0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2017-05-30 9:29 UTC (permalink / raw)
To: gdb-patches; +Cc: Simon Marchi
FYI, I pushed this as obvious.
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.
---
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.base/watch-cond-infcall.exp | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c16f201..cb1d8ec 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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:
diff --git a/gdb/testsuite/gdb.base/watch-cond-infcall.exp b/gdb/testsuite/gdb.base/watch-cond-infcall.exp
index c2d9669..df3b19d 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
--
2.7.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-30 9:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-30 9:29 [pushed] gdb.base/watch-cond-infcall.exp: Don't run if target doesn't support infcalls Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).