This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/37237] Debug information for virtual destructors omits DW_AT_vtable_elem_location


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37237

--- Comment #8 from Tom Tromey <tromey at gcc dot gnu.org> 2012-07-12 18:34:08 UTC ---
I'd like to ping this again.

I've been working on adding support for new and delete to gdb.
The missing debuginfo here is a barrier to this.

I think gdb would generally like to call the deleting destructor
when it is available.  Right now there is no way to find this
destructor from the debuginfo.

I agree this would require a DWARF extension.  I think something
like DW_AT_destructor with values DW_DESTRUCTOR_complete_object,
DW_DESTRUCTOR_deleting, and DW_DESTRUCTOR_base_object.
I can file a bug on dwarfstd.org if you think this makes sense.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]