From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 870913870868 for ; Wed, 17 Jun 2020 17:07:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 870913870868 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=ro@cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 640E8ABF6C; Wed, 17 Jun 2020 19:07:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qeG51PtK2gLK; Wed, 17 Jun 2020 19:07:12 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p4fddbb33.dip0.t-ipconnect.de [79.221.187.51]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id AA023AC593; Wed, 17 Jun 2020 19:07:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1592413632; bh=AJdqraV4lGBgo7ic5WObHFl6iZ4uSCSTjpIwB7gCH8c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=H/wNsLjAJxr835JC5TcRGtJm64ECRSK8BbGHThKFFqtaZGAI444uMEttHSwd6CJAA rJMmLTyCYLD1dFyTPqTeINFhcaGgzKGPuaW4l8fDReGMOyR9udCSwbOsXr+bxdzjn3 HVyOYfp1JoLp6Bt6LfCd2VRE8L8Ifw550FMhRFe4CH4R5Ir3QJBhavp1iw+NHAFKxg 2Fu6W7WN/dhf30ap5PG6ofz/jjtaugJoLc50iOF9vTS4go5b00zmY/KTl07FShbIJG 8bM0YeDOhSH2KbrP8tXh7MJ1SCoDulVZdF8Ff+SKOQdwMaqebFe54ue/IW7W16md+Y 1/okuGeBcBDrQ== From: Rainer Orth To: Tom Tromey Cc: Pedro Alves via Gdb-patches , Pedro Alves Subject: Re: Unbreaking gdb on Solaris post-multitarget [PR 25939] References: <7fb790ae-61a9-a6a3-3b87-74fcac400664@redhat.com> <87wo45d7g3.fsf@tromey.com> Date: Wed, 17 Jun 2020 19:07:11 +0200 In-Reply-To: <87wo45d7g3.fsf@tromey.com> (Tom Tromey's message of "Wed, 17 Jun 2020 09:43:08 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3791.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2020 17:07:15 -0000 Hi Tom, > Pedro> Could this be a race somehow more exposed now due to GDB now > Pedro> spawning worker > Pedro> threads? What happens if you debug a GDB that doesn't spawn worker > Pedro> threads? Like: > > Pedro> ./gdb -D ./data-directory --args ./gdb -ex "maint set worker-threads 0" > > You have to be sure to build without Guile if you want to try this; the > garbage collector automatically starts threads as well. thanks for the hint. Fortunately, Guile is no longer bundled with Solaris 11.4 and the libguile I had built some time ago for autogen is 32-bit only. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University