gdb

Install command:
brew install gdb

GNU debugger

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

License: GPL-3.0-or-later

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

Formula code on GitHub

Current versions:

stable 10.1
head ⚡️ HEAD
bottle 🍾 big_sur, catalina, mojave, high_sierra

Depends on:

python@3.9 3.9.0 Interpreted, interactive, object-oriented programming language
xz 5.2.5 General-purpose data compression with high compression ratio

Conflicts with: i386-elf-gdb, x86_64-elf-gdb

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

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

On 10.12 (Sierra) or later with SIP, you need to run this:

    echo "set startup-with-shell off" >> ~/.gdbinit

Analytics:

Installs (30 days)
gdb 18,412
gdb --HEAD 29
Installs on Request (30 days)
gdb 17,543
gdb --HEAD 29
Build Errors (30 days)
gdb 15
gdb --HEAD 1
Installs (90 days)
gdb 38,418
gdb --HEAD 51
gdb --with-all-targets 6
Installs on Request (90 days)
gdb 36,904
gdb --HEAD 51
gdb --with-all-targets 6
Installs (365 days)
gdb 143,661
gdb --HEAD 397
gdb --with-python --with-all-targets 21
gdb --with-all-targets 19
gdb --with-python 7
Installs on Request (365 days)
gdb 135,095
gdb --HEAD 386
gdb --with-python --with-all-targets 21
gdb --with-all-targets 19
gdb --with-python 7
Fork me on GitHub