From ed65e20bc7cd18406081cf5ba29f9c9bccd4e52f Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 8 Oct 2018 14:47:34 -0700 Subject: 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/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/Makefile.in') diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 5b3a952..b1e9436 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -744,6 +744,7 @@ ALL_TARGET_OBS = \ ppc-sysv-tdep.o \ ppc64-tdep.o \ ravenscar-thread.o \ + riscv-fbsd-tdep.o \ riscv-linux-tdep.o \ riscv-tdep.o \ rl78-tdep.o \ @@ -1338,6 +1339,7 @@ HFILES_NO_SRCDIR = \ remote.h \ remote-fileio.h \ remote-notif.h \ + riscv-fbsd-tdep.h \ riscv-tdep.h \ rs6000-aix-tdep.h \ rs6000-tdep.h \ @@ -2306,6 +2308,7 @@ ALLDEPFILES = \ procfs.c \ ravenscar-thread.c \ remote-sim.c \ + riscv-fbsd-tdep.c \ riscv-linux-nat.c \ riscv-linux-tdep.c \ riscv-tdep.c \ -- cgit v1.1