* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind

does not support ELF executable class.
This commit is contained in:
Ulrich Weigand 2010-06-11 23:27:22 +00:00
parent f3ce5b9c8d
commit 5bbad94c39
2 changed files with 9 additions and 0 deletions

View File

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

View File

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