diff options
author | Tim Moore <timoore@redhat.com> | 2010-01-06 17:28:45 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2010-01-06 17:28:45 +0100 |
commit | 04fd90925123d066110dd9d9406a29074b5607ad (patch) | |
tree | e60b18420655a2c250b0f58b8e9477c1554fdc21 /dwflpp.cxx | |
parent | 6ac9e2adb81122c92aa180d628a1d6c226ada6aa (diff) | |
parent | d6b183074686940e8533b6fa377b098ec87a7f12 (diff) | |
download | systemtap-steved-04fd90925123d066110dd9d9406a29074b5607ad.tar.gz systemtap-steved-04fd90925123d066110dd9d9406a29074b5607ad.tar.xz systemtap-steved-04fd90925123d066110dd9d9406a29074b5607ad.zip |
Merge remote branch 'origin/master'
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r-- | dwflpp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1729,9 +1729,9 @@ dwflpp::translate_location(struct obstack *pool, e->tok); } - // get_cfa_ops works on the dw address space, pc is relative to current - // module, so add do need to add module_bias. - Dwarf_Op *cfa_ops = get_cfa_ops (pc + module_bias); + // pc is relative to current module, which is what get_cfa_ops + // and c_translate_location expects. + Dwarf_Op *cfa_ops = get_cfa_ops (pc); return c_translate_location (pool, &loc2c_error, this, &loc2c_emit_address, 1, 0 /* PR9768 */, |