From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D9243393BC0D; Mon, 8 Feb 2021 18:19:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9243393BC0D From: "scox at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/25346] support enum context variables Date: Mon, 08 Feb 2021 18:19:40 +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: scox at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2021 18:19:41 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25346 Stan Cox changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Stan Cox --- 1ef2edcd3: Add support for accessing enumerators Interesting ideas about alternate constant support; this patch is limited to enumerators. Also wondered if $Color$ to list all enumerators might be use= ful. e.g. enum Color { red, green =3D 20, blue }; probe process.function("main").label("RETURN") {printf("green=3D%d %d\n",$green,@defined($orange))} =3D> green=3D20 0 --=20 You are receiving this mail because: You are the assignee for the bug.=