This procedure shows the basics for loading the kernel debugger. The savecore feature is enabled by default.
To direct the system to stop (break) in the debugger before the kernel executes, include –d option with the –k option.
Typing –k loads the debugger (kmdb), then directly boots the operating system.
The method used to access the debugger is dependent upon the type of console that you are using to access the system.
If you are using a locally attached keyboard, press F1–A.
If you are using a serial console, send a break by using the method that is appropriate for that type of serial console.
To access the kernel debugger (kmdb) before the system fully boots, use the –kd option.
Using the –kd option loads the debugger and then gives you an opportunity to interact with the debugger before booting the operating system.
A welcome message is displayed when you access the kernel debugger for the first time.
For more detailed information about interacting with the system by using kmdb, see the kmdb(1) man page.