From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25559 invoked by alias); 2 Jul 2002 17:08:32 -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 25546 invoked from network); 2 Jul 2002 17:08:28 -0000 Received: from unknown (HELO www.dberlin.org) (138.88.47.45) by sources.redhat.com with SMTP; 2 Jul 2002 17:08:28 -0000 Received: by www.dberlin.org (Postfix, from userid 503) id 6D0D1184CFAF; Tue, 2 Jul 2002 13:08:28 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by www.dberlin.org (Postfix) with ESMTP id D6B6A184CF98; Tue, 2 Jul 2002 13:08:17 -0400 (EDT) Date: Tue, 02 Jul 2002 10:08:00 -0000 From: Daniel Berlin To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: initial TLS patch In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-2.6 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT,NO_MX_FOR_FROM,AWL version=2.30 X-Spam-Level: X-SW-Source: 2002-07/txt/msg00030.txt.bz2 On 2 Jul 2002, Jim Blandy wrote: > > This is a work-in-progress, posted for comments. This code has never > been executed, since I only last night got glibc and GCC to actually > compile and run a program that uses `__thread', and GCC doesn't yet > emit the Dwarf 2 extension for thread-local variables. Maybe you could review the patch from april that implements the suggested location function mechanism, and use that here to handle thread local variable locations, rather than reuse LOC_THREAD_LOCAL_STATIC (Which, correct me if i'm wrong, is only currently used by hpread, and pretty esay to get rid of before your patch)? After all, aren't we trying to get rid of all the location types eventually? It would seem to make sense to not add more uses of them if it can be avoided. Of course, if you have major problems with that patch, it's understandable that you'd rather not have this work depend on it, but if it's just minor issues, it would seem to make sense to me.