|--------------------------------+--------------------------------+
| Primary Source buffer | I/O buffer for debugged pgm |
|--------------------------------+--------------------------------+
-| Stack buffer | Breakpoints buffer |
+| Stack buffer | Breakpoints/thread buffer |
+--------------------------------+--------------------------------+
@end group
@end smallexample
Visit the source line for the breakpoint you click on.
@end table
+When @code{gdb-many-windows} is non-@code{nil}, the breakpoints buffer
+shares its window with the threads buffer. To switch from one to the
+other click with @kbd{mouse-1} on the relevant button in the header
+line.
+
@node Stack Buffer
@subsubsection Stack Buffer
locals buffer is visible, its contents update to display the variables
that are local in the new thread.
+When @code{gdb-many-windows} is non-@code{nil}, the threads buffer
+shares its window with the breakpoints buffer. To switch from one to
+the other click with @kbd{mouse-1} on the relevant button in the
+header line.
+
+When there is more than one main thread and the threads buffer is
+present, Emacs displays the selected thread number in many of the
+GDB-UI Buffers.
+
@item Memory Buffer
The memory buffer lets you examine sections of program memory
(@pxref{Memory, Memory, Examining memory, gdb, The GNU debugger}).