[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ARM compiler generates DW_FORM_indirect
From: |
Tim Combs |
Subject: |
ARM compiler generates DW_FORM_indirect |
Date: |
Fri, 10 Nov 2000 13:54:41 -0600 |
Using gdb5.0, I was debugging a little test problem. The ARM
C compiler generates by default DWARF2. When I tried to load it,
gdb said DW_FORM_indirect wasn't implemented yet. I am working
on implementing it but being a newbie to this part of gdb, I have
a couple of general questions. The spec says that "the attribute value
itself in the .debug_info section begins with an unsigned LEB128 number
that represents its form."
My understanding of the spec is that the .dwarf_info section looks
like this:
1. length of compilation unit
2. Version of DWARF info
3. offset to .debug_abbrev section
4. size of address
5. (Some number of) DIEs
a. LEB128 number containing abbrev code
b. Attribute values
So I think my confusion is from the gdb code. It seems from my
untrained eye that I have already read past the attribute value when
I discover the DW_FORM_indirect. What is the relationship between
the attr->value and attr->form and the attr value?
Thanks
Tim
--------------------------------------------------------
address@hidden
- ARM compiler generates DW_FORM_indirect,
Tim Combs <=