This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Addr2line line number incorrect
- To: <binutils at sources dot redhat dot com>
- Subject: Addr2line line number incorrect
- From: m dot wust at philips dot com
- Date: Wed, 17 Jan 2001 13:53:20 +0100
Hi,
Currently I am using arm-elf-addr2line.exe (version 2.10) to obtain source line number info as a result of a given (valid) address. As a matter of fact this application program does return the corresponding function name and file name. Unfortenately the
line number is always zero no matter what the address will be. If I run arm-elf-objdump -g <filename.elf>, I actually see that line numbers are available and correct.
I compiled with arm-elf-gcc -gstabs+ -ggdb <filename .c> (version 2.96)
Regards,
Marcel Wüst
Philips Semiconductors, BL Cellular - Nijmegen
Gerstweg 2, FB3.073
6534 AE Nijmegen, The Netherlands
E-mail: m.wust@philips.com
Phone: +31 (0)24 353 2962