aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-11-08 20:42:53 +0000
committerMark Kettenis <kettenis@gnu.org>2004-11-08 20:42:53 +0000
commitbcfca652788772654e59e10ff8d9bf8f10a88cf8 (patch)
tree6527305ab9a11f50eabe54c07292a175352368ce
parent30e91e0bc824050adbddc7812287ad9c6c15674a (diff)
downloadgdb-bcfca652788772654e59e10ff8d9bf8f10a88cf8.zip
gdb-bcfca652788772654e59e10ff8d9bf8f10a88cf8.tar.gz
gdb-bcfca652788772654e59e10ff8d9bf8f10a88cf8.tar.bz2
* m68kbsd-nat.c: Include "inf-ptrace.h".
(_initialize_m68kbsd_nat): Fix pasto. * Makefile.in (m68kbsd-nat.o): Update dependencies.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in3
-rw-r--r--gdb/m68kbsd-nat.c5
3 files changed, 11 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6335fa0..c3058d3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-08 Mark Kettenis <kettenis@gnu.org>
+
+ * m68kbsd-nat.c: Include "inf-ptrace.h".
+ (_initialize_m68kbsd_nat): Fix pasto.
+ * Makefile.in (m68kbsd-nat.o): Update dependencies.
+
2004-11-08 Randolph Chung <tausq@debian.org>
* infrun.c (debug_infrun): New variable.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ec946c6..37dd34f 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 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. */