binutils-gdb/gdbsupport
Christian Biesinger 43198d2089 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
2020-01-24 16:39:01 +01:00
..
ChangeLog Support the NetBSD version of pthread_setname_np 2020-01-24 16:39:01 +01:00
Makefile.am Fix gdbsupport build on compilers that don't default to C++11 or above 2020-01-17 15:19:42 +00:00
Makefile.in Fix gdbsupport build on compilers that don't default to C++11 or above 2020-01-17 15:19:42 +00:00
README
acinclude.m4
aclocal.m4
agent.c
agent.h
alt-stack.h
array-view.h
ax.def
block-signals.h
break-common.h
btrace-common.c
btrace-common.h
buffer.c
buffer.h
byte-vector.h
check-defines.el Add gdbsupport check-defines script 2020-01-14 16:25:04 -07:00
cleanups.c
cleanups.h
common-debug.c
common-debug.h
common-defs.h Fix gdbsupport build 2020-01-17 15:14:56 +00:00
common-exceptions.c
common-exceptions.h
common-gdbthread.h
common-inferior.c
common-inferior.h
common-regcache.c
common-regcache.h
common-types.h
common-utils.c
common-utils.h
common.m4
config.in
configure Fix gdbsupport build 2020-01-17 15:14:56 +00:00
configure.ac Fix gdbsupport build 2020-01-17 15:14:56 +00:00
create-version.sh
def-vector.h
default-init-alloc.h
enum-flags.h
environ.c
environ.h
errors.c
errors.h
fileio.c
fileio.h
filestuff.c
filestuff.h
filtered-iterator.h
format.c
format.h
forward-scope-exit.h
function-view.h
gdb-dlfcn.c
gdb-dlfcn.h
gdb-sigmask.h
gdb_assert.h
gdb_binary_search.h
gdb_locale.h
gdb_optional.h
gdb_proc_service.h Ensure proc-service symbols have default visibility (PR build/24805) 2020-01-16 19:14:14 +00:00
gdb_ref_ptr.h
gdb_setjmp.h
gdb_signals.h
gdb_splay_tree.h
gdb_string_view.h
gdb_string_view.tcc
gdb_sys_time.h
gdb_tilde_expand.c
gdb_tilde_expand.h
gdb_unique_ptr.h
gdb_unlinker.h
gdb_vecs.c
gdb_vecs.h
gdb_wait.c
gdb_wait.h
hash_enum.h
host-defs.h
job-control.c
job-control.h
netstuff.c
netstuff.h
new-op.c
next-iterator.h
observable.h
offset-type.h
parallel-for.h
pathstuff.c
pathstuff.h
poison.h
preprocessor.h
print-utils.c
print-utils.h
ptid.c
ptid.h
refcounted-object.h
rsp-low.c
rsp-low.h
run-time-clock.c
run-time-clock.h
safe-iterator.h
safe-strerror.c
scope-exit.h
scoped_fd.h
scoped_mmap.c
scoped_mmap.h
scoped_restore.h
selftest.c
selftest.h
signals-state-save-restore.c
signals-state-save-restore.h
signals.c
symbol.h
tdesc.c
tdesc.h
thread-pool.c Support the NetBSD version of pthread_setname_np 2020-01-24 16:39:01 +01:00
thread-pool.h
traits.h
underlying.h
valid-expr.h
version.h
x86-xstate.h
xml-utils.c
xml-utils.h

README

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.