aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-11-21 21:29:46 +0000
committerKen Raeburn <raeburn@cygnus>1993-11-21 21:29:46 +0000
commitc60af619fbf8f3ce4cd6b52c3309182083d681d5 (patch)
tree6048a5e3079623acdc65dfcdcea7b50460ee1778
parent196f09704387f4b4b31763addb77dd4bdc0eab1c (diff)
downloadgdb-c60af619fbf8f3ce4cd6b52c3309182083d681d5.zip
gdb-c60af619fbf8f3ce4cd6b52c3309182083d681d5.tar.gz
gdb-c60af619fbf8f3ce4cd6b52c3309182083d681d5.tar.bz2
Modified to be based on lynx.h, like i386 and m68k versions.
-rw-r--r--bfd/hosts/sparclynx.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/bfd/hosts/sparclynx.h b/bfd/hosts/sparclynx.h
index 4e5696a..0a2f9f2 100644
--- a/bfd/hosts/sparclynx.h
+++ b/bfd/hosts/sparclynx.h
@@ -3,35 +3,8 @@
#ifndef hosts_sparclynx_h
#define hosts_sparclynx_h
-#include <fcntl.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <string.h>
+#include "hosts/lynx.h"
-#include <sys/conf.h>
-#include <sys/kernel.h>
-#include <sys/mem.h>
-#include <sys/signal.h>
-#include <sys/time.h>
-#include <sys/resource.h>
-#include <sys/itimer.h>
-#include <sys/file.h>
-#include <sys/proc.h>
-
-#define HOST_PAGE_SIZE NBPG
#define HOST_MACHINE_ARCH bfd_arch_sparc
-#define HOST_TEXT_START_ADDR USRTEXT
-
-#define HOST_LYNX
-
-#include "fopen-same.h"
-
-#define FPRINTF_ALREADY_DECLARED
-
-/* Lynx has calloc, but no cfree, and gprof uses it. */
-
-#define cfree free
#endif /* hosts_sparclynx_h */