This is the mail archive of the mailing list for the elfutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: contrasting elfutils debuginfod and clr-debug-info server

On 2/7/2020 1:13 AM, Mark Wielaard wrote:

On Wed, Feb 05, 2020 at 02:05:42PM -0800, Arjan van de Ven wrote:
On 2/5/2020 11:14 AM, Frank Ch. Eigler wrote:
                       clear-linux                                elfutils

indexed             by filename                                by buildid

actually the clear side provides both build id and filename, the
tools on the client (gdb and the like) try buildid first, and fall
back to filename, and we just do both

AIUI that works by using the "/usr/lib/debug/.build-id/HE/XCODE" as the
key, i.e., the build-id as a file name.

sure but it's not "/usr/bin/true" of which  you might have different versions over
the lifespan of a distro through its updates

(e.g. you can connect gdb to a process that got updated on disk later and still get the right answers)

Do you also handle the core file use case? There you might not have
the right /usr/bin/true version on disk.

but the core file has the buildid in it (usually)....

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]