DescriptionCarlos O'Donell
2019-02-25 14:44:05 UTC
+++ This bug was initially created as a clone of Bug #1612448 +++
Description of problem:
glibc is using custom debuginfo generation but it does not run gdb-add-index like /usr/lib/rpm/find-debuginfo.sh does. Therefore glibc-debuginfo is missing .gdb_index.
Version-Release number of selected component (if applicable):
glibc-debuginfo-2.27-30.fc28.x86_64
How reproducible:
Always
Steps to Reproduce:
dnf debuginfo-install glibc
time gdb -batch /lib64/libc.so.6
Actual results:
real 0m0.204s
Expected results:
real 0m0.119s
One can get this result after:
gdb-add-index /usr/lib/debug/lib64/libc-2.27.so.debug
readelf -S $PWD/libc-2.27.so.debug|grep -w gdb_index
[80] .gdb_index PROGBITS 0000000000000000 00f6a777
Additional info:
It is sure not such a big deal but given glibc is loaded with any program it is a needless slowdown by 0.1s of any debugging.