Loading and starting the KDB kernel debugger
For AIX® 5.1 and subsequent releases, the KDB kernel debugger is the standard kernel debugger.
The KDB kernel debugger must be loaded at boot time. This requires that a boot image be created with the debugger enabled. To enable the KDB kernel debugger, use either the -I or -D options of the bosboot command.
Examples of bosboot commands are as follows:
- To disable the KDB kernel debugger, use the following command:
bosboot -a -d /dev/ipldevice - To enable the KDB kernel debugger, but not invoke it during system
initialization, use the following command:
bosboot -a -d /dev/ipldevice -D - To enable the KDB kernel debugger, and invoke it during system
initialization, use the following command:
bosboot -a -d /dev/ipldevice -I
Note:
- The bosboot commands build boot images using the KDB kernel debugger. The boot image is not used until the machine is restarted.
- External interrupts are disabled while the KDB kernel debugger is active.
- If invoked during system initialization, the g subcommand must be issued to continue the initialization process.