avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] dwarf2 information, is this a bug?


From: Torsten Mohr
Subject: [avr-gcc-list] dwarf2 information, is this a bug?
Date: Tue, 19 Jul 2005 00:18:33 +0200
User-agent: KMail/1.8

Hi,

i just reconfigured and installed gcc-3.4.4:
../gcc-3.4.4/configure --target=avr --disable-nls --with-dwarf2

When i now compile with -gdwarf-2 and do:
avr-objdump -h -S output.elf >output.listing

Then i get:

BFD: Dwarf Error: found dwarf version '14080', this reader only \
handles version 2 information.
BFD: Dwarf Error: mangled line number section.


After a bit of investigation i found out that dwarf version is stored
as "unsigned LEB128".  LEB128 is a variable length encoding and
the number 14080 is encoded as 128, 110 (to my understanding).
It should be just a simple 2 (again, to my understanding).


Is this something going wrong in avr-gcc?


Best regards,
Torsten.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]