System Debug Reference Manual (32650-90888)
272 Chapter6
System Debug Command Specifications M-X
TR[ACE]
2) SP=40221200 RP=f4.00139630 P_WRITELN+$9c
Display only stack level 2.
$nmdebug > tr
PC=a.006777fc trap_handler
* 0) SP=40221338 RP=a.002a1fec conditional+$ac
1) SP=40221338 RP=a.000a5040 hpe_interrupt_marker_stub
--- Interrupt Marker
$nmdebug > tr,ism
PC=a.006777fc trap_handler
* 0) SP=40221338 RP=a.002a1fec conditional+$ac
1) SP=40221338 RP=a.000a5040 hpe_interrupt_marker_stub
--- Interrupt Marker
2) SP=402211e8 RP=25d.00015134 small_divisor+$8
--- End Interrupt Marker Frame ---
PC=25d.00015134 small_divisor+$8
0) SP=402211e8 RP=25d.00015d38 average+$b0
1) SP=402211e8 RP=25d.00015c74 ?average+$8
export stub: 25c.00005d98 processstudent+$74
2) SP=40221180 RP=25c.00006b1c PROGRAM+$300
3) SP=40221100 RP=25c.00000000
(end of NM stack)
$nmdebug >
In the above example, the first stack trace encounters an interrupt marker and stops
tracing. The second stack trace uses the ISM option to continue tracing past the interrupt
marker. The interrupt that caused the interrupt marker to be generated was caused by a
divide by zero in the small_divisor routine.
CM Examples
%cmdebug > tr
PROG % 0.1421 PROCESSSTUDENT+14 (mITroc CCG) SEG'
* 0) PROG % 0.2004 PROCESSSTUDENT+377 (mITroc CCG) SEG'
1) PROG % 0.253 OB'+253 (mITroc CCG) SEG'
2) SYS % 25.0 ?TERMINATE (MItroc CCG) CMSWITCH
Display a CM stack trace. The first line indicates the address CMPC points to. Each stack
marker is formatted, starting from the top of stack and working down the depth of the
stack. Level numbers are indicated on the left; an asterisk marks the current level. (Refer
to the LEV command.)
%cmdebug > tr,f
PROG % 0.1421 PROCESSSTUDENT+14 (CSTX 1) SEG'
X=22750 P=1421 Status=(mITroc CCG 301) DeltaQ=13670
* 0) PROG % 0.2004 PROCESSSTUDENT+377 (CSTX 1) SEG'
X=6 P=2004 Status=(mITroc CCG 301) DeltaQ=14
1) PROG % 0.253 OB'+253 (CSTX 1) SEG'
X=36 P=253 Status=(mITroc CCG 301) DeltaQ=10
2) SYS % 25.0 ?TERMINATE (CST 26) CMSWITCH
X=0 P=0 Status=(MItroc CCG 026) DeltaQ=4