aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-xdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-12-04 01:26:05 +0000
committerJohn Gilmore <gnu@cygnus>1991-12-04 01:26:05 +0000
commit2e00f40a385a94838f7d74c508cedc7975463a22 (patch)
tree64f274a5ed6c6f3dc8871a7ee151926436325b68 /gdb/sparc-xdep.c
parentf7c1f9e194ae4f38bc1efd8de7a0d8b4d9d42031 (diff)
downloadgdb-2e00f40a385a94838f7d74c508cedc7975463a22.zip
gdb-2e00f40a385a94838f7d74c508cedc7975463a22.tar.gz
gdb-2e00f40a385a94838f7d74c508cedc7975463a22.tar.bz2
Make it compile for cross-debugging.
Diffstat (limited to 'gdb/sparc-xdep.c')
-rw-r--r--gdb/sparc-xdep.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/sparc-xdep.c b/gdb/sparc-xdep.c
index 003829e..e85caac 100644
--- a/gdb/sparc-xdep.c
+++ b/gdb/sparc-xdep.c
@@ -18,13 +18,17 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
+
+/* This code only compiles when we have the definitions in tm-sparc.h. */
+
+#define TM_FILE_OVERRIDE
#include "defs.h"
+#include "tm-sparc.h"
+
#include "inferior.h"
#include "target.h"
#include <sys/param.h>
-#include <sys/file.h> /* For L_SET */
-
#include <sys/ptrace.h>
#include <machine/reg.h>