On 2014/05/26 09:46, Peter Haag wrote: > Is there a way to patch the kernel at tcp_input to automatically generate a > core, if it crases?
If sysctl net.inet.ddb.panic is set to 0, the os will attempt to produce a
crash dump automatically when it panics. It would help if this is done from a
kernel that you have a matching debug kernel for ('makeoptions DEBUG="-g"' in
kernel config; install bsd, then use bsd.gdb and the matching source code
if the dump succeeds; don't boot bsd.gdb directly).
