mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-02 12:52:53 +01:00
(access_nat) [UNW_LOCAL_ONLY]: Adjust for fact that context-pointer is now stored
in c->as_arg, which is a "void *". (Logical change 1.27)
This commit is contained in:
parent
990790c880
commit
007805c65a
1 changed files with 2 additions and 1 deletions
|
@ -181,8 +181,9 @@ access_nat (struct ia64_cursor *c, unw_word_t loc, unw_word_t reg_loc,
|
|||
general register is saved to another general
|
||||
register. */
|
||||
#ifdef UNW_LOCAL_ONLY
|
||||
ucontext_t *uc = c->as_arg;
|
||||
mask = ((unw_word_t) 1) << reg;
|
||||
nat_loc = (unw_word_t) &c->uc->uc_mcontext.sc_nat;
|
||||
nat_loc = (unw_word_t) &uc->uc_mcontext.sc_nat;
|
||||
#else
|
||||
if (write)
|
||||
ret = ia64_put (c, IA64_REG_LOC (c, UNW_IA64_NAT + reg), *valp);
|
||||
|
|
Loading…
Reference in a new issue