Entering and Exiting gdb Mode
Learn how to debug code using gdb.
We'll cover the following...
Compile the program
To be able to debug a program using gdb, we must, first, compile it using the -g flag.
gcc main.c -g
The output of this program will be available in a.out (or a.exe).
Run a.out/a.exe under
... Ask