Patchwork [pushed] Add a NEWS entry for multithreaded symbol loading

login
register
mail settings
Submitter Simon Marchi (Code Review)
Date Nov. 27, 2019, 9:42 p.m.
Message ID <20191127214206.C8EF220AF6@gnutoolchain-gerrit.osci.io>
Download mbox | patch
Permalink /patch/36334/
State New
Headers show

Comments

Simon Marchi (Code Review) - Nov. 27, 2019, 9:42 p.m.
Sourceware to Gerrit sync has submitted this change.

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  <cbiesinger@google.com>

	* NEWS: Mention the new multithreaded symbol loading.

Change-Id: I263add6aae03b523f0870ad4d1e972eada4b382a
---
M gdb/NEWS
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Tom Tromey: Looks good to me, but someone else must approve

Patch

diff --git a/gdb/NEWS b/gdb/NEWS
index cf8c41c..d901407 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.