unw_get_reg
fn
int unw_get_reg(unw_cursor_t * cp, unw_regnum_t reg, unw_word_t * valp)Reads the value of register reg in the stack frame identified by cursor cp and stores the value in the word pointed to by valp.