mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 15:47:37 +01: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:
parent
0fac4c8109
commit
f8858bacca
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
if (ip < kv->kve_start || ip >= kv->kve_end)
|
||||||
continue;
|
continue;
|
||||||
if (kv->kve_type != KVME_TYPE_VNODE)
|
if (kv->kve_type != KVME_TYPE_VNODE)
|
||||||
break;
|
continue;
|
||||||
*segbase = kv->kve_start;
|
*segbase = kv->kve_start;
|
||||||
*mapoff = kv->kve_offset;
|
*mapoff = kv->kve_offset;
|
||||||
if (path)
|
if (path)
|
||||||
|
|
Loading…
Reference in a new issue