This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Demangling of method names and addr2line/c++filt


Tom Tromey writes:
 > Andrew> Addr2line is broken -- it should do whatever is appropriate to
 > Andrew> the default naming convention on the platform.  So, if gcc
 > Andrew> doesn't need a special flag to make it add underscores,
 > Andrew> addr2line should be able to demangle without needing a special
 > Andrew> flag either.
 > 
 > That's how it seems to me, too.  I'm not opposed to working around
 > this in libgcj somehow, but we must also file a binutils bug report.
 > Ranjit, could you do this?

I don't think it's a binutils bug.  AFAICS the problem is that the
addr2line that's in gcc doesn't play with the c++filt in binutils.
The addr2line in binutils is OK.  I think...

 >  [ passing -n ]
 > Andrew> Perhaps so.  I can't help feeling, however, that there is a
 > Andrew> non-negligible probability that this will break some other
 > Andrew> platforms.
 > 
 > I have that suspicion, too, though no facts to back it.  Is it likely
 > that anybody would know?  Maybe some binutils hacker.

Andrew.


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