Notes gdb debug

Voir :

Linux - File Descriptor - deleted files

https://developers.redhat.com/articles/2023/06/19/debugging-gdb-create-custom-stack-winders

Voir aussi

Process audit quand strace n'est pas là

How to cache data using GDB's Python API

$ python3 -c "import pymssql ; conn = pymssql.connect(server='127.0.0.1', port='1433', user=r'ACME\user1', password=r'P@ssw0rd!', database='dbname')"
Segmentation fault (core dumped)

$ gdb --args python3 -c "import pymssql ; conn = pymssql.connect(server='127.0.0.1', port='1433', user=r'ACME\user1', password=r'P@ssw0rd!', database='dbname')"
(gdb) r
(gdb) bt