aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-06-02 22:24:15 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-06-02 22:24:15 +0000
commit31e43e98bfeca5206fc5dfdfa7ff7d5eeca27a92 (patch)
treec52339daa90c7414e7dda7e34b49a93ea41a5e95 /gdb/testsuite
parentcb91c06acceedddbfd91ecd6f55efb121d0cddae (diff)
downloadgdb-31e43e98bfeca5206fc5dfdfa7ff7d5eeca27a92.zip
gdb-31e43e98bfeca5206fc5dfdfa7ff7d5eeca27a92.tar.gz
gdb-31e43e98bfeca5206fc5dfdfa7ff7d5eeca27a92.tar.bz2
gdb/testsuite/
* gdb.cp/anon-union.exp (pass): Rename to ... (print z 2): ... here.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog2
-rw-r--r--gdb/testsuite/gdb.cp/anon-union.exp2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b7937bb..b778527 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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>
diff --git a/gdb/testsuite/gdb.cp/anon-union.exp b/gdb/testsuite/gdb.cp/anon-union.exp
index d0290c7..ddf6aeb 100644
--- a/gdb/testsuite/gdb.cp/anon-union.exp
+++ b/gdb/testsuite/gdb.cp/anon-union.exp
@@ -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"