From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1834 invoked by alias); 9 Dec 2011 04:38:32 -0000 Received: (qmail 1561 invoked by uid 22791); 9 Dec 2011 04:38:29 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Dec 2011 04:38:17 +0000 From: "sergiodj at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/13313] Can't parse SDT_V3 operand '(%rcx,%rax,8)' Date: Fri, 09 Dec 2011 12:51:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sergiodj at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2011-q4/txt/msg00331.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13313 --- Comment #8 from Sergio Durigan Junior 2011-12-09 04:37:55 UTC --- I was testing my implementation of the SystemTap probe argument parser on GDB, specifically trying to parse `(%rcx,%rax,8)'. I decided to compare the obtained result from GDB with the result from SystemTap, and for that I have used the command specified here: stap -e 'probe process("/home/sergio/programs/bin/stap").mark("cache__clean") { println($arg1) }' However, I still see the error message: WARNING: Can't parse SDT_V3 operand '(%rcx,%rax,8)': identifier '$arg1' at :1:80 source: probe process("/home/sergio/programs/bin/stap").mark("cache__clean") { println($arg1) } ^ semantic error: unable to find local 'arg1' near pc 0x4fb700 in ../../../systemtap/cache.cxx ( (alternatives: $j): identifier '$arg1' at :1:80 source: probe process("/home/sergio/programs/bin/stap").mark("cache__clean") { println($arg1) } ^ Pass 2: analysis failed. Try again with another '--vp 01' option. I am using the following version of SystemTap: Systemtap translator/driver (version 1.7/0.152 commit release-1.6-556-gbfffa44) Copyright (C) 2005-2011 Red Hat, Inc. and others This is free software; see the source for copying conditions. enabled features: LIBRPM BOOST_SHARED_PTR TR1_UNORDERED_MAP NLS I am not sure if I am doing something wrong, but I believe this error should have been fixed by the commits listed here, right? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.