title: Debugging core dump files in gdb
body: <p>Is there any way to show local variables states in gdb when a core dump file is loaded?</p>
  
  <p>I had a core dump file loaded to gdb and switched to a certain frame (command: frame #), but I am not sure if it is possible to capture variables values without actually running it.</p>
  
  <p>Some background, debugging some race condition which causes seg fault and is very hard to recreate. Running in gdb doesn't help reproduce too much. So my best chance would be somehow to figure out what variables states are based on the core file that I currently have.</p>