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

Bottle JSON API: /api/bottle/gdb.json

Formula code: gdb.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
catalina
64-bit linux

Current versions:

stable 12.1
head ⚡️ HEAD

Depends on:

gmp 6.2.1 GNU multiple precision arithmetic library
python@3.10 3.10.4 Interpreted, interactive, object-oriented programming language
xz 5.2.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:

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

Analytics (macOS):

Installs (30 days)
gdb 12,121
gdb --HEAD 16
Installs on Request (30 days)
gdb 12,065
gdb --HEAD 16
Build Errors (30 days)
gdb 24
gdb --HEAD 3
Installs (90 days)
gdb 29,238
gdb --HEAD 35
Installs on Request (90 days)
gdb 29,150
gdb --HEAD 35
Installs (365 days)
gdb 134,102
gdb --HEAD 228
gdb --with-all-targets 20
Installs on Request (365 days)
gdb 133,634
gdb --HEAD 227
gdb --with-all-targets 20

Analytics (Linux):

Installs (30 days)
gdb 116
Installs on Request (30 days)
gdb 115
Build Errors (30 days)
gdb 0
Installs (90 days)
gdb 273
Installs on Request (90 days)
gdb 273
Installs (365 days)
gdb 933
gdb --HEAD 1
Installs on Request (365 days)
gdb 928
gdb --HEAD 1
Fork me on GitHub