|
|
Most developers use a combination of these tools in the course of debugging a driver. Depending on the problem, time, situation and personal preferences, you debug differently. Some considerations for which tool to use:
The debuggers have few facilities to prevent programmer error. You can damage the integrity of the kernel with a debugger, whereas it is impossible to damage the kernel by running crash.
kdb>> foo 0x1f + b
See the crash or crash(ADM) manual pages for more information about using the crash command. See ``Using SCODB on SVR5'' for more information about using the SVR5 scodb debugger, ``Using SCODB on SCO OpenServer 5'' for more information about using the SCO OpenServer 5 scodb debugger, and kdb for more information about using the kdb debugger. ``SCO kdb and scodb quick reference'' contains quick reference material for both debuggers.