Bug 974277

Summary: autoload fails — wrong directory
Product: [Fedora] Fedora Reporter: Zbigniew Jędrzejewski-Szmek <zbyszek>
Component: gdb-heapAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dmalcolm, jan.kratochvil
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-21 18:48:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zbigniew Jędrzejewski-Szmek 2013-06-13 20:05:01 UTC
Description of problem:
gdb "heap" command isn't working.

$ rpm -ql gdb-heap|grep auto
/usr/share/gdb/auto-load/lib64/ld-2.17.so-gdb.py

But the proper path seems to be /usr/share/gdb/auto-load/usr/lib64, at least that's where other packages put auto-load scripts. Doing mv /usr/share/gdb/auto-load/lib64/* /usr/share/gdb/auto-load/usr/lib64/ "fixes" things and makes 'heap' do something (doesn't actually work, but that's a different bug :( ).

Version-Release number of selected component (if applicable):
gdb-heap-0.5-12.fc19.x86_64
gdb-7.6-30.fc19.x86_64
glibc-2.17-4.fc19.x86_64

Actual results:
(gdb) heap
Undefined command: "heap".  Try "help".

Expected results:
(gdb) heap
Blocks retrieved 10000
Blocks retrieved 20000
...

Comment 1 Jan Kratochvil 2013-08-21 18:48:35 UTC
This is GDB Bug 999645.
But it is also gdb-heap Bug 665799.

*** This bug has been marked as a duplicate of bug 999645 ***