From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5998 invoked by alias); 7 Aug 2002 15:21:14 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5991 invoked from network); 7 Aug 2002 15:21:13 -0000 Received: from unknown (HELO saturn.billgatliff.com) (209.251.101.200) by sources.redhat.com with SMTP; 7 Aug 2002 15:21:13 -0000 Received: by saturn.billgatliff.com (Postfix, from userid 500) id 4A9D54E0004; Wed, 7 Aug 2002 10:21:13 -0500 (CDT) Date: Wed, 07 Aug 2002 08:21:00 -0000 From: "William A. Gatliff" To: "William A. Gatliff" , Eli Zaretskii , gdb@sources.redhat.com Subject: Re: using tracepoints function with both host and target on same computer Message-ID: <20020807102113.C5941@saturn.billgatliff.com> Reply-To: bgat@billgatliff.com References: <20020806215201.GA5715@nevyn.them.org> <20020807095153.A5941@saturn.billgatliff.com> <20020807150150.GA3872@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020807150150.GA3872@nevyn.them.org>; from drow@mvista.com on Wed, Aug 07, 2002 at 11:01:50AM -0400 X-SW-Source: 2002-08/txt/msg00054.txt.bz2 Daniel: On Wed, Aug 07, 2002 at 11:01:50AM -0400, Daniel Jacobowitz wrote: > You don't do them in actual realtime, but neither do you wait for all > of GDB to process the event; you receive the breakpoint, collect > tracepoint data, and immediately resume without touching GDB's event > loop. It's a little slower than an in-application stub because it has > to use ptrace to read memory/registers, but not substantially slower. ... except that I don't think you'd want to be doing that across a 9600bps remote link. Or, you'd at least want to have the option not to. > If you need better, you have to link a stub into the application. I > think we've been investigating a library for that, but I don't know > when/if it'll be available. I'll take additions to gdbstubs. :^) I've set out on several occasions to make time to add this feature, but somehow I keep getting distracted by other fires. I'm now available again, but I'm not currently in a position to do it gratis. b.g. -- Bill Gatliff bgat@billgatliff.com