From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16862 invoked by alias); 21 Oct 2009 14:35:46 -0000 Received: (qmail 16853 invoked by uid 22791); 21 Oct 2009 14:35:45 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from hofr.at (HELO mail.hofr.at) (212.69.189.236) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Oct 2009 14:35:38 +0000 Received: by mail.hofr.at (Postfix, from userid 1002) id A142F4F8B50; Wed, 21 Oct 2009 16:35:35 +0200 (CEST) Date: Wed, 21 Oct 2009 14:52:00 -0000 From: Nicholas Mc Guire To: Michael Snyder Cc: sumanth , gdb Subject: Re: TRACE implementation Message-ID: <20091021143535.GA32672@opentech.at> References: <4ADD70C8.2040800@redpinesignals.com> <4ADDF8D4.4010100@vmware.com> <4ADE9702.20300@redpinesignals.com> <4ADF17B1.6030100@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ADF17B1.6030100@vmware.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2009-10/txt/msg00333.txt.bz2 On Wed, 21 Oct 2009, Michael Snyder wrote: > sumanth wrote: >> Hi , >> >> I am talking about "gdb tracepoints" only. I am asking for "How >> can I implement them in GDB ?" > > Great. Thanks for the clarification. > Partial answer: you don't have to implement them in gdb. > They're already implemented in gdb. > >> means, where I can start with. Heard something about remote >> stubs > > Yes, that's correct. GDB already knows how to tell a stub > to collect trace data. You need to implement a stub that > understands the trace commands that gdb will send to it. One implementation for GDB 6.3-6.6 is available at ftp://dslab.lzu.edu.cn/pub/gdb_tracepoints this is the stubs in gdbserver and a few (bug)fixes in the core gdb routines that were needed. thx! hofrat