NAME
uwx_get_nat() — Read a NaT bit from current frame's context
SYNOPSIS
#include <uwx.h>
int uwx_get_nat(
struct uwx_env *env,
int regid,
int *natp
);
DESCRIPTION
uwx_get_nat()
is part of the Unwind Express Library for Integrity systems; see
uwx(3X).
uwx_get_nat()
reads the value of a NaT bit from the context of the current frame.
Parameters
- env
A pointer to an unwind environment object.
- regid
An identifier for the register to be read, formed using the
UWX_REG_GR(x)
macro.
This parameter must name one of GR4-GR7 (the preserved GRs)
or GR32-GR127 (the stacked GRs).
- natp
Pointer to an integer where the value is written.
If the NaT bit is set, 1 will be returned; otherwise, 0 will be returned.
RETURN VALUE
uwx_get_nat()
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_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).