gdb show thread names

Jonny Grant <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.