CocoaEngineering
FORMULAv18.1

gdb for macOS

GNU debugger

Installation on macOS (Apple Silicon & Intel)

brew install gdb

Package Metadata

Identifiergdb
Current Version18.1
Tap Repositoryhomebrew/core
LicenseGPL-3.0-or-later
Upstream Homepagehttps://www.gnu.org/software/gdb/
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (6)

gmp mpfr python@3.15 readline xz zstd

Build Dependencies (2)

pkgconf texinfo

Engineering Caveats

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

  https://sourceware.org/gdb/wiki/PermissionsDarwin
Browse macOS Packages A–Z