From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8882 invoked by alias); 14 Mar 2003 14:47:10 -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 8826 invoked from network); 14 Mar 2003 14:47:09 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 14 Mar 2003 14:47:09 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18tsM3-0001F8-00; Fri, 14 Mar 2003 10:48:23 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18tqSd-0002VA-00; Fri, 14 Mar 2003 09:47:03 -0500 Date: Fri, 14 Mar 2003 14:47:00 -0000 From: Daniel Jacobowitz To: David Carlton Cc: gdb-patches@sources.redhat.com, Jim Blandy , Elena Zannoni Subject: Re: [rfa] fix pr java/1039 Message-ID: <20030314144703.GA9539@nevyn.them.org> Mail-Followup-To: David Carlton , gdb-patches@sources.redhat.com, Jim Blandy , Elena Zannoni References: 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/msg00317.txt.bz2 On Thu, Mar 13, 2003 at 09:23:03PM -0800, David Carlton wrote: > ! /* FIXME: carlton/2003-03-13: This is an unfortunate situation. I > ! don't mind the Java prefix so much: different languages have > ! different demangling requirements, so it's only natural that we > ! need to keep language data around in our demangling cache. But > ! it's not good that the minimal symbol has the wrong demangled name. > ! Unfortunately, I can't think of any easy solution to that > ! problem. */ Hey hey... it occurs to me... it would still not be ideal (memory waste) but could we look up the minimal symbol and change its demangled name? It would require: - changing the interface for setting symbol names - rehashing the minsyms incrementally [And do we want to? That's kind of dubious, to have a symbol's name change.] -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer