gdb is in the gnu package, if you can run g++, then you will be able to run gdb.
gdb is most effective when it is debugging a program that has debugging symbols linked in to it. With g++, this is accomplished using the -g command line argument. For even more information, the -ggdb switch can be used which includes debugging symbols which are specific to gdb. The makefile for this tutorial uses the -ggdb switch.
Advertisement
what do u want to know about antarjyoti?