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

Document Information

Preface

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

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

Command-Line Options

Syntax

Watchpoint Length Specifier

Address Map Modifier

Output

Deferred Breakpoints

x86: I/O Port Access

D.  Transition From crash

Index

Watchpoint Length Specifier

The watchpoint length specifier syntax recognized by MDB is different from the syntax described in adb(1). In particular, the adb watchpoint commands :w, :a, and :p allow an integer length in bytes to be inserted between the colon and the command character. In MDB, the count should be specified following the initial address as a repeat count. Stated simply, these adb(1) commands:

123:456w
123:456a
123:456p

are specified in MDB as

123,456:w
123,456:a
123,456:p

The MDB ::wp dcmd provides more complete facilities for creating user process watchpoints. Similarly, the legacy kadb length modifier command $l is not supported. Therefore, the watchpoint size should be specified to each ::wp command used in kmdb.