Red Hat Bugzilla – Bug 999645
/usr/share/gdb/auto-load/ needs filesystem symlinks
Last modified: 2013-09-24 19:02:40 EDT
Description of problem:
The usr/ symlinks bin+lib+lib64+sbin need to be present also in /usr/share/gdb/auto-load/ .
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Undefined command: "heap". Try "help".
Domain Kind Detail Count Allocated size
------ ---- ------ ----- --------------
TOTAL 0 0
One can "fix" it by:
ln -s ../../lib64/ld-2.17.so-gdb.py /usr/share/gdb/auto-load/usr/lib64/ld-2.17.so-gdb.py
Fortunately no other packages besides gdb-heap uses non-usr/ directories.
Moreover gdb-heap uses it incorrectly but that is Bug 665799.
*** Bug 974277 has been marked as a duplicate of this bug. ***
gdb-7.6-35.fc19 has been submitted as an update for Fedora 19.
gdb-7.5.1-40.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdb-7.6-35.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
*** Bug 1003042 has been marked as a duplicate of this bug. ***
gdb-7.5.1-41.fc18 has been submitted as an update for Fedora 18.
gdb-7.6-37.fc19 has been submitted as an update for Fedora 19.
It seems, that gdb-188.8.131.5230731-9.fc20 have wrong symlinks in auto-load directory: bin -> "usr/bin". It may be better to use full path '/usr/bin' or long relative path "../../../bin".
That is correct as it is. You can also look it is similar in /usr/lib/debug/ .
/bin/ is the same as /usr/bin/ .
Therefore /usr/lib/debug/bin/ should be the same as /usr/lib/debug/usr/bin/ .
And also /usr/share/gdb/auto-load/bin/ should be the same as /usr/share/gdb/auto-load/usr/bin/ .
(Whether /bin should be a symlink at all is off-topic for this Bug.)
gdb-7.6.1-41.fc19 has been submitted as an update for Fedora 19.
gdb-7.5.1-42.fc18 has been submitted as an update for Fedora 18.
gdb-7.5.1-42.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
gdb-7.6.1-41.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.