contrasting elfutils debuginfod and clr-debug-info server

Arjan van de Ven
Fri Feb 7 14:47:00 GMT 2020

On 2/7/2020 1:13 AM, Mark Wielaard wrote:
> Hi,
> 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)....

More information about the Elfutils-devel mailing list