This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]