From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21675 invoked by alias); 21 Sep 2006 23:52:10 -0000 Received: (qmail 21666 invoked by uid 22791); 21 Sep 2006 23:52:09 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 21 Sep 2006 23:52:06 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GQYKp-0002YG-Hm; Thu, 21 Sep 2006 19:52:03 -0400 Date: Thu, 21 Sep 2006 23:52:00 -0000 From: Daniel Jacobowitz To: Prosun Niyogi Cc: gdb@sourceware.org, pniyogi@us.ibm.com Subject: Re: TLS on powerpc(32/64) Message-ID: <20060921235203.GA9769@nevyn.them.org> Mail-Followup-To: Prosun Niyogi , gdb@sourceware.org, pniyogi@us.ibm.com References: <20060921232047.2836.qmail@web38908.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060921232047.2836.qmail@web38908.mail.mud.yahoo.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00127.txt.bz2 On Thu, Sep 21, 2006 at 04:20:47PM -0700, Prosun Niyogi wrote: > Hi, > I've been struggling the last few days on getting gdb > to work correctly on a powerpc64 machine. Built as > ppc-64-linux, debugging ppc64 binaries linked against > libpthread. It seems to me that gdb's TLS access does > not work correctly on these platforms. Attempting to > print a variable of type __thread doesnt work. It looks to me like GDB has failed to load libthread_db for some reason. I don't know why not; you'll have to look into it. -- Daniel Jacobowitz CodeSourcery