From patchwork Tue Nov 26 22:01:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Simon Marchi (Code Review)" X-Patchwork-Id: 36275 Received: (qmail 59773 invoked by alias); 26 Nov 2019 22:01:27 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 59762 invoked by uid 89); 26 Nov 2019 22:01:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= X-HELO: mx1.osci.io Received: from polly.osci.io (HELO mx1.osci.io) (8.43.85.229) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Nov 2019 22:01:25 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 3642A20373; Tue, 26 Nov 2019 17:01:24 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [8.43.85.239]) by mx1.osci.io (Postfix) with ESMTP id 7E1ED201F1; Tue, 26 Nov 2019 17:01:20 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id 64CDC20AF6; Tue, 26 Nov 2019 17:01:20 -0500 (EST) X-Gerrit-PatchSet: 1 Date: Tue, 26 Nov 2019 17:01:20 -0500 From: "Christian Biesinger (Code Review)" To: gdb-patches@sourceware.org Cc: Christian Biesinger Message-ID: Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange Subject: [review] Add a NEWS entry for multithreaded symbol loading X-Gerrit-Change-Id: I263add6aae03b523f0870ad4d1e972eada4b382a X-Gerrit-Change-Number: 725 X-Gerrit-ChangeURL: X-Gerrit-Commit: 66360360eeb4383bd60872e8d781d40080b18a60 References: Reply-To: cbiesinger@google.com, cbiesinger@google.com, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/3.0.3-79-g83ff7f88f1 Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/725 ...................................................................... Add a NEWS entry for multithreaded symbol loading Just to let people know that this is available and how to use it. Also updates the description of the setting to say the default is 0. gdb/ChangeLog: 2019-11-26 Christian Biesinger * NEWS: Mention the new multithreaded symbol loading. Change-Id: I263add6aae03b523f0870ad4d1e972eada4b382a --- M gdb/NEWS 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/NEWS b/gdb/NEWS index 5fd0f41..0fa71d5 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -58,6 +58,10 @@ with extensions .gdb, .py and .scm are supported as long as GDB was compiled with support for that language. +* GDB now supports multithreaded symbol loading for higher performance. + This feature is still in testing, so it is disabled by default. You + can turn it on using 'maint set worker-threads unlimited'. + * Python API ** The gdb.Value type has a new method 'format_string' which returns a @@ -152,7 +156,7 @@ maint set worker-threads maint show worker-threads Control the number of worker threads that can be used by GDB. The - default is "unlimited", which lets GDB choose a number that is + default is 0. "unlimited" lets GDB choose a number that is reasonable. Currently worker threads are only used when demangling the names of linker symbols.