Re: [PATCH 09/14] libdw, libdwfl: Save original path of ELF file

2023-11-06 Thread Omar Sandoval
On Thu, Nov 02, 2023 at 06:04:27PM +0100, Mark Wielaard wrote: > Hi Omar, > > On Wed, 2023-09-27 at 11:20 -0700, Omar Sandoval wrote: > > libdw and libdwfl currently save the path of the directory containing > > the ELF file to use when searching for alt and dwo files. To search for > > dwp files

Re: [PATCH 09/14] libdw, libdwfl: Save original path of ELF file

2023-11-02 Thread Mark Wielaard
Hi Omar, On Wed, 2023-09-27 at 11:20 -0700, Omar Sandoval wrote: > libdw and libdwfl currently save the path of the directory containing > the ELF file to use when searching for alt and dwo files. To search for > dwp files, we need the file name too. Add an elfpath field to Dwarf, > and set the

[PATCH 09/14] libdw, libdwfl: Save original path of ELF file

2023-09-27 Thread Omar Sandoval
From: Omar Sandoval libdw and libdwfl currently save the path of the directory containing the ELF file to use when searching for alt and dwo files. To search for dwp files, we need the file name too. Add an elfpath field to Dwarf, and set the debugdir field from it. Also update libdwfl to set