pkg.soopen package index

brew / rank 3628

Install riscv64-elf-gdb with Homebrew, pacman

GNU debugger for riscv64-elf cross development. Version 17.2 via Homebrew; verified 2026-09-12. Also installable with pacman: sudo pacman -S riscv64-elf-gdb.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install riscv64-elf-gdb

local Homebrew formula metadata

overview

Package summary

GNU debugger for riscv64-elf cross development

Commands and aliases

  • riscv64-elf-gdb
  • riscv64-elf-gdb-add-index
  • riscv64-elf-gstack

history

Project history and usage

RISC-V 64-bit ELF GDB is a target-prefixed build of the GNU Project Debugger for inspecting RISC-V ELF programs from a development host. It provides the familiar GDB command language, symbolic debugging, breakpoints, register inspection, remote debugging, and scripting in a cross-toolchain context.

Project history

Richard Stallman was GDB's original author. Its official release archive contains versions from the 2.x era in 1988, and subsequent development accumulated support for numerous languages, object formats, processors, remote targets, and debugging protocols.

The riscv64-elf-gdb formula packages GDB for RISC-V 64-bit ELF cross-development rather than representing an independent debugger codebase.

Adoption history

GDB became a foundational debugger across GNU and Unix-like development environments. This package specializes that established debugger for bare-metal or cross-compiled 64-bit RISC-V ELF targets.

How it is used

Invoke riscv64-elf-gdb with a RISC-V ELF executable, then run it through a supported execution environment or connect to a remote target. User initialization commands can be placed in the documented GDB init files; GDB checks different preferred locations on non-Apple and Apple hosts.

Why package nerds care

Cross-prefixed GDB packages expose target-specific debugger binaries without replacing the host debugger. They are important in package ecosystems because they complete a cross-development toolchain alongside a compiler, binutils, C library, emulator, or hardware debug probe.

Timeline

  • 1988: Official GDB archives begin with releases from the 2.4/2.8 era.
  • 2025: GDB 17.1 added debugging-related support for rv64gc architectures.
  • 2026: GDB 17.2 became the current official release during this review.

Related projects

  • GNU Binutils shares the official binutils-gdb source repository.
  • GCC commonly produces the debug information consumed by GDB.
  • RISC-V cross-compilers, OpenOCD, QEMU, and hardware probes commonly occupy adjacent parts of a RISC-V debugging toolchain.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for riscv64-elf-gdb. Package metadata is still published here so future coverage has a stable package URL.

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.

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/gdbinit~/.config/gdb/gdbinit~/.gdbinit
macOS
~/Library/Preferences/gdb/gdbinit~/.gdbinit

executables

Installed executables

CommandKindExposureNote
riscv64-elf-gdbcliglobal executable
riscv64-elf-gdb-add-indexcliglobal executable
riscv64-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-09-19
manager version17.2
manager updated2026-09-12
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:riscv64-elf-gdb
Version17.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/riscv64-elf-gdb
Homepagehttps://www.gnu.org/software/gdb/
Upstream docshttps://www.gnu.org/software/gdb/
LicenseGPL-3.0-or-later
Source archivehttps://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz
Last updated2026-09-12T10:53:38Z
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 Nameriscv64-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 database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

pacman95%

riscv64-elf-gdb 17.1-2

The GNU Debugger for the RISCV64 (bare-metal) target

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

sudo pacman -S riscv64-elf-gdb
  • License: GPL3
  • Architecture: x86_64
  • 9 dependencies
  • normalized package name match
  • Matched by: Riscv64 Elf Gdb
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: riscv64-elf-gdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

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

  • 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
  • pkg.so package database
  • pkgdb category and tag curation