diff --git a/gdb/testsuite/gdb.cp/inherit.exp b/gdb/testsuite/gdb.cp/inherit.exp index d269a3bd489..332f64fefe2 100644 --- a/gdb/testsuite/gdb.cp/inherit.exp +++ b/gdb/testsuite/gdb.cp/inherit.exp @@ -527,7 +527,7 @@ proc test_print_svi_classes { } { -re "$vhn = \{ = \{va = 3, vx = 4\}, $re_vbptr_3 = ${hex}( <\[^>]*>)?, vb = 5, vx = 6\}$nl$gdb_prompt $" { # gcc HEAD 2015?+ # the vptr is set to the address *after* the vtable, - # so the # symbol shown is unpredictable + # so the # symbol shown is unpredictable. pass "$name (symbols ignored)" } } @@ -561,7 +561,7 @@ proc test_print_svi_classes { } { -re "$vhn = \{ = \{va = 7, vx = 8\}, $re_vbptr_3 = ${hex}( <\[^>]*>)?, vc = 9, vx = 10\}$nl$gdb_prompt $" { # gcc HEAD 2015?+ # the vptr is set to the address *after* the vtable, - # so the symbol shown is unpredictable + # so the symbol shown is unpredictable. pass "$name (symbols ignored)" } } @@ -638,7 +638,7 @@ proc test_print_mvi_classes { } { -re "$vhn = \{ = \{ = \{va = 19, vx = 20\}, $re_vbptr_3_vB = ${hex}( <\[^>]*>)?, vb = 21, vx = 22\}, = \{$re_vbptr_3_vC = ${hex}( <\[^>]*>)?, vc = 23, vx = 24\}, $re_vbptr_3_vD = ${hex}( <\[^>]*>)?, vd = 25, vx = 26\}$nl$gdb_prompt $" { # gcc HEAD 2015?+ # the vptr is set to the address *after* the vtable, - # so the symbol shown is unpredictable + # so the symbol shown is unpredictable. pass "$name (symbols ignored)" } } @@ -671,7 +671,7 @@ proc test_print_mvi_classes { } { -re "$vhn = \{ = \{ = \{ = \{va = 0, vx = 0\}, $re_vbptr_3_vB = ${hex}( <\[^>]*>)?, vb = 0, vx = 0\}, = \{$re_vbptr_3_vC = ${hex}( <\[^>]*>)?, vc = 0, vx = 0\}, $re_vbptr_3_vD = ${hex}( <\[^>]*>)?, vd = 0, vx = 0\}, $re_vbptr_3_vE = ${hex}( <\[^>]*>)?, ve = 27, vx = 28\}$nl$gdb_prompt $" { # gcc HEAD 2015?+ # the vptr is set to the address *after* the vtable, - # so the symbol shown is unpredictable + # so the symbol shown is unpredictable. pass "$name (symbols ignored)" } }