delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/24/05:03:37

Date: Thu, 24 Jun 1999 12:00:55 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp-workers AT delorie DOT com
cc: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Subject: Strange results from addr2line
Message-ID: <Pine.SUN.3.91.990624115953.25071F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Did anyone try to use addr2line from Binutils?

I get some weird results from it when I pass it addresses for
functions which were not compiled with -g (like library functions).
It correctly prints the library source file where that function was
defined (well, almost always), but the rest of info--the function name
and the line number--is totally bogus.  Clearly, the line number info
is not there to begin with, but it shouldn't return it at all, and at
least the function name should be right.

Does BFD have problems with coff-go32 that could explain that?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019