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.

--
Dwarf-discuss mailing list
Dwarf-discuss@lists.dwarfstd.org
https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss

Reply via email to