Package gdb

A GNU source-level debugger for C, C++, Fortran, Go and other languages

GDB, the GNU debugger, allows you to debug programs written in C, C++,
Fortran, Go, and other languages, by executing them in a controlled
fashion and printing their data.

If you want to use GDB for development purposes, you should install
the 'gdb' package which will install 'gdb-headless' and possibly other
useful packages too.

Version: 14.2

See also: gdb-gdbserver, gdb-headless.

General Commands

gcore Generate a core file of a running program
gstack print a stack trace of a running process
pstack alias for gstack