aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2002-05-20 05:16:53 +0000
committerMichael Chastain <mec@google.com>2002-05-20 05:16:53 +0000
commit56f6e91079f36a2e0b0bd74ec02f28c061b06951 (patch)
tree92726b82230757ab367566afc824be144a6bc020
parentad0b0016916f5c068660cb767c561982a6fd3240 (diff)
downloadgdb-56f6e91079f36a2e0b0bd74ec02f28c061b06951.zip
gdb-56f6e91079f36a2e0b0bd74ec02f28c061b06951.tar.gz
gdb-56f6e91079f36a2e0b0bd74ec02f28c061b06951.tar.bz2
2002-05-19 Michael Chastain <mec@shout.net>
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.c++/inherit.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 37fab79..1b4401b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.c++/inherit.exp b/gdb/testsuite/gdb.c++/inherit.exp
index e24b7f5..286c27b 100644
--- a/gdb/testsuite/gdb.c++/inherit.exp
+++ b/gdb/testsuite/gdb.c++/inherit.exp
@@ -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" }