This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] fix pr java/1039


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]