macOS
brew install riscv64-elf-gdblocal Homebrew formula metadata
brew / rank 3628
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
brew install riscv64-elf-gdblocal Homebrew formula metadata
sudo pacman -S riscv64-elf-gdbArch Linux sync databases · riscv64-elf-gdb · source: geo.mirror.pkgbuild.com
overview
GNU debugger for riscv64-elf cross development
history
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.
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.
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.
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.
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.
security posture
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.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/gdb/gdbinit~/.config/gdb/gdbinit~/.gdbinit~/Library/Preferences/gdb/gdbinit~/.gdbinitexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
riscv64-elf-gdb | cli | global executable | |
riscv64-elf-gdb-add-index | cli | global executable | |
riscv64-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:riscv64-elf-gdb |
|---|---|
| Version | 17.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/riscv64-elf-gdb |
| Homepage | https://www.gnu.org/software/gdb/ |
| Upstream docs | https://www.gnu.org/software/gdb/ |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz |
| Last updated | 2026-09-12T10:53:38Z |
| 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 | riscv64-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 database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-gdbsource 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.