Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libunwind Pass down data_base just in case something...



details:   https://anonhg.NetBSD.org/src/rev/2673c0fc0a72
branches:  trunk
changeset: 327610:2673c0fc0a72
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Mar 12 22:50:59 2014 +0000

description:
Pass down data_base just in case something actually tries to use it.

diffstat:

 sys/lib/libunwind/AddressSpace.hpp |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r e8597766b40c -r 2673c0fc0a72 sys/lib/libunwind/AddressSpace.hpp
--- a/sys/lib/libunwind/AddressSpace.hpp        Wed Mar 12 22:21:07 2014 +0000
+++ b/sys/lib/libunwind/AddressSpace.hpp        Wed Mar 12 22:50:59 2014 +0000
@@ -242,6 +242,7 @@
       return false;
     if (n->hdr_start == 0) {
       fdeStart = n->hdr_base;
+      data_base = n->data_base;
       return true;
     }
 
@@ -264,6 +265,7 @@
         len = (len + 1) / 2;
     }
     fdeStart = base + (int32_t)get32(first + 4);
+    data_base = n->data_base;
     return true;
   }
 



Home | Main Index | Thread Index | Old Index