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
Bottle (binary package) installation support provided for macOS releases:
Intel | big sur | ✅ |
---|---|---|
catalina | ✅ | |
mojave | ✅ | |
Current versions:
stable | ✅ | 10.1 |
head | ⚡️ | HEAD |
Revision: 1
Depends on:
python@3.9 | 3.9.2 | 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 |
15,221 |
gdb --HEAD |
30 |
gdb --with-all-targets |
24 |
Installs on Request (30 days) | |
gdb |
15,149 |
gdb --HEAD |
30 |
gdb --with-all-targets |
24 |
Build Errors (30 days) | |
gdb |
8 |
gdb --with-all-targets |
2 |
Installs (90 days) | |
gdb |
35,939 |
gdb --HEAD |
78 |
gdb --with-all-targets |
31 |
Installs on Request (90 days) | |
gdb |
35,763 |
gdb --HEAD |
78 |
gdb --with-all-targets |
31 |
Installs (365 days) | |
gdb |
140,982 |
gdb --HEAD |
315 |
gdb --with-all-targets |
43 |
gdb --with-python --with-all-targets |
8 |
gdb --with-python |
5 |
Installs on Request (365 days) | |
gdb |
135,610 |
gdb --HEAD |
313 |
gdb --with-all-targets |
43 |
gdb --with-python --with-all-targets |
8 |
gdb --with-python |
5 |