debuginfod vs libthread_db.so

Mark Wielaard mark@klomp.org
Thu Nov 24 12:24:00 GMT 2022


Hi Avi,

On Thu, 2022-11-24 at 14:02 +0200, Avi Kivity via Gdb wrote:
> (tangent: is it possible to express libthread_db.so code as DWARF
> expressions? if so it will be possible to get rid of libthread_db.so,
> by having libc encode accessors to thread information as some DWARF
> expressions, and teaching gdb to use those expressions instead of
> calling libthread_db.so)

There used to be an effort to define a kind of extended DWARF
expressions, infinity notes, to describe things like the
libthread_db.so code. Although the website can only be found in
archive.org now, the code is still out there:
https://web.archive.org/web/20190126111943/https://infinitynotes.org/wiki/Infinity

Mailing list: infinity@sourceware.org, 
https://sourceware.org/ml/infinity/
Source code: https://gitlab.com/gbenson/i8c/, 
https://gitlab.com/gbenson/libi8x/

Cheers,

Mark


More information about the Gdb mailing list