This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]