4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-27 09:37:24 +08:00
Jon Turney 9e0f9ec7ae Send thread names to debugger
GDB since commit 24cdb46e [1] can report and use these names.

Add utility function SetThreadName(), which sends a thread name to the
debugger.

Use that:
- to set the default thread name for main thread and newly created pthreads.
- in pthread_setname_np() for user thread names.
- for helper thread names in cygthread::create()
- for helper threads which are created directly with CreateThread.

Note that there can still be anonymous threads, created by system or
injected DLLs.

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=24cdb46e9f0a694b4fbc11085e094857f08c0419
2016-08-23 15:07:42 +01:00
..
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2016-08-23 15:07:42 +01:00
2016-06-24 23:32:39 +02:00
2016-06-24 23:32:39 +02:00
2016-06-25 00:43:01 +02:00
2016-08-23 15:07:42 +01:00
2015-03-03 12:58:34 +00:00
2016-06-25 00:43:01 +02:00
2016-06-24 23:32:39 +02:00
2015-11-18 19:09:47 +01:00
2016-06-25 17:08:18 +01:00
2016-08-23 15:07:42 +01:00
2016-08-23 15:07:42 +01:00
2015-08-17 11:05:43 +02:00
2016-06-23 16:56:41 +02:00
2016-06-24 23:32:39 +02:00
2016-06-23 21:30:15 +02:00
2016-08-23 15:07:42 +01:00
2016-06-23 21:30:15 +02:00
2016-06-24 23:32:39 +02:00
2016-06-24 23:32:39 +02:00
2016-08-19 16:27:07 +02:00
2016-07-27 17:02:08 +01:00
2016-08-23 15:07:42 +01:00
2016-06-23 16:56:41 +02:00
2016-08-18 10:27:28 +02:00
2016-06-24 21:00:04 +02:00
2016-06-24 21:00:04 +02:00
2016-06-24 23:33:01 +02:00