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?