Make kdump(1) print more useful information
I ported a patch from FreeBSD over making kdump(1) output more
informative. For an example see . The patch applies clean to HEAD
and works. The code looks not very nice, but rewriting the whole
thing would take too much time for less gain. The patch differs
slightly from FreeBSD due to the fact that kse*, the* is FreeBSD only.
I attached a second one-line patch for sys/fcntl.h, replacing a _KERNEL
ifdef with _KERNEL_STRUCTURES. Without this patch kdump won't compile.
The kdump patch was reviewed by corecore.