/GDBWorkshop

Sample code files for doing a workshop on GDB

Primary LanguageC

GDBWorkshop

Sample code files for doing a workshop on GDB

Script

  1. Show with segFault.c that GDB can show you the exact line of your segmentation fault
  2. Show how to watch variables with ifStatements.c
  3. Show how to set breakpoints, and skip over loops with looping.c
  4. Show how to print stack traces, return values, and set breakpoints for functions with fibonacci.c