aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/alpha
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-07-31 20:15:50 +0000
committerMark Kettenis <kettenis@gnu.org>2006-07-31 20:15:50 +0000
commit4816ec693b135323fdac7646368873c269d8eb8e (patch)
treea4103d85ac167c003d9d4ecd90d5c455361366f4 /gdb/config/alpha
parent35d5d4ee3dee63dffe7bba8ae8b00f9d2679932b (diff)
downloadgdb-4816ec693b135323fdac7646368873c269d8eb8e.zip
gdb-4816ec693b135323fdac7646368873c269d8eb8e.tar.gz
gdb-4816ec693b135323fdac7646368873c269d8eb8e.tar.bz2
* alpha-tdep.h (ALPHA_S0_REGNUM): New define.
* alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>, <machine/pcb.h> and "bsd-kvm.h". (alphabsd_supply_pcb): New function. (_initialize_alphabsd_nat): Enable libkvm interface. * Makefile.in (alphabsd-nat.o): Update dependencies. * config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable. * config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable.
Diffstat (limited to 'gdb/config/alpha')
-rw-r--r--gdb/config/alpha/fbsd.mh4
-rw-r--r--gdb/config/alpha/nbsd.mh4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/config/alpha/fbsd.mh b/gdb/config/alpha/fbsd.mh
index 9765ad9..e189426 100644
--- a/gdb/config/alpha/fbsd.mh
+++ b/gdb/config/alpha/fbsd.mh
@@ -1,4 +1,6 @@
# Host: FreeBSD/alpha
NATDEPFILES= fork-child.o inf-ptrace.o \
- fbsd-nat.o alphabsd-nat.o \
+ fbsd-nat.o alphabsd-nat.o bsd-kvm.o \
gcore.o corelow.o core-regset.o
+
+LOADLIBES= -lkvm
diff --git a/gdb/config/alpha/nbsd.mh b/gdb/config/alpha/nbsd.mh
index b6ab74b..b4185a7 100644
--- a/gdb/config/alpha/nbsd.mh
+++ b/gdb/config/alpha/nbsd.mh
@@ -1,2 +1,4 @@
# Host: NetBSD/alpha
-NATDEPFILES= fork-child.o inf-ptrace.o alphabsd-nat.o
+NATDEPFILES= fork-child.o inf-ptrace.o alphabsd-nat.o bsd-kvm.o
+
+LOADLIBES= -lkvm