* doing tracepoint on remote target through gdbserver
@ 2002-08-08 12:09 Benjamin Tze-Kit Lee
2002-08-08 12:13 ` Daniel Jacobowitz
2002-08-08 12:55 ` William A. Gatliff
0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Tze-Kit Lee @ 2002-08-08 12:09 UTC (permalink / raw)
To: gdb
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?
Please help me out on this.
Thank you very much.
Benjamin Lee
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: doing tracepoint on remote target through gdbserver
2002-08-08 12:09 doing tracepoint on remote target through gdbserver Benjamin Tze-Kit Lee
@ 2002-08-08 12:13 ` Daniel Jacobowitz
2002-08-08 12:25 ` Benjamin Tze-Kit Lee
2002-08-08 12:55 ` William A. Gatliff
1 sibling, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2002-08-08 12:13 UTC (permalink / raw)
To: Benjamin Tze-Kit Lee; +Cc: gdb
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: doing tracepoint on remote target through gdbserver
2002-08-08 12:13 ` Daniel Jacobowitz
@ 2002-08-08 12:25 ` Benjamin Tze-Kit Lee
2002-08-08 12:28 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Tze-Kit Lee @ 2002-08-08 12:25 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: doing tracepoint on remote target through gdbserver
2002-08-08 12:25 ` Benjamin Tze-Kit Lee
@ 2002-08-08 12:28 ` Daniel Jacobowitz
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2002-08-08 12:28 UTC (permalink / raw)
To: Benjamin Tze-Kit Lee; +Cc: gdb
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: doing tracepoint on remote target through gdbserver
2002-08-08 12:09 doing tracepoint on remote target through gdbserver Benjamin Tze-Kit Lee
2002-08-08 12:13 ` Daniel Jacobowitz
@ 2002-08-08 12:55 ` William A. Gatliff
1 sibling, 0 replies; 5+ messages in thread
From: William A. Gatliff @ 2002-08-08 12:55 UTC (permalink / raw)
To: Benjamin Tze-Kit Lee; +Cc: gdb
Benjamin:
The best solution would be to add tracepoint to gdbserver. :^)
b.g.
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?
>
> Please help me out on this.
> Thank you very much.
>
> Benjamin Lee
>
--
Bill Gatliff
bgat@billgatliff.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-08-08 19:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-08 12:09 doing tracepoint on remote target through gdbserver Benjamin Tze-Kit Lee
2002-08-08 12:13 ` Daniel Jacobowitz
2002-08-08 12:25 ` Benjamin Tze-Kit Lee
2002-08-08 12:28 ` Daniel Jacobowitz
2002-08-08 12:55 ` William A. Gatliff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox