[PATCH v2 4/4] Add native target for FreeBSD/riscv.

John Baldwin jhb@FreeBSD.org
Fri Sep 28 16:18:00 GMT 2018


On 9/27/18 1:04 PM, Simon Marchi wrote:
> On 2018-09-24 04:51 PM, John Baldwin wrote:
>> diff --git a/gdb/NEWS b/gdb/NEWS
>> index a191ae2714..4ae3adedc0 100644
>> --- a/gdb/NEWS
>> +++ b/gdb/NEWS
>> @@ -80,6 +80,7 @@ thread apply [all | COUNT | -COUNT] [FLAG]... COMMAND
>>  * New native configurations
>>  
>>  GNU/Linux/RISC-V		riscv*-*-linux*
>> +FreeBSD/riscv			riscv*-*-freebsd*
> 
> I just noticed that we write RISC-V in two different ways for GNU/Linux and
> FreeBSD: RISC-V and riscv.  It's not a big deal, but it looks a bit inconsistent.

To date when describing new FreeBSD targets in NEWS I have used the nomenclature
FreeBSD uses which is generally "FreeBSD/<arch>" where FreeBSD sometimes uses
different arch names (e.g. "amd64" instead of "x86-64", but also lowercase "mips"
vs "MIPS" as used for Linux or "aarch64" vs "AArch64").  It's the string that
shows up in most FreeBSD documentation for a given platform as well as at login
prompts on ttys, etc.  To that end it's kind of the closest thing FreeBSD has for
naming a port of FreeBSD to a given platform.  I had assumed that would be the
clearest way to describe FreeBSD targets.  It's just a cosmetic thing though.

-- 
John Baldwin

                                                                            



More information about the Gdb-patches mailing list