This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: TRACE implementation
- From: Michael Snyder <msnyder at vmware dot com>
- To: sumanth <sumanth dot gundapneni at redpinesignals dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Tue, 20 Oct 2009 10:52:20 -0700
- Subject: Re: TRACE implementation
- References: <4ADD70C8.2040800@redpinesignals.com>
sumanth wrote:
Hi,
I am trying to implement trace in my port. Can anyone point me
where in
gdb source I can refer to? Any helpful documents.
What do you mean by "trace"?
Have you looked at gdb tracepoints? Is this close to what
you are looking for? See the url:
http://sourceware.org/gdb/current/onlinedocs/gdb_14.html#SEC95
Once my trace is implemented , I have data in trace buffer. How
can I convert the data
from trace buffer and display it to user. Heard there are 3rd
party tools which comes in handy .
If you are talking about tracepoints (see above), and if
you can make your trace buffer talk to gdb according to the
published API, you can use gdb to display your trace results.
If not, you need to tell us more about what you're trying to do.
If any , please mail me. (preferably some gdb gui).
PS: I am novice in gdb implementation .
Thanks,
Sumanth G