Hi Frank,

Thanks a lot for your answer!


*> elfutils' eu-stack already handles core files with buildids,> delegating
to debuginfod for fetching related content.*

Unfortunately, I cannot use the debuginfod server for several
reasons, but I have a copy of all shared objects and the executable,
I just need to be able to tell elfutils that the path that retrieves from
the core is not correct (elfutils uses the link maps in the core, that
contain the hardcoded absolute address to the original shared objects)
and then supply my own.

Do you know if there is some easy way to provide search locations for
shared objects?

Thanks in advance,

Pablo

On Fri, 19 Mar 2021 at 16:11, Frank Ch. Eigler <f...@redhat.com> wrote:

> Hi -
>
> > It is possible to specify the location of shared libraries when
> > reporting/attaching to a core file? The problem I am having is that
> > when the core is moved to another machine [...]
>
> Once this gdb feature is added, this should Just Work (tm) via
> buildid/debuginfod indexing.  (I understand that's not a direct
> answer to your question.)
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=27570
>
> elfutils' eu-stack already handles core files with buildids,
> delegating to debuginfod for fetching related content.
>
>
> - FChE
>
>

Reply via email to