From 6b2fda5424fb9aaeabe5056fc1e7286f6c8a034a Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 10 Sep 2008 13:51:30 +0200 Subject: Record module base and use it for adjusting start locations in dwarf unwinder. --- translate.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'translate.cxx') 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) { -- cgit