Skip to content

Instantly share code, notes, and snippets.

@cyberjso
Forked from diegopacheco/gdb-core-dump-linux.md
Created February 28, 2017 21:04
Show Gist options
  • Save cyberjso/7e862c858f60d7130de63e7b5d00d866 to your computer and use it in GitHub Desktop.
Save cyberjso/7e862c858f60d7130de63e7b5d00d866 to your computer and use it in GitHub Desktop.
Run GDB to analyse code dump
ulimit -c unlimited
ls -ltr
gcore $PID
gdb program core
bt
frame 1
list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment