diff options
author | Tom Tromey <tom@tromey.com> | 2019-03-16 14:36:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-11-26 14:02:58 -0700 |
commit | 22138db609721897c213e5a08ccaca206c0fb1f6 (patch) | |
tree | 5aa92270cde9c547bb91d0d5a1a16f69cec09d58 /gdb/NEWS | |
parent | d55c9a68473d4378e484a870d3ca4222a68078ca (diff) | |
download | gdb-22138db609721897c213e5a08ccaca206c0fb1f6.zip gdb-22138db609721897c213e5a08ccaca206c0fb1f6.tar.gz gdb-22138db609721897c213e5a08ccaca206c0fb1f6.tar.bz2 |
Add maint set/show worker-threads
This adds maint commands to control the number of worker threads that
gdb can use.
2019-11-26 Tom Tromey <tom@tromey.com>
* NEWS: Add entry.
* maint.c (_initialize_maint_cmds): Add "worker-threads" maint
commands. Call update_thread_pool_size.
(update_thread_pool_size, maintenance_set_worker_threads): New
functions.
(n_worker_threads): New global.
gdb/doc/ChangeLog
2019-11-26 Tom Tromey <tom@tromey.com>
* gdb.texinfo (Maintenance Commands): Document new maint
commands.
Change-Id: I4fb514faa05879d8afe62c77036a4469d57dca2a
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -149,6 +149,13 @@ set style highlight background COLOR set style highlight intensity VALUE Control the styling of highlightings. +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 + reasonable. Currently worker threads are only used when demangling + the names of linker symbols. + maint set test-settings KIND maint show test-settings KIND A set of commands used by the testsuite for exercising the settings |