aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2010-06-11 23:27:22 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2010-06-11 23:27:22 +0000
commit5bbad94c3964411fc25e986139b2fa1d32c5d797 (patch)
treeae917f0d1c114a2e98a2a772006bc4a6dbf49d09 /gdb/testsuite/gdb.base/valgrind-db-attach.exp
parent * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace. (diff)
downloadbinutils-gdb-5bbad94c3964411fc25e986139b2fa1d32c5d797.tar.gz
binutils-gdb-5bbad94c3964411fc25e986139b2fa1d32c5d797.tar.bz2
binutils-gdb-5bbad94c3964411fc25e986139b2fa1d32c5d797.zip
* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
does not support ELF executable class.
Diffstat (limited to 'gdb/testsuite/gdb.base/valgrind-db-attach.exp')
-rw-r--r--gdb/testsuite/gdb.base/valgrind-db-attach.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/valgrind-db-attach.exp b/gdb/testsuite/gdb.base/valgrind-db-attach.exp
index 9ef36d02a9b..36a543c682c 100644
--- a/gdb/testsuite/gdb.base/valgrind-db-attach.exp
+++ b/gdb/testsuite/gdb.base/valgrind-db-attach.exp
@@ -51,6 +51,10 @@ gdb_test_multiple "" $test {
unsupported $test
return -1
}
+ -re "valgrind: wrong ELF executable class" {
+ unsupported $test
+ return -1
+ }
-re "command not found" {
# The spawn succeeded, but then valgrind was not found - e.g. if
# we spawned SSH to a remote system.