aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/virtfunc.exp
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2013-06-05 20:38:37 +0000
committerLuis Machado <luisgpm@br.ibm.com>2013-06-05 20:38:37 +0000
commitf993f39ec979dd26e024663a59f481e6d9334bf6 (patch)
tree1d9861a51618f928b65f92fe9e8bf29b230c18f0 /gdb/testsuite/gdb.cp/virtfunc.exp
parent351a6f0219ca55bda51307e064b18aaaa79b5521 (diff)
downloadgdb-f993f39ec979dd26e024663a59f481e6d9334bf6.zip
gdb-f993f39ec979dd26e024663a59f481e6d9334bf6.tar.gz
gdb-f993f39ec979dd26e024663a59f481e6d9334bf6.tar.bz2
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.cp/virtfunc.exp')
-rw-r--r--gdb/testsuite/gdb.cp/virtfunc.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/virtfunc.exp b/gdb/testsuite/gdb.cp/virtfunc.exp
index 2509cc7..1c2268a 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
}