Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual—522629-013
7-21
HIST_FORMAT_ Procedure
An example trace in the TNS/R environment:
An example trace in the TNS/E environment:
In the next example,
doer was called in unprivileged state. For this trace:
•
options equals HO_Init_uContext + HO_OneLine, and the address of the
handler’s context is passed in the
context parameter of HIST_INIT_.
•
FormatSelect equals HF_trace (the default value) + HF_LocLineRISC.
The HO_OneLine option causes the name and register states to appear on the same
line. Only one frame is reported because HIST_GETPRIOR_ is not called.
An example in the TNS/R environment:
An example trace in the TNS/E environment:
xtracer + 0x60 (UCr)
pc=0x70000B20 VFP=0x4FFFFAF0 FP=sp=0x4FFFF878
handler + 0x170 (UCr)
pc=0x7000218C VFP=0x4FFFFB20 FP=sp=0x4FFFFAF0
---
doer + 0x5C (UCr) pc=0x70002290 VFP=0x5FFFFEB8 FP=sp=0x5FFFFE88
...
HIST_TEST_ACTOR_ + 0x2F0 (UCr)
pc=0x7000269C VFP=0x4FFFFE38 FP=sp=0x4FFFFCE0
PROGRAM + 0x510 (UCr)
pc=0x700014B4 VFP=0x4FFFFE90 FP=s8=0x4FFFFE50 sp=0x4FFFFE38
options = HO_Init_Here + HO_ShowProtected
FormatSelect = HF_trace + HF_LocLineIPF
xtracer + 0x110 (UCr)
pc:0x0000000070000CD0 psp:0x000000006FFFDFD0 sp:0x000000006FFFCD70
handler + 0x220 (UCr)
pc:0x0000000070001520 psp:0x000000006FFFE050 sp:0x000000006FFFDFD0
---
doer + 0x170 (UCr)
pc:0x0000000070001910 psp:0x000000006DFDFE80 sp:0x000000006DFDFE00
...
HIST_TEST_ACTOR + 0x80 (UCr)
pc:0x0000000070001CC0 psp:0x000000006FFFFDF0 sp:0x000000006FFFFD80
main + 0xAD0 (UCr)
pc:0x0000000070002810 psp:0x000000006FFFFEE0 sp:0x000000006FFFFDF0
_MAIN + 0x160 (UCr)
pc:0x0000000070002CE0 psp:0x000000006FFFFF30 sp:0x000000006FFFFEE0
doer + 0x5C (UCr) pc=0x70002290 VFP=0x4FFFFCE0 FP=sp=0x4FFFFCB0
options = HO_Init_uContext + HO_OneLine
FormatSelect = HF_trace + HF_LocLineIPF
doer + 0x170(UCr) pc:0x0000000070001910 psp:0x000000006DFDFE80sp:0x000000
006DFDFE00