From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1482 invoked by alias); 4 Nov 2011 19:06:08 -0000 Received: (qmail 1474 invoked by uid 22791); 4 Nov 2011 19:06:07 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-bw0-f41.google.com (HELO mail-bw0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 19:05:54 +0000 Received: by bkas6 with SMTP id s6so2912182bka.0 for ; Fri, 04 Nov 2011 12:05:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.140.3 with SMTP id g3mr13162185bku.28.1320433553380; Fri, 04 Nov 2011 12:05:53 -0700 (PDT) Received: by 10.204.61.132 with HTTP; Fri, 4 Nov 2011 12:05:53 -0700 (PDT) In-Reply-To: References: Date: Fri, 04 Nov 2011 19:06:00 -0000 Message-ID: Subject: Tracepoints and Timestamps From: Abhishek Karoliya To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2011-11/txt/msg00029.txt.bz2 Hi, =A0 I am remote debuging=A0a multi threaded app on a powerpc e500v2 dual processor running linux 2.6.32 while the host gdb is x86_64 linux machine. The version of gdb is 7.3.1.=A0On hitting a tracepoint, I want to collect the timestamp. I am wondering is there is any way of doing it currently on this gdb. If not, I was wondering if I can collect the timebase registers=A0(tbl and tbu). The current register dump does not show=A0the contents of these register on e500v2 although I have seen an entry=A0for other powerpc processor. Is there=A0a way I can quickly add support=A0for these registers.=A0If someone can point me to=A0file/doc/previous patches to do this I will be grateful. =A0Cheers! Abhi