« Return to Thread: [Bug translator/14000] New: crosscompiled uprobe target filename doesn't have the sysroot path removed.

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

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View in Thread

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.

 « Return to Thread: [Bug translator/14000] New: crosscompiled uprobe target filename doesn't have the sysroot path removed.