gdb
Install command:
brew install gdbGNU 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 |
tahoe | ✅ |
|---|---|---|
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ | |
Current versions:
| stable | ✅ | 16.3 |
| 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 |
| ncurses | 6.5 | Text-based UI library |
| python@3.14 | 3.14.0 | Interpreted, interactive, object-oriented programming language |
| readline | 8.3.1 | Library for command-line editing |
| xz | 5.8.1 | General-purpose data compression with high compression ratio |
| zstd | 1.5.7 | Zstandard is a real-time compression algorithm |
Depends on when building from source:
| pkgconf | 2.5.1 | Package compiler and linker metadata toolkit |
| 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 |
2,283 |
gdb --HEAD |
9 |
| Installs on Request (30 days) | |
gdb |
2,267 |
gdb --HEAD |
9 |
| Build Errors (30 days) | |
gdb |
162 |
| Installs (90 days) | |
gdb |
7,023 |
gdb --HEAD |
20 |
| Installs on Request (90 days) | |
gdb |
6,952 |
gdb --HEAD |
20 |
| Installs (365 days) | |
gdb |
47,201 |
gdb --HEAD |
96 |
| Installs on Request (365 days) | |
gdb |
46,994 |
gdb --HEAD |
96 |