This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: DWARF file format
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Sivakumar <skganesan at yahoo dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 04 Mar 2004 10:54:32 -0500
- Subject: Re: DWARF file format
- References: <20040304115223.87948.qmail@web11107.mail.yahoo.com>
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