This is the mail archive of the
cygwin
mailing list for the Cygwin project.
addr2line not returning anything useful (maybe just for me?)
- From: Shaddy Baddah <lithium-cygwin at shaddybaddah dot name>
- To: cygwin at cygwin dot com
- Date: Thu, 20 Nov 2014 17:35:19 +1100
- Subject: addr2line not returning anything useful (maybe just for me?)
- Authentication-results: sourceware.org; auth=none
Hi,
I can't get addr2line to give me anything useful on any stackdump files.
I haven't used it for a while, so perhaps the following snippet will
show my incorrect use?
<snip>
$ cat > /tmp/foo.c << EOF
> int main() { ((void (*)(void))0)(); }
> EOF
$ gcc -g -o /tmp/foo2 /tmp/foo2.c
$ /tmp/foo2
Segmentation fault (core dumped)
$ addr2line -f -e /tmp/foo2.exe < foo2.exe.stackdump
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
</snip>
This was the case x86 and x86_64.
--
Regards,
Shaddy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple