From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8182 invoked by alias); 3 Mar 2011 01:30:24 -0000 Received: (qmail 8175 invoked by uid 22791); 3 Mar 2011 01:30:23 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_GJ,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Mar 2011 01:30:17 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p231UGYm003825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Mar 2011 20:30:16 -0500 Received: from patootie.office.frob.com ([10.3.113.7]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p231UG8X027589 for ; Wed, 2 Mar 2011 20:30:16 -0500 Received: from magilla.sf.frob.com (magilla.office.frob.com [198.49.250.228]) by patootie.office.frob.com (Postfix) with ESMTP id E21A747D3; Wed, 2 Mar 2011 17:30:14 -0800 (PST) Received: by magilla.sf.frob.com (Postfix, from userid 5281) id CB9A91806DA; Wed, 2 Mar 2011 17:30:13 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: systemtap@sources.redhat.com Subject: Re: [Bug translator/12536] New: sdt v>=2 argument parsing can't parse '4+4(%esp)' In-Reply-To: roland at gnu dot org's message of Thursday, 3 March 2011 01:26:57 +0000 References: Message-Id: <20110303013013.CB9A91806DA@magilla.sf.frob.com> Date: Thu, 03 Mar 2011 01:30:00 -0000 X-IsSubscribed: yes 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-q1/txt/msg00321.txt.bz2 I filed this PR when I hit problems trying to develop a test case for the new setjmp/longjmp probes. The probe argument in glibc is not going to change, so I think this needs to be fixed before a test case can pass for i686. I think I'll try to develop the full test suite case and get it working on x86-64, where there won't be this problem because it doesn't happen to come up in those probe arguments. For reference, here is the program I was using when I filed that PR. #include #include struct env { jmp_buf jmp; }; struct env saved; void __attribute__ ((noinline)) bar (struct env *env, int x) { if (x == 0) siglongjmp (env->jmp, 1); } void __attribute__ ((noinline)) foo (void) { if (sigsetjmp (saved.jmp, 1) == 0) { puts ("foo the first time"); bar (&saved, 0); } else puts ("foo the second time"); } int main (void) { foo (); return 0; }