Re: scripting gdb
From https://mail.python.org/archives/list/[email protected]/message/Z3S2RAXRIHAWT6JEOXEBPPBTPUTMDZI7/ :
https://wiki.python.org/moin/DebuggingWithGdb links to https://fedoraproject.org/wiki/Features/EasierPythonDebugging , which mentions the py-list, py-up and py-down, py-bt, py-print, and py-locals GDB commands that are also described in ** https://devguide.python.org/gdb/ **
https://developers.redhat.com/blog/2017/11/10/gdb-python-api/ describes the GDB Python API.
The GDB Python API docs: https://sourceware.org/gdb/onlinedocs/gdb/Python-API.html