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/24327] @defined unable to handle $$parms and $$vars meta variables


https://sourceware.org/bugzilla/show_bug.cgi?id=24327

--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
Looking around the systemtap code to see where the following problem code is
generated:

     source: foreach (__val = [__idx0] in -)

It is coming from add_global_var_display in elaborate.cxx:

          // Iterate over all indexes in the array, sorted by decreasing value
          code << "foreach (";
          if (l->type != pe_stats)
            {
              foreach_value = "__val";
              code << foreach_value << " = ";
            }
          code << "[" << indexes << "] in " << l->unmangled_name << "-)" <<
endl;

-- 
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]