GNU Debugger



         


The GNU Debugger, usually called just GDB, is the standard debugger for the GNU software system. It is a portable debugger which runs on many Unix-like systems and works for many programming languages, including C, C++, and FORTRAN. Originally written by Richard Stallman in 1988, GDB is free software released under the GNU General Public License.

GDB offers extensive facilities for tracing and altering the execution of computer programs. The user can monitor and modify the values of programs' internal variables, and even call functions independently of the program's normal behavior.

The debugger does not contain its own graphical user interface, and defaults to a command-line interface. However, several front-ends have been built for it, such as DDD, GDBtk/Insight and the "GUD mode" in Emacs. These offer facilities similar to debuggers found in integrated development environments.

Some other debugging tools have been designed to work with GDB, such as memory leak detectors.

GDB target processors (as of 2003) include:

Lesser-known target processors supported in the standard release have included A29K, ARC, AVR, CRIS, D10V, D30V, FR-30, FR-V, Intel i960, M32R, 68HC11, Motorola 88000, MCORE, MN10200, MN10300, NS32K, Stormy16, V850, VAX, and Z8000. (Newer releases will likely not include some of these.)

[Top]

References






  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License