From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2733 invoked by alias); 12 Nov 2002 02:41:01 -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 2721 invoked from network); 12 Nov 2002 02:41:00 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Nov 2002 02:41:00 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gAC2Huw09583 for ; Mon, 11 Nov 2002 21:17:56 -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 gAC2exD01833 for ; Mon, 11 Nov 2002 21:40:59 -0500 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAC2ewq14246 for ; Mon, 11 Nov 2002 21:40:59 -0500 Received: by localhost.redhat.com (Postfix, from userid 469) id E073DFF79; Mon, 11 Nov 2002 21:36:48 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15824.26944.491492.437260@localhost.redhat.com> Date: Mon, 11 Nov 2002 18:41:00 -0000 To: gdb-patches@sources.redhat.com Cc: Subject: Re: [RFC/RFA] TLS support part 2 In-Reply-To: <15770.63097.522572.688579@localhost.redhat.com> References: <15770.63097.522572.688579@localhost.redhat.com> X-SW-Source: 2002-11/txt/msg00335.txt.bz2 Elena Zannoni writes: > > Here is the thread/target related part of the TLS support. > > A new thread layer op has been added, to fetch the address of the variable. > > Elena > > > 2002-10-02 Elena Zannoni > Jim Blandy > > * gdb_thread_db.h (enum): Add TD_NOTALLOC. > * target.c (update_current_target): Add > to_get_thread_local_address. > * target.h (to_get_thread_local_address): Export. > (target_get_thread_local_address): Define. > (target_get_thread_local_address_p): Define. > * thread-db.c: Include solib-svr4.h. > (td_thr_tls_get_addr_p): Define. > (thread_db_load): Get a pointer to td_thr_tls_get_addr. > (thread_db_get_thread_local_address): New function. > (init_thread_db_ops): Initialize to_get_thread_local_address. > Committed.