Demangling of method names and addr2line/c++filt
Andrew Haley
aph@redhat.com
Thu Feb 13 17:58:00 GMT 2003
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.
More information about the Java
mailing list