riscv64-elf-gdb
« Back to VersTracker
Description:
GNU debugger for riscv64-elf cross development
Type: Formula  |  Latest Version: 16.3@0  |  Tracked Since: Dec 20, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: riscv embedded debugger cross-compile gnu
Install: brew install riscv64-elf-gdb
About:
riscv64-elf-gdb is a specialized build of the GNU Debugger (GDB) targeting the 64-bit RISC-V architecture in an embedded context. It enables developers to inspect program state, control execution, and debug low-level code on bare-metal systems or embedded operating systems. This tool is essential for diagnosing complex issues in firmware and hardware-level applications.
Key Features:
  • Hardware-specific register inspection for RISC-V
  • Breakpoint and watchpoint management for bare-metal code
  • Remote debugging support via GDB stubs (e.g., OpenOCD)
  • Symbolic debugging with DWARF information
Use Cases:
  • Debugging RISC-V firmware and bootloaders
  • Analyzing crashes in embedded Linux applications
  • Developing low-level drivers for RISC-V hardware
Alternatives:
  • LLVM/Clang (lldb) – Offers a modern alternative debugger, but GDB remains the standard for many embedded GNU toolchains.
  • Simulators (e.g., QEMU) – Useful for early-stage software testing without hardware, but lacks the ability to debug physical hardware issues.
Version History
Detected Version Rev Change Commit
Dec 20, 2025 5:55pm 16.3 0 VERSION_BUMP 27475b01
Oct 18, 2025 4:43pm 0 VERSION_BUMP 458ea720
Oct 18, 2025 10:52am 0 VERSION_BUMP 8eee3341
Sep 30, 2024 9:49am 0 VERSION_BUMP 90baea8d
Sep 14, 2024 12:50am 0 VERSION_BUMP 013c8feb