From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26188 invoked by alias); 24 Mar 2005 23:47:50 -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 26171 invoked from network); 24 Mar 2005 23:47:47 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 24 Mar 2005 23:47:47 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DEc3j-0003id-QI; Thu, 24 Mar 2005 18:48:15 -0500 Date: Thu, 24 Mar 2005 23:47:00 -0000 From: Daniel Jacobowitz To: Ramana Radhakrishnan Cc: james osburn , gdb@sources.redhat.com Subject: Re: tracing ( was Re: what are gdbstubs?) Message-ID: <20050324234815.GA14274@nevyn.them.org> Mail-Followup-To: Ramana Radhakrishnan , james osburn , gdb@sources.redhat.com References: <424350D3.5080200@codito.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424350D3.5080200@codito.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00229.txt.bz2 On Fri, Mar 25, 2005 at 05:14:19AM +0530, Ramana Radhakrishnan wrote: > > Hi, > > >sorry i should have been more specific. > >a long long time ago (late 80s) borland > >turbo c had a trace mode. it would start > >a program and then just step line by > >line through the code automatically. > >you could control the speed and you > >had the ability to see the registers and local > >variables that where affected. again > >the nice feature was that once this trace > >feature was started it needed little user > >interaction. i am looking > >for some feature similar to that. > > Ok, you are looking for tracepoints in gdb . Its a similar > feature but not totally the same .One needs to specify the > tracepoints and the data to be collected. They are not > supported with gdbserver AFAIK (of 6.3 vintage) . There have > been some recent patches by Nathan Sidwell on tracepoints , > though I have not had the chance to look at what changes > were being done. No - this isn't at all like tracepoints. You could implement this using a decent frontend and MI, but it would be some work. -- Daniel Jacobowitz CodeSourcery, LLC