I've put together a little interactive introduction to g++/gcc and gdb for a presentation given by ALAC at RPI. I hope someone out there finds this useful. I have some basic slides and an exercise written in C.
To compile the code, type gcc -o learn learn.c.
Slides are CC-BY-SA, and code is BSD. Have fun!