{{tag>Brouillon}}
= Notes gdb debug
Voir :
* [[linux_-_file_descriptor_-_lsof_-_deleted_files|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à]]
* [[https://developers.redhat.com/articles/2024/02/05/how-cache-data-using-gdbs-python-api|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