Re: RISC-V 32-bit GDB
- In reply to: jbo_a_insane.engineer: "RISC-V 32-bit GDB"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Nov 2023 21:28:59 UTC
On Mon, Nov 13, 2023 at 04:37:48PM +0000, jbo@insane.engineer wrote: > Hi, > > I'm about to do some work on a RISC-V 32-Bit based system. While I won't > be running FreeBSD on the device, I'd like to keep FreeBSD as my host > development environment. > > I noticed that we have devel/riscv32-unknown-elf-gcc in ports. However, > I'd also need a suitable instance of GDB. > > On Debian, the gdb-multiarch package provides a sufficiently multiarch'd > version of GDB. Do we have something similar available? Modern gdb is multiarch by default so devel/gdb should work. gcc and binutils remain single target so you need a copy for each target. -- Brooks