From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32395 invoked by alias); 26 Feb 2008 18:39:11 -0000 Received: (qmail 32375 invoked by uid 22791); 26 Feb 2008 18:39:08 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 26 Feb 2008 18:38:51 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 905793BC80; Tue, 26 Feb 2008 10:38:49 -0800 (PST) Subject: Re: Tracepoints functionality for local targets From: Michael Snyder To: Lokesh Gupta Cc: gdb@sourceware.org In-Reply-To: <21b011a40802260027r596c2c0bt96339538b8e5cc92@mail.gmail.com> References: <21b011a40802260027r596c2c0bt96339538b8e5cc92@mail.gmail.com> Content-Type: text/plain Date: Wed, 27 Feb 2008 01:06:00 -0000 Message-Id: <1204051129.19253.305.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) 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: 2008-02/txt/msg00222.txt.bz2 On Tue, 2008-02-26 at 09:27 +0100, Lokesh Gupta wrote: > Hello, > > Is there some work planned for the working of the tracepoints for > local targets? While going through the source code, I realized that > currently this facility is only for remote targets. > In case nothing is planned, can I have some guidance on how to achieve > this. I think that it could be a good enhancement to debug > multi-threaded programs on the local host. You could define it as two challenges to be addressed: 1) How to instrument the code and collect the data on a native system, and 2) the fact that the gdb side is only written to handle the remote target. I would certainly love to see a native implementation happen, and it would be fair to say that #2 is my fault, so if somebody were to seriously undertake solving #1, I would undertake to at least help work on #2... Michael