macOS
brew install i386-elf-gdblocal Homebrew formula metadata
brew
GNU debugger for i386-elf cross development. Version 17.2 via Homebrew; verified 2026-05-10.
install
brew install i386-elf-gdblocal Homebrew formula metadata
overview
GNU debugger for i386-elf cross development
history
i386-elf-gdb is Homebrew's target-prefixed build of the GNU Debugger for i386-elf cross development. The package matters because it gives bare-metal and operating-system developers a debugger whose executable name matches the target triple used by their cross compiler and binutils.
GDB came from the early GNU system effort. GNU's January 1987 bulletin described GDB as a source-level C debugger written for GNU in 1986, and Richard Stallman's 1986 KTH lecture described it as a symbolic C debugger influenced by DBX.
The Sourceware documentation describes GDB as a debugger for seeing what happens inside a running program or at the moment it crashes, with support for stopping execution, examining state, and changing program behavior. The GDB news archive shows the long public release line, including GDB 4.18 in 1999, the 5.0 release cycle in 2000, and later 6.x releases.
GDB became one of the standard GNU development tools alongside GCC and Binutils. Its adoption spread through Unix-like systems because it could debug native programs, remote targets, and simulator targets, and because GNU toolchains made source-level debugging part of the normal compile-link-debug loop.
The i386-elf-gdb formula is a narrower package-manager artifact: Homebrew labels it as the GNU debugger for i386-elf cross development and ships executables such as i386-elf-gdb. That target prefix is valuable for cross projects because it avoids mixing host debuggers with bare-metal toolchains.
Typical use is debugging i386-elf binaries produced by a matching cross compiler, often through a simulator, emulator, remote stub, or kernel-development workflow. The upstream GDB manual's core workflow is unchanged: load a program or symbols, run or connect to a target, set breakpoints, inspect registers and variables, and step through execution.
For package users, the significant detail is the executable prefix. Scripts, Makefiles, and OS-development tutorials can call i386-elf-gdb explicitly and stay separate from /usr/bin/gdb or an unprefixed Homebrew GDB.
This is a classic cross-toolchain package: upstream GDB is broad and old, while the package name encodes the target ABI. Package nerds care because target-prefixed GNU tools make reproducible cross environments possible without replacing the host compiler or debugger.
security posture
escape, surveillance, or offensive capability signal.
red risk · medium confidence · escape-surveillance-offensive
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
i386-elf-gdb | cli | global executable | |
i386-elf-gdb-add-index | cli | global executable | |
i386-elf-gstack | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/gdb/
install metadata
| Package key | brew:i386-elf-gdb |
|---|---|
| Version | 17.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/i386-elf-gdb |
| Homepage | https://www.gnu.org/software/gdb/ |
| Repository | https://sourceware.org/git/binutils-gdb.git |
| Upstream docs | https://sourceware.org/gdb/documentation |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz |
| Last updated | 2026-05-10T20:39:27Z |
| Pulse | updated |
| Dependencies | gmp, mpfr, ncurses, python@3.14, readline, xz, zstd |
| Build dependencies | pkgconf, texinfo |
| Uses from macOS | expat |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | i386-elf-gdb |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.