/* Native-dependent code for OpenBSD/powerpc.
- Copyright (C) 2004-2014 Free Software Foundation, Inc.
+ Copyright (C) 2004-2015 Free Software Foundation, Inc.
This file is part of GDB.
#include "inferior.h"
#include "regcache.h"
-#include "gdb_assert.h"
-#include <stddef.h>
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/signal.h>
#include "ppc-tdep.h"
#include "ppcobsd-tdep.h"
#include "inf-ptrace.h"
+#include "obsd-nat.h"
#include "bsd-kvm.h"
/* OpenBSD/powerpc didn't have PT_GETFPREGS/PT_SETFPREGS until release
t = inf_ptrace_target ();
t->to_fetch_registers = ppcobsd_fetch_registers;
t->to_store_registers = ppcobsd_store_registers;
- add_target (t);
+ obsd_add_target (t);
/* General-purpose registers. */
ppcobsd_reg_offsets.r0_offset = offsetof (struct reg, gpr);