Skip to content

install python-gdb.py to gdb auto-load dir

python-gdb.py is a gdb extension providing CPython interpreter information to gdb. It helps introspect the stack of python functions and is quite useful for debugging native module in python.

Installing it to usr/lib/libpython3.11.so.1.0-gdb.py in the auto-load directory of gdb makes gdb to load it automatically when /usr/lib/libpython3.11.so.1.0 is load, effectively makes gdb to load it for every python process being debugged.

close #6

Merge request reports