GDB, short for GNU Debugger, is the most popular debugger for UNIX systems to debug C and C++ programs.
This tutorial provides a brief introduction on how to use GDB commands to ensure the programs are error-free.
A debugger is regarded as the best friend of a software programmer. Hence, this tutorial will be useful for all those programmers who would like to develop robust and error-free programs.
This tutorial assumes that you already know how to program in C and C++ and that you can compile and execute programs.