From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26097 invoked by alias); 12 Aug 2011 17:22:23 -0000 Received: (qmail 26087 invoked by uid 22791); 12 Aug 2011 17:22:22 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Fri, 12 Aug 2011 17:22:08 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7CHM8ML004000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 12 Aug 2011 13:22:08 -0400 Received: from fche.csb (vpn-9-80.rdu.redhat.com [10.11.9.80]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p7CHM71X021666; Fri, 12 Aug 2011 13:22:08 -0400 Received: by fche.csb (Postfix, from userid 2569) id 769105814F; Fri, 12 Aug 2011 13:22:07 -0400 (EDT) To: Jan Kratochvil Cc: Sergio Durigan Junior , gdb-patches@sourceware.org, Tom Tromey Subject: Re: [PATCH 4/6] Implement support for SystemTap probes References: <4D9D243A.3090505@codesourcery.com> <20110812154521.GA28510@host1.jankratochvil.net> From: fche@redhat.com (Frank Ch. Eigler) Date: Fri, 12 Aug 2011 17:22:00 -0000 In-Reply-To: <20110812154521.GA28510@host1.jankratochvil.net> (Jan Kratochvil's message of "Fri, 12 Aug 2011 17:45:22 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00256.txt.bz2 Jan Kratochvil writes: > print $_probe_arg0 == x > Cannot evaluate expression `112(31)'. > (gdb) FAIL: gdb.base/stap-probe.exp: check $_probe_arg0, with semaphore That should work, "112(31)" means offset 112 from the address in register 31. - FChE