The Thread Window
The Thread Window displays a list of threads and/or processes. The exact
contents are OS-specific.
The Thread Display consists of a listbox which displays information on
threads and/or processes that are part of the executable being debugged.
The first column is the GDB thread number, which is used internally by GDB
to track the thread. The rest of the columns are OS-dependent. The output is identical
to the output of the console command "info threads".
The source window can only display the current location and source for one thread
at a time. That thread is called the "current thread".
To change the current thread, simply click the left mouse button on the desired
line and the
debugger will switch contexts, updating all windows. The current thread will
be highlighted.
Normally if you set a breakpoint on a line or function, every thread that hits
that location will stop execution and return to the debugger. To set a breakpoint
or a specific thread or threads, you need to use the source window. See
Set Breakpoint on Threads