Install command:
brew install gdb

GNU debugger

License: GPL-3.0-or-later

Formula JSON API: /api/formula/gdb.json

Formula code: gdb.rb on GitHub

Bottle (binary package) installation support provided for:

Intel sonoma
big sur
64-bit linux

Current versions:

stable 13.2
head ⚡️ HEAD

Depends on:

gmp 6.3.0 GNU multiple precision arithmetic library
python@3.11 3.11.6 Interpreted, interactive, object-oriented programming language
xz 5.4.5 General-purpose data compression with high compression ratio

Requires: x86_64 architecture

gdb requires special privileges to access Mach ports.
You will need to codesign the binary. For instructions, see:


Installs (30 days)
gdb 2,517
Installs on Request (30 days)
gdb 2,499
Build Errors (30 days)
gdb 9
Installs (90 days)
gdb 8,094
Installs on Request (90 days)
gdb 8,032
Installs (365 days)
gdb 28,602
Installs on Request (365 days)
gdb 28,480
Fork me on GitHub