mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
3018241aee
The script in `Tools/gdb/libpython.py` has helper functions for debugging Python processes under gdb. When installed to `{exe}-gdb.py` it will automatically be loaded by gdb assuming it is in the safe path. gdb resolves all symlinks, so having the single script is sufficient regardless of how Python is invoked. Since it is usually only included as part of a dbg/dev package, this file is intentionally excluded from install by the CPython build scripts. Like the packaging with EPEL/Debian, we opt to manually copy it after the build/install. To ensure this file gets picked up it is enough for users to put this in their `~/.gdbinit`: ``` add-auto-load-safe-path ~/.pyenv ``` Fixes #1190. |
||
---|---|---|
.. | ||
pyenv-install | ||
pyenv-uninstall | ||
python-build |