[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: RISC-V 32-bit GDB
From:       Brooks Davis <brooks () freebsd ! org>
Date:       2023-11-13 21:28:59
Message-ID: ZVKVG--090xW6KS3 () spindle ! one-eyed-alien ! net
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic