From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14550 invoked by alias); 12 Jan 2004 23:24:18 -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 14503 invoked from network); 12 Jan 2004 23:24:17 -0000 Received: from unknown (HELO are.twiddle.net) (64.81.246.98) by sources.redhat.com with SMTP; 12 Jan 2004 23:24:17 -0000 Received: from are.twiddle.net (localhost.localdomain [127.0.0.1]) by are.twiddle.net (8.12.8/8.12.8) with ESMTP id i0CNOGj1025045 for ; Mon, 12 Jan 2004 15:24:16 -0800 Received: (from rth@localhost) by are.twiddle.net (8.12.8/8.12.8/Submit) id i0CNOGH1025043 for gdb@gcc.gnu.org; Mon, 12 Jan 2004 15:24:16 -0800 X-Authentication-Warning: are.twiddle.net: rth set sender to rth@twiddle.net using -f Date: Mon, 12 Jan 2004 23:24:00 -0000 From: Richard Henderson To: gdb@gcc.gnu.org Subject: Re: turn off thread support? Message-ID: <20040112232416.GA25035@twiddle.net> References: <20040112230631.GA32178@twiddle.net> <20040112231236.GA27775@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040112231236.GA27775@nevyn.them.org> User-Agent: Mutt/1.4i X-SW-Source: 2004-01/txt/msg00156.txt.bz2 On Mon, Jan 12, 2004 at 06:12:36PM -0500, Daniel Jacobowitz wrote: > Right now, neither easily. But if you LD_PRELOAD a different > libthread_db.so.1, then dlopen will use the one you gave it; Good to know. Of course, libthread_db hasn't actually been ported to this target yet, so I have no confidence it'll work. > I imagine that if you LD_PRELOAD a dummy library with that soname, then > the failed dlsym() calls will cause GDB to disable thread handling. That's an interesting idea... r~