Contributions from Mike Shapiro, Matthew Simmons, and Eric Schrock
In this chapter, we take a tour of MDB basics, from startup through elements (command syntax, expressions, symbols, and other core concepts), via simple procedures illustrated by examples.
MDB is available on Solaris systems as two commands that share common features:
kmdb. You can use the
mdb command interactively or in scripts to debug live user processes, user process core files, kernel crash dumps, the live operating system, object files, and other files. You can use the
kmdb command to debug the live operating system kernel and device drivers when you also need to control and halt the execution of the kernel. To start
mdb, execute ...