kmdb
Utility
The kmdb
utility is an interactive kernel debugger with the same general syntax as the modular debugger (mdb
). With this debugger, you can set breakpoints. When a breakpoint is reached, you can examine data or step through the execution of kernel code.
Caution:
Because thekmdb
utility stops the kernel that is currently running, only use it if you are an expert user such as a kernel developer.
Do not use the kmdb
utility on production systems.
kmdb
can be loaded and unloaded on demand. You do not have to reboot the system to perform interactive kernel debugging, as was the case with the kadb
utility.
For more information, see the kmdb
(1) man page.