Re:Debugging with GDB
by mark_undoio on Wednesday March 23, 2022 @10:48AM
(#30779004)
Thanks! I also see there's a `/proc/sys/kernel/core_uses_pid` that will make you get `core.PID` files, without having to mess around with core patterns - seems useful.
ulimit -S -c unlimited
sudo sysctl -w kernel.core_pattern=core
took me a while to figure this out, HTH