diff options
author | Christian Biesinger <cbiesinger@google.com> | 2020-01-24 14:58:29 +0100 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2020-01-24 16:39:01 +0100 |
commit | 43198d20896df6a785165650914d0b73fc9450a8 (patch) | |
tree | 3b086727528f67570c9613ab13f77fd52fd12363 /gdb | |
parent | caa31cfad6c16ffbd5c396f74273fc9e413906f0 (diff) | |
download | gdb-43198d20896df6a785165650914d0b73fc9450a8.zip gdb-43198d20896df6a785165650914d0b73fc9450a8.tar.gz gdb-43198d20896df6a785165650914d0b73fc9450a8.tar.bz2 |
Support the NetBSD version of pthread_setname_np
On NetBSD, pthread_setname_np takes a printf-style format string plus
one argument:
https://netbsd.gw.com/cgi-bin/man-cgi?pthread_setname_np++NetBSD-current
This patch makes thread-pool.c handle that.
gdbsupport/ChangeLog:
2020-01-24 Christian Biesinger <cbiesinger@google.com>
* thread-pool.c (set_thread_name): Add an overload for the NetBSD
version of pthread_setname_np.
Change-Id: I61e664a813eaa7f52b6811b1a43e08ac3082d8ef
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions