From 56f6e91079f36a2e0b0bd74ec02f28c061b06951 Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Mon, 20 May 2002 05:16:53 +0000 Subject: [PATCH] 2002-05-19 Michael Chastain * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.c++/inherit.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 37fab7958e..1b4401bab6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-05-19 Michael Chastain + + * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings. + 2002-05-19 Elena Zannoni * configure.in (configdirs): Add gdb.arch. diff --git a/gdb/testsuite/gdb.c++/inherit.exp b/gdb/testsuite/gdb.c++/inherit.exp index e24b7f5885..286c27b09f 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 ".* = \{\ = \{\ = \{\ = \{va = 0, vx = 0\}, ${vbptr}vA = $hex, vb = 0, vx = 0\}, \ = \{${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 ".* = \{\ = \{\ = \{\ = \{va = 0, vx = 0\}, _vptr.vB = $hex, vb = 0, vx = 0\}, \ = \{_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 ".* = \{\ = \{\ = \{\ = \{va = 0, vx = 0\}, _vptr.vB = $hex *(\)?, vb = 0, vx = 0\}, \ = \{_vptr.vC = $hex *(\)?, 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" }