Add missing CHECK_TYPEDEF calls to recent vptr_{fieldno,basetype} cleanup.
authorDoug Evans <dje@google.com>
Fri, 27 Feb 2015 01:31:29 +0000 (17:31 -0800)
committerDoug Evans <dje@google.com>
Fri, 27 Feb 2015 01:31:29 +0000 (17:31 -0800)
commit0def5aaad6a89e78f09cef2b95635dc3254ce304
tree22dd04767ffb22e3eac010b00c86c03c682bdb6d
parent330b17b30f85b091a214c2987de5dfef1e9733ac
Add missing CHECK_TYPEDEF calls to recent vptr_{fieldno,basetype} cleanup.

gdb/ChangeLog:

* gdbtypes.c (internal_type_vptr_fieldno): Add missing call to
CHECK_TYPEDEF.
(set_type_vptr_fieldno): Ditto.
(internal_type_vptr_basetype, set_type_vptr_basetype): Ditto.
* gnu-v3-abi.c (gnuv3_dynamic_class): Ditto.

gdb/testsuite/ChangeLog:

* gdb.cp/class2.cc (Dbase, D): New classes.
(main): New local delta.
* gdb.cp/class2.exp: Test printing delta.
* gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
(dynbar): New global.
* gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/gnu-v3-abi.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/class2.cc
gdb/testsuite/gdb.cp/class2.exp
gdb/testsuite/gdb.cp/classes.cc
gdb/testsuite/gdb.cp/classes.exp