* gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output

from targets that use function descriptors in the virtual tables.
	Handle presence of dot symbols.
This commit is contained in:
Luis Machado 2013-06-05 20:38:37 +00:00
parent 351a6f0219
commit f993f39ec9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-06-05 Luis Machado <lgustavo@codesourcery.com>
* gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
from targets that use function descriptors in the virtual tables.
Handle presence of dot symbols.
2013-06-04 Gary Benson <gbenson@redhat.com>
* gdb.base/break-probes.exp: New file.

View File

@ -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
}