STREAMS/UX for the HP 9000 Reference Manual

10
Compiling and Linking TLI/XTI Applications and Threads 116
Debugging STREAMS/UX Modules and Drivers 119
Introduction 120
System V Debugging Tools Supported by STREAMS/UX 121
STREAMS/UX Tracing and Logging 121
cmn_err() and printf() 121
Dump Module Example 121
strdb and adb 122
STREAMS/UX Debugging Tool 123
Running strdb 123
strdb Commands 123
STREAMS/UX Subsystem Commands 124
? and h Commands 125
q Command 126
v Command 126
s Command 126
la Command 127
lm Command 127
ll Command 127
lp Command 128
qc Command 128
qh Command 129
Primary Commands 129
Data Structure Navigation Commands 129
Commands to Change strdb Session Characteristics 140
Debugging with strdb 145
Example 1: Flow Control and Fragmentation 146
Example 2: Simple Driver Programming Error 153
Example 3: Simple Application Programming Error 162
HP-UX Kernel Debugging Tools 166
HP-UX Kernel Debugging Tools and strdb 168
What Is a System Panic? 168
Traps 169
Data Segmentation Faults 169
Instruction Page Faults 169
Protection Violations 170