Contents|Index|Previous|Next
Common
menus for the GDB GUI
There
are four menus common to all except the Expressions window: File,
Options,
Window and
Help.
File
menu
The
File
menu (Figure 5) appears in the Command,
Source, Assembly, Auto Command and Breakpoints windows.
Figure 5: File
menu
- File...
Displays a dialog for selecting the
combined executable and symbol file. Similar to the GDB ‘file’
command.
- Target...
Displays a dialog for selecting the
debugging target. Similar to the GDB ‘target’
command. [Not yet implemented.]
- Edit
Starts up an editor to modify the current
source file.
- ExecFile...
Displays a dialog for loading an executable
file. Similar to the GDB ‘exec-file’
command.
- Symbol File...
Displays a dialog for loading a symbol
file. Similar to the GDB ‘symbol-file’
command.
- Add Symbol File...
Displays a dialog for additional symbol
files. Similar to the GDB ‘add-symbol-file’
command.
- Core File...
Displays a dialog for loading the core
file. Similar to the GDB ‘core-file’
command.
- Close
Closes the program that you are debugging.
- Quit
Quits GDB. (This menu option is like
the GDB command, ‘quit’.)
Options
menu
The
Options menus
have different functionality for each window. See descriptions for Command
window Options menu, Source
window Options menu, Assembly
window Options menu, Registers
window Options menu, Auto
Command window Options menu and Breakpoints
window Options menu. The Expressions window has no options to implement.
Window
menu
The
Window
menu (Figure
6) appears in the Command, Source, Assembly, Auto Command and Breakpoints
windows and provides access to all GDB windows.
Figure 6: Window
menu
- Command
Activates the Command window.
- Source
Activates the Source window.
- Assembly
Activates the Assembly window.
- Registers
Activates the Registers window.
- Expressions
Activates the Expressions window.
- Auto Command
Activates the Auto Command window.
- Breakpoint
Displays the Breakpoints window.
Help
menu
The
Help menu
(Figure 7) in the Command, Source, Assembly, Auto
Command and Breakpoint windows, provides access to GDB online help. For
more on the basic structure of help, see Getting
Help.
Figure 7: Help
menu
- with GDBtk
For help with Tcl/Tk for using the
GDB GUI. [Not yet implemented.]
- with this window
For help with the Command window. [Not
yet implemented.]
- Report bug
Launches the PRMS reporting tool. For
help with using problem reports, see How
to Contact Cygnus Solutions in Introduction
in Getting Started with GNUPro Toolkit and Reporting
Problems in GNUPro Advanced Topics.