aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-nat.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-10-12 22:18:55 +0000
committerMark Kettenis <kettenis@gnu.org>2004-10-12 22:18:55 +0000
commit1b9445c221ae5af50d982e82d241d11a4ac36764 (patch)
treed97ec0a303d4b007268519b5d3a56015b342cf5d /gdb/sparc-nat.h
parentd52fe014d1263631d8b6691ad87e9b8e44468265 (diff)
downloadgdb-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/sparc-nat.h')
-rw-r--r--gdb/sparc-nat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/sparc-nat.h b/gdb/sparc-nat.h
index 8f99b1e..25ecc63 100644
--- a/gdb/sparc-nat.h
+++ b/gdb/sparc-nat.h
@@ -1,6 +1,6 @@
/* Native-dependent code for SPARC.
- Copyright 2003 Free Software Foundation, Inc.
+ Copyright 2003, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -37,4 +37,9 @@ extern int (*sparc_fpregset_supplies_p) (int);
extern int sparc32_gregset_supplies_p (int regnum);
extern int sparc32_fpregset_supplies_p (int regnum);
+/* Create a prototype generic SPARC target. The client can override
+ it with local methods. */
+
+extern struct target_ops *sparc_target (void);
+
#endif /* sparc-nat.h */