[Bug threads/19584] "new thread" notification doesn't print thread number

palves at redhat dot com sourceware-bugzilla@sourceware.org
Tue Feb 9 12:35:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=19584

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
Agreed.

Note you can use "thread find" as workaround:

(gdb) info threads
  Id   Target Id         Frame
* 1    Thread 0x7ffff7fc1740 (LWP 28311) "threads" main () at threads.c:54
(gdb) thread find 28311
Thread 1 has target id 'Thread 0x7ffff7fc1740 (LWP 28311)'
(gdb)

Not as convenient, but definitely easier than "info threads".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list