Package gdb

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

https://gnu.org/software/gdb/

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: 15.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