NAME
uwx_get_abi_context_code() — return ABI and context code from current context
SYNOPSIS
#include <uwx.h>
int uwx_get_abi_context_code(struct uwx_env *env);
DESCRIPTION
uwx_get_abi_context_code()
is part of the Unwind Express Library for Integrity systems; see
uwx(3X).
uwx_get_abi_context_code()
returns the
abi
and
context
parameters recorded in the unwind descriptors for the frame.
This routine returns the two values in a single int as
((abi
<< 8) |
context).
This entry point should be called only after
uwx_step()
returns the status code
UWX_ABI_FRAME,
indicating that a signal frame has been reached.
On HP-UX, the architected value for the
abi
code is 1, and a
context
code of 1 identifies a signal context frame.
Other values of the
context
code are reserved for future or internal use.
Parameters
- env
A pointer to an unwind environment object.
RETURN VALUE
uwx_get_abi_context_code()
returns the
abi
and
context
codes for the current frame.
If the current frame is not a signal context frame, the return value is undefined.
AUTHOR
The Unwind Express Library was developed by Hewlett-Packard.
SEE ALSO
uwx(3X),
uwx_add_to_bsp(3X),
uwx_find_source_info(3X),
uwx_find_symbol(3X),
uwx_free(3X),
uwx_get_funcstart(3X),
uwx_get_module_info(3X),
uwx_get_nat(3X),
uwx_get_reg(3X),
uwx_get_source_info(3X),
uwx_get_sym_info(3X),
uwx_init(3X),
uwx_init_context(3X),
uwx_register_alloc_cb(3X),
uwx_register_callbacks(3X),
uwx_release_symbol_cache(3X),
uwx_self_do_context_frame(3X),
uwx_self_free_info(3X),
uwx_self_init_context(3X),
uwx_self_init_info(3X),
uwx_set_nofr(3X),
uwx_set_remote(3X),
uwx_step(3X),
uwx_step_inline(3X).