docs.python.org/3/howto/gdb_helpers.html

auto load ext

python-gdb.py

When building source, dbg info is available and python-gdb.py will be in the root directory of source