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

Gary Benson
Mon Mar 30 18:43:25 GMT 2020

Jan Kratochvil wrote:
> 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.

Sorry to disappoint, but I don't think I've ever done anything with


More information about the Gdb mailing list