riscv64-elf-gdb

GNU debugger for RISC-V 64-bit embedded systems cross-compilation

brewmacoslinux
Try with needOr install directly
Source

About

GNU debugger for riscv64-elf cross development

Commands

riscv64-unknown-elf-gdbriscv64-elf-gdb

Examples

Start debugging a RISC-V ELF binary$ riscv64-unknown-elf-gdb ./firmware.elf
Connect to remote GDB server on target hardware$ riscv64-unknown-elf-gdb -ex 'target remote localhost:3333' ./firmware.elf
Load symbols and set breakpoint at main function$ riscv64-unknown-elf-gdb -ex 'break main' -ex 'run' ./firmware.elf