[Bug corefiles/33570] [gdb/corefiles] FAIL: gdb.base/corefile-buildid.exp: mode=exec: sepdebug=false: symlink=false: info files
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Thu Oct 23 14:24:55 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33570
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Interestingly, eu-unstrip manages to find the correct file id:
...
$ eu-unstrip -n --core
leap-15-6/build/gdb/testsuite/outputs/gdb.base/corefile-buildid/corefile-buildid-exec.core
0x400000+0x3000 5ca748bf67869d467fa68c4f1755601c55552005@0x401318 - - [exe]
0x7f8aba7a4000+0x36ad8 234d1874df7c0012fc40a88b6fdec0b21ea058e2@0x7f8aba7a41d8
/lib64/ld-linux-x86-64.so.2 - ld-linux-x86-64.so.2
0x7f8aba496000+0x214450 16dc6ffdd6165c6cb0346d683a041c90daa99730@0x7f8aba690188
/lib64/libc.so.6 - libc.so.6
0x7f8aba6ab000+0xe9910 119be06cb8d34bc868c5e20e144ba52a9cc5519e@0x7f8aba6ab268
/lib64/libm.so.6 - libm.so.6
...
but I'm not sure how yet.
For reference, build id for the exec:
...
$ file leap-15-6/build/gdb/testsuite/outputs/gdb.base/corefile-buildid/exe
c_non-stripped/corefile-buildid-exec
leap-15-6/build/gdb/testsuite/outputs/gdb.base/corefile-buildid/exec_non-stripped/corefile-buildid-exec:
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.3.0,
BuildID[sha1]=5ca748bf67869d467fa68c4f1755601c55552005, with debug_info, not
stripped
...
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list