summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-02-02 09:48:58 -0500
committerWilliam Cohen <wcohen@redhat.com>2009-02-02 09:48:58 -0500
commit7a13f89ffc608e36302c43969d29fe08a589b5d7 (patch)
tree418ceba458d0cb1722ded388de555c5a730f4783 /translate.cxx
parent7627c52330b476c13498144cd1288be0f5869e0f (diff)
parent3d65f39002440cfdeeac94d7a7a6c9a7aead2e54 (diff)
downloadsystemtap-steved-7a13f89ffc608e36302c43969d29fe08a589b5d7.tar.gz
systemtap-steved-7a13f89ffc608e36302c43969d29fe08a589b5d7.tar.xz
systemtap-steved-7a13f89ffc608e36302c43969d29fe08a589b5d7.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts: testsuite/ChangeLog
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index 7361edbe..d3298802 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4522,7 +4522,11 @@ dump_unwindsyms (Dwfl_Module *m,
// we're already iterating over the same data here...
if (modname == "kernel" && !strcmp(name, "_stext"))
{
+ int ki;
extra_offset = sym.st_value;
+ ki = dwfl_module_relocate_address (m, &extra_offset);
+ dwfl_assert ("dwfl_module_relocate_address extra_offset",
+ ki >= 0);
if (c->session.verbose > 2)
clog << "Found kernel _stext 0x" << hex << extra_offset << dec << endl;
}