HP-UX Reference (11i v2 03/08) - 3 Library Functions N-Z (vol 7)

u
_UNW_currentContext(3X) _UNW_currentContext(3X)
(Itanium(R)-based System Only)
_UNW_OK All’s well.
_UNW_STEP_ERROR
Some generic problem occurred during step. This return code indicates the
_Unwind_Context
is in state Bad. See unwind(5) section STATES.
_UNW_INTERNAL_ERROR
Some logic problem occurred during step. Contact HP support.
_UNW_STEP_INVALID_IP
The instruction pointer value in _Unwind_Context
is marked invalid. The probable
cause is a failure to initialize it. This return code indicates the
_Unwind_Context
is
in state Bad. See the STATES section in unwind(5).
_UNW_STEP_INVALID_SP
The stack pointer value in _Unwind_Context
is marked invalid. The probable cause
is a failure to initialize it. This return code indicates the
_Unwind_Context
is in
state Bad. See the STATES section in unwind(5).
_UNW_STEP_INVALID_GR
A general register value which was marked invalid was encountered in
_Unwind_Context
during the step process. The probable cause is a failure to initial-
ize it. This return code indicates the
_Unwind_Context
is in state Bad. See the
STATES section in unwind(5).
_UNW_STEP_INVALID_PFS
The AR.PRS value in _Unwind_Context
is marked invalid. The probable cause is a
failure to initialize it. This return code indicates the
_Unwind_Context
is in state
Bad. See the STATES section in unwind(5).
_UNW_STEP_INVALID_RSC
The AR.RSC value in _Unwind_Context
is marked invalid. The probable cause is a
failure to initialize it. This return code indicates the
_Unwind_Context
is in state
Bad. See the STATES section in unwind(5).
_UNW_STEP_INVALID_BSP
The AR.BSP value in _Unwind_Context
is marked invalid. The probable cause is a
failure to initialize it. This return code indicates the
_Unwind_Context
is in state
Bad. See the STATES section in unwind(5).
_UNW_STEP_INVALID_BSPSTORE
The AR.BSPSTORE value in _Unwind_Context
is marked invalid. The probable
cause is a failure to initialize it. This return code indicates the
_Unwind_Context
is
in state Bad. See the STATES section in unwind(5).
_UNW_STEP_INVALID_CFM
The AR.CFM value in _Unwind_Context
is marked invalid. The probable cause is a
failure to initialize it. This return code indicates the
_Unwind_Context is in state
Bad. See the STATES section in unwind(5).
_UNW_STEP_INVALID_BR
A branch register value which was marked invalid was encountered in
_Unwind_Context during the step process. The probable cause is a failure to initial-
ize it. This return code indicates the _Unwind_Context is in state Bad. See the
STATES section in unwind(5).
_UNW_STEP_BAD_BSP_ALIGNMENT
The _UNW_currentContext value ar.BSP was not aligned. This return code indi-
cates the _Unwind_Context is in state Bad. See the STATES section in unwind(5).
_UNW_STEP_INVALID_RNAT
The AR.RNAT value in _Unwind_Context is marked invalid. The probable cause is a
failure to initialize it. This return code indicates the _Unwind_Context is in state
Bad. See the STATES section in unwind(5).
_UNW_STEP_NO_DESCRIPTOR_FOR_NON_LEAF
The stack unwind library could not find an unwind descriptor for a procedure which the
stack unwind library can prove is not a leaf procedure. All non-leaf procedures are
required to have unwind descriptors. Some but not all possible causes for this include
Section 31172 Hewlett-Packard Company 4 HP-UX 11i Version 2: August 2003