gdb = GNU Debugger
I don't have a step by step tutorial but here is its current official web site:
http://www.gnu.org/software/gdb/
Hope you can find some useful information there.
Or try the help file of gdb:
$ info gdb
There are also some GUI-based debuggers such as
RedHat Insight or KDbg (portion of KDE) which may be easier.