JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Modular Debugger Guide     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information


1.  Modular Debugger Overview

2.  Debugger Concepts

3.  MDB Language Syntax

4.  Using MDB Commands Interactively

5.  Built-In Commands

6.  Execution Control

7.  Kernel Execution Control

Booting, Loading, and Unloading

Terminal Handling

Debugger Entry

Processor-Specific Features

8.  Kernel Debugging Modules

9.  Debugging With the Kernel Memory Allocator

10.  Module Programming API

A.  MDB Options

B.  Notes

C.  Transition From adb and kadb

D.  Transition From crash


Chapter 7

Kernel Execution Control

This chapter describes the MDB features for execution control of the live operating system kernel available when running kmdb. kmdb is a version of MDB specifically designed for kernel execution control and live kernel debugging. Using kmdb, the kernel can be controlled and observed in much the same way that a user process can be controlled and observed using mdb. The kernel execution control functionality includes instruction-level control of kernel threads executing on each CPU, enabling developers to single-step the kernel and inspect data structures in real time.

Both mdb and kmdb share the same user interface. All of the execution control functionality described in Chapter 6, Execution Control is available in kmdb, and is identical to the set of commands used to control user processes. The commands used to inspect kernel state, described in Chapter 3, MDB Language Syntax and Chapter 5, Built-In Commands, are also available when using kmdb. Finally, the commands specific to the Oracle Solaris kernel implementation, described in Chapter 8, Kernel Debugging Modules, are available unless otherwise noted. This chapter describes the remaining features that are specific to kmdb.