Dwarf2, DW_CHILDREN_yes/no

Daniel Jacobowitz drow@false.org
Sun Jul 24 18:08:00 GMT 2005


On Sun, Jul 24, 2005 at 08:02:02PM +0200, Torsten Mohr wrote:
> Hi,
> 
> i just found out that also a gcc generated ELF file with
> dwarf2 in it (gcc-3.4.4, binutils-2.16, --target=avr --with-dwarf2)
> contains values for DW_CHILDREN higher than 0/1.

It is a bug in your script.  GCC never outputs anything besides
DW_children_no or DW_children_yes.

Have you tried using dwarfdump/libdwarf?

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Binutils mailing list