aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-nat.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-07-07 15:56:08 +0000
committerDaniel Jacobowitz <drow@false.org>2003-07-07 15:56:08 +0000
commitc139e7d9ef481d8f804dbff43ec1dc9449bfc43e (patch)
tree7d778f9b8b5cc29c8352b228bcf9b8ca768f2c1e /gdb/sparc-nat.c
parent58111eb706ef184e316ba397ce27abbc03c244ae (diff)
downloadgdb-c139e7d9ef481d8f804dbff43ec1dc9449bfc43e.zip
gdb-c139e7d9ef481d8f804dbff43ec1dc9449bfc43e.tar.gz
gdb-c139e7d9ef481d8f804dbff43ec1dc9449bfc43e.tar.bz2
* Makefile.in (sparc_tdep_h): New.
(sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). * sparc-linux-nat.c: Include "sparc-tdep.h". * sparc-nat.c: Likewise. * sparc-tdep.c: Likewise. * sparc64nbsd-nat.c: Likewise. * sparcnbsd-nat.c: Likewise. * sparcnbsd-tdep.c: Likewise. * sparc-tdep.h: New file. * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum and sparc_npc_regnum.
Diffstat (limited to 'gdb/sparc-nat.c')
-rw-r--r--gdb/sparc-nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c
index 33145e0..540bbcc 100644
--- a/gdb/sparc-nat.c
+++ b/gdb/sparc-nat.c
@@ -26,6 +26,8 @@
#include "gdbcore.h"
#include "regcache.h"
+#include "sparc-tdep.h"
+
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif