From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8011 invoked by alias); 11 Apr 2012 22:14:39 -0000 Received: (qmail 8003 invoked by uid 22791); 11 Apr 2012 22:14:38 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_BJ,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; Wed, 11 Apr 2012 22:14:23 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3BMEMgY027369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Apr 2012 18:14:23 -0400 Received: from host2.jankratochvil.net (ovpn-116-17.ams2.redhat.com [10.36.116.17]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3BLfJ2c014161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 11 Apr 2012 17:41:23 -0400 Date: Wed, 11 Apr 2012 23:33:00 -0000 From: Jan Kratochvil To: Sergio Durigan Junior Cc: gdb-patches@sourceware.org, Pedro Alves , Tom Tromey , Mark Kettenis Subject: Re: [PATCH 2/4 v2] Implement new features needed for handling SystemTap probes Message-ID: <20120411214119.GA10777@host2.jankratochvil.net> References: <20120411184233.GA27572@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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-04/txt/msg00265.txt.bz2 On Wed, 11 Apr 2012 23:33:18 +0200, Sergio Durigan Junior wrote: > On Wednesday, April 11 2012, Jan Kratochvil wrote: > > rtld lll_futex_wake 0x000000000000ab2e /usr/lib/debug/lib64/ld-2.15.so.debug > > rtld lll_futex_wake 0x000000000000ab2e /usr/lib64/ld-linux-x86-64.so.2 > > [...] > > - You do not filter out separate debug info files or rather unify it > > somehow. > > `info probes stap' accept an argument specifying the provider, name and > objfile of the probe, so I guess this is the filter you're talking about. Really not, the main binary and its separate debug info file represent single object. You can see the address is the same, it is the same probe. There is no reason why to display it twice. There are already (too) many exceptions in GDB codebase to ignore this or that if a separate debug info file exists. > >> +++ b/gdb/probe.c > >> @@ -0,0 +1,65 @@ > >> +/* Generic SDT probe support for GDB. > > > > Not SDT. > > SDT stands for Statically Defined Probe, so I think SDT is correct in > this case. Don't you? "SDT stands for Statically Defined Tracing" and I believe SDT is bound to DTrace (and therefore also SystemTap) but feel free to write anything there, I thought it is a typo/thinko. Thanks, Jan