mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-03 19:57:39 +01:00
Lookup static proc-info via accessor's callback, not by directly
calling tdep_find_proc_info(). The latter doesn't works in the REMOTE_ONLY case. (Logical change 1.138)
This commit is contained in:
parent
98f95e6ee4
commit
4d40b374b9
1 changed files with 2 additions and 1 deletions
|
@ -32,10 +32,11 @@ int
|
|||
unw_get_proc_info_by_ip (unw_addr_space_t as, unw_word_t ip,
|
||||
unw_proc_info_t *pi, void *as_arg)
|
||||
{
|
||||
unw_accessors_t *a = unw_get_accessors (as);
|
||||
int ret;
|
||||
|
||||
ret = unwi_find_dynamic_proc_info (as, ip, pi, 0, as_arg);
|
||||
if (ret == -UNW_ENOINFO)
|
||||
ret = tdep_find_proc_info (as, ip, pi, 0, as_arg);
|
||||
ret = (*a->find_proc_info) (as, ip, pi, 0, as_arg);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue