Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2022 19:17:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260979] libproc can fail to find debug symbols for jailed processes
Message-ID:  <bug-260979-227-JWsvv4eeR8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260979-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260979-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260979

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 buil=
d-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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260979-227-JWsvv4eeR8>