From bcfca652788772654e59e10ff8d9bf8f10a88cf8 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 8 Nov 2004 20:42:53 +0000 Subject: [PATCH] * m68kbsd-nat.c: Include "inf-ptrace.h". (_initialize_m68kbsd_nat): Fix pasto. * Makefile.in (m68kbsd-nat.o): Update dependencies. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 3 ++- gdb/m68kbsd-nat.c | 5 +++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6335fa043e..c3058d32b0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-11-08 Mark Kettenis + + * m68kbsd-nat.c: Include "inf-ptrace.h". + (_initialize_m68kbsd_nat): Fix pasto. + * Makefile.in (m68kbsd-nat.o): Update dependencies. + 2004-11-08 Randolph Chung * infrun.c (debug_infrun): New variable. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ec946c6fa7..37dd34fd31 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2179,7 +2179,8 @@ m68hc11-tdep.o: m68hc11-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \ $(arch_utils_h) $(regcache_h) $(reggroups_h) $(target_h) \ $(opcode_m68hc11_h) $(elf_m68hc11_h) $(elf_bfd_h) m68kbsd-nat.o: m68kbsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \ - $(regcache_h) $(gdb_assert_h) $(m68k_tdep_h) $(bsd_kvm_h) + $(regcache_h) $(gdb_assert_h) $(m68k_tdep_h) $(inf_ptrace_h) \ + $(bsd_kvm_h) m68kbsd-tdep.o: m68kbsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \ $(regcache_h) $(regset_h) $(gdb_assert_h) $(gdb_string_h) \ $(m68k_tdep_h) $(solib_svr4_h) diff --git a/gdb/m68kbsd-nat.c b/gdb/m68kbsd-nat.c index dbb569d40d..d84d85cae0 100644 --- a/gdb/m68kbsd-nat.c +++ b/gdb/m68kbsd-nat.c @@ -30,6 +30,7 @@ #include #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. */