From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9598 invoked by alias); 27 Jun 2002 04:57:02 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9570 invoked from network); 27 Jun 2002 04:57:00 -0000 Received: from unknown (HELO zwingli.cygnus.com) (208.245.165.35) by sources.redhat.com with SMTP; 27 Jun 2002 04:57:00 -0000 Received: by zwingli.cygnus.com (Postfix, from userid 442) id 018895EA11; Wed, 26 Jun 2002 23:56:58 -0500 (EST) To: Andrew Cagney Cc: Daniel Jacobowitz , Andrew Cagney , James Cownie , gdb@sources.redhat.com Subject: Re: GDB support for thread-local storage References: <20020625154201.GB17370@branoic.them.org> <17MsdN-0Qe-00@etnus.com> <20020625155555.GA18083@branoic.them.org> <3D1897DA.90405@cygnus.com> <20020625170147.GB19950@branoic.them.org> <3D1A78E4.5060904@ges.redhat.com> From: Jim Blandy Date: Wed, 26 Jun 2002 21:57:00 -0000 In-Reply-To: <3D1A78E4.5060904@ges.redhat.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00286.txt.bz2 Andrew Cagney writes: > > Doesn't libthread_db read `struct _pthread_descr_struct' from the > > linuxthreads library in the inferior, rather than knowing the layout > > itself? So it's actually the inferior's linuxthreads library that > > describes its own structures' layout. > > The structure layout will have been compiled into libthread-db.a. It > implicitly knows the layout itself. I think you're wrong here. Could you show me the code? (Not that the question is especially relevant to the discussion --- of course it could do a simple checksum check.)