Development
gdb
Debug programs with the GNU Debugger.
developmentdebugbuild
Additional Notes
gdb is a development command used to debug programs with the GNU Debugger. It provides an interactive shell for inspecting program state, setting breakpoints, stepping through code, and examining memory. It supports C, C++, Rust, and many other languages.
Syntax
gdb [options] [arguments]
Parameters
options: Flags that change howgdbbehaves.source-or-target: File, binary, object, or project target to inspect or process.arguments: Tool-specific build, debug, or inspection parameters.
Common Options
--help: Show command help when supported.--version: Show version information when supported.
Examples
gdb --help
man gdb
Practical Notes
Options can vary by distribution and package version. Use man gdb, gdb --help, or the package documentation for exact syntax.