Add maint set/show worker-threads
authorTom Tromey <tom@tromey.com>
Sat, 16 Mar 2019 20:36:57 +0000 (14:36 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 26 Nov 2019 21:02:58 +0000 (14:02 -0700)
commit22138db609721897c213e5a08ccaca206c0fb1f6
tree5aa92270cde9c547bb91d0d5a1a16f69cec09d58
parentd55c9a68473d4378e484a870d3ca4222a68078ca
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
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/maint.c