From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24423 invoked by alias); 5 May 2012 06:11:24 -0000 Received: (qmail 24411 invoked by uid 22791); 5 May 2012 06:11:23 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,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; Sat, 05 May 2012 06:11:02 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q456B2Rl028477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 5 May 2012 02:11:02 -0400 Received: from psique ([10.3.112.12]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q456AuA7009426; Sat, 5 May 2012 02:10:58 -0400 From: Sergio Durigan Junior To: Jan Kratochvil Cc: gdb-patches@sourceware.org, Gary Benson Subject: Re: [RFA] Improved linker-debugger interface References: <20120504152129.GA7418@redhat.com> <20120505060312.GA7019@host2.jankratochvil.net> X-URL: http://www.redhat.com Date: Sat, 05 May 2012 06:11:00 -0000 In-Reply-To: <20120505060312.GA7019@host2.jankratochvil.net> (Jan Kratochvil's message of "Sat, 5 May 2012 08:03:12 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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: 2012-05/txt/msg00151.txt.bz2 On Saturday, May 05 2012, Jan Kratochvil wrote: >> Also, I've been thinking about creating some predicate that would >> confirm if some probe is of certain type of not. > > There is that > gdb_assert (probe_generic->pops == &stap_probe_ops); > > for this purpose. Which can only be used inside stap-probe.c. I was talking about something that would validate a SystemTap probe outside stap-probe.c. -- Sergio