Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 14:37:03 +0100 (CET)
From:      mikko@dynas.se
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/15416: addr2line is unable to find line numbers
Message-ID:  <199912111337.OAA26883@mt.dynas.se>

next in thread | raw e-mail | index | archive | help

>Number:         15416
>Category:       bin
>Synopsis:       addr2line is unable to find line numbers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 11 06:40:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Mikko Työläjärvi
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

 FreeBSD 4.0-CURRENT FreeBSD 4.0-CURRENT #3: Thu Dec  9 17:09:51 CET 1999
 GNU addr2line 2.9.1

>Description:

 The addr2line program never manages to figure out line numbers.
 Could be an indication of more fundamental problems in the port
 of GNU binutils.

>How-To-Repeat:

 % cat > xxx.c
 /* Some initial blank lines... */

 int main()
 {
	return 0;
 }
 ^D 
 % cc -g xxx.c
 % nm a.out | grep main
 080483c0 T main
 % addr2line 080483c0
 /tmp/xxx.c:0

Note: On Linux (RH 6.1, also version 2.9.1 of binutils) this results
in "/tmp/xxx.c:5".

>Fix:




>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912111337.OAA26883>