* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 11 Jun 2010 23:27:22 +0000 (23:27 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 11 Jun 2010 23:27:22 +0000 (23:27 +0000)
does not support ELF executable class.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/valgrind-db-attach.exp

index 6bfe3531ecfbb2de34c0f15db98ae2f1f727978f..ac4ff9c8714d97576ed264d09b69d3ac8f66b9e8 100644 (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.
index 9ef36d02a9bc6cd893e22cb4d24d5b6ab15f8c7d..36a543c682c5cec83cdb2d07f7b3708c041e6afa 100644 (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.
This page took 0.040981 seconds and 4 git commands to generate.