This is the mail archive of the
mailing list for the elfutils project.
Re: dwfl_link_map_report() on a core file with sysroot? Opens the wrong solibs?
- From: Luke Diamand <luke at diamand dot org>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: Roland McGrath <roland at hack dot frob dot com>, elfutils-devel at sourceware dot org
- Date: Sun, 6 Jan 2019 22:04:13 +0000
- Subject: Re: dwfl_link_map_report() on a core file with sysroot? Opens the wrong solibs?
- References: <CAE5ih7_VNLQ4C8GKgt4vZL0CGeCyoxOqsbkfYZhV4QNii2C6Pw@mail.gmail.com> <CAORpzuOC4yGnrbtYjD=kxhJ-ytfJ0tQ3+iDq1NPZ9g8jenVi0g@mail.gmail.com> <CAE5ih7_eV9e50ZyB0annCmK-oy7yUZ-RocrFZiWrcVjOaVB7kQ@mail.gmail.com> <20190106210435.GA13674@wildebeest.org>
On Sun, 6 Jan 2019 at 21:04, Mark Wielaard <email@example.com> wrote:
> On Fri, Dec 14, 2018 at 01:44:17PM +0000, Luke Diamand wrote:
> > On Thu, 13 Dec 2018 at 22:37, Roland McGrath <firstname.lastname@example.org> wrote:
> > >
> > > I think it's just missing. The hardest part is just deciding how the configuration should work.
> > Thanks. My current attempt adds a new function call,
> > dwfl_set_sysroot(), which works, but feels a bit clunky. I might see
> > if I can just use the find_elf callback instead.
> If you got this working please let us know.
> It might help others and/or deciding how to add a proper
> interface/config/hook for it.
I have a fix which I think does the right thing - I've been playing
around with core files from a Raspberry Pi and analysing them on a
Linux x86 PC using eu-stack. Christmas and New Year intervened but I
hope to submit something once I've recovered from that.