addr2line problem on solaris

Dan Nicolaescu dann@godzilla.ICS.UCI.EDU
Sun Apr 7 13:44:00 GMT 2002


Hi!

addr2line does not work on sparc-sun-solaris2.7 with binaries
generated by the SUN Forte-6.1 compiler (using -g -xs -xO4), 
it prints 
FILENAME:0 
and FILENAME is not even the file where the function at that address
is located. 
This happens both with addr2line from binutils-2.11.2 and from the
04/07 snapshot. 

The funny thing is that 
list *ADDRESS
works just fine when using gdb-5.[01] on the same binary. 

Is this a known problem? 
I'd be glad to provide more details if needed. 

Thanks.
        --dan



More information about the Binutils mailing list