summaryrefslogtreecommitdiff
path: root/gdb
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
commit1fcafc429220f73ba0e2414832f04e935c8b8271 (patch)
treea3ebc78de5d694ce0c1f4ffc986e925db079940f /gdb
parent1c294e16013896a46fafda4e0d89a474641e3bb5 (diff)
downloadgdb-1fcafc429220f73ba0e2414832f04e935c8b8271.tar.gz
* 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')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.cp/virtfunc.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1aca3ce7cc0..beeab23a7ff 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.cp/virtfunc.exp b/gdb/testsuite/gdb.cp/virtfunc.exp
index 2509cc70c58..1c2268ab91e 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
}