Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Luca Clementi <[email protected]>
---
 unwind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unwind.c b/unwind.c
index 0b8f0b0..c16fdd1 100644
--- a/unwind.c
+++ b/unwind.c
@@ -258,7 +258,7 @@ print_stacktrace(struct tcb* tcp)
                                goto ret;
                        }
                        else if (ip < cur_mmap_cache->start_addr)
-                               upper = mid - 1;
+                               upper = mid;
                        else
                                lower = mid + 1;
 
-- 
1.9.0


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to