GDB command
The equivalent GDB command is 'info threads'.
Example
N.A.
TheSynopsis
Produces a list of the currently known GDB thread ids. At the end of the list it also prints the total number of such threads.
GDB command
Part of 'info threads' supplies the same information.
Example
No threads present, besides the main process:
(gdb)
Several threads:
(gdb)
(gdb)
TheSynopsis
Make threadnum the current thread. It prints the number of the new current thread, and the topmost frame for that thread.
GDB command
The corresponding GDB command is 'thread'.
Example
(gdb)
354 The GDB/MI Interface