Actions

EmSys

GDB - More on Breakpoints

From EdWiki

Breakpoints ...

  • You can also tell gdb to break at a particular function. Suppose you have a function my_func:
int my_func(int a, char *b);
  • You can break anytime this function is called:
(gdb) break my_func