Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443510 - dev-lang/python should install helper file for sys-devel/gdb
Summary: dev-lang/python should install helper file for sys-devel/gdb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Python Gentoo Team
URL: http://bugs.python.org/issue8032
Whiteboard:
Keywords:
: 460668 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-16 12:32 UTC by Jan Pobrislo
Modified: 2013-03-19 04:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Pobrislo 2012-11-16 12:32:12 UTC
Python now bundles a script for >=sys-devel/gdb-7 (the one which supports python extensions).
This is currently installed at 
/usr/share/doc/${PN}/examples/Tools/gdb/libpython.py but gdb expects it at /usr/share/gdb/auto-load/${soname}-gdb.py for it to be autoloaded. Symlinking to desired location works too, eg.:
/usr/share/gdb/auto-load/usr/lib64/libpython2.7.so.1.0-gdb.py -> /usr/share/doc/python-2.7.3-r2/examples/Tools/gdb/libpython.py

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2013-03-19 02:45:21 UTC
*** Bug 460668 has been marked as a duplicate of this bug. ***