This is the mail archive of the
mailing list for the elfutils project.
Re: Misinterpreted FILE note for 32bit core files in readelf
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 14 Apr 2014 15:28:29 +0200
- Subject: Re: Misinterpreted FILE note for 32bit core files in readelf
On Mon, 2014-04-14 at 14:57 +0200, Petr Machata wrote:
> Mark Wielaard <email@example.com> writes:
> > The trouble is indeed that buf_read_ulong passes 8 as size to convert
> > while the size of a long in the core file is 4. The attached patch
> > fixes this and adds an explicit testcase for a i686 core file. CCed
> > Petr who originally added the support to double check I didn't
> > misinterpret the intention of buf_read_ulong calling convert.
> I don't have any particular memories of that code anymore, but after
> looking into it anew, your patch looks reasonable. Please apply.
Thanks. Pushed to master.