X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; q=dns; s=default; b=CmJ
	//Zr5Sbcn27KNWmdWyQTcEiZRdUgZHkIULnJhiJJrU/rTksglq2ch5gZWrUb8Joh
	DSUdH43VRvJUMIL1kdj7GAWXoxZE909UkDvxjdvTWIc5vawEiLHeTGtacjICKE9h
	P6l1Qxf44CUKWxJWoxEwr3qMqLU0FoxyDKbzTVXg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; s=default; bh=KFoOglHRk
	vcVQrDf3wvHXBFVKa8=; b=KB5n5NRr+NEPpP1HcwdVduYLXWRjKDimlWE8r6x/W
	SfVOTQeTozQ+4wRQwu9AvQ5PeMWFb9vNSXPI3qBKwJyZ0/2eUwM8deW1W3vp4dVp
	t/6rWY0y0zkRbHE3UCtK0gclFW+fYNLL8t6Yy2S+BVHzbj1UVPb1fOs86t8AyJNx
	N0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM,TVD_SUBJ_NUM_OBFU_MINFP autolearn=ham version=3.3.2
X-HELO: mail6.worldispnetwork.com
Message-ID: <546D8BA7.5090400@shaddybaddah.name>
Date: Thu, 20 Nov 2014 17:35:19 +1100
From: Shaddy Baddah <lithium-cygwin@shaddybaddah.name>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.7.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: addr2line not returning anything useful (maybe just for me?)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

