Tracker for F-18-filed Bug with a patch:
+++ This bug was initially created as a clone of Bug #971119 +++
Description of problem:
rm -rf /usr/lib/debug/.build-id
GDB stops working.
Version-Release number of selected component (if applicable):
gdb-7.5.1-38.fc18.x86_64
How reproducible:
On one system.
Steps to Reproduce:
gdb cal
Actual results:
warning: the debug information found in "/usr/lib/debug//usr/bin/cal.debug" does not match "/usr/bin/cal" (CRC mismatch).
Expected results:
Reading symbols from /usr/bin/cal...Reading symbols from /usr/lib/debug/usr/bin/cal.debug...done.
Additional info:
--- Additional comment from Jan Kratochvil on 2013-06-13 15:38:07 CEST ---
The cal problem is due to dwz: Changing .debug file CRC not updating it in the main file referencing it.
This bug is about /usr/lib/rpm/sepdebugcrcfix .
The missing top level symlinks is Bug 974130 which is also fixed now.
So it is best to test them now together and any /usr/lib/debug/**.debug file should load fine, even with deleted /usr/lib/debug/.build-id/ .
The correct loading is for example:
Reading symbols from /usr/bin/cal...Reading symbols from /usr/lib/debug/usr/bin/cal.debug...done.
I see I messed up a bit Comment 0 of this Bug.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.