Query regarding new dwarf type support in gdb
Saraswati, Sujoy (JCTL-MCBS)
sujoy.saraswati@hp.com
Thu Oct 18 09:29:00 GMT 2012
Hi all,
I have a question on new dwarf type supports in gdb. For example, http://dwarfstd.org/ShowIssue.php?issue=090106.1&type=closed3 talks about a new DWARF tag DW_TAG_rvalue_reference_type to be added for debugging C++0x R-Value references. My question is, when the compilers start emitting this new tag in the debug sections, how does the older gdb handle it ? Does it gracefully skip this unknown type, or does it error out ? The dwarf2read.c file in gdb has many instances when error() is called. My understanding is that if gdb calls error() while processing the dwarf information for a module, the dwarf processing would be incomplete and debugging might get affected.
Regards,
Sujoy
More information about the Gdb
mailing list