/* Native-dependent code for BSD Unix running on ARM's, for GDB.
- Copyright (C) 1988-2019 Free Software Foundation, Inc.
+ Copyright (C) 1988-2020 Free Software Foundation, Inc.
This file is part of GDB.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-
-/* Standard C includes. */
-#include <machine/frame.h>
-#include <machine/reg.h>
-#include <sys/ptrace.h>
-#include <sys/types.h>
-
-/* Local non-gdb includes. */
-#include "arm-tdep.h"
#include "gdbcore.h"
-#include "inf-ptrace.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"
+#include <sys/types.h>
+#include <sys/ptrace.h>
+#include <machine/reg.h>
+#include <machine/frame.h>
+
+#include "arm-tdep.h"
+#include "inf-ptrace.h"
class arm_netbsd_nat_target final : public inf_ptrace_target
{
static arm_netbsd_nat_target the_arm_netbsd_nat_target;
-extern int arm_apcs_32;
-
static void
arm_supply_gregset (struct regcache *regcache, struct reg *gregset)
{
static struct core_fns arm_netbsd_elfcore_fns =
{
- bfd_target_elf_flavour, /* core_flovour. */
+ bfd_target_elf_flavour, /* core_flavour. */
default_check_format, /* check_format. */
default_core_sniffer, /* core_sniffer. */
fetch_elfcore_registers, /* core_read_registers. */