From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20000 invoked by alias); 21 Jun 2002 20:20:07 -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 19280 invoked from network); 21 Jun 2002 20:18:48 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 21 Jun 2002 20:18:48 -0000 Received: from 01-056.118.popsite.net ([66.19.120.56] helo=nevyn.them.org) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17LUrj-0001Wt-00; Fri, 21 Jun 2002 15:18:44 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17LUro-000675-00; Fri, 21 Jun 2002 16:18:48 -0400 Date: Fri, 21 Jun 2002 13:20:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Andrew Cagney , gdb@sources.redhat.com Subject: Re: GDB support for thread-local storage Message-ID: <20020621201847.GB23307@nevyn.them.org> Mail-Followup-To: Jim Blandy , Andrew Cagney , gdb@sources.redhat.com References: <20020619160004.38A625EA11@zwingli.cygnus.com> <3D1282DD.7000508@cygnus.com> <20020621014821.GA7608@nevyn.them.org> <3D135FE5.6090605@cygnus.com> <20020621173249.GA11443@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2002-06/txt/msg00174.txt.bz2 On Fri, Jun 21, 2002 at 03:08:03PM -0500, Jim Blandy wrote: > Why aren't we using thread_db, though? Why can't we run thread_db and > simply serve its memory and register requests from the core file? I > don't see which part of the interface makes this impossible. And > we'll need to do it if Linux switches to an NxM thread model, no? I should add to my previous comment that the use of libthread_db to access TLS data means that such will never be possible in a core file, either, without significant redesign of libthread_db - possibly as some sort of data file which can be loaded separately from the coredump and describe thread structures. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer