Contents|Index|Previous|Next

Command window

Figure 3: Command window

The Command window (Figure 3) provides access to the standard GDB command operations. There are no buttons to use, only the four standard menus: File, Options, Window and Help (see the discussion for each of these menus in Common menus for windows in the GDB GUI). Initially, a permissions notice displays in the data area of the Command window; it shows your rights in using the current version of the GNUPro debugger, GDB. At the bottom of the Command window, in the Command Buffer area, you enter commands to GDB that behave exactly the same as commands for a non-windowing GDB.

The Command Buffer area does not reflect all changes to the debugging process. For instance, if you type a step command, then click the Step button in the Source window (Figure 8), then type another step command, the Command Buffer shows only two steps, although you have actually executed commands for three steps. GDB places an ellipsis (...) in the Command Buffer as a reminder that the buffer is incomplete because of unfinished debugging processes.

The Command window has no status line or button boxes unlike the Source window (compare the two windows in Figure 1a and Figure 1b). For more on the Source window, see Source window. For more on the menus common to all windows except the Expressions window, see Common menus for windows in the GDB GUI in the following documentation (for more discussion on the Expressions window and its functionality, see Expressions window).

## Command window Options menu

Figure 4: Options menu for the Command window

The Command window Options menu (Figure 4) is not yet ready to perform any debugging actions.