Tru64 UNIX
Ladebug Debugger Manual
Previous
Contents
Index
Chapter 10
10
Debugging a Multithreaded Application
10.1
Setting the Thread Mode
10.2
Thread Identification
10.3
Thread Commands
10.3.1
Thread Context Commands
10.3.2
Thread Control Commands
10.3.2.1
Setting Breakpoints in Multithreaded Applications
10.3.2.2
Setting Tracepoints in Multithreaded Applications
10.3.2.3
Stepping Individual Threads
10.3.2.4
Resuming Thread Execution
10.3.3
Thread Information Commands
10.3.3.1
Thread Queries
10.3.3.2
Condition Variable Queries (DECthreads Only)
10.3.3.3
Mutex Queries for DECthreads
10.4
Sample Multithreaded Application Debugging Session
10.5
Sample Multithreaded Application Debugging Session - Command Interface
Chapter 11
11
Debugging Core Files
11.1
Invoking the Debugger on a Core File
11.2
Core File Debugging Technique
11.3
Core Thread Debugging of Native Threads
Chapter 12
12
Using Debugger Scripts
12.1
The Debugger Initialization File
12.2
Recording Debugger Sessions
12.3
Playing Back a Command Script
Chapter 13
13
Debugging Shared Libraries
13.1
Controlling the Reading of Symbols for Shared Libraries
Chapter 14
14
Working with Limited Debugging Information
14.1
How Ladebug Works with Limited Debugging Information
14.2
Example Debugging Sessions
14.2.1
Example C++ Program Linked with -x
14.2.1.1
Setting Breakpoints
14.2.1.2
Listing the Source Code
14.2.1.3
Displaying the Stack Trace
14.2.2
Example C Program Linked with -x
14.2.2.1
Setting Breakpoints on Routines
14.2.2.2
Listing the Source Code
14.2.2.3
Displaying the Stack Trace
14.2.3
Example C++ Program Linked with -x -r
14.2.3.1
Setting Breakpoints on Static and Global Routines
14.2.3.2
Listing the Source Code
14.2.3.3
Displaying the Stack Trace
14.2.3.4
Printing Static and Local Variables
14.2.4
Example C++ Program Linked with Various -x and -r Options
14.2.4.1
Setting Breakpoints on Static and Global Routines
14.2.4.2
Listing the Source Code
14.2.4.3
Displaying the Stack Trace
14.2.4.4
Setting a Breakpoint on an Unknown Routine
Chapter 15
15
Machine-Level Debugging
15.1
Examining Memory Addresses
15.1.1
Using the <examine address> Command
15.1.2
Using Pointer Arithmetic
15.2
Examining Machine-Level Registers
15.3
Stepping at the Machine Level
Chapter 16
16
Remote Debugging
16.1
Remote Debugging Environment
16.2
Reasons for Remote Debugging
16.3
Client/Server Model for Remote Debugging
16.4
Tasks for Remote Debugging
16.4.1
Starting the Server Daemon
16.4.2
Starting the Debugger
16.4.3
Debugging the User Program
16.4.4
Exiting the Debugger and Disconnecting from the Server
16.5
Command-Line Options for Remote Debugging
16.6
Example Remote Debugger Session Using the Evaluation Board Server
16.6.1
Building an Executable File
16.6.2
Loading the Executable File and Starting the Server
16.6.3
Starting Ladebug on the Host System
16.6.4
Special Conditions
Chapter 17
17
Kernel Debugging
17.1
Local Kernel Debugging
17.2
Crash Dump Analysis
17.3
Remote Kernel Debugging with the kdebug Debugger
17.3.1
Analyzing a Crash Dump
17.4
Debugging Loadable Drivers
Part V
Part V
Command Reference
Command 1
ladebug
1
General Instructions for Using Debugger Commands
1.1
Executing System Commands from the Command Interface
1.2
Specifying the Debugger Prompt for the Command Interface
Appendix A
Appendix A
Debugger Menus
A.1
Menu on the Main Window
A.2
Menu on Optional Views Window
A.3
Menu on Instruction View
A.4
Context-Sensitive Pop-Up Menus
A.4.1
Source View Pop-Up Menu
A.4.2
Annotation Area Pop-Up Menu
A.4.3
Command Message View Pop-Up Menu
A.4.4
Browse Source Pop-Up Menu
A.4.5
Breakpoint View Pop-Up Menu
A.4.6
Monitor View and Local Variables View Pop-Up Menu
A.4.7
Register View Pop-Up Menu
A.4.8
Instruction View Pop-Up Menu
Previous
Next
Contents
Index