]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 2 Jun 2010 22:24:15 +0000 (22:24 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 2 Jun 2010 22:24:15 +0000 (22:24 +0000)
* gdb.cp/anon-union.exp (pass): Rename to ...
(print z 2): ... here.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/anon-union.exp

index b7937bb7dfa993e017b01dfde7394def3b27e8cf..b778527da12794ddd3b3459c2976d9083109bb7a 100644 (file)
@@ -2,6 +2,8 @@
 
        * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
        (print value of rUC, print value of rI, print value of UI): ... here.
+       * gdb.cp/anon-union.exp (pass): Rename to ...
+       (print z 2): ... here.
 
 2010-06-02  Michael Snyder  <msnyder@vmware.com>
 
index d0290c7b23d6d506bd0ae415a5b79f7afc83e345..ddf6aeb41844d647586fb6fa9c439834f4f28af0 100644 (file)
@@ -164,7 +164,7 @@ gdb_test "next" "55\[ \t\]*int j = 0;" "next 5"
 gdb_test "print w" "\\$\[0-9\]* = 45" "print w 2"
 
 # See if z shows the same value
-gdb_test "print z" "\\$\[0-9\]* = 45" pass "print z 2"
+gdb_test "print z" "\\$\[0-9\]* = 45" "print z 2"
 
 # Set the anon union member 
 gdb_test_no_output "set var z = 27" "set var z"