* gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
authorLuis Machado <luisgpm@br.ibm.com>
Wed, 5 Jun 2013 20:38:37 +0000 (20:38 +0000)
committerLuis Machado <luisgpm@br.ibm.com>
Wed, 5 Jun 2013 20:38:37 +0000 (20:38 +0000)
from targets that use function descriptors in the virtual tables.
Handle presence of dot symbols.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/virtfunc.exp

index 1aca3ce7cc0d0c0b843f54e45409db5ced116e23..beeab23a7ff359f87e8f142b15241a1f6bfdc0ca 100644 (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.
index 2509cc70c58d8d34443a5a1d0cdc80e5ec5baa75..1c2268ab91e23bb1ef83c1b5e8280451d3ce8e79 100644 (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
     }
 
This page took 0.036179 seconds and 4 git commands to generate.