gdb

Install command:
brew install gdb

GNU debugger

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

License: GPL-3.0-or-later

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

/api/bottle-linux/gdb.json (Bottle JSON API)

Linux formula code on GitHub

Bottle (binary package) installation support provided for Linux platforms:

Intel big sur
catalina
mojave
64-bit linux

Current versions:

stable 10.2
head ⚡️ HEAD

Depends on:

python@3.9 3.9.6 Interpreted, interactive, object-oriented programming language
xz 5.2.5 General-purpose data compression with high compression ratio
expat 2.4.1 XML 1.0 parser
ncurses 6.2 Text-based UI library
gcc 11.1.0 GNU compiler collection
guile 3.0.7 GNU Ubiquitous Intelligent Language for Extensions

Depends on when building from source:

texinfo 6.8 Official documentation format of the GNU project
pkg-config 0.29.2 Manage compile and link flags for libraries
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 61
Installs on Request (30 days)
gdb 60
Build Errors (30 days)
gdb 9
Installs (90 days)
gdb 190
gdb --HEAD 1
Installs on Request (90 days)
gdb 186
gdb --HEAD 1
Installs (365 days)
gdb 1,544
gdb --HEAD 9
Installs on Request (365 days)
gdb 1,530
gdb --HEAD 9
Fork me on GitHub