Add FreeBSD/arm architecture.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 11 Oct 2017 18:16:34 +0000 (11:16 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 11 Oct 2017 18:16:34 +0000 (11:16 -0700)
commit7176dfd28d1a2a74e6d8dd698aeb857eb6edfb98
treef719df7c741cb3208388b2a94a665c5c5f691fb3
parent39865a7f420ab4ca4dec6ed27339618a5d5dc366
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.
gdb/ChangeLog
gdb/Makefile.in
gdb/NEWS
gdb/arm-fbsd-tdep.c [new file with mode: 0644]
gdb/arm-fbsd-tdep.h [new file with mode: 0644]
gdb/configure.tgt