2013-06-03 Luis Machado * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output from targets that use function descriptors in the virtual tables. diff --git a/gdb/testsuite/gdb.cp/virtfunc.exp b/gdb/testsuite/gdb.cp/virtfunc.exp index 2509cc7..4b73482 100644 --- a/gdb/testsuite/gdb.cp/virtfunc.exp +++ b/gdb/testsuite/gdb.cp/virtfunc.exp @@ -234,7 +234,7 @@ proc make_one_vtable_result {name args} { set result "vtable for '${name}' @ $hex .subobject @ $hex.:$nls" set count 0 foreach func $args { - append result ".${count}.: $hex <$func..>${nls}" + append result ".${count}.:( @$hex:)? $hex <$func..>${nls}" incr count }