This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Query regarding new dwarf type support in gdb
- From: "Saraswati, Sujoy (JCTL-MCBS)" <sujoy dot saraswati at hp dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Thu, 18 Oct 2012 09:28:37 +0000
- Subject: 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