diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-10-12 22:18:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-10-12 22:18:55 +0000 |
commit | 1b9445c221ae5af50d982e82d241d11a4ac36764 (patch) | |
tree | d97ec0a303d4b007268519b5d3a56015b342cf5d /gdb/sparcnbsd-nat.c | |
parent | d52fe014d1263631d8b6691ad87e9b8e44468265 (diff) | |
download | gdb-1b9445c221ae5af50d982e82d241d11a4ac36764.zip gdb-1b9445c221ae5af50d982e82d241d11a4ac36764.tar.gz gdb-1b9445c221ae5af50d982e82d241d11a4ac36764.tar.bz2 |
* sparc-nat.c: Include "inf-ptrace.h".
(sparc_target): New function.
* sparc-nat.h: Update copyright year.
(sparc_target): New prototype.
* sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h".
(_initialize_sparcnbsd_nat): Construct and add target vector.
* sparc64nbsd-nat.c: Include "target.h".
(_initialize_sparc64nbsd_nat): Construct and add target vector.
* Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o):
Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o.
* config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o and bsd-kvm.o.
(NAT_FILE): Set to nm-bsd.h.
(LOADLIBES): New variable.
* config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
infarg.o, add inf-ptrace.o.
* config/sparc/nm-nbsdaout.h: Remove file.
* config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o.
Diffstat (limited to 'gdb/sparcnbsd-nat.c')
-rw-r--r-- | gdb/sparcnbsd-nat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/sparcnbsd-nat.c b/gdb/sparcnbsd-nat.c index fa663f2..4b0eb12 100644 --- a/gdb/sparcnbsd-nat.c +++ b/gdb/sparcnbsd-nat.c @@ -20,8 +20,8 @@ Boston, MA 02111-1307, USA. */ #include "defs.h" -#include "gdbcore.h" #include "regcache.h" +#include "target.h" #include "sparc-tdep.h" #include "sparc-nat.h" @@ -66,6 +66,9 @@ _initialize_sparcnbsd_nat (void) { sparc_gregset = &sparc32nbsd_gregset; + /* We've got nothing to add to the generic SPARC target. */ + add_target (sparc_target ()); + /* Support debugging kernel virtual memory images. */ bsd_kvm_add_target (sparc32nbsd_supply_pcb); } |