The adb and kadb tools are available in the Solaris 7 operating environment. They offer the same capabilities as the SunOS release 4 tools. kadb has been enhanced to recognize multiple processors. The processor ID is displayed in the kadb prompt. In the following examples, it is 0.
To make kernel debugging under the Solaris 7 operating environment easier:
Enable savecore (uncomment the savecore lines in the /etc/init.d/sysetup file)
Boot under kadb (type $c when the system crashes)
Use adb and crash
Also, adb has been enhanced for 64-bit:
Extend format letters for ?, /, = modifiers. K used for printing long or pointer in hexadecimal (displays 4 bytes for 32 bit programs and 8 bytes for 64-bit programs).
Path for 64-bit SPARC macros: /usr/lib/adb/sparcv9 and /usr/platform/platformname/lib/adb/sparcv9.