aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-linux-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-linux-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-linux-nat.c')
-rw-r--r--gdb/sparc-linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/sparc-linux-nat.c b/gdb/sparc-linux-nat.c
index ba418b6..261ed60 100644
--- a/gdb/sparc-linux-nat.c
+++ b/gdb/sparc-linux-nat.c
@@ -1,6 +1,6 @@
/* Native-dependent code for GNU/Linux SPARC.
- Copyright 2001, 2002 Free Software Foundation, Inc.
+ Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GDB.
@@ -21,6 +21,7 @@
#include "defs.h"
#include "regcache.h"
+#include "sparc-tdep.h"
#include <sys/procfs.h>