To launch the GDB GUI, simply type gdb
on the command
line. If you are in a windowing environment and your DISPLAY
variable is set, the Command Window and Source Window appear. To
suppress the GUI, use the `-nw' (non-windowing) option
on the command line.
If you move the binaries to somewhere other than their original location, you will need to set the following three environment variables:
TCL_LIBRARY TK_LIBRARY GDBTK_FILENAME
TCL_LIBRARY
is the location of tcl code that tcl expects to be
able to find, while TK_LIBRARY
is the same for tk.
GDBTK_FILENAME
is the pathname to the tcl code that actually
defines the GDB graphical interface.