From: "Saraswati, Sujoy (JCTL-MCBS)" <sujoy.saraswati@hp.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Query regarding new dwarf type support in gdb
Date: Thu, 18 Oct 2012 09:29:00 -0000 [thread overview]
Message-ID: <5379BA8D7E9D7E4D87BF6749A92854C239425B12@G2W2431.americas.hpqcorp.net> (raw)
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
next reply other threads:[~2012-10-18 9:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 9:29 Saraswati, Sujoy (JCTL-MCBS) [this message]
2012-10-18 21:09 ` Tom Tromey
2012-10-19 10:55 ` Saraswati, Sujoy (JCTL-MCBS)
2012-10-19 17:17 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5379BA8D7E9D7E4D87BF6749A92854C239425B12@G2W2431.americas.hpqcorp.net \
--to=sujoy.saraswati@hp.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).