Re: Automatically fetching Build ID from remote libraries and resole them locally?

Jan Kratochvil via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Mon, 30 Mar 2020 11:04:30 +0200, Norbert Lange wrote:
> I would want to use 'set sysroot /path/to/staging/dir', but the downside is that
> mismatches will not be detected and can badly mess up debugging.

You should have setup symlinks in /usr/lib/debug/.build-id/
(or where you 'set debug-file-directory') for all build-ids you ever build.
That works for core-files.


> GDB 9.0 certainly does not use *Build-Ids from the 'remote'*,

According to a test I have made now I agree. Maybe Gary Benson will suggest
more.


Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.