This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Dwarf2 is broken?
- To: gcc at gcc dot gnu dot org
- Subject: Dwarf2 is broken?
- From: <igorp at rsdsoft dot msk dot ru>
- Date: Thu, 8 Jun 2000 18:00:56 +0400 (MSD)
I've got a little problem when I want to obtain Dwarf2 debug information
while reading the .debug_info. section.
I can read information of the .debug_abbrev. section without any problems.
On the base of the obtained information I try to get data from the
..debug_info section.
I read DW_AT_* and DW_FORM_* pairs from the .debug_abbrev section and I'm
based on their values when I read information from .debug_info. Upon reading
a pair of zero values of DW_AT_* è DW_FORM_* I have to read the number of
a new entry to the .debug_info section. But I find out that the start
point of the next entry is displaced for 1 byte, and it is located in the
odd displacement in a file. In a specification for Dwarf2 format htere is
information that the filler for the .debug_info section is 0, but I see that
there are values, different from 0.
Does GCC support specification for the Dwarf2 format of the 27th of July,
1993?
Are there any additions for this specification?
Where can I obtain more information on the Dwarf2 format on GCC?