1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-05-20 20:05:18 +02:00

freebsd: Fix logic error

When encountered vm map entry is not backed by a vnode, continue search
for matching entry instead of aborting the loop.
This commit is contained in:
Konstantin Belousov 2012-04-23 13:51:54 +03:00 committed by Arun Sharma
parent 0fac4c8109
commit f8858bacca

View file

@ -82,7 +82,7 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
if (ip < kv->kve_start || ip >= kv->kve_end)
continue;
if (kv->kve_type != KVME_TYPE_VNODE)
break;
continue;
*segbase = kv->kve_start;
*mapoff = kv->kve_offset;
if (path)