From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51065 invoked by alias); 1 Oct 2019 20:16:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 51046 invoked by uid 89); 1 Oct 2019 20:16:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (50.116.125.2) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Oct 2019 20:16:08 +0000 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway36.websitewelcome.com (Postfix) with ESMTP id 0268A4025F5B8 for ; Tue, 1 Oct 2019 14:19:03 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id FOVbi2dAtPUvSFOVbighIT; Tue, 01 Oct 2019 15:12:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=uW3rH0CUQq1aiIc+B9ty4rHR9HkMbncJhd4JiRJf+/Y=; b=hDW3uTNSaWdLrn3+/hc+IK8MqE 5wH9Ja/TvqpxMPdqOmJaIfQPvHgWP5+ndia4hfYaqTYGyMEJoQRKdr15JBpJHvBvvlu3DtkGwRKEr c+dWiJEbxSyzCATawbatKjqxR; Received: from 75-166-72-156.hlrn.qwest.net ([75.166.72.156]:47310 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iFOVb-0023p5-EZ for gdb-patches@sourceware.org; Tue, 01 Oct 2019 14:12:31 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH v4 00/11] Demangle minimal symbol names in worker threads Date: Tue, 01 Oct 2019 20:16:00 -0000 Message-Id: <20191001201227.8519-1-tom@tromey.com> X-SW-Source: 2019-10/txt/msg00049.txt.bz2 This is v4 of my patch series to demangle minimal symbol names in worker threads. v3 was here: https://sourceware.org/ml/gdb-patches/2019-05/msg00669.html This version addresses all review comments, and fixes a few problems. Some significant changes compared to v3: * Added a patch to switch gdb's m4 files from sinclude to m4_include. * Arranged to block signals that are needed by gdb in new threads. E.g. this prevents a SIGCHLD from arriving in the wrong thread. * Arranged for the demangler threads to call sigaltstack. * Changed the API of parallel_for_each to make the sigaltstack patch work in a non-convoluted way. This also makes it simpler to change parallel_for_each to run on top of a thread pool later on, should we desire. * Added a patch to use run_on_main_thread in gdb.post_event, as requested. * Removed the ada_decode patch, as a different version of this has landed. Tested on x86-64 Fedora 28. Tom