7

GDB core dump: Find executable by build-id

view full story
linux-howto

http://stackoverflow.com – Is it possible to make gdb automatically find the corresponding executable file? I have extracted the debug symbols and put them in the /usr/lib/debug/.build-id/ directory. When I start gdb with gdb /usr/bin/executable core everything is working fine. All debug symbols for the executable and all shared libraries are automatically loaded because gdb knows about the build-id and automatically loads it. $ gdb /usr/bin/executable core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> Thi (HowTos)