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
parentf3ce5b9c8d43b60e052f6b003ec0f29e6038c183 (diff)
downloadgdb-5bbad94c3964411fc25e986139b2fa1d32c5d797.zip
gdb-5bbad94c3964411fc25e986139b2fa1d32c5d797.tar.gz
gdb-5bbad94c3964411fc25e986139b2fa1d32c5d797.tar.bz2
* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
does not support ELF executable class.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/valgrind-db-attach.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6bfe353..ac4ff9c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+:010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
+ does not support ELF executable class.
+
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
diff --git a/gdb/testsuite/gdb.base/valgrind-db-attach.exp b/gdb/testsuite/gdb.base/valgrind-db-attach.exp
index 9ef36d0..36a543c 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.