]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Set names of worker threads
authorTom Tromey <tom@tromey.com>
Sat, 12 Oct 2019 19:06:18 +0000 (13:06 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 10 Nov 2019 17:44:50 +0000 (10:44 -0700)
commit4a7dabea39556979cbf6bcbdd98a9413ce129fd0
treea415211a4891ea33a246b693d696500c956ad4e0
parente4efbf384e4745bf474c2ea05c21011545dc75a8
Set names of worker threads

This adds some configury so that gdb can set the names of worker
threads.  This makes them show up more nicely when debugging gdb
itself.

2019-10-19  Tom Tromey  <tom@tromey.com>

* gdbsupport/thread-pool.c (thread_pool::set_thread_count): Set
name of worker thread.
* gdbsupport/common.m4 (GDB_AC_COMMON): Check for
pthread_setname_np.
* configure, config.in: Rebuild.

gdb/gdbserver/ChangeLog
2019-10-19  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

Change-Id: I60473d65ae9ae14d8c56ddde39684240c16aaf35
gdb/ChangeLog
gdb/config.in
gdb/configure
gdb/gdbserver/ChangeLog
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbsupport/common.m4
gdb/gdbsupport/thread-pool.c