On platforms that do not use FHS like NixOS or GNU Guix, the build-id directories are not under /usr/lib/debug.
Let’s add --with-separate-debug-dir configure flag so that the path can be changed. The same flag is supported by gdb
And just like gdb, let’s make it accept multiple debug directories separated by colons. This is useful for example when using dwarffs in addition to debug data installed using distribution’s package manager.
On platforms that do not use FHS like NixOS or GNU Guix, the build-id directories are not under
/usr/lib/debug
.Let’s add
--with-separate-debug-dir
configure flag so that the path can be changed. The same flag is supported by gdbAnd just like gdb, let’s make it accept multiple debug directories separated by colons. This is useful for example when using dwarffs in addition to debug data installed using distribution’s package manager.