Apr-11-2025, 05:55 PM
Hi, this might be a long shot and may not fall in the python coding help category exactly but I can't find any other information about it.
I am trying to get the Python GDB scripts setup on my system so I can get access to
I am running Fedora 41 with Python3.13. I have installed
I do see
This is my
I am trying to get the Python GDB scripts setup on my system so I can get access to
py-bt
, py-list
, etc.I am running Fedora 41 with Python3.13. I have installed
python3-3.13.2-1.fc41.x86_64
, python3.13-debuginfo-3.13.1-2.fc41.x86_64
, and python3.13-debugsource-3.13.1-2.fc41.x86_64
but none of those RPMs provide python3-gdb.py
or python3.13-gdb.py
I do see
/usr/lib/debug/usr/lib64/libpython3.13.so.1.0-3.13.1-2.fc41.x86_64.debug-gdb.py
and /usr/lib/debug/usr/lib64/libpython3.13d.so.1.0-3.13.1-2.fc41.x86_64.debug-gdb.py
, however, it doesn't seem like gdb is trying to load those. Most likely, this is because on my system /usr/bin/python3.13d
is not linked against /usr/lib64/libpython3.13d.so.1.0
but rather /lib64/libpython3.13d.so.1.0
.This is my
.gdbinit
file:set debuginfod enabled on add-auto-load-safe-path /usr/share/gdb/python/gdb/ add-auto-load-safe-path /usr/lib/debug/ set auto-load python-scripts on set auto-load gdb-scripts onAny help with this is appreciated.