From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7959 invoked by alias); 5 May 2005 20:05:44 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7820 invoked from network); 5 May 2005 20:05:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 5 May 2005 20:05:38 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j45K5cCl005138 for ; Thu, 5 May 2005 16:05:38 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j45K5cO24135 for ; Thu, 5 May 2005 16:05:38 -0400 Received: from localhost.localdomain (vpn50-34.rdu.redhat.com [172.16.50.34]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id j45K5bDF017058 for ; Thu, 5 May 2005 16:05:38 -0400 Received: from ironwood.lan (ironwood.lan [192.168.64.8]) by localhost.localdomain (8.12.11/8.12.10) with ESMTP id j45K5Wbx003919 for ; Thu, 5 May 2005 13:05:32 -0700 Date: Thu, 05 May 2005 20:05:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: Re: [RFA] gdbserver: Add support for qGetTLSAddr packet Message-ID: <20050505130532.0e8f9643@ironwood.lan> In-Reply-To: <20050501232550.GB4311@nevyn.them.org> References: <20041206152002.551f8d46.kevinb@redhat.com> <20050224205324.GD11751@nevyn.them.org> <20050225093429.1ea6e639@ironwood.lan> <20050501232550.GB4311@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-05/txt/msg00176.txt.bz2 On Sun, 1 May 2005 19:25:50 -0400 Daniel Jacobowitz wrote: > On Fri, Feb 25, 2005 at 09:34:29AM -0700, Kevin Buettner wrote: > > On Thu, 24 Feb 2005 15:53:24 -0500 > > Daniel Jacobowitz wrote: > > > > > On Mon, Dec 06, 2004 at 03:20:02PM -0700, Kevin Buettner wrote: > > > > The patch below adds qGetTLSAddr packet support to gdbserver. > > > > > > > > I wrote this to demonstrate / test the support that I've added on the > > > > GDB side. I suspect some configury tweaking may be needed to test for > > > > the existence of td_thr_tls_get_addr() in libthread_db.c. (If it > > > > doesn't exist, then get_thread_local_addr() should be ifdef'd to return > > > > a 0 status.) > > > > > > > > If it's otherwise okay, I'm willing to make the necessary configury > > > > changes. If it's not okay for some other reason, I'd like to address > > > > that first... > > > > > > This should go through the target vector, instead of adding #ifdefs. > > > Then linux-low.c can handle whether thread-db is present or not. > > > > > > Is this patch still current, or did the protocol evolve since the last > > > posting? > > > > The protocol did change, but the patch is still current. (The protocol > > change simply removed the extra load module related parameters that Linux > > didn't use anyway.) > > Hi Kevin, > > Rereading my response, I'm not sure if this was clear: the patch is not > OK without a change to use gdbserver's target vector. If you won't > have time to do this, let me know, and I'll try to find a chance to do > it myself. I don't have time for it at the moment, so if you have time for it, great. Kevin