From owner-freebsd-threads@FreeBSD.ORG Fri Aug 6 08:26:50 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C64C716A4CE; Fri, 6 Aug 2004 08:26:50 +0000 (GMT) Received: from itchy.rabson.org (mailgate.nlsystems.com [80.177.232.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id C279943D41; Fri, 6 Aug 2004 08:26:47 +0000 (GMT) (envelope-from dfr@nlsystems.com) Received: from ns0.nlsystems.com (ns0.nlsystems.com [80.177.232.243]) by itchy.rabson.org (8.12.11/8.12.11) with ESMTP id i768QhEX035528; Fri, 6 Aug 2004 09:26:43 +0100 (BST) (envelope-from dfr@nlsystems.com) From: Doug Rabson To: David Xu Date: Fri, 6 Aug 2004 09:26:45 +0100 User-Agent: KMail/1.6.2 References: <200408050940.36506.dfr@nlsystems.com> <200408051553.51692.dfr@nlsystems.com> <4112C264.4040807@freebsd.org> In-Reply-To: <4112C264.4040807@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408060926.45767.dfr@nlsystems.com> X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on itchy.rabson.org X-Virus-Scanned: clamd / ClamAV version 0.71, clamav-milter version 0.71 X-Virus-Status: Clean cc: freebsd-threads@freebsd.org Subject: Re: Pthread patches for TLS X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 08:26:50 -0000 On Friday 06 August 2004 00:27, David Xu wrote: > I am thinking about debugger tls support, giving a link_map address, > how do I find a modules's tlsindex in FreeBSD ? > Linux put a l_tls_modid to link_map. That might be the simplest way. If you add the new field at the end of struct link_map, then there shouldn't be any ABI issues since rtld is the only thing that allocates these structures.