www.sun.com
docs.sun.com
|
Solaris Modular Debugger Guide
Copyright
Preface
1. Modular Debugger Overview
2. Debugger Concepts
3. Language Syntax
4. Interaction
5. Built-in Commands
6. Execution Control
7. Kernel Debugging Modules
8. Debugging With the Kernel Memory Allocator
Getting Started: Creating a Sample Crash Dump
Setting
kmem_flags
Forcing a Crash Dump
Starting MDB
Allocator Basics
Buffer States
Transactions
Sleeping and Non-Sleeping Allocations
Kernel Memory Caches
Kernel Memory Caches
Detecting Memory Corruption
Freed Buffer Checking:
0xdeadbeef
Redzone:
0xfeedface
Uninitialized Data:
0xbaddcafe
Associating Panic Messages With Failures
Memory Allocation Logging
Buftag Data Integrity
The
bufctl
Pointer
Advanced Memory Analysis
Finding Memory Leaks
Finding References to Data
Finding Corrupt Buffers With
::kmem_verify
Allocator Logging Facility
9. Module Programming API
A. Options
B. Notes
C. Transition From
adb
D. Transition From
crash
Index