From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27376 invoked by alias); 16 Mar 2010 15:47:57 -0000 Received: (qmail 27350 invoked by uid 22791); 16 Mar 2010 15:47:56 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Mar 2010 15:47:51 +0000 Received: (qmail 19640 invoked from network); 16 Mar 2010 15:47:49 -0000 Received: from unknown (HELO wind.localnet) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 16 Mar 2010 15:47:49 -0000 From: Vladimir Prus To: tromey@redhat.com Subject: Re: [MI tracepoints 5/9] -break-passcount Date: Tue, 16 Mar 2010 15:47:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-20-generic-pae; KDE/4.3.2; i686; ; ) Cc: gdb-patches@sourceware.org References: <201003141156.07046.vladimir@codesourcery.com> <201003161513.30609.vladimir@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201003161847.47956.vladimir@codesourcery.com> 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: 2010-03/txt/msg00587.txt.bz2 On Tuesday 16 March 2010 18:37:13 Tom Tromey wrote: > >>>>> "Volodya" == Vladimir Prus writes: > > Tom> Doesn't the use of get_tracepoint make it tracepoint-specific? > Tom> Or is this changed somewhere in the patch series? > > Volodya> I was confused. This command remains specific to tracepoint, there's > Volodya> no patch (yet?) that merges -break-passcount and -break-after and > Volodya> in fact, it's probably not a good idea. > > In that case, shouldn't the new command be called -trace-passcount, not > -break-passcount? I am not sure. Given that tracepoints are special kind of breakpoint now, I'd rather have -break-passcount, with -trace command reserversed for overall control of tracing. After all, mixing -break-insert -a with later -trace-passcount may be confusing. Thanks, -- Vladimir Prus CodeSourcery vladimir@codesourcery.com (650) 331-3385 x722