From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21733 invoked by alias); 25 Feb 2005 16:34:58 -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 21604 invoked from network); 25 Feb 2005 16:34:47 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 25 Feb 2005 16:34:47 -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 j1PGYfZF001149 for ; Fri, 25 Feb 2005 11:34:46 -0500 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 j1PGYaK12451; Fri, 25 Feb 2005 11:34:36 -0500 Received: from localhost.localdomain (vpn50-18.rdu.redhat.com [172.16.50.18]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id j1PGYauV002059; Fri, 25 Feb 2005 11:34:36 -0500 Received: from ironwood.lan (ironwood.lan [192.168.64.8]) by localhost.localdomain (8.12.11/8.12.10) with ESMTP id j1PGYUe1005746; Fri, 25 Feb 2005 09:34:30 -0700 Date: Fri, 25 Feb 2005 21:19:00 -0000 From: Kevin Buettner To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] gdbserver: Add support for qGetTLSAddr packet Message-ID: <20050225093429.1ea6e639@ironwood.lan> In-Reply-To: <20050224205324.GD11751@nevyn.them.org> References: <20041206152002.551f8d46.kevinb@redhat.com> <20050224205324.GD11751@nevyn.them.org> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-02/txt/msg00262.txt.bz2 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.) Kevin