[patch] Add printing of .gdb_index section to readelf
Tom Tromey
tromey at redhat.com
Mon Apr 18 17:44:37 UTC 2011
>>>>> "Mark" == Mark Wielaard <mjw at redhat.com> writes:
Mark> Note that libdw relies on .debug_aranges. For example dwarf_addrdie (),
Mark> which returns the CU DIE containing a given address, just returns NULL
Mark> if the aranges section isn't there.
Yeah. What makes this bug theoretical is that, AFAIK, nobody has seen
it happen in the wild. In practice, a missing .debug_aranges entry
means that the CU covers no addresses.
Tom
More information about the elfutils-devel
mailing list