GNU Debugger

The UNIX program GDB - GNU Debugger - is the de facto standard debugger of Linux systems and was developed by the GNU project. GDB has been ported to many systems (see below) and supports the programming languages ​​C, C , Objective -C, Fortran, Java, Pascal, Modula -2, Ada, D, and Go. GDB is free software and is licensed under the GNU General Public License ( GPL). The GDB is oriented in its interface to the debugger dbx, originally from BSD Unix and is now shipped as part of Oracle Solaris Studio.

GDB provides the usual options for tracing such as breakpoints or the output of the stack trace, and allows for intervention in the execution of programs. GDB allows users for example to manipulate the program's variables or call functions independently of the normal program flow.

The debugger does not have a graphical interface, but uses the standard input with GNU readline, which can be optional, but complemented by a rating based on the curses library TUI. There are also some graphical debugging interfaces that use the GDB as a backend, for example, the Eclipse plug-in C / C Development Tools, the ddd, the ncurses-based cgdb, Insight or in Emacs ' GUD mode ". Also, Xcode uses the GNU debugger.

Some other tools work together with GDB, eg, memory leak detectors.

GDB supports, among others, the following architectures:

  • Alpha
  • ARM
  • Atmel AVR
  • Analog Devices Blackfin
  • H8/300
  • System/370, System/390, and System z
  • X86 and x86-64
  • IA -64 " Itanium "
  • Motorola 68000
  • MIPS/MIPS64
  • PA -RISC
  • PowerPC (32 - and 64- bit)
  • SuperH
  • SPARC
  • VAX
  • Cell
270137
de