Hi all, I've implemented a new feature that I call "source-id" analogous to the existing "build-id" functionality. Unlike fetching debug symbols automatically using build-ids this feature can fetch the correct source code from a version control system when debugging. The idea is that when you need to debug an executable or opening a coredump of an executable that was built with "source-id" and "build-id" enabled it just works. You don't need to care about how and where to get debug symbols and the correct sources. How does this works? The technical details are explained in the README.md hosted in my test repository: https://github.com/gergap/source-id (The content of README.md is shown on this site nicely formatted) This repository contains an example that I used to test the new feature. It also contains example "source-fetch-scripts" that are used by GDB to fetch the source code. This should probably be bundled with GDB itself. Just give me a hint where the best location would be to add these files in the GDB repo. The GDB patches you find here: https://github.com/gergap/binutils-gdb on the branch gergap/source-id-feature What has been changed in GDB: * add support for a new .note section ".note.gnu.source-id" to be able to store and retrieve the VCS data from an ELF file. * add new gdb commands: "set source-lookup