Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual522629-013
7-22
HIST_FORMAT_ Procedure
Example Traces: Case 2
The following trace results from a sequence of events similar to case 1, except that the
CALLABLE procedure named caller attempts to divide by zero before invoking doer.
The output does not include an ellipsis because the trap occurs in a CALLABLE
procedure called by a nonprivileged procedure.
For this trace:
options equals HO_Init_Here + HO_ShowProtected + HO_NoSuppress.
FormatSelect equals HF_trace (the default value).
An example trace in the TNS/R environment:
An example trace in the TNS/E environment:
Example Traces: Case 3
The next sequence of examples is similar to case 1, except:
The process is unprivileged when it generates a SIGSEGV signal.
The signal occurs in millicode (a move-bytes operation).
In the first trace:
options equals HO_Init_uContext + HO_NoSuppress, and the address of the
handlers context is passed in the
context parameter of HIST_INIT_.
FormatSelect equals HF_trace (the default value).
An example trace in the TNS/R environment:
xtracer + 0x60 (UCr)
handler + 0x170 (UCr)
PK_SIG_HANDLER_JACKET_ + 0x68 (SLr)
---
caller + 0x28 (UCr)
HIST_TEST_ACTOR_ + 0x2BC (UCr)
PROGRAM + 0x510 (UCr)
options = HO_Init_Here + HO_ShowProtected + HO_NoSuppress
FormatSelect = HF_trace
xtracer + 0xF0 (UCr)
handler + 0x220 (UCr)
$UD_S__SigHandlerJacket + 0x3B0 (SLr)
---
caller + 0x100 (SLr)
HIST_TEST_ACTOR_ + 0xB0 (UCr)
main + 0xAD0 (UCr)
_MAIN + 0x160 (UCr)
pc=%h7E0014C4 (Milli)
doer + 0xB0 (UCr)
HIST_TEST_ACTOR_ + 0x304 (UCr)
PROGRAM + 0x514 (UCr)