This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: doing tracepoint on remote target through gdbserver


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]