This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10010] New: support $globals in shared libraries
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 27 Mar 2009 15:49:55 -0000
- Subject: [Bug translator/10010] New: support $globals in shared libraries
- Reply-to: sourceware-bugzilla at sourceware dot org
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.