GDBWorkshop
Sample code files for doing a workshop on GDB
Script
- Show with segFault.c that GDB can show you the exact line of your segmentation fault
- Show how to watch variables with ifStatements.c
- Show how to set breakpoints, and skip over loops with looping.c
- Show how to print stack traces, return values, and set breakpoints for functions with fibonacci.c