Automic VaultAutomic Vault

brew

Install x86_64-elf-gdb with Homebrew

GNU debugger for x86_64-elf cross development. Version 17.2 via Homebrew; verified 2026-05-10.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install x86_64-elf-gdb

local Homebrew formula metadata

overview

Package summary

GNU debugger for x86_64-elf cross development

Commands and aliases

  • x86_64-elf-gdb
  • x86_64-elf-gdb-add-index
  • x86_64-elf-gstack

history

Project history and usage

GNU GDB is the GNU Project's portable source-level debugger. It is used to inspect a program while it runs, examine crashes, set breakpoints and watchpoints, inspect memory and registers, and change state during a debugging session.

The x86_64-elf variant packages GDB as a cross-debugger for bare-metal or freestanding x86-64 ELF targets rather than for the host operating system. That matters in OS development, firmware, kernels, and emulator workflows where the program being debugged cannot run a full debugger locally.

Project history

GDB was first written by Richard Stallman in 1986 as part of the GNU system, after GNU Emacs had become reasonably stable. It was modeled after the dbx debugger from Berkeley Unix and released as free software under the GNU General Public License.

From 1990 to 1993 GDB was maintained by John Gilmore; it is now maintained by the GDB Steering Committee appointed by the Free Software Foundation. Development lives in the shared sourceware binutils-gdb repository, reflecting GDB's long technical relationship with BFD, object-file formats, assemblers, linkers, and the rest of the GNU toolchain.

Adoption history

GDB became the standard debugger in much of the GNU, Unix-like, and embedded-toolchain world because it runs on common host systems while targeting many architectures and languages. Its command-line interface, machine interface, Python scripting, remote protocol, and IDE integrations made it useful both as a standalone tool and as plumbing underneath graphical debuggers and editors.

Remote debugging is central to its adoption outside ordinary user-space programs. The GDB manual describes remote debugging for systems that cannot run GDB normally, such as operating-system kernels and small systems without a general-purpose OS; OS development guides commonly pair GDB with QEMU, Bochs, serial stubs, or kernel stubs.

How it is used

Users install x86_64-elf-gdb when their target binary is an x86-64 ELF image independent of the host ABI. The target-prefixed executable keeps the debugger configured for cross-debugging and avoids accidentally treating a freestanding kernel, boot component, or emulator-loaded image as a native macOS or Linux process.

Typical sessions load symbols from a kernel or firmware ELF file, connect to a remote target with commands such as target remote localhost:1234, set breakpoints in early boot or kernel code, inspect registers and memory, and single-step code running under QEMU, Bochs, hardware stubs, or another simulator.

Why package nerds care

For package users, the important bit is the GNU target tuple in the executable name. x86_64-elf-gdb belongs with x86_64-elf-gcc and x86_64-elf-binutils in the classic bare-metal cross-toolchain stack used by OSDev tutorials and hobby kernels.

Timeline

  • 1986: Richard Stallman writes the first GDB as part of the GNU system.
  • 1990-1993: John Gilmore maintains GDB.
  • 2000s: GDB's remote debugging and machine-interface roles become core to embedded, IDE, and kernel workflows.
  • 2020s: GDB continues in the sourceware binutils-gdb repository with active support for many languages, architectures, and remote targets.

Related projects

  • GNU Binutils supplies the object-file and disassembly ecosystem GDB depends on.
  • GCC commonly emits the debug information that GDB consumes.
  • QEMU and Bochs are common emulator partners for x86_64-elf remote debugging.

security posture

Risk level: red

escape, surveillance, or offensive capability signal.

Risk classifier

red risk · medium confidence · escape-surveillance-offensive

Why

  • escape, surveillance, or offensive capability signal

Signals

  • text:debugger

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 7 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
x86_64-elf-gdbcliglobal executable
x86_64-elf-gdb-add-indexcliglobal executable
x86_64-elf-gstackcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version17.2
manager updated2026-05-10
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:x86_64-elf-gdb
Version17.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/x86_64-elf-gdb
Homepagehttps://www.gnu.org/software/gdb/
Repositoryhttps://sourceware.org/git/binutils-gdb.git
Upstream docshttps://sourceware.org/gdb/current/onlinedocs/gdb
LicenseGPL-3.0-or-later
Source archivehttps://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz
Last updated2026-05-10T20:39:27Z
Pulseupdated
Dependenciesgmp, mpfr, ncurses, python@3.14, readline, xz, zstd
Build dependenciespkgconf, texinfo
Uses from macOSexpat
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namex86_64-elf-gdb
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment