STREAMS/UX for the HP 9000 Reference Manual
11
Generating and Retrieving System Core Dumps 171
Setting Up Your System To Save a Core Dump 171
Manually Getting a Core File from the Swap Partition 172
Problems Encountered In Saving/Obtaining a Core Dump 172
Transfer of Control In Case of System Hang 172
Core File Size Requirements 173
Symbol Information 173
Using adb 174
Invoking adb 174
Context on Entry to adb 174
Debugging Hung Systems 175
Finding the Panic Message 176
Interpreting the Panic Stack Trace 177
Manual Stack Back-Tracing 177
PA-RISC Procedure Calling Conventions Overview 178
Basic Stack Back-Tracing 180
Exceptions to the Four Steps 182
Mapping Assembly Language Locations to Source Code Lines 184
Obtaining Procedure Argument Values 186
Obtaining the First Four Arguments 186
Obtaining Arguments 5 through N 189
Obtaining Register Contents from Trap save_state or panic_save_state Areas 190
Obtaining Important Kernel Global Variables 191
Obtaining Values from the Process Table Entry and User Area 192
Important User Area Fields 193
Important Process Table Fields 193
Debugging Examples 196
Example 1 196
Example 2 201
Example 3 208
STREAMS/UX-NetTL Link 217
Mapping from STREAMS/UX Messages to NetTL Messages 219
STREAMS/UX Subsystem ID and Subformatter 220
Subsystem ID 220
Subformatter 220
Quick Guide On How to Use NetTL for STREAMS/UX 221