I have some C++ code like this that I\'m stepping through with GDB:
void foo(int num) { ... } void main() { Baz baz; foo (baz.get()); }
Starting with GDB 7.4, skip can be used.
skip
Run info skip, or check out the manual for details: https://sourceware.org/gdb/onlinedocs/gdb/Skipping-Over-Functions-and-Files.html
info skip