aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.gdb/complaints.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-02-02 18:09:07 +0000
committerPedro Alves <palves@redhat.com>2012-02-02 18:09:07 +0000
commitc0b9f2c6e8ec5c960dea8ee7d60d8afb9a9367f8 (patch)
tree300a4fa9473f1aecd017199e01a3af24887e058c /gdb/testsuite/gdb.gdb/complaints.exp
parent5f8cefd757a922ae0e5846d712d27d4650a4386b (diff)
downloadgdb-c0b9f2c6e8ec5c960dea8ee7d60d8afb9a9367f8.zip
gdb-c0b9f2c6e8ec5c960dea8ee7d60d8afb9a9367f8.tar.gz
gdb-c0b9f2c6e8ec5c960dea8ee7d60d8afb9a9367f8.tar.bz2
2012-02-02 Pedro Alves <palves@redhat.com>
* gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set. * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
Diffstat (limited to 'gdb/testsuite/gdb.gdb/complaints.exp')
-rw-r--r--gdb/testsuite/gdb.gdb/complaints.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.gdb/complaints.exp b/gdb/testsuite/gdb.gdb/complaints.exp
index 5ec02ff..97a3270 100644
--- a/gdb/testsuite/gdb.gdb/complaints.exp
+++ b/gdb/testsuite/gdb.gdb/complaints.exp
@@ -23,6 +23,11 @@ if { [is_remote target] || ![isnative] } then {
return
}
+if [target_info exists gdb,noinferiorio] {
+ verbose "Skipping because of no inferiorio capabilities."
+ return
+}
+
proc setup_test { executable } {
global gdb_prompt
global timeout