Guardian Procedure Calls Reference Manual

In the next trace:
options equals HO_Init_uContext + HO_NoSuppress, 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 (in the TNS/R
environment) or HF_LocLineIPF (in the TNS/E environment).
An example trace in the TNS/R environment:
pc=%h7E0014C4 (Milli) sp=0x4FFFFCB0
doer + 0xB0 (UCr)
pc=0x700022E4 VFP=0x4FFFFCE0 FP=sp=0x4FFFFCB0
HIST_TEST_ACTOR_ + 0x304 (UCr)
pc=0x700026B0 VFP=0x4FFFFE38 FP=sp=0x4FFFFCE0
PROGRAM + 0x514 (UCr)
pc=0x700014B8 VFP=0x4FFFFE90 FP=s8=0x4FFFFE50 sp=0x4FFFFE38
An example trace in the TNS/E environment:
(millicode example)
options = HO_Init_uContext + HO_NoSuppress
FormatSelect = HF_trace + LocLineIPF
copyData + 0x6C51 (Milli)
pc:%h0000000000000000 psp:0x000000006FFFFC10 sp:0x000000006FFFF560
_SharedMilli_MOVB_FWD + 0x2B0 (Milli)
pc:%h0000000000000000 psp:0x000000006FFFFD00 sp:0x000000006FFFFC10
doer + 0x1A0 (UCr)
pc:0x0000000070001960 psp:0x000000006FFFFD80 sp:0x000000006FFFFD00
HIST_TEST_ACTOR + 0xC0 (UCr)
pc:0x0000000070001D60 psp:0x000000006FFFFDF0 sp:0x000000006FFFFD80
main + 0xB10 (UCr)
pc:0x00000000700028B0 psp:0x000000006FFFFEE0 sp:0x000000006FFFFDF0
_MAIN + 0x160 (UCr)
pc:0x0000000070002D40 psp:0x000000006FFFFF30 sp:0x000000006FFFFEE0
Example Traces: Case 4
This example shows a stack trace started from a TNS procedure. In this case, the TNS procedure
is a static function named xtracer in the C source file named SHTC. xtracer calls the native
HIST_... procedures to perform the trace. These examples are identical in the TNS/R and TNS/E
environments
options equals HO_Init_Here.
FormatSelect equals HF_trace (the default value).
SHTC.xtracer + %37 (UC.00)
main + %740 (UC.00)
_MAIN + %32 (UC.00)
HIST_FORMAT_ Procedure 711