How to specify location of shared libraries for core file?

2021-03-12 Thread Pablo Galindo Salgado via Elfutils-devel
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 the location of the shared libraries reported in its NOTE segments (and also the r_debug and link maps) are no longer co

Re: How to specify location of shared libraries for core file?

2021-03-19 Thread Pablo Galindo Salgado via Elfutils-devel
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 j

Get r_debug from a core file

2022-03-24 Thread Pablo Galindo Salgado via Elfutils-devel
Hi, I'm trying to obtain the r_debug structure from a core file. It seems that elfutils is able to obtain the structure using the "dwfl_link_map_report" function, but unfortunately this is internal. Is there a known way to obtain the structure using functions from the public API? If not, would y