gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 28 Jun 2010 20:12:53 +0000 (20:12 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 28 Jun 2010 20:12:53 +0000 (20:12 +0000)
commit9655fd1aecac0e494b53902baaf50cf53f899526
tree28573cff710a4be4459d4bc9381069a02f6a3b28
parent824cc8dd7cdd81143790e8f78d989d32161d5121
gdb/
Fix modification of cplus_struct_default.
* dwarf2read.c (dwarf2_add_member_fn) <no DW_AT_vtable_elem_location>:
Call ALLOCATE_CPLUS_STRUCT_TYPE.
* gdbtypes.c (cplus_struct_default): New empty initializer, comment it.

gdb/testsuite/
* gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
(main) <rtti_data>: New.
* gdb.cp/virtbase.exp (print rtti_data): New.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/gdbtypes.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/virtbase.cc
gdb/testsuite/gdb.cp/virtbase.exp