binutils-010212: possible bug with gas + arm-unknown-elf + dwarf2 lineno
Jens Ch. Restemeier
jrestemeier@currantbun.com
Tue Feb 13 11:40:00 GMT 2001
Hi,
small problem with lineno information and our propriatary (sp ?) and
closed-source debugging system:
simple test case:
.TEXT
.CODE 32
test1:
mov r1,r0
.word 0,1,2,3,4,5,6
test2:
mov r1,r0
.word 0,1,2,3,4,5,6,7
test3:
mov r1,r0
assembled with -gdwarf2
The debugger gets the code-source relation correctly for symbol test1
and test2, but it seems to have problem with the >32 byte gap between
test2 and test3.
It is quite possible that it is a bug in the debugger, but GCC code or
code assembled with the ARM assembler work fine.
BTW1: Is the linenumber information printed by readelf -wl relative to
the sourcefile ?
BTW2: The filenames for assembler files don't show up, is there a
difference in sourcefile specification from GCC compiled files and GAS
compiled files ?
-- Jens
P.S.: When is the next official release of binutils planned ?
More information about the Binutils
mailing list