This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libdw: Try .gnu_debugaltlink paths relative to the debug file
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 06 Jan 2014 15:54:08 +0100
- Subject: Re: [PATCH] libdw: Try .gnu_debugaltlink paths relative to the debug file
Mark Wielaard <mjw@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