Don't give up on proc finding if dwarf_callback fails, but
don't bother completing the dwarf search work either.  Move on
to the arm method.
@@ -523,12 +523,8 @@ arm_find_proc_info (unw_addr_space_t as, unw_word_t ip,
ret = dl_iterate_phdr (dwarf_callback, &cb_data);
SIGPROCMASK (SIG_SETMASK, &saved_mask, NULL);
- if (ret <= 0)
+ if (ret > 0)
{
- Debug (14, "IP=0x%lx not found\n", (long) ip);
- return -UNW_ENOINFO;
- }
-
if (cb_data.single_fde)
/* already got the result in *pi */
return 0;
@@ -539,6 +535,7 @@ arm_find_proc_info (unw_addr_space_t as, unw_word_t ip,
else
ret = -UNW_ENOINFO;
}
+ }
if (ret < 0 && UNW_TRY_METHOD (UNW_ARM_METHOD_EXIDX))
{
