Here's a very gentle intro to GDB that should get most new users started: GDB Tutorial.
In addition, the following commands are also useful but not covered in the previous link: