This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] fix pr java/1039
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: David Carlton <carlton at math dot stanford dot edu>
- Cc: gdb-patches at sources dot redhat dot com, Jim Blandy <jimb at redhat dot com>,Elena Zannoni <ezannoni at redhat dot com>
- Date: Fri, 14 Mar 2003 09:47:03 -0500
- Subject: Re: [rfa] fix pr java/1039
- References: <ro1ptouo72g.fsf@jackfruit.Stanford.EDU>
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