From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7459 invoked by alias); 3 Nov 2008 18:20:53 -0000 Received: (qmail 7355 invoked by uid 22791); 3 Nov 2008 18:20:52 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Nov 2008 18:20:11 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 9A66C5900B; Mon, 3 Nov 2008 10:20:08 -0800 (PST) Received: from [10.20.92.59] (promb-2s-dhcp59.eng.vmware.com [10.20.92.59]) by mailhost3.vmware.com (Postfix) with ESMTP id 8E68EC9A33; Mon, 3 Nov 2008 10:20:08 -0800 (PST) Message-ID: <490F3F3C.4070104@vmware.com> Date: Mon, 03 Nov 2008 18:20:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Vladimir Prus CC: "gdb@sources.redhat.com" Subject: Re: Tracepoint enhancements References: <490B630F.8010008@codesourcery.com> <490B6CEF.2000003@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00010.txt.bz2 Vladimir Prus wrote: > Michael Snyder wrote: >> One more thing, only vaguely related... >> >> I've thought that if we had the ability to attach an expression >> (in pcode such as we use for tracepoints) to a conditional breakpoint, >> we could have the conditional evaluation be done on the target >> rather than by gdb, which would be a big performance win for >> conditional breakpoints or watchpoints. > > Yes. We want conditional tracepoints, and the condition would have to be evaluated > on the target. And if breakpoints and tracepoints are unified, both breakpoints and > tracepoints will benefit. Very good point. OK, you've convinced me.