[Bug 260979] libproc can fail to find debug symbols for jailed processes

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Jan 2022 19:17:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260979

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
When looking for debug data where debuglink specifies ls.debug and the build-id
is abcdef1234 gdb attempts to access, in order:

/usr/lib/debug/.build-id/ab/cdef1234.debug
/usr/bin/ls.debug
/usr/bin/.debug/ls.debug
/usr/lib/debug/usr/bin/ls.debug

(from https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html)

gdb supports "set debug-file-directory directories"

I don't see an obvious way this could be handled automatically.

-- 
You are receiving this mail because:
You are the assignee for the bug.