System Debug Reference Manual (32650-90888)
Chapter 6 271
System Debug Command Speciļ¬cations M-X
TR[ACE]
* 0) SP=40221180 RP=115.00005f0c processstudent+$1e8
Can't Unwind: 0 Entry-FR: 00 Call_FR: 00 Region: Normal
Millicode: 0 Entry-GR: 00 Call_GR: 00 Frame-size: 6 (dbl words)
Large-Frame-R3: 0 Save-SRs: 00 Save-SP: 0 Save-MRP: 0
Save-SR0: 0 Cleanup: 0 Save-RP: 0 Args-stored: 1
Interrupt-Mrkr: 0
1) SP=40221180 RP=115.00006b1c PROGRAM+$300
Can't Unwind: 0 Entry-FR: 00 Call_FR: 00 Region: Normal
Millicode: 0 Entry-GR: 03 Call_GR: 00 Frame-size: 10 (dbl words)
Large-Frame-R3: 0 Save-SRs: 00 Save-SP: 1 Save-MRP: 0
Save-SR0: 0 Cleanup: 0 Save-RP: 1 Args-stored: 1
Interrupt-Mrkr: 0
2) SP=40221100 RP=115.00000000
Can't Unwind: 0 Entry-FR: 00 Call_FR: 00 Region: Normal
Millicode: 0 Entry-GR: 00 Call_GR: 00 Frame-size: c (dbl words)
Large-Frame-R3: 0 Save-SRs: 00 Save-SP: 1 Save-MRP: 0
Save-SR0: 0 Cleanup: 0 Save-RP: 1 Args-stored: 0
Interrupt-Mrkr: 0
(end of NM stack)
Native mode stack trace relies on the presence of unwind descriptors as produced by the
language compilers. Without these information blocks, a stack trace would not be possible.
The UNWIND option is used to display the unwind descriptor associated with each
procedure. (Refer to the Procedure Calling Conventions Reference Manual (09740-90015)
for a description of unwind descriptors.)
$nmdebug > tr,f
PC=a.0074da24 NL.PUB.SYS/FWRITE
* 0) SP=40221260 RP=a.00748150 ?FWRITE+$8
DP=c0200008 PSP=40221260 PCPRIV=0
export stub:
f4.0012d044 XL.PUB.SYS/P_FLUSHLINE+$54
1) SP=40221260 RP=f4.00139560 P_WRITELN+$20
DP=40200648 PSP=40221200 PCPRIV=3
2) SP=40221200 RP=f4.00139630 P_WRITELN+$9c
DP=40200648 PSP=402211c8 PCPRIV=3
3) SP=402211c8 RP=f4.0013950c ?P_WRITELN+$8
DP=40200648 PSP=40221180 PCPRIV=3
export stub: 115.00005e30 GRADES.DEMO.TELESUP/processstudent+$10c
4) SP=40221180 RP=115.00006b1c PROGRAM+$300
DP=40200008 PSP=40221100 PCPRIV=3
5) SP=40221100 RP=115.00000000
DP=40200008 PS
P=402210a0 PCPRIV=3
(end of NM stack)
A FULL stack trace displays the value of DP, PSP and the privilege level (0-3 for each level in
the stack).
$nmdebug > tr 2,single