This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/14000] crosscompiled uprobe target filename doesn't have the sysroot path removed.


http://sourceware.org/bugzilla/show_bug.cgi?id=14000

--- Comment #1 from Negreanu Adrian <adrian.m.negreanu at intel dot com> 2012-04-21 06:32:43 UTC ---
Also in translate.cxx


diff --git a/translate.cxx b/translate.cxx
index e800393..6c52d02 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -5984,7 +5984,7 @@ dump_unwindsym_cxt (Dwfl_Module *m,

   c->output << "static struct _stp_module _stp_module_" << stpmod_idx << " =
{\n";
   c->output << ".name = " << lex_cast_qstring (mainname) << ", \n";
-  c->output << ".path = " << lex_cast_qstring (mainpath) << ",\n";
+  c->output << ".path = " <<  path_remove_sysroot(c->session,lex_cast_qstring
(mainpath)) << ",\n";
   c->output << ".eh_frame_addr = 0x" << hex << eh_addr << dec << ", \n";
   c->output << ".unwind_hdr_addr = 0x" << hex << eh_frame_hdr_addr
            << dec << ", \n";

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]