Contents|Index|Previous|Next

Running GDB GUI

The basic GDB GUI command uses the following input.

       gdb

To run GDB in non-windows command-line mode, use the -nw switch, as in the following example’s input.

       gdb -nw

When you open GDB, the Command window and the Source window appear instantaneously (Figure 1). Also, a temporary window (Figure 2) displays a permissions notice for GDB.



Figure 1: Command window (1a) and Source window (1b)

gui9700000000.gif

fig2lic00000000.gif

Figure 2: GDB GUI permissions notice