1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-25 12:33:42 +01:00

(fetch_proc_info): Call tdep_find_proc_info() instead of

dwarf_find_proc_info() so that the remote-case works, too.

(Logical change 1.224)
This commit is contained in:
mostang.com!davidm 2004-05-05 01:54:53 +00:00
parent f2b40607fd
commit 8fd300ae66

View file

@ -391,8 +391,7 @@ fetch_proc_info (struct dwarf_cursor *c, unw_word_t ip, int need_unwind_info)
if (ret == -UNW_ENOINFO) if (ret == -UNW_ENOINFO)
{ {
dynamic = 0; dynamic = 0;
if ((ret = dwarf_find_proc_info (c->as, ip, &c->pi, need_unwind_info, if ((ret = tdep_find_proc_info (c, ip, need_unwind_info)) < 0)
c->as_arg)) < 0)
return ret; return ret;
} }