GDB GNU Debugger
gdb.gnu.org
2
Leaving SiteNav
External Link Disclaimer
You are about to visit gdb.gnu.org. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
GDB (GNU Debugger) is the standard debugger for the GNU operating system and the most widely used debugger for C, C++, and other compiled languages on Unix-like systems. Originally created by Richard Stallman in 1986, GDB has over 30 years of development history. Key features: debugs C, C++, Objective-C, Fortran, Ada, Go, Rust, D, Pascal, and assembly with language-specific expression evaluation. Supports over 30 architectures including x86, x86_64, ARM, ARM64, MIPS, PowerPC, SPARC, RISC-V, and embedded targets. Software and hardware breakpoints including conditional breakpoints, watchpoints for memory monitoring, catchpoints for system events, and ranged breakpoints. Instruction-level and source-level stepping including step-into, step-over, step-out, and reverse debugging on supported platforms. Post-mortem debugging via core dump files including stack traces, variable inspection, and thread state. GDB remote serial protocol for debugging embedded systems and remote servers via serial, TCP, or USB. Python API since GDB 7.0 for automation, custom pretty-printers, and testing framework integration. TUI text user interface with source code, assembly, registers, and command windows in terminal. Multi-threaded debugging with per-thread breakpoints and simultaneous inspection of all threads. Record and replay execution history for analyzing hard-to-reproduce bugs. Full DWARF 2-5 debug info support including optimized code debugging. Tight integration with GCC and GNU Binutils.
Statistics
2
Views
0
Clicks
0
Like
0
Dislike