aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-07-03 15:14:48 +0000
committerMark Kettenis <kettenis@gnu.org>2004-07-03 15:14:48 +0000
commitcb162ff6d2f8e63220d7a488e003cffcc523c1e8 (patch)
tree9df7879c61f44a3cacc7078652675bff29152e05 /gdb/config/m68k
parentfdb1bf9d273f0072db56e3d783c6db653122b8d0 (diff)
downloadgdb-cb162ff6d2f8e63220d7a488e003cffcc523c1e8.zip
gdb-cb162ff6d2f8e63220d7a488e003cffcc523c1e8.tar.gz
gdb-cb162ff6d2f8e63220d7a488e003cffcc523c1e8.tar.bz2
* m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h". (PCB_REGS_FP, PCB_REGS_SP): Define if not already defined. (m68kbsd_supply_pcb): New function. (_initialize_m68kbsd_nat): New prototype and function. * Makefile.in (m68kbsd-nat.o): Update dependencies. * config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable. * config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r--gdb/config/m68k/nbsdelf.mh4
-rw-r--r--gdb/config/m68k/obsd.mh4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/config/m68k/nbsdelf.mh b/gdb/config/m68k/nbsdelf.mh
index d15e132..1823f32 100644
--- a/gdb/config/m68k/nbsdelf.mh
+++ b/gdb/config/m68k/nbsdelf.mh
@@ -1,3 +1,5 @@
# Host: NetBSD/m68k ELF
-NATDEPFILES= m68kbsd-nat.o fork-child.o infptrace.o inftarg.o
+NATDEPFILES= m68kbsd-nat.o bsd-kvm.o fork-child.o infptrace.o inftarg.o
NAT_FILE= nm-nbsd.h
+
+LOADLIBES= -lkvm \ No newline at end of file
diff --git a/gdb/config/m68k/obsd.mh b/gdb/config/m68k/obsd.mh
index e188538..54e4e9d 100644
--- a/gdb/config/m68k/obsd.mh
+++ b/gdb/config/m68k/obsd.mh
@@ -1,4 +1,6 @@
# Host: OpenBSD/m68k
-NATDEPFILES= m68kbsd-nat.o fork-child.o infptrace.o inftarg.o \
+NATDEPFILES= m68kbsd-nat.o bsd-kvm.o fork-child.o infptrace.o inftarg.o \
solib.o solib-sunos.o
NAT_FILE= nm-nbsdaout.h
+
+LOADLIBES= -lkvm