Hi,
There was a small bug in dwarf_child () that made it fail
with .debug_type Dwarf_Dies. It contained a sanity check to see whether
we reached the end of the section early. A Dwarf_CU can come from either
the debug_info unit or a debug_type unit section. So use the correct one
for sanity checking whether we have a truncated section. Fixed as
follows:
2011-04-26 Mark Wielaard <mjw(a)redhat.com>
* dwarf_child (dwarf_child): Sanity check end of section against
cu_data () of die->cu.
Cheers,
Mark
Show replies by thread