Re: Automatically fetching Build ID from remote libraries and resole them locally?
Gary Benson via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Organization | Red Hat UK Ltd, 64 Baker Street, 4th Floor, W1U 7DF, UK. Registered in England and Wales (3798903) |
| Message-ID | <[email protected]> |
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 build-id. Cheers, Gary