Kernel debugger
From Wikipedia, the free encyclopedia
A kernel debugger is a debugger present in some kernels to ease debugging and kernel development by the kernel developers.
- The Windows NT family of operating systems contain a kernel debugger.
- BeOS contain a kernel debugger.
- DragonFly BSD employs a built-in kernel debugger.
A kernel debugger is not included in the mainline Linux kernel tree because Linus Torvalds doesn't want a kernel debugger in the kernel. [1]
KGDB and KDB are two kernel debuggrs for the Linux kernel. KGDB requires an additional machine for debugging, whereas KDB allows the kernel to be debugged on the same machine while the kernel is running. [2]