This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
addr2line problem on solaris
- From: Dan Nicolaescu <dann at godzilla dot ICS dot UCI dot EDU>
- To: binutils at gcc dot gnu dot org
- Date: Sun, 07 Apr 2002 13:44:10 -0700
- Subject: addr2line problem on solaris
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