GDB Advanced Techniques: Expanding Functionality with Custom Function Execution
altmannmarcelo.medium.com
altmannmarcelo.medium.com
Sometimes all you need simple break at some specific point and print a variable to inspect its value. Other times you need to go even further and loop through some memory structure such as a list.