Learning Makefile
GDB Debugging Tool Common commands for GDB debugging: gcc -g main.c -o main Common commands: help bt Show the call stack info locals Show local variables break main.c:10 Set a breakpoint at line 10 next Execute the next line list List source code continue Continue execution print Print variable value start Restart program execution delete … Read more