NAME
uwx_self_do_context_frame() — reinitialize the context at a signal frame
SYNOPSIS
#include <uwx.h>
int uwx_self_do_context_frame(
struct uwx_env *env,
struct uwx_self_info *info
);
DESCRIPTION
uwx_self_do_context_frame()
is part of the Unwind Express Library for Integrity systems; see
uwx(3X).
uwx_self_do_context_frame()
builds a new context in the unwind environment from a signal frame.
This entry point should be called after (and only after)
uwx_step()
returns the status code
UWX_ABI_FRAME
and
uwx_get_abi_context_code()
returns an
abi
code of 1 and a
context
code of 1, indicating that an HP-UX signal frame has been reached.
Upon return, the current context in the unwind environment will reflect the
state of the process at the point where the signal occurred.
This entry point is to be used only when self-unwinding,
using the provided callback routines.
Parameters
- env
A pointer to an unwind environment object.
- info
A pointer to the self-unwind callback info structure.
RETURN VALUE
uwx_self_do_context_frame()
returns
UWX_OK
on success.
See
uwx(3X)
for error codes.
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_abi_context_code(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_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).