This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] gdb.cp/anon-union.exp: Fix back test name
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 3 Jun 2010 00:24:54 +0200
- Subject: [obv] gdb.cp/anon-union.exp: Fix back test name
- References: <20100602222114.GA1632@host0.dyn.jankratochvil.net>
http://sourceware.org/ml/gdb-cvs/2010-06/msg00026.html
--- src/gdb/testsuite/ChangeLog 2010/06/02 22:20:11 1.2308
+++ src/gdb/testsuite/ChangeLog 2010/06/02 22:24:15 1.2309
@@ -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>
--- src/gdb/testsuite/gdb.cp/anon-union.exp 2010/06/01 18:18:35 1.10
+++ src/gdb/testsuite/gdb.cp/anon-union.exp 2010/06/02 22:24:15 1.11
@@ -164,7 +164,7 @@
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"