# x86_64-elf-gdb を Homebrew でインストール

x86_64-elf-gdb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:x86_64-elf-gdb
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install x86_64-elf-gdb
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:x86_64-elf-gdb
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/x86_64-elf-gdb>
- **バージョン:** 17.2
- **ソース概要:** GNU debugger for x86_64-elf cross development
- **ホームページ:** <https://www.gnu.org/software/gdb/>
- **上流ドキュメント:** <https://www.gnu.org/software/gdb/>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz>
- **最終更新:** 2026-05-10T20:39:27Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- x86_64-elf-gdb (cli)
- x86_64-elf-gdb-add-index (cli)
- x86_64-elf-gstack (cli)
- x86_64-elf-gdb (エイリアス)
- x86_64-elf-gdb-add-index (エイリアス)
- x86_64-elf-gstack (エイリアス)

## 依存関係

- gmp
- mpfr
- ncurses
- python@3.14
- readline
- xz
- zstd

## ビルド依存関係

- pkgconf
- texinfo

## macOS 提供ライブラリ

- expat

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 17.2
- マネージャ更新日: 2026-05-10
- ローカルデータ: OK
- 上流リポジトリ: https://www.gnu.org/software/gdb/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- <https://en.wikipedia.org/wiki/GNU_Debugger>
- <https://sourceware.org/gdb/current/onlinedocs/gdb.html/Configure-Options.html>
- <https://sourceware.org/gdb/current/onlinedocs/gdb.html/Remote-Debugging.html>
- <https://wiki.osdev.org/GDB>
- <https://www.gnu.org/software/gdb/>


## セキュリティノート

escape, surveillance, or offensive capability signal.

- **Geiger リスク:** red / 中
- escape, surveillance, or offensive capability signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** x86_64-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:** head, stable


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [xz](https://pkg.so/ja/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://pkg.so/ja/brew/zstd/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [ncurses](https://pkg.so/ja/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [texinfo](https://pkg.so/ja/brew/texinfo/) - Build dependency declared by Homebrew.
- [gdb](https://pkg.so/ja/brew/gdb/) - Shares the same upstream homepage.
- [arm-none-eabi-gdb](https://pkg.so/ja/brew/arm-none-eabi-gdb/) - Shares the same upstream homepage.
- [riscv64-elf-gdb](https://pkg.so/ja/brew/riscv64-elf-gdb/) - Shares the same upstream homepage.
- [aarch64-elf-gdb](https://pkg.so/ja/brew/aarch64-elf-gdb/) - Shares the same upstream homepage.
- [i386-elf-gdb](https://pkg.so/ja/brew/i386-elf-gdb/) - Shares the same upstream homepage.
- [x86_64-linux-gnu-binutils](https://pkg.so/ja/brew/x86-64-linux-gnu-binutils/) - Shares pkgdb curated category or tags: cli, cross-development, developer-tools, gnu, x86-64.
- [x86_64-elf-binutils](https://pkg.so/ja/brew/x86-64-elf-binutils/) - Shares pkgdb curated category or tags: cli, cross-development, developer-tools, gnu.
- [m68k-elf-gcc](https://pkg.so/ja/brew/m68k-elf-gcc/) - Shares pkgdb curated category or tags: cli, developer-tools, elf, gnu.
- [ddd](https://pkg.so/ja/brew/ddd/) - Shares pkgdb curated category or tags: cli, debugger, developer-tools, gnu.
- [gettext](https://pkg.so/ja/brew/gettext/) - Shares pkgdb curated category or tags: cli, developer-tools, gnu.

## Combined YAML source

View the package source record on GitHub. [combined/x86_64-elf-gdb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/x86_64-elf-gdb.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
