From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22222 invoked by alias); 20 Oct 2009 17:58:44 -0000 Received: (qmail 22214 invoked by uid 22791); 20 Oct 2009 17:58:44 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Oct 2009 17:58:40 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 100DDE018; Tue, 20 Oct 2009 10:58:39 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost3.vmware.com (Postfix) with ESMTP id D0D99CDAC3; Tue, 20 Oct 2009 10:58:37 -0700 (PDT) Message-ID: <4ADDF8D4.4010100@vmware.com> Date: Tue, 20 Oct 2009 19:33:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: sumanth CC: gdb Subject: Re: TRACE implementation References: <4ADD70C8.2040800@redpinesignals.com> In-Reply-To: <4ADD70C8.2040800@redpinesignals.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00321.txt.bz2 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 >