The instruction levelKernel Debugger(kdb) and the source-levelKernel GNU Debugger(kgdb) are the two main Linux kernel debuggers. As of today, whether you use kdb or kgdb, you need to download relevant patches and apply them to your kernel sources. Even if you want to stay away from the hassle of patching your kernel sources with debugger support, you can glean information about kernel panics and peek at kernel variables via the plainGNU Debugger(gdb).
The instruction levelKernel Debugger(kdb) and the source-levelKernel GNU Debugger(kgdb) are the two main Linux kernel debuggers. As of today, whether you use kdb or kgdb, you need to download relevant patches and apply them to your kernel sources. Even if you want to stay away from the hassle of patching your kernel sources with debugger support, you can glean information about kernel panics and peek at kernel variables via the plainGNU Debugger(gdb).