Preface |
Preface
|
Preface
|
Chapter 1 |
1
|
Invoking, Exiting, and Setting Breakpoints
|
1.1
|
Overview of the DELTA and XDELTA Debuggers
|
1.2
|
Privileges Required for Running DELTA
|
1.3
|
Guidelines for Using XDELTA
|
1.4
|
Restrictions for XDELTA on OpenVMS I64 Systems
|
1.5
|
Invoking DELTA
|
1.6
|
Exiting from DELTA
|
1.7
|
Invoking XDELTA
|
1.8
|
Requesting an Interrupt
|
1.8.1
|
Requesting Interrupts on VAX
|
1.8.2
|
Requesting Interrupts on Alpha
|
1.8.3
|
Requesting Interrupts on I64
|
1.9
|
Accessing the Initial Breakpoint
|
1.10
|
Proceeding from Initial XDELTA Breakpoints
|
1.11
|
Exiting from XDELTA
|
Chapter 2 |
2
|
DELTA and XDELTA Symbols and Expressions
|
2.1
|
Symbols Supplied by DELTA and XDELTA
|
2.2
|
Floating Point Register Support
|
2.3
|
Forming Numeric Expressions
|
Chapter 3 |
3
|
Debugging Programs
|
3.1
|
Referencing Addresses
|
3.1.1
|
Referencing Addresses (I64 and Alpha Only)
|
3.1.2
|
Referencing Addresses (VAX Only)
|
3.2
|
Referencing Registers
|
3.2.1
|
Referencing Registers (I64 Only)
|
3.2.2
|
Referencing Registers (Alpha Only)
|
3.2.3
|
Referencing Registers (VAX Only)
|
3.3
|
Interpreting the Error Message
|
3.4
|
Debugging Kernel Mode Code Under Certain Conditions
|
3.4.1
|
Setup Required (I64 and Alpha Only)
|
3.4.2
|
Setup Required (VAX Only)
|
3.4.3
|
Accessing XDELTA
|
3.5
|
Debugging an Installed, Protected, Shareable Image
|
3.6
|
Using XDELTA on Multiprocessor Computers
|
3.7
|
Debugging Code When Single-Stepping Fails (Alpha Only)
|
3.8
|
Debugging Code that Does Not Match the Compiler Listings (I64 and Alpha Only)
|
Chapter 4 |
4
|
DELTA/XDELTA Commands
|
4.1
|
Command Usage Summary
|
Command 1
|
[ (left angle bracket)---Set Display Mode
|
Command 2
|
/ (forward slash)---Open Location and Display Contents in Prevailing Width Mode
|
Command 3
|
! (exclamation mark)---Open Location and Display Contents in Instruction Mode
|
Command 4
|
" (double quote)---Open Location and Display Contents in ASCII
|
Command 5
|
' (single quote)---Deposit ASCII String
|
Command 6
|
= (equal sign)---Display Value of Expression
|
Command 7
|
\string\---Immediate mode text display command (I64 and Alpha Only)
|
Command 8
|
ESC (Escape key)---Open Location and Display Previous Location
|
Command 9
|
EXIT---Exit from DELTA Debugging Session
|
Command 10
|
LINEFEED (Linefeed key or Ctrl/J)---Close Current Location, Open Next Location
|
Command 11
|
RETURN (Return or Enter key)--- Close Current Location
|
Command 12
|
TAB (Tab key)---Open Location and Display Indirect Location
|
Command 13
|
;B---Breakpoint
|
Command 14
|
;C---Force System to Bugcheck and Crash (I64 and Alpha Only)
|
Command 15
|
;D---Dump (I64 and Alpha Only)
|
Command 16
|
;E---Execute Command String
|
Command 17
|
;G---Go
|
Command 18
|
;H---Video Terminal Display Command (I64 and Alpha Only)
|
Command 19
|
;I---List Current Main Image and Its Shareable Images (I64 and Alpha Only)
|
Command 20
|
;L---List Names and Locations of Loaded Executive Images
|
Command 21
|
;M---Set All Processes Writable
|
Command 22
|
;P---Proceed from Breakpoint
|
Command 23
|
;Q---Validate Queue (I64 and Alpha Only)
|
Command 24
|
;T---Display Interrupt Stack Frame on XDELTA (I64 Only)
|
Command 25
|
;W---List Name and Location of a Single Loaded Image (I64 and Alpha Only)
|
Command 26
|
;X---Load Base Register
|
Command 27
|
O---Step Instruction over Subroutine
|
Command 28
|
S---Step Instruction
|
Appendix A |
Appendix A
|
Sample DELTA Debug Session on I64
|
A.1
|
Listing File for C Example Program
|
A.1.1
|
Source Listing for I64 Debugging Example
|
A.1.2
|
Machine Code Listing for I64 Debugging Example
|
A.2
|
Example DELTA Debugging Session on I64
|
Appendix B |
Appendix B
|
Sample DELTA Debug Session on Alpha
|
B.1
|
Listing File for C Example Program
|
B.1.1
|
Source Listing for Alpha Debugging Example
|
B.1.2
|
Machine Code Listing for Alpha Debugging Example
|
B.2
|
Example DELTA Debugging Session on Alpha
|
B.2.1
|
DELTA Debugging Session Example on Alpha - Part 1
|
B.2.2
|
DELTA Debugging Session Example on Alpha - Part 2
|
B.2.3
|
DELTA Debugging Session Example on Alpha - Part 3
|
Appendix C |
Appendix C
|
Sample DELTA Debug Session on VAX
|
C.1
|
Listing Files for Example Program
|
C.1.1
|
Source Listing for VAX Debugging Example
|
C.1.2
|
Map File for VAX Debugging Example
|
C.2
|
Example DELTA Debugging Session on VAX
|
C.2.1
|
DELTA Debugging Session Example on VAX - Part 1
|
C.2.2
|
DELTA Debugging Session Example on VAX - Part 2
|
C.2.3
|
DELTA Debugging Session Example on VAX - Part 3
|
C.2.4
|
DELTA Debugging Session Example on VAX - Part 4
|
Index |
Index |
Examples |
A-1 |
Listing File for LOG: C Source Code |
A-2 |
Listing File for LOG: Machine Code_MAIN Procedure |
A-3 |
Listing File for LOG: Machine Code MAIN Procedure |
A-4 |
Listing File for LOG: Machine Code PRINT_LINE Procedure |
A-5 |
.MAP File for the Sample Program |
A-6 |
DELTA Debugging Session on I64 - Part 1 |
A-7 |
DELTA Debugging Session on I64 - Part 2 |
B-1 |
Listing File for LOG: C Source Code |
B-2 |
Listing File for LOG: Machine Code |
B-3 |
.MAP File for the Sample Program |
B-4 |
DELTA Debugging Session on Alpha- Part 1 |
B-5 |
DELTA Debugging Session on Alpha - Part 2 |
B-6 |
DELTA Debugging Session Example on Alpha - Part 3 |
C-1 |
Program for Getting LOGINTIMs |
C-2 |
LOGINTIM Program .Map File |
C-3 |
DELTA Debugging Session Example on VAX - Part 1 |
C-4 |
DELTA Debugging Session Example on VAX - Part 2 |
C-5 |
DELTA Debugging Session Example on VAX - Part 3 |
C-6 |
DELTA Debugging Session Example on VAX - Part 4 |