mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-04 17:09:25 +01:00
(unw_get_save_loc): Handle "saved-in-sigcontext" case only for Linux.
(Logical change 1.87)
This commit is contained in:
parent
a38d3f6275
commit
344768e1d6
1 changed files with 2 additions and 0 deletions
|
@ -85,9 +85,11 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, unw_save_loc_t *sloc)
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
#if !defined(UNW_LOCAL_ONLY) || defined(__linux)
|
||||
else if (c->sigcontext_addr)
|
||||
/* NaT bit is saved in a sigcontext. */
|
||||
loc = IA64_LOC_ADDR (c->sigcontext_addr + LINUX_SC_NAT_OFF, 0);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue