public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdb show thread names
@ 2020-06-13  0:16 Jonny Grant
  2020-06-13 12:47 ` Philippe Waroquiers
  2020-06-15 11:42 ` Kamil Rytarowski
  0 siblings, 2 replies; 12+ messages in thread
From: Jonny Grant @ 2020-06-13  0:16 UTC (permalink / raw)
  To: gdb

Hello
Just wondering if gdb could show the thread names as they are created and deleted?


[Thread 0x7fff695e9700 (LWP 3580240) exited]
[New Thread 0x7fff98ff9700 (LWP 3580609)]

$ cat /proc/3580609/comm
ThreadPoolForeg

Could be a race condition, if GDB showed the name, before it was renamed by the application, but still pretty useful to see the names.

If I break, and type "info thread" I can see those still created.

Jonny

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-06-15 21:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-13  0:16 gdb show thread names Jonny Grant
2020-06-13 12:47 ` Philippe Waroquiers
2020-06-13 22:22   ` Jonny Grant
2020-06-14 14:22     ` Philippe Waroquiers
2020-06-15 15:51     ` Pedro Alves
2020-06-15 16:21       ` Philippe Waroquiers
2020-06-15 20:53         ` Jonny Grant
2020-06-15 21:12           ` Pedro Alves
2020-06-15 21:28             ` Jonny Grant
2020-06-15 21:42               ` Pedro Alves
2020-06-15 11:42 ` Kamil Rytarowski
2020-06-15 15:25   ` Jonny Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).