Compaq AA-RH99A-TE Remote Starter User Manual


 
Contents
About This Manual
1 Introduction to Kernel Debugging
1.1
Linking a Kernel Image for Debugging ............................ 1–1
1.2
Debugging Kernel Programs ........................................ 1–3
1.3
Debugging the Running Kernel ..................................... 1–3
1.4
Analyzing a Crash Dump File ...................................... 1–5
2 Kernel Debugging Utilities
2.1
The dbx Debugger ....................................................
2–2
2.1.1
Invoking the dbx Debugger for Kernel Debugging .......... 2–2
2.1.2
Debugging Stripped Images .................................... 2–3
2.1.3
Specifying the Location of Loadable Modules for Crash
Dumps .............................................................
2–4
2.1.4
Examining Memory Contents .................................. 2–5
2.1.5
Printing the Values of Variables and Data Structures ..... 2–6
2.1.6
Displaying a Data Structure Format ......................... 2–6
2.1.7
Debugging Multiple Threads ................................... 2–7
2.1.8
Examining the Exception Frame .............................. 2–7
2.1.9
Examining the User Program Stack .......................... 2–8
2.1.10
Extracting the Preserved Message Buffer .................... 2–10
2.1.11
Debugging on SMP Systems .................................... 2–10
2.2
The kdbx Debugger ................................................... 2–12
2.2.1
Beginning a kdbx Session ....................................... 2–12
2.2.2
The kdbx Debugger Commands ................................ 2–13
2.2.3
Using kdbx Debugger Extensions ............................. 2–15
2.2.3.1
Displaying the Address Resolution Protocol Table ..... 2–16
2.2.3.2
Performing Commands on Array Elements ............. 2–16
2.2.3.3
Displaying the Buffer Table ............................... 2–18
2.2.3.4
Displaying the Callout Table and Absolute Callout
Table ........................................................... 2–18
2.2.3.5
Casting Information Stored in a Specific Address ..... 2–19
2.2.3.6
Displaying Machine Configuration ....................... 2–19
2.2.3.7
Converting the Base of Numbers ......................... 2–20
2.2.3.8
Displaying CPU Use Statistics ............................ 2–20
Contents iii