From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5202 invoked by alias); 17 Dec 2001 16:34:30 -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 4347 invoked from network); 17 Dec 2001 16:33:12 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 17 Dec 2001 16:33:12 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16G0hV-0000nk-00 for ; Mon, 17 Dec 2001 11:33:13 -0500 Date: Mon, 17 Dec 2001 08:34:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFA] Don't use thread_db on corefiles Message-ID: <20011217113313.A2937@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20011213114847.A17989@nevyn.them.org> <3C18FA17.6030603@cygnus.com> <20011216205642.A4358@nevyn.them.org> <1011217053037.ZM19545@ocotillo.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1011217053037.ZM19545@ocotillo.lan> User-Agent: Mutt/1.3.23i X-SW-Source: 2001-12/txt/msg00421.txt.bz2 On Sun, Dec 16, 2001 at 10:30:38PM -0700, Kevin Buettner wrote: > On Dec 16, 8:56pm, Daniel Jacobowitz wrote: > > > My instinct was "there is support in corefile-specific code for > > handling threads. It works just fine; use it." It's been there since > > 1993. Does it have any current consumers? I think it must, since > > Kevin touched it in May and mentioned some sort of regressions. > - Second, I saw some regressions on Solaris due to the fact that > corelow.c was storing some corefile thread identifiers > in inferior_pid. On Solaris 8, more than 16 bits are needed to > represent these identifiers. For this case, I introduced some > #ifdefs in corelow.c which use inferior_ptid (renamed from > inferior_pid) "as is" without any masking. I plan to eliminate > these ifdefs as part of phase 3. (Or I could even do it as a > phase 4, if desired.) OK, Solaris uses corelow. I didn't realize that. Thanks. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer