diff options
Diffstat (limited to 'gdb/m68kbsd-nat.c')
-rw-r--r-- | gdb/m68kbsd-nat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/m68kbsd-nat.c b/gdb/m68kbsd-nat.c index dbb569d..d84d85c 100644 --- a/gdb/m68kbsd-nat.c +++ b/gdb/m68kbsd-nat.c @@ -30,6 +30,7 @@ #include <machine/reg.h> #include "m68k-tdep.h" +#include "inf-ptrace.h" static int m68kbsd_gregset_supplies_p (int regnum) @@ -226,8 +227,8 @@ _initialize_m68kbsd_nat (void) struct target_ops *t; t = inf_ptrace_target (); - t->to_fetch_registers = vaxbsd_fetch_inferior_registers; - t->to_store_registers = vaxbsd_store_inferior_registers; + t->to_fetch_registers = m68kbsd_fetch_inferior_registers; + t->to_store_registers = m68kbsd_store_inferior_registers; add_target (t); /* Support debugging kernel virtual memory images. */ |