Contents|Index|Next

Introduction to the GDB GUI

Based the UNIX version on the tcl/tk windowing toolkit, the GNUPro Debugger (GDB) Graphical User Interface (GUI) is currently in development. We are using a different toolkit to develop a version for the MS Windows platform.

Configuring GDB GUI

With its X11-based interface, the UNIX GDB GUI requires X-Windows client software for your workstation. Also, the DISPLAY environment variable must be correctly set. Otherwise, GDB will display its traditional command-line interface on your system.

Layout and appearance of GDB GUI windows depends on your host window manager and X-server. General behavior and layout is consistent across all platforms.

Rebuilding GDB GUI

If you rebuild GDB GUI, use the --enable-gdbtk option to configure a new GUI. For more on rebuilding GNUPro Toolkit programs, see Rebuilding from Source in GNUPro Advanced Topics.

If you have moved the GNUPro Toolkit binaries from their default installation location, remember to reset the following three environment variables for the GDB GUI.

- TCL_LIBRARY
  For finding the code that Tcl expects for the GDB GUI.
- TK_LIBRARY
  For finding the code that Tk expects for the GDB GUI.
- GDBTK_FILENAME
  For finding the pathname to the code defining the GDB GUI.

Help with GDB GUI

To get help, enter the help command in the Command Buffer area of the Command window. Alternately, use the Help menu, which is on most of the GDB GUI windows. For more discussion of the GDB GUI Help menu, see Common menus for windows in the GDB GUI.

Problems with GDB GUI

Omissions or restrictions on particular platforms, if not documented as unavoidable, should be considered bugs and reported to Cygnus Solutions technical support staff; send problem reports to: bugs @cygnus.com. For more on problem reports, see How to Contact Cygnus Solutions in Introduction in Getting Started with GNUPro Toolkit and Editing and sending PRs in Reporting Problems in GNUPro Advanced Topics.