]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 6 Apr 2010 12:45:22 +0000 (12:45 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 6 Apr 2010 12:45:22 +0000 (12:45 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/inherit.exp

index 2da03edcda7d8b6dc9c103872dfe849bd4030a17..743170e174dde04463c6a9f944b622a6d9737f10 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
+
 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * gdb.stabs/aout.sed: Convert all backslash to double backslash
index a593bc6b984d2c70ef921171afd66fc8ca416b5b..7b9063741ae910f7bbc30f5b28d745a281e0493e 100644 (file)
@@ -502,7 +502,7 @@ proc test_print_anon_union {} {
 
     set name "print type of anonymous union"
     set re_tag "class_with_anon_union"
-    set re_class "(class $re_tag \{${ws}public:|struct $re_tag\{)"
+    set re_class "(class $re_tag \{${ws}public:|struct $re_tag \{)"
     set re_fields "int one;${ws}union \{${ws}int a;${ws}long( int)? b;${ws}\};"
     gdb_test_multiple "ptype g_anon_union" $name {
        -re "type = $re_class${ws}$re_fields$nl\}$nl$gdb_prompt $" {