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/10010] New: support $globals in shared libraries


tapsets.cxx (dwflpp::emit_address) has this little defensive ditty:

        else
          {
            throw semantic_error ("cannot relocate user-space dso (?) address");
#if 0
            // This would happen for a Dwfl_Module that's a user-level DSO.    
                                            
            obstack_printf (pool, " /* %s+%#" PRIx64 " */",
                            modname, address);
#endif
          }

It should be easy to fill that in to make it emit the right code to relocate
shlib-based addresses.  That though requires _stp_relocate_FOO to be aware
of per-process address spaces, which is bug #6866.

-- 
           Summary: support $globals in shared libraries
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com
 BugsThisDependsOn: 6866


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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