diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/inherit.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2da03ed..743170e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.cp/inherit.exp b/gdb/testsuite/gdb.cp/inherit.exp index a593bc6..7b90637 100644 --- a/gdb/testsuite/gdb.cp/inherit.exp +++ b/gdb/testsuite/gdb.cp/inherit.exp @@ -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 $" { |