Skip to content

Instantly share code, notes, and snippets.

@jtattermusch
Last active August 3, 2017 13:00
Show Gist options
  • Save jtattermusch/acebc3128c5aaa5dfc1bdcae036e42f7 to your computer and use it in GitHub Desktop.
Save jtattermusch/acebc3128c5aaa5dfc1bdcae036e42f7 to your computer and use it in GitHub Desktop.
ulimit -c unlimited
echo '/tmp/core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
# Attach with GDB
# gdb path/to/the/binary /tmp/core.failing_test.3948
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment