Contents|Index|Previous|Next

Registers window

The Registers window (Figure 11) has the four standard menus at the top of the window, under which is a data area for showing the set registers and, alongside, a scroll bar for viewing all the source code.

Figure 11: Registers window

At the top of the data area are register values headings, and at the left are designators for controlling registers set by the Options menu (Figure 12). Depending on the register values and alphanumeric registers you choose, you will see more or fewer choices in the data area. Shown in Figure 11 are the representations for Natural, Decimal, Hex, Octal and Raw values.

For more on registers when debugging (used for setting machine register contents such as for program counters, stack pointers, or the status of a stack frame or the processor), see Examining Data in Debugging with GDB.

Registers window Options menu

Each selected option will indicate the relative representation for register values.

Figure 12: Options menu for the Registers window

- Natural
  Values relative to a virtual format such as, for C programs, “double.”
- Decimal
  Base 10 values.
- Hex
  Base 16 values.
- Octal
  Base 8 values.
- Binary
  Base 2 values.
- Unsigned
  Unsigned integer values.
- Raw
  Values relative to floating point coprocessor format such as “extended.”
- Options menu for the Registers window
  Opens the Registers configuration pop-up window (Figure 13). This provides a way to select the registers that will appear in the registers window.

Figure 13: Registers configuration pop-up window

The Registers configuration window lets you select registers to display. At the bottom of the Registers configuration window, you see the following two buttons, Done and Update.

- Done
  Applies the desired changes and closes the dialog.
- Update
  Applies the desired changes and leaves the dialog up.