From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3377 invoked by alias); 18 Oct 2012 09:29:54 -0000 Received: (qmail 3366 invoked by uid 22791); 18 Oct 2012 09:29:53 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from g1t0029.austin.hp.com (HELO g1t0029.austin.hp.com) (15.216.28.36) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Oct 2012 09:29:34 +0000 Received: from G2W1953G.americas.hpqcorp.net (gvt0525.austin.hp.com [16.238.8.185]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by g1t0029.austin.hp.com (Postfix) with ESMTPS id D32D13827E for ; Thu, 18 Oct 2012 09:29:33 +0000 (UTC) Received: from G2W2419G.americas.hpqcorp.net (16.197.128.79) by G2W1953G.americas.hpqcorp.net (16.238.8.185) with Microsoft SMTP Server (TLS) id 14.2.283.4; Thu, 18 Oct 2012 09:28:38 +0000 Received: from G2W2431.americas.hpqcorp.net ([169.254.8.22]) by G2W2419G.americas.hpqcorp.net ([16.197.128.79]) with mapi id 14.02.0283.004; Thu, 18 Oct 2012 09:28:38 +0000 From: "Saraswati, Sujoy (JCTL-MCBS)" To: "gdb@sourceware.org" Subject: Query regarding new dwarf type support in gdb Date: Thu, 18 Oct 2012 09:29:00 -0000 Message-ID: <5379BA8D7E9D7E4D87BF6749A92854C239425B12@G2W2431.americas.hpqcorp.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-10/txt/msg00078.txt.bz2 Hi all, I have a question on new dwarf type supports in gdb. For example, http://d= warfstd.org/ShowIssue.php?issue=3D090106.1&type=3Dclosed3 talks about a new= DWARF tag DW_TAG_rvalue_reference_type to be added for debugging C++0x R-V= alue 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 grac= efully 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