diff options
author | Dave Brolley <brolley@redhat.com> | 2009-06-11 12:00:11 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-06-11 12:00:11 -0400 |
commit | d4d8b581532460c89895a751df5ef64e5e5088e6 (patch) | |
tree | 04b77a48d305f9507429cd3fd248b245331a5475 /runtime/unwind.c | |
parent | b12c8986778619db5bec0a5e52f2d49247e6b5ba (diff) | |
parent | 6766808e165cd3ba3c8d514529e292761e7cb650 (diff) | |
download | systemtap-steved-d4d8b581532460c89895a751df5ef64e5e5088e6.tar.gz systemtap-steved-d4d8b581532460c89895a751df5ef64e5e5088e6.tar.xz systemtap-steved-d4d8b581532460c89895a751df5ef64e5e5088e6.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/unwind.c')
-rw-r--r-- | runtime/unwind.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/unwind.c b/runtime/unwind.c index 43bda717..cf0bc2f3 100644 --- a/runtime/unwind.c +++ b/runtime/unwind.c @@ -563,7 +563,7 @@ static u32 *_stp_search_unwind_hdr(unsigned long pc, do { const u8 *cur = ptr + (num / 2) * (2 * tableSize); startLoc = read_pointer(&cur, cur + tableSize, hdr[3]); - startLoc = adjustStartLoc(startLoc, m, s, hdr[3], true); + startLoc = adjustStartLoc(startLoc, m, s, hdr[3], 1); if (pc < startLoc) num /= 2; else { @@ -572,7 +572,7 @@ static u32 *_stp_search_unwind_hdr(unsigned long pc, } } while (startLoc && num > 1); - if (num == 1 && (startLoc = adjustStartLoc(read_pointer(&ptr, ptr + tableSize, hdr[3]), m, s, hdr[3], true)) != 0 && pc >= startLoc) + if (num == 1 && (startLoc = adjustStartLoc(read_pointer(&ptr, ptr + tableSize, hdr[3]), m, s, hdr[3], 1)) != 0 && pc >= startLoc) fde = (void *)read_pointer(&ptr, ptr + tableSize, hdr[3]); dbug_unwind(1, "returning fde=%lx startLoc=%lx", fde, startLoc); @@ -879,11 +879,11 @@ static int unwind(struct unwind_frame_info *frame, struct task_struct *tsk) dbug_unwind(1, "trying debug_frame\n"); res = unwind_frame (frame, m, s, m->debug_frame, - m->debug_frame_len, false); + m->debug_frame_len, 0); if (res != 0) { dbug_unwind(1, "debug_frame failed: %d, trying eh_frame\n", res); res = unwind_frame (frame, m, s, m->eh_frame, - m->eh_frame_len, true); + m->eh_frame_len, 1); } return res; |