Gdb

Getting a thread stack

  • Determine the program that has created the core file
file coreFile
set logging on fullPathToLogFile
thread apply all bt full
  • Run gdb
gdb -batch-silent -x commands.txt program coreFile