aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/virtfunc2.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-03-15 15:49:42 +0000
committerTom Tromey <tromey@redhat.com>2012-03-15 15:49:42 +0000
commit410528f093e41d8d8ca5eae37d4bb57c98a3122b (patch)
tree3276d46c33ffc84c9bb1b28c99402a2fc4fbdfe7 /gdb/testsuite/gdb.cp/virtfunc2.exp
parentc4aeac856a297bbcf96e565e5bad277bfcff3c1b (diff)
downloadgdb-410528f093e41d8d8ca5eae37d4bb57c98a3122b.zip
gdb-410528f093e41d8d8ca5eae37d4bb57c98a3122b.tar.gz
gdb-410528f093e41d8d8ca5eae37d4bb57c98a3122b.tar.bz2
* cp-valprint.c (cp_print_value_fields): Use
print_function_pointer_address for vtable slot. gdb/testsuite * gdb.cp/virtfunc2.exp: Update expected output. * gdb.cp/pr9631.exp: Update expected output. * gdb.cp/member-ptr.exp: Update expected output. * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected output. * gdb.cp/casts.exp: Update expected output.
Diffstat (limited to 'gdb/testsuite/gdb.cp/virtfunc2.exp')
-rw-r--r--gdb/testsuite/gdb.cp/virtfunc2.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/virtfunc2.exp b/gdb/testsuite/gdb.cp/virtfunc2.exp
index 0039692..d3fb8c5 100644
--- a/gdb/testsuite/gdb.cp/virtfunc2.exp
+++ b/gdb/testsuite/gdb.cp/virtfunc2.exp
@@ -53,6 +53,7 @@ gdb_test "print o2.do_print()" "\\$\[0-9\]+ = 123456"
gdb_test "print o2.do_print2()" "\\$\[0-9\]+ = 654321"
gdb_test "print o2.do_print3()" "\\$\[0-9\]+ = 111111"
+gdb_test "print o" " = {<interface> = {.*_vptr.interface = $hex <vtable for Obj.*>}, <No data fields>}"
gdb_exit
return 0