GNU Debugger(GDB)
GNU Debugger (GDB) is a debugging tool which helps in debugging c/c++ programs on Linux platform. Suppose you are writing a program and you want to trace the control flow of functions, then GDB is the answer.Though it's functionality is not only limited to this , you can also use GDB to add breakpoints ,to know that how the value of a variable is changing at run time, to trace the system calls ,library functions etc. Do not get confused because of so many new terms. Each term has been explained below. Consider a scenario of you visiting your friend's house.You got ready, took your car and you are on the road. Generally it takes an hour to reach at your friend's. But today there is a police check post blocking the road. The police officers are searching each and every vehicle to solve a robbery case just happened in the city.They do not want the thief to leave the city. So they stopped you also, then checked your identification, searched your vehicle and then cleared you....