OSDN Git Service

2002-05-19 Michael Chastain <mec@shout.net>
authorMichael Chastain <mec.gnu@mindspring.com>
Mon, 20 May 2002 05:16:53 +0000 (05:16 +0000)
committerMichael Chastain <mec.gnu@mindspring.com>
Mon, 20 May 2002 05:16:53 +0000 (05:16 +0000)
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.c++/inherit.exp

index 37fab79..1b4401b 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-19  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
+
 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
 
         * configure.in (configdirs): Add gdb.arch.
index e24b7f5..286c27b 100644 (file)
@@ -993,7 +993,7 @@ proc test_print_mvi_classes {} {
        -re ".* = \{\<vD\> = \{\<vB\> = \{\<vA\> = \{va = 0, vx = 0\}, ${vbptr}vA = $hex, vb = 0, vx = 0\}, \<vC\> = \{${vbptr}vA = $hex, vc = 0, vx = 0\}, ${vbptr}vC = $hex, ${vbptr}vB = $hex, vd = 0, vx = 0\}, ${vbptr}vD = $hex, ve = 27, vx = 28\}$nl$gdb_prompt $" {
            pass "print g_vE"
        }
-       -re ".* = \{\<vD\> = \{\<vB\> = \{\<vA\> = \{va = 0, vx = 0\}, _vptr.vB = $hex, vb = 0, vx = 0\}, \<vC\> = \{_vptr.vC = $hex, vc = 0, vx = 0\}, _vptr.vD = $hex, vd = 0, vx = 0\}, _vptr.vE = $hex, ve = 27, vx = 28\}$nl$gdb_prompt $" {
+       -re ".* = \{\<vD\> = \{\<vB\> = \{\<vA\> = \{va = 0, vx = 0\}, _vptr.vB = $hex *(\<VTT for vD\>)?, vb = 0, vx = 0\}, \<vC\> = \{_vptr.vC = $hex *(\<VTT for vD\>)?, vc = 0, vx = 0\}, _vptr.vD = $hex, vd = 0, vx = 0\}, _vptr.vE = $hex, ve = 27, vx = 28\}$nl$gdb_prompt $" {
            pass "print g_vE (FIXME v3 vtbl ptr)"
        }
        -re ".*$gdb_prompt $" { fail "print g_vE" }