Science Fair Project Encyclopedia
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.
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.)
- Richard M. Stallman, Roland Pesch , Stan Shebs , et al., Debugging with GDB (Free Software Foundation, 2002) ISBN 1882114884
- Norman Matloff , P. J. Salzman , The Art of Debugging with GDB/DDD: For Professionals and Students (No Starch Press , 2003) ISBN 159327002X
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details