[PATCH] libdw: Try .gnu_debugaltlink paths relative to the debug file

Petr Machata pmachata at redhat.com
Mon Jan 6 14:54:08 UTC 2014


Mark Wielaard <mjw at redhat.com> writes:

> On Mon, 2013-12-16 at 11:16 -0800, Josh Stone wrote:
>> Is that a problem to use libelfP.h?  I see this going on elsewhere, in
>> elflint, readelf, libdw/cfi.h, and a few places in libdwfl.  At least
>> fildes is a pretty unassuming detail of the implementation, IMO.
>
> In this case however I do think it shows something "fishy" is going
> on. An Elf might or might not be backed by a fildes (anymore). Like
> when elf_cntl (elf, ELF_C_FDREAD) has already been called.

Also if the Elf was constructed by an elf_memory call.

PM


More information about the elfutils-devel mailing list