This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

Query regarding new dwarf type support in gdb


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


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