From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4712 invoked by alias); 16 Dec 2009 18:20:43 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 4699 invoked by uid 22791); 16 Dec 2009 18:20:42 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org From: Tom Tromey To: Roland McGrath Cc: Daniel Jacobowitz , archer@sourceware.org Subject: Re: Initial psymtab replacement results References: <20091211235901.GA16889@caradoc.them.org> <20091214230947.GA31362@caradoc.them.org> <20091216030118.A676A1D7@magilla.sf.frob.com> Reply-To: Tom Tromey Date: Wed, 16 Dec 2009 18:20:00 -0000 In-Reply-To: <20091216030118.A676A1D7@magilla.sf.frob.com> (Roland McGrath's message of "Tue, 15 Dec 2009 19:01:18 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2009-q4/txt/msg00110.txt.bz2 >>>>> "Roland" == Roland McGrath writes: Roland> (Perhaps there is something easy and kosher to do that GDB could Roland> use as an indicator of a .debug_aranges worth using.) I don't think so, or at least, I couldn't think of anything. Our current branches, including F12, check for a known GCC bug, but otherwise assume that if aranges exists, it is correct. There's also an issue with knowing whether it is actually complete; I didn't think of this until relatively recently: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288 Roland> With .debug_pub* it has always been my impression that the extraction Roland> from the DIE tree is not fully generic. That is, it at least assumes Roland> some language-specific knowledge to construct foo::bar names and the Roland> like. I've never been entirely clear on if it's even entirely knowable Roland> just from very simple language knowledge as opposed to encoding some Roland> choices or extra knowledge the compiler had. I think this question is related to Keith's work on avoiding DW_AT_MIPS_linkage_name. I think the current answer is that there are some known missing DWARF features relating to C++. However, Keith and Dodji have worked on GNU extensions for at least some of these. Tom