From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7661 invoked by alias); 28 Jan 2004 19:59:41 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7649 invoked from network); 28 Jan 2004 19:59:40 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 28 Jan 2004 19:59:40 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1Alvqd-00046W-PI for ; Wed, 28 Jan 2004 14:59:39 -0500 Date: Wed, 28 Jan 2004 19:59:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [rfa] classes, partial symtabs, and DW_AT_specification Message-ID: <20040128195939.GA15632@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20040125170031.GA10709@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2004-01/txt/msg00724.txt.bz2 On Wed, Jan 28, 2004 at 10:51:20AM -0800, David Carlton wrote: > Yeah. For the issue I ran into, it's probably not _too_ hard to > solve: we could build up a die->parent table that only covered the > dies that we would want to parse while reading the psymtabs - the spec > die that I'm looking for should already be such a die. But using this > as an excuse to step back and think about how we want dwarf2 psymtabs > to work in an ideal world would certainly be a good idea. Hmm, that is an interesting idea. It may be worthwhile. > > With a little tuning, I think this is a solvable problem. It will > > probably take a speed hit, but smaller debug info will hopefully > > make up for a lot of that. And then, if someone implements > > .debug_info_index, we can use that for psymtabs instead. > > Do you have a reference for .debug_info_index? I tried searching for > it, but nothing turned up; I couldn't find an archive for the dwarf2 > mailing list. There's no archive. Someone, IIRC Jim, proposed it before I joined the dwarf2 list; the basic concept is that it's exactly the same format as .debug_info, but with less information. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer