From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6716 invoked by alias); 21 Oct 2009 05:16:02 -0000 Received: (qmail 6697 invoked by uid 22791); 21 Oct 2009 05:16:00 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.redpinesignals.com (HELO mail.redpinesignals.com) (203.196.161.92) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Oct 2009 05:15:53 +0000 Received: from [192.168.40.84] ([192.168.40.84]) (authenticated user sumanth.gundapneni@redpinesignals.com) by mail.redpinesignals.com; Wed, 21 Oct 2009 10:35:25 +0530 Message-ID: <4ADE9702.20300@redpinesignals.com> Date: Wed, 21 Oct 2009 05:41:00 -0000 From: sumanth User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Michael Snyder CC: gdb Subject: Re: TRACE implementation References: <4ADD70C8.2040800@redpinesignals.com> <4ADDF8D4.4010100@vmware.com> In-Reply-To: <4ADDF8D4.4010100@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00325.txt.bz2 Hi , I am talking about "gdb tracepoints" only. I am asking for "How can I implement them in GDB ?" means, where I can start with. Heard something about remote stubs ..... Michael , Can you be a bit more brief on "published API" which you mentioned in your last response. Thanks, Sumanth G Michael Snyder wrote: > 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 >> > > >