diff options
author | Mark Wielaard <mwielaard@redhat.com> | 2008-09-10 13:21:50 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2008-09-10 14:01:32 +0200 |
commit | f6f5a33817ac1d406c8c2687e32493cbc38ef4e7 (patch) | |
tree | 1196394a0621bbf0494d1cc27f9b85e1928aaba9 /runtime/unwind.c | |
parent | 61a805842f0ac863affa37245fc012e3cdcb4312 (diff) | |
download | systemtap-steved-f6f5a33817ac1d406c8c2687e32493cbc38ef4e7.tar.gz systemtap-steved-f6f5a33817ac1d406c8c2687e32493cbc38ef4e7.tar.xz systemtap-steved-f6f5a33817ac1d406c8c2687e32493cbc38ef4e7.zip |
Feed dwarf unwinder data through _stp_mod_sec_lookup (), but disabled for now.
Diffstat (limited to 'runtime/unwind.c')
-rw-r--r-- | runtime/unwind.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/unwind.c b/runtime/unwind.c index 21ea4559..7b19573d 100644 --- a/runtime/unwind.c +++ b/runtime/unwind.c @@ -676,6 +676,7 @@ int unwind(struct unwind_frame_info *frame) signed ptrType = -1; uleb128_t retAddrReg = 0; struct _stp_module *m; + struct _stp_section *s = NULL; struct unwind_state state; dbug_unwind(1, "pc=%lx, %lx", pc, UNW_PC(frame)); @@ -683,7 +684,7 @@ int unwind(struct unwind_frame_info *frame) if (UNW_PC(frame) == 0) return -EINVAL; - m = NULL /*_stp_get_unwind_info(pc) */; + m = _stp_mod_sec_lookup (pc, &s); if (unlikely(m == NULL)) { dbug_unwind(1, "No module found for pc=%lx", pc); return -EINVAL; |