From: Ulrich Weigand Date: Fri, 11 Jun 2010 23:27:22 +0000 (+0000) Subject: * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5bbad94c3964411fc25e986139b2fa1d32c5d797;p=binutils-gdb.git * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind does not support ELF executable class. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6bfe3531ecf..ac4ff9c8714 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +:010-06-11 Ulrich Weigand + + * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind + does not support ELF executable class. + 2010-06-11 Ulrich Weigand * 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 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.