Install command:
brew install gdb

GNU debugger

License: GPL-3.0-or-later

/api/formula-linux/gdb.json (JSON API)

/api/bottle-linux/gdb.json (Bottle JSON API)

Linux formula code on GitHub

Bottle (binary package) installation support provided for Linux platforms:

Intel big sur
64-bit linux

Current versions:

stable 11.1
head ⚡️ HEAD

Depends on:

gmp 6.2.1 GNU multiple precision arithmetic library
python@3.9 3.9.7 Interpreted, interactive, object-oriented programming language
xz 5.2.5 General-purpose data compression with high compression ratio
expat 2.4.1 XML 1.0 parser
ncurses 6.2 Text-based UI library
gcc 11.2.0 GNU compiler collection
guile 3.0.7 GNU Ubiquitous Intelligent Language for Extensions

Depends on when building from source:

texinfo 6.8 Official documentation format of the GNU project
pkg-config 0.29.2 Manage compile and link flags for libraries
gdb requires special privileges to access Mach ports.
You will need to codesign the binary. For instructions, see:


Installs (30 days)
gdb 82
Installs on Request (30 days)
gdb 81
Build Errors (30 days)
gdb 0
Installs (90 days)
gdb 188
Installs on Request (90 days)
gdb 186
Installs (365 days)
gdb 1,436
gdb --HEAD 9
Installs on Request (365 days)
gdb 1,423
gdb --HEAD 9
Fork me on GitHub