This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [patch] Add printing of .gdb_index section to readelf
- From: Tom Tromey <tromey at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 18 Apr 2011 11:44:37 -0600
- Subject: Re: [patch] Add printing of .gdb_index section to readelf
>>>>> "Mark" == Mark Wielaard <mjw@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