[Dwarf-discuss] Macros after "#include" does not show up DWARF

David Anderson davea42@gmail.com
Sun Sep 15 15:26:23 GMT 2024


On 9/13/24 15:50, Lorenzo Gomez via Dwarf-discuss wrote:
> int dwarf_init_b(int    /*fd*/,
>      Dwarf_Unsigned    /*access*/,
>      unsigned          /*groupnumber*/,
>      Dwarf_Handler     /*errhand*/,
>      Dwarf_Ptr         /*errarg*/,
>      Dwarf_Debug*      /*dbg*/,
>      Dwarf_Error*      /*error*/);
> 
> function and passing the groupnumber I'm interested in. I was previously 
> using the "dwarf_init" function, which does not have an argument for the 
> group number.

Yes, so the dwarf_init you were using (with no
group_number argument) reads and reports group number 0 .

The dwarfdump changes pushed to github yesterday have much new
code that reports accurately and fully a summary of tag/attribute/
form usage (within the comdat group being read).
David Anderson
-- 
Specs? That's too geeky. Just make it go.



More information about the Dwarf-discuss mailing list