From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6687 invoked by alias); 23 Nov 2009 19:00:03 -0000 Received: (qmail 6633 invoked by uid 22791); 23 Nov 2009 19:00:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Nov 2009 18:59:57 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 02FF710DAA; Mon, 23 Nov 2009 18:59:56 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id DAC6710D9E; Mon, 23 Nov 2009 18:59:55 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1NCe8g-0006TL-8W; Mon, 23 Nov 2009 13:59:54 -0500 Date: Mon, 23 Nov 2009 19:00:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: "Frank Ch. Eigler" , gdb-patches@sourceware.org Subject: Re: [RFA 2/4] dwarf2_physname Message-ID: <20091123185954.GA24841@caradoc.them.org> Mail-Followup-To: Tom Tromey , "Frank Ch. Eigler" , gdb-patches@sourceware.org References: <4B0707E7.5010308@uglyboxes.com> <20091120220927.GA9589@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00502.txt.bz2 On Mon, Nov 23, 2009 at 11:05:00AM -0700, Tom Tromey wrote: > >>>>> "Frank" == Frank Ch Eigler writes: > > >> [...] This work won't help with existing code, though, because it > >> relies on indices we don't have access to (even if we use the > >> standard DWARF ones, those are unusable with older versions of > >> GCC). [...] > > Frank> Could gdb generate those indices for executables without them, > Frank> and save them someplace (perhaps even within the executable)? > > It would be possible. I'm not sure I would want gdb to do this, though. > A separate program to do it seems more appropriate. I think both options have value - this seems like a good evolution of the previous mmalloc approach to speeding up startup. Stick a cache in $HOME... -- Daniel Jacobowitz CodeSourcery