diff options
author | Mark Kettenis <kettenis@gnu.org> | 2014-05-03 22:43:16 +0200 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2014-05-03 22:43:16 +0200 |
commit | 6ddd353ce073cb5ed6baedfb809bfb427342e7cd (patch) | |
tree | e31149daeddb9f03798aa4ce398320d03f0cb012 /gdb/ppcobsd-nat.c | |
parent | 07284463de87545ab155200c83cbeb05db575b2b (diff) | |
download | gdb-6ddd353ce073cb5ed6baedfb809bfb427342e7cd.zip gdb-6ddd353ce073cb5ed6baedfb809bfb427342e7cd.tar.gz gdb-6ddd353ce073cb5ed6baedfb809bfb427342e7cd.tar.bz2 |
Git sucks!
Diffstat (limited to 'gdb/ppcobsd-nat.c')
-rw-r--r-- | gdb/ppcobsd-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ppcobsd-nat.c b/gdb/ppcobsd-nat.c index d4cb78b..1aa56d0 100644 --- a/gdb/ppcobsd-nat.c +++ b/gdb/ppcobsd-nat.c @@ -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); |