This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/20307] 'private' on tapset global arrays causes errors
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 29 Jun 2016 20:44:43 +0000
- Subject: [Bug translator/20307] 'private' on tapset global arrays causes errors
- Auto-submitted: auto-generated
- References: <bug-20307-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20307
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
--- Comment #4 from Frank Ch. Eigler <fche at redhat dot com> ---
probable fix:
diff --git a/elaborate.cxx b/elaborate.cxx
index 4a375d98098b..740e30c4bb74 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -2732,7 +2732,8 @@ symresolution_info::find_var (interned_string name, int
arity, const token* tok)
for (unsigned j=0; j<f->globals.size(); j++)
{
vardecl* g = f->globals[j];
- if (g->name == gname)
+ if ((g->name == gname) ||
+ (g->name == pname)) // private global within tapset
{
g->set_arity (arity, tok);
--
You are receiving this mail because:
You are the assignee for the bug.