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: How to use tracepoint in GDB5.1


Jeongsi Kim writes:
 > Hello,
 > 
 > I  tried to use GDB tracepoint in GDB 5.1, but I got 
 > the following  message after 'tstart' command.
 > (Before 'tstart' command, 'tarce/passcount/actions' commands  are performed successfully.)
 > 
 > "Target does not support this command."
 >  
 > Please let me know how can I use GDB tracepoint correctly and 
 > does tracepoint function in current GDB 5.1 work  fully.

Your remote target must know how to collect data. This functionality
is implemented by the remote stub. I don't think there is any publicly
available stub that support tracepoints at the moment.  In your case,
the error is generated because the remote target doesn't know what to
reply to a 'tstart' packet. Look at tracepoint.c
remote_get_noisy_reply().


Elena


 > Thank you in advance.
 > 
 > Jeongsi kim
 >  


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