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

gdb scripting

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.

  • Kevin Funk
Kevin Funk Aug 29, 2014 • 5 min read
Kevin Funk © 2022
Powered by Ghost