Useful C/C++
gdb binaryname binaryname.core
Run the debugger on a core
bt
Get a stack listing, last to first (within gdb)
$(CXX) $(CC), .cc .c
c++ versus c in Makefile