From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122134 invoked by alias); 13 Mar 2019 18:16:56 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 122051 invoked by uid 48); 13 Mar 2019 18:16:53 -0000 From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/24327] @defined unable to handle $$parms and $$vars meta variables Date: Wed, 13 Mar 2019 18:16:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-q1/txt/msg00067.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24327 --- Comment #1 from William Cohen --- Looking around the systemtap code to see where the following problem code is generated: source: foreach (__val =3D [__idx0] in -) It is coming from add_global_var_display in elaborate.cxx: // Iterate over all indexes in the array, sorted by decreasing va= lue code << "foreach ("; if (l->type !=3D pe_stats) { foreach_value =3D "__val"; code << foreach_value << " =3D "; } code << "[" << indexes << "] in " << l->unmangled_name << "-)" << endl; --=20 You are receiving this mail because: You are the assignee for the bug.