aboutsummaryrefslogtreecommitdiff
path: root/gold/target-select.cc
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-12-18 11:45:51 -0700
committerTom Tromey <tromey@adacore.com>2019-12-18 11:50:13 -0700
commit27e4fac77ea57b288ac1e08d936d9a8fdc01a1ee (patch)
tree005a84cb132d183139e826e445bff2d2f535e4d9 /gold/target-select.cc
parente623f035020ea7baa64933b4afaaa564b4c7e26d (diff)
downloadgdb-27e4fac77ea57b288ac1e08d936d9a8fdc01a1ee.zip
gdb-27e4fac77ea57b288ac1e08d936d9a8fdc01a1ee.tar.gz
gdb-27e4fac77ea57b288ac1e08d936d9a8fdc01a1ee.tar.bz2
Fix pthread_setname_np build error
My earlier patch to fix the pthread_setname_np build error on macOS was incorrect. While the macOS man page claims that pthread_setname_np returns void, in <pthread.h> it is actually declared returning "int". I knew this earlier, but must have made some mistake when preparing the patch for submission (perhaps when removing the templates?). This patch re-fixes the bug. I'm also applying it to the 9.1 branch. Tested by building on macOS High Sierra. gdb/ChangeLog 2019-12-18 Tom Tromey <tromey@adacore.com> PR build/25268: * gdbsupport/thread-pool.c (set_thread_name): Expect "int" return type on macOS. Add comment. Change-Id: Ib09da6ac33958a0d843f65df2a528112356e7de6
Diffstat (limited to 'gold/target-select.cc')
0 files changed, 0 insertions, 0 deletions