]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbsupport/ChangeLog
Support the NetBSD version of pthread_setname_np
authorChristian Biesinger <cbiesinger@google.com>
Fri, 24 Jan 2020 13:58:29 +0000 (14:58 +0100)
committerChristian Biesinger <cbiesinger@google.com>
Fri, 24 Jan 2020 15:39:01 +0000 (16:39 +0100)
commit43198d20896df6a785165650914d0b73fc9450a8
tree3b086727528f67570c9613ab13f77fd52fd12363
parentcaa31cfad6c16ffbd5c396f74273fc9e413906f0
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
gdbsupport/ChangeLog
gdbsupport/thread-pool.c