Add the following line to a ~/.gdbinit file:

source /path/to/this/repo/blenlib.py