DWARF file format

Ian Lance Taylor ian@wasabisystems.com
Thu Mar 4 15:54:00 GMT 2004


Sivakumar <skganesan@yahoo.com> writes:

> Can i produce a DWARF file format (with .dwarf
> extension). In other words is it possible to produce a
> binary file with .dwarf extension. 
> 
> or 
> 
> is this format lies inside the ELF file.

DWARF format describe information which normally resides within the
ELF file.

> Are there any tools to retreive the information from
> the DWARF file format.

The DWARF information is just sections inside the ELF file.  You can
get the raw data using objdump -s.  You can get interpreted data using
readelf --debug-dump.

Ian



More information about the Binutils mailing list