From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14864 invoked by alias); 8 Aug 2002 19:28:54 -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 14857 invoked from network); 8 Aug 2002 19:28:53 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 8 Aug 2002 19:28:53 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17csxq-0006vD-00; Thu, 08 Aug 2002 14:28:54 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17csy9-0006DU-00; Thu, 08 Aug 2002 15:29:13 -0400 Date: Thu, 08 Aug 2002 12:28:00 -0000 From: Daniel Jacobowitz To: Benjamin Tze-Kit Lee Cc: gdb@sources.redhat.com Subject: Re: doing tracepoint on remote target through gdbserver Message-ID: <20020808192913.GA23879@nevyn.them.org> Mail-Followup-To: Benjamin Tze-Kit Lee , gdb@sources.redhat.com References: <20020808191414.GA23293@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2002-08/txt/msg00078.txt.bz2 Tracepoints "work" if you have a stub that supports them; I don't know of any such stubs, but I'm sure there is one. You can't use tracepoints with gdbserver or with native GDB at the moment, that's right. On Thu, Aug 08, 2002 at 12:23:22PM -0700, Benjamin Tze-Kit Lee wrote: > Hi, > > Sorry, but just want to make things clear. > Does that mean that the gdb feature "tracepoint" does not actually works? > Coz in order to do tracepoint, we must do that through remote > debugging. And to do remote debugging, one can only use gdbserver or > through some sort of serial ports. However, gdbserver does not support > tracepoint and there are no stub avalible that can do this. > > So is there a way that I can test out on the tracepoint function? > > > Thank you very much. > > Benjamin Lee > > On Thu, 8 Aug 2002, Daniel Jacobowitz wrote: > > > On Thu, Aug 08, 2002 at 12:08:56PM -0700, Benjamin Tze-Kit Lee wrote: > > > Hi all, > > > > > > I am trying to do tracepoint on a program through remote target debugging. > > > Everything seems to work as I am able to do remote debugging using > > > breakpoints through gdb on the host and gdbserver on the target. But when > > > I try to do "tstart" on the program, it gives me the message "Target does > > > not support this command.". Is there a specific way to turn on the > > > tracepoint option when I compile gdbserver? Or what could be the problem? > > > > As we said earlier, gdbserver does not support tracepoints, nor do any > > of the other stubs included with GDB. I don't know of any that do at > > this time. > > > > -- > > Daniel Jacobowitz Carnegie Mellon University > > MontaVista Software Debian GNU/Linux Developer > > > > -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer