Fix build for aarch64, arm, and riscv FreeBSD native targets.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 16 Jul 2019 00:21:36 +0000 (17:21 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 16 Jul 2019 00:21:36 +0000 (17:21 -0700)
commit206e6c58a769f9ec63827b8ca3952b0cd8c828ba
treea100f807ade8ea17e7c9a0a9cf1d4a881bb58ef6
parentcbde90f25ec66b359c90514a50bbf25d122bb7e3
Fix build for aarch64, arm, and riscv FreeBSD native targets.

Remove unused gdbarch argument to helper functions originally
copied from mips-fbsd-nat.c.  Include regcache.h previously
included from defs.h via gdbarch.h.

gdb/ChangeLog:

* aarch64-fbsd-nat.c: Include regcache.h.
(getregs_supplies, getfpregs_supplies): Remove unused gdbarch
argument.
(aarch64_fbsd_nat_target::fetch_registers)
(aarch64_fbsd_nat_target::store_registers): Remove gdbarch
variable.
* arm-fbsd-nat.c, riscv-fbsd-nat.c: Likewise.
gdb/ChangeLog
gdb/aarch64-fbsd-nat.c
gdb/arm-fbsd-nat.c
gdb/riscv-fbsd-nat.c