Kevin Funk
  • Blog
  • About
  • Projects
  • Work
  • Contact

gdb

A collection of 1 post
kde

Scripting GDB to execute commands at particular breakpoints

This might be old news for the more experienced programmers out there, but yes, we can script GDB to do $stuff whenever it hits a breakpoint. With GDB's logging to file feature this can be super handy when trying to get a backlog of backtraces whenever a certain event arises.
Aug 29, 2014 5 min read
Page 1 of 1
Kevin Funk © 2023
Powered by Ghost