From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13477 invoked by alias); 14 Mar 2003 04:18:25 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13384 invoked from network); 14 Mar 2003 04:18:23 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 14 Mar 2003 04:18:23 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18tiXY-0000BZ-00; Fri, 14 Mar 2003 00:19:36 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18tge8-0006qv-00; Thu, 13 Mar 2003 23:18:16 -0500 Date: Fri, 14 Mar 2003 04:18:00 -0000 From: Daniel Jacobowitz To: David Carlton Cc: gdb Subject: Re: break jmisc.main Message-ID: <20030314041816.GA26268@nevyn.them.org> Mail-Followup-To: David Carlton , gdb References: <20030313205639.GA18052@nevyn.them.org> <20030313233611.GA22688@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: 2003-03/txt/msg00225.txt.bz2 On Thu, Mar 13, 2003 at 04:17:03PM -0800, David Carlton wrote: > On Thu, 13 Mar 2003 18:36:11 -0500, Daniel Jacobowitz said: > > > Hmm, I like this in principle. Could it have a more prominent FIXME on > > it though? > > Sure, will do. > > > It's really not a good long term solution. We shouldn't need both > > demangled copies... or if we do, then perhaps both should be > > associated with the minsym. > > Well, this would be another argument in favor of coalescing minimal > symbols and partial symbols (and possibly even regular symbols) into a > single data structure: it might make it a possible to update incorrect > information like this. Yes, I agree that this is the way to go. Particularly, once we've read a symtab in we should never need the corresponding psymtab again. Of course, there are more partial symbols than minimal symbols; and symbols take more memory than partial symbols. So it's not trivial. By the way, I noticed something very interesting today. SGI apparently had DWARF-2 extensions including a .debug_typenames section (and var, func, weak names) to expand upon the concept of .debug_pubnames. We could make GCC generate those and then use them to build psymtabs, I bet. That would speed up load time a lot. Oh well, something else for the List. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer