Install command:
brew install gdb

GNU debugger

License: GPL-3.0-or-later

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

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

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel monterey
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
gdb requires special privileges to access Mach ports.
You will need to codesign the binary. For instructions, see:


Installs (30 days)
gdb 15,654
gdb --HEAD 26
Installs on Request (30 days)
gdb 15,605
gdb --HEAD 26
Build Errors (30 days)
gdb 4
Installs (90 days)
gdb 33,812
gdb --HEAD 88
gdb --with-all-targets 2
Installs on Request (90 days)
gdb 33,693
gdb --HEAD 88
gdb --with-all-targets 2
Installs (365 days)
gdb 144,144
gdb --HEAD 291
gdb --with-all-targets 71
Installs on Request (365 days)
gdb 142,664
gdb --HEAD 291
gdb --with-all-targets 70
Fork me on GitHub