gdb script

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Python-API.html#Python-API

 

Python API (Debugging with GDB)

23.3.2 Python API You can get quick online help for GDB’s Python API by issuing the command python help (gdb) . Functions and methods which have two or more optional arguments allow them to be specified using keyword syntax. This allows passing some op

sourceware.org

 

https://sdimitro.github.io/post/scripting-gdb/

 

Scripting GDB | Core Dump

Motivation Two semesters ago, I was introduced to gdb in my systems programming course. Since this was the first time that I used an actual debugger, I was really impressed by the things it could do. I wanted to see what gdb was capable of, so I tried ever

sdimitro.github.io