Add FreeBSD/riscv architecture.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 8 Oct 2018 21:47:34 +0000 (14:47 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 8 Oct 2018 21:47:34 +0000 (14:47 -0700)
commited65e20bc7cd18406081cf5ba29f9c9bccd4e52f
tree315e35b2218dd1c0b5f963b6d40b4ed18bae8414
parent498f740792fe0edd2955c5cee6bb864f60a5b173
Add FreeBSD/riscv architecture.

Support for collecting and supplying general purpose and floating
point register sets is provided along with signal frame unwinding.

FreeBSD only supports RV64 currently, so while some provision is made
for RV32 in the general-purpose register set, the changes have only
been tested on RV64.

gdb/ChangeLog:

* Makefile.in (ALL_TARGET_OBS): Add riscv-fbsd-tdep.o.
(HFILES_NO_SRCDIR): Add riscv-fbsd-tdep.h.
(ALLDEPFILES): Add riscv-fbsd-tdep.c.
* NEWS: Mention new FreeBSD/riscv target.
* configure.tgt: Add riscv*-*-freebsd*.
* riscv-fbsd-tdep.c: New file.
* riscv-fbsd-tdep.h: New file.
gdb/ChangeLog
gdb/Makefile.in
gdb/NEWS
gdb/configure.tgt
gdb/riscv-fbsd-tdep.c [new file with mode: 0644]
gdb/riscv-fbsd-tdep.h [new file with mode: 0644]