serpent-os / recipes

Serpent OS Package Recipes
https://dash.serpentos.com
16 stars 12 forks source link

Support a Debuginfod instance #190

Open livingsilver94 opened 6 months ago

livingsilver94 commented 6 months ago

Debuginfod is a HTTP service that downloads symbols and source code of various build IDs when debugging. Often debug symbols are not sufficient, you need code as well. Debuginfod provides both. Debuginfod is supported by gdb, valgrind and lldb. lldb can't download resources automatically (AFAIK), you first need to download them manually with the debuginfod-find. Not ideal, but not a big deal either.

It would be useful to host such a service, which gets populated at every package build. That way, we provide a convenient facility to debug our code and we can also avoid shipping "spammy" *-dbginfo subpackages. Debuginfod supports multiple URLs from which to download resources, so that distros that derive from Serpent OS can append their hosting address, and be able to debug both upstream and downstream packages.

Resources: