summaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-10-11 11:16:34 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2017-10-11 11:16:34 -0700
commit7176dfd28d1a2a74e6d8dd698aeb857eb6edfb98 (patch)
treef719df7c741cb3208388b2a94a665c5c5f691fb3 /gdb/configure.tgt
parent39865a7f420ab4ca4dec6ed27339618a5d5dc366 (diff)
downloadbinutils-gdb-7176dfd28d1a2a74e6d8dd698aeb857eb6edfb98.tar.gz
Add FreeBSD/arm architecture.
Support for collecting and supplying general purpose and floating point registers is provided along with signal frame unwinding. While FreeBSD/arm kernels do populate NT_FPREGSET notes, they are always zero-filled, so this implementation ignores them. Recent FreeBSD/arm kernels generate NT_ARM_VFP notes which are used to supply floating-point registers. As with Linux, the AT_HWCAP feature flags are used to determine the correct target description. gdb/ChangeLog: * Makefile.in (ALL_TARGET_OBS): Add arm-fbsd-tdep.o. (ALLDEPFILES): Add arm-fbsd-tdep.c. * NEWS: Mention new FreeBSD/arm target. * configure.tgt: Add arm*-*-freebsd*. * arm-fbsd-tdep.c: New file. * arm-fbsd-tdep.h: New file.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index f8677b4e311..1fce0798e24 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -160,6 +160,10 @@ arm*-*-linux*)
solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
build_gdbserver=yes
;;
+arm*-*-freebsd*)
+ # Target: FreeBSD/arm
+ gdb_target_obs="arm-fbsd-tdep.o"
+ ;;
arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
# Target: NetBSD/arm
gdb_target_obs="arm-nbsd-tdep.o"