Subject.
Compiled: g++ -g -Wall -o program program.cpp
Running: gdb -tui program
Thank you,
Javier.
If you have GDB 7.4 or greater, there's a skip
command, which lets you skip functions or entire files. After you mark a file or function for skipping, it won't step into it again. From the GDB Manual -- Skipping Over Functions and Files
skip [linespec]
skip function [linespec]
After running this command, the function named by linespec or the function containing the line named by linespec will be skipped over when stepping.
skip file [filename]
After running this command, any function whose source lives in filename will be skipped over when stepping.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With