This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

binutils-010212: possible bug with gas + arm-unknown-elf + dwarf2 lineno


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]