gdb

Install command:
brew install gdb

GNU debugger

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

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:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 16.2
head ⚡️ HEAD

Depends on:

gmp 6.3.0 GNU multiple precision arithmetic library
mpfr 4.2.2 C library for multiple-precision floating-point computations
python@3.13 3.13.2 Interpreted, interactive, object-oriented programming language
xz 5.6.4 General-purpose data compression with high compression ratio

Depends on when building from source:

texinfo 7.2 Official documentation format of the GNU project
gdb requires special privileges to access Mach ports.
You will need to codesign the binary. For instructions, see:

    https://sourceware.org/gdb/wiki/PermissionsDarwin

Analytics:

Installs (30 days)
gdb 5,665
gdb --HEAD 2
Installs on Request (30 days)
gdb 5,649
gdb --HEAD 2
Build Errors (30 days)
gdb 294
Installs (90 days)
gdb 15,766
gdb --HEAD 9
Installs on Request (90 days)
gdb 15,706
gdb --HEAD 9
Installs (365 days)
gdb 48,719
gdb --HEAD 44
Installs on Request (365 days)
gdb 48,509
gdb --HEAD 44
Fork me on GitHub