126.96.36.199 Other Buffers
- Input/Output Buffer
- If the variable
gdb-use-inferior-io-buffer is non-
the executable program that is being debugged takes its input and
displays its output here, otherwise it uses the GUD buffer. To toggle
the use of this buffer, do M-x gdb-use-inferior-io-buffer.
Some of the commands from shell mode are available here. See Shell Mode.
- Locals Buffer
- The locals buffer displays the values of local variables of the
current frame for simple data types (see Frame Info).
Arrays and structures display their type only. With GDB 6.4 or later,
move point to their name and press <RET>, or alternatively click
Mouse-2 there, to examine their values. With earlier versions
of GDB, move point to their type description ([struct/union] or
[array]). See Watch Expressions.
- Registers Buffer
- The registers buffer displays the values held by the registers
(see Registers). Press <RET> or
click Mouse-2 on a register if you want to change its value.
With GDB 6.4 or later, recently changed register values display with
font-lock-warning-face. With earlier versions of GDB, you can press
<SPC> to toggle the display of floating point registers
- Assembler Buffer
- The assembler buffer displays the current frame as machine code. An
overlay arrow points to the current instruction and you can set and
remove breakpoints as with the source buffer. Breakpoint icons also
appear in the fringe or margin.
- Threads Buffer
- The threads buffer displays a summary of all threads currently in your
program (see Threads). Move point to any thread in the
list and press <RET> to select it (
display the associated source in the source buffer. Alternatively,
click Mouse-2 on a thread to select it. If the locals buffer is
displayed then its contents update to display the variables that are
local to the new thread.
- Memory Buffer
- The memory buffer allows the user to examine sections of program
memory (see Memory). Click Mouse-1 on the appropriate part of the header
line to change the starting address or number of data items that the
buffer displays. Click Mouse-3 on the header line to select the
display format or unit size for these data items.