libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH 3/6] Fix logic error. When encountered vm map e


From: Konstantin Belousov
Subject: [Libunwind-devel] [PATCH 3/6] Fix logic error. When encountered vm map entry is not backed by a vnode, continue search for matching entry instead of aborting the loop.
Date: Mon, 23 Apr 2012 13:51:54 +0300

---
 src/os-freebsd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/os-freebsd.c b/src/os-freebsd.c
index da6ce37..203347e 100644
--- a/src/os-freebsd.c
+++ b/src/os-freebsd.c
@@ -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)
-- 
1.7.9.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]