summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorMark Wielaard <mwielaard@redhat.com>2008-09-10 13:51:30 +0200
committerMark Wielaard <mjw@redhat.com>2008-09-10 14:01:32 +0200
commit6b2fda5424fb9aaeabe5056fc1e7286f6c8a034a (patch)
tree8dc8f120ebb03863298f8321e62b2251962c6ee7 /translate.cxx
parentf6f5a33817ac1d406c8c2687e32493cbc38ef4e7 (diff)
downloadsystemtap-steved-6b2fda5424fb9aaeabe5056fc1e7286f6c8a034a.tar.gz
systemtap-steved-6b2fda5424fb9aaeabe5056fc1e7286f6c8a034a.tar.xz
systemtap-steved-6b2fda5424fb9aaeabe5056fc1e7286f6c8a034a.zip
Record module base and use it for adjusting start locations in dwarf unwinder.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index d4507a1f..7c1469df 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4551,6 +4551,7 @@ dump_unwindsyms (Dwfl_Module *m,
c->output << "struct _stp_module _stp_module_" << stpmod_idx << " = {" << endl;
c->output << ".name = " << lex_cast_qstring (modname) << ", " << endl;
+ c->output << ".module_base = 0x" << hex << base << dec << ", " << endl;
if (unwind != NULL)
{