Using dwfl to enumerate frames of current thread

Ben Gamari ben at smart-cactus.org
Fri Aug 21 16:25:38 UTC 2015


Mark Wielaard <mjw at redhat.com> writes:

> And this is the problem. Sorry. I should have realized earlier.
> We use the .debug_aranges to get a quick index of the CUs and which
> address ranges they cover. In the case that there is no .debug_aranges
> we could do a full scan of all CUs. But that is somewhat inefficient,
> since no .debug_aranges could also mean that there really are no
> CUs with address scope DIEs (however that is probably unlikely). But
> if there is a .debug_aranges then we do assume it is complete. I am
> thinking whether we should still scan all CUs anyway if we are
> looking for an address that is really inside a module. But I think
> that would quickly become very inefficient.
>
Does elfutils need .debug_ranges as well?

Cheers,

- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20150821/2acf8030/attachment.sig>


More information about the elfutils-devel mailing list