Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, pacman 安装 arm-none-eabi-gdb

查看 arm-none-eabi-gdb 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install arm-none-eabi-gdb

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install arm-none-eabi-gdb

MacPorts ports tree · cross/arm-none-eabi-gdb/Portfile · 来源: api.github.com

Linux

Arch Linux pacman已验证 · 92%
sudo pacman -S arm-none-eabi-gdb

Arch Linux sync databases · arm-none-eabi-gdb · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

GNU debugger for arm-none-eabi cross development

命令和别名

  • arm-none-eabi-gdb
  • arm-none-eabi-gdb-add-index
  • arm-none-eabi-gstack

历史

项目历史与用法

arm-none-eabi-gdb is the Homebrew-packaged GNU Debugger built for the ARM bare-metal target tuple. The upstream project is GDB itself: the GNU Project debugger maintained at Sourceware in the shared binutils-gdb repository, with the formula name exposing the embedded cross-debugging target rather than a separate upstream project.

项目历史

GDB is one of the long-running GNU development tools. Sourceware's old-release archive lists GDB 2.0 in February 1987 and a long sequence of 2.x, 3.x, 4.x, and later releases, while the current manual is maintained by the Free Software Foundation and Sourceware. The project moved into the Sourceware-hosted binutils-gdb Git repository, where current sources, release branches, generated manuals, bug tracking, and release notes are published.

For package users, arm-none-eabi-gdb matters because GDB's target architecture support can be packaged separately from the host debugger. The `arm-none-eabi` tuple conventionally points at ARM embedded systems without an operating-system ABI, so this package sits next to cross GCC, binutils, OpenOCD, vendor board SDKs, and firmware build systems rather than ordinary host-native debugging.

采用历史

GDB became a default debugger in Unix-like development environments because it can debug native programs, remote targets, simulators, and many languages from a single CLI. Sourceware's project page explicitly describes native, remote, and simulator operation, which is exactly the capability embedded developers rely on when a workstation debugger talks to a microcontroller through a probe or debug server.

The cross-target package form reflects adoption by embedded toolchains and package managers: users install a target-specific binary named `arm-none-eabi-gdb` so scripts and IDE integrations can call the debugger that matches the rest of the ARM bare-metal toolchain.

使用方式

Typical use is command-line or IDE-driven debugging of firmware ELF files, often connecting to a remote target such as `gdbserver` or an embedded debug server. GDB startup reads early init files, system init files, home init files, local `.gdbinit`, command files, and command-line `-ex` or `-x` commands, which is why package users care about the exact init-file paths.

The package installs executables such as `arm-none-eabi-gdb`, `arm-none-eabi-gdb-add-index`, and `arm-none-eabi-gstack`, according to the supplied package facts.

为什么软件包爱好者会关心

This is a good example of a package name encoding a compiler target triple. The upstream repo is GDB, but the package identity is the cross-debugger binary name, so metadata needs to avoid inventing a separate `arm-none-eabi-gdb` upstream while still preserving the target-specific executable users actually install.

Its config story is unusually important for curation because GDB loads both global and per-directory initialization files, and local `.gdbinit` behavior is a common source of convenience, reproducibility, and security policy decisions.

时间线

  • 1987: Sourceware's old-release archive lists gdb-2.0.
  • 1999: Sourceware lists pre- and post-reformat GDB source snapshots.
  • 2025: GDB 17.1 released with debugger adapter protocol, Python, Guile, and target-support changes.
  • 2026: GDB 17.2 released as a corrective release.

Related projects

  • GNU Binutils shares the upstream binutils-gdb repository.
  • GNU GCC and the `arm-none-eabi` cross toolchain are common companions.
  • OpenOCD, pyOCD, and vendor debug servers commonly provide the remote target endpoint used by embedded GDB sessions.

安全态势

风险级别:red

escape, surveillance, or offensive capability signal.

风险分类器

red 风险 · 中 置信度 · escape-surveillance-offensive

原因

  • escape, surveillance, or offensive capability signal

信号

  • text:debugger

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 7 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
$XDG_CONFIG_HOME/gdb/gdbearlyinit~/.config/gdb/gdbearlyinit~/.gdbearlyinitsystem.gdbinitsystem.gdbinit.d$XDG_CONFIG_HOME/gdb/gdbinit~/.config/gdb/gdbinit~/.gdbinit.gdbinit
macOS
~/Library/Preferences/gdb/gdbearlyinit~/.gdbearlyinitsystem.gdbinitsystem.gdbinit.d~/Library/Preferences/gdb/gdbinit~/.gdbinit.gdbinit

可执行文件

已安装的可执行文件

命令类型暴露范围备注
arm-none-eabi-gdbcli全局可执行文件
arm-none-eabi-gdb-add-indexcli全局可执行文件
arm-none-eabi-gstackcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本17.2
管理器更新时间2026-05-10
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:arm-none-eabi-gdb
版本17.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/arm-none-eabi-gdb
主页https://www.gnu.org/software/gdb/
仓库https://sourceware.org/git/binutils-gdb.git
上游文档https://sourceware.org/gdb/current/onlinedocs/gdb.html
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz
最后更新2026-05-10T20:39:26Z
Pulseupdated
依赖gmp, mpfr, ncurses, python@3.14, readline, xz, zstd
构建依赖pkgconf, texinfo
macOS 提供的库expat
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

pacman95%

arm-none-eabi-gdb 17.1-1

The GNU Debugger for the ARM EABI (bare-metal) target

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

sudo pacman -S arm-none-eabi-gdb
  • License: GPL3
  • Architecture: x86_64
  • 9 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Arm None Eabi Gdb
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: arm-none-eabi-gdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

arm-none-eabi-gdb

sudo port install arm-none-eabi-gdb
  • normalized package name match
  • 匹配方式:Arm None Eabi Gdb
MacPorts ports tree · api.github.com · MacPorts ports tree: cross/arm-none-eabi-gdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment