User Tools

Site Tools


gdb

GNU Debugger (GDB)

Core dump

When a program crashes on Linux, it produces a core dump. Core dump can be loaded into gdb with

gdb <executable> <core-file>

Core dumps paths depend on the core_pattern value in the kernel.

cat /proc/sys/kernel/core_pattern
gdb.txt · Last modified: 2016/09/26 13:06 by louisbob_ext