Git sucks!
authorMark Kettenis <kettenis@gnu.org>
Sat, 3 May 2014 20:43:16 +0000 (22:43 +0200)
committerMark Kettenis <kettenis@gnu.org>
Sat, 3 May 2014 20:43:16 +0000 (22:43 +0200)
gdb/ppcobsd-nat.c

index d4cb78b24fc158543eb25ab6e83b1cda34c43e47..1aa56d01b47f64bef50c610a5ed115f5cbf4e31a 100644 (file)
@@ -34,6 +34,7 @@
 #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
@@ -199,7 +200,7 @@ _initialize_ppcobsd_nat (void)
   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);