aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-20 01:12:51 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-20 01:12:51 +0000
commit52d9e613016c52e9be699717484e1e10028a77e6 (patch)
tree17ccf4ea93f3fc57ec2b8cc1e096cefa9118b42d
parent2d1b2124ee669f4bec0290923ee79c533c65524e (diff)
downloadfsf-binutils-gdb-52d9e613016c52e9be699717484e1e10028a77e6.zip
fsf-binutils-gdb-52d9e613016c52e9be699717484e1e10028a77e6.tar.gz
fsf-binutils-gdb-52d9e613016c52e9be699717484e1e10028a77e6.tar.bz2
Zap empty or unused xm-*.h files.
-rw-r--r--gdb/ChangeLog21
-rw-r--r--gdb/Makefile.in1
-rw-r--r--gdb/config/alpha/fbsd.mh1
-rw-r--r--gdb/config/alpha/xm-fbsd.h0
-rw-r--r--gdb/config/i386/xm-windows.h36
-rw-r--r--gdb/config/m88k/xm-delta88.h2
-rw-r--r--gdb/config/m88k/xm-delta88v4.h2
-rw-r--r--gdb/config/m88k/xm-dgux.h2
-rw-r--r--gdb/config/m88k/xm-m88k.h0
-rw-r--r--gdb/config/mips/news-mips.mh1
-rw-r--r--gdb/config/mips/xm-news-mips.h0
-rw-r--r--gdb/config/sparc/xm-linux.h2
-rw-r--r--gdb/config/sparc/xm-sparc.h0
-rw-r--r--gdb/config/sparc/xm-sun4os4.h2
-rw-r--r--gdb/config/sparc/xm-sun4sol2.h4
15 files changed, 21 insertions, 53 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9e68687..45771d6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,26 @@
2002-01-19 Andrew Cagney <ac131313@redhat.com>
+ * config/mips/xm-news-mips.h: Delete file.
+ * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
+
+ * config/m88k/xm-m88k.h: Delete file.
+ * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
+ * config/m88k/xm-delta88v4.h: Ditto.
+ * config/m88k/xm-delta88.h: Ditto.
+
+ * config/alpha/xm-fbsd.h: Delete file.
+ * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
+
+ * config/sparc/xm-sparc.h: Delete file.
+ * Makefile.in (xm-sun4os4.h): Delete dependency.
+ * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
+ * config/sparc/xm-sun4os4.h: Ditto.
+ * config/sparc/xm-linux.h: Ditto.
+
+ * config/i386/xm-windows.h: Delete file.
+
+2002-01-19 Andrew Cagney <ac131313@redhat.com>
+
* utils.c: Include <sys/param.h> for MAXPATHLEN.
(gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 4e4e548..873d238 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -932,7 +932,6 @@ tm-sun3.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
xm-i386-sv32.h: xm-i386.h
tm-i386gas.h: tm-i386.h
-xm-sun4os4.h: xm-sparc.h
tm-sun4os4.h: tm-sparc.h
xm-vaxult.h: xm-vax.h
xm-vaxbsd.h: xm-vax.h
diff --git a/gdb/config/alpha/fbsd.mh b/gdb/config/alpha/fbsd.mh
index 8db2fa6..7e036e4 100644
--- a/gdb/config/alpha/fbsd.mh
+++ b/gdb/config/alpha/fbsd.mh
@@ -2,5 +2,4 @@
NATDEPFILES= fork-child.o infptrace.o inftarg.o \
solib.o solib-svr4.o solib-legacy.o \
corelow.o core-regset.o alphabsd-nat.o
-XM_FILE= xm-fbsd.h
NAT_FILE= nm-fbsd.h
diff --git a/gdb/config/alpha/xm-fbsd.h b/gdb/config/alpha/xm-fbsd.h
deleted file mode 100644
index e69de29..0000000
--- a/gdb/config/alpha/xm-fbsd.h
+++ /dev/null
diff --git a/gdb/config/i386/xm-windows.h b/gdb/config/i386/xm-windows.h
deleted file mode 100644
index 65680f0..0000000
--- a/gdb/config/i386/xm-windows.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Definitions for hosting on WIN32, built with Microsoft Visual C/C++, for GDB.
- Copyright 1996, 1998 Free Software Foundation, Inc.
-
- This file is part of GDB.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-#include "i386/xm-cygwin.h"
-
-#undef PRINTF_HAS_LONG_LONG
-#undef HAVE_UNISTD_H
-#undef HAVE_TERMIO_H
-#undef HAVE_TERMIOS_H
-#undef HAVE_SGTTY_H
-#undef HAVE_SBRK
-#define CANT_FORK
-
-#define MALLOC_INCOMPATIBLE
-
-#include <malloc.h>
-
-#define SIGQUIT 3
-#define SIGTRAP 5
diff --git a/gdb/config/m88k/xm-delta88.h b/gdb/config/m88k/xm-delta88.h
index 663a0c4..27c8fe2 100644
--- a/gdb/config/m88k/xm-delta88.h
+++ b/gdb/config/m88k/xm-delta88.h
@@ -19,8 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "m88k/xm-m88k.h"
-
#if !defined (USG)
#define USG 1
#endif
diff --git a/gdb/config/m88k/xm-delta88v4.h b/gdb/config/m88k/xm-delta88v4.h
index 5d51f1c..b09a02d 100644
--- a/gdb/config/m88k/xm-delta88v4.h
+++ b/gdb/config/m88k/xm-delta88v4.h
@@ -19,6 +19,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "m88k/xm-m88k.h"
-
#include "xm-sysv4.h"
diff --git a/gdb/config/m88k/xm-dgux.h b/gdb/config/m88k/xm-dgux.h
index 11220f5..b6f7f99 100644
--- a/gdb/config/m88k/xm-dgux.h
+++ b/gdb/config/m88k/xm-dgux.h
@@ -19,8 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "m88k/xm-m88k.h"
-
#if !defined (USG)
#define USG 1
#endif
diff --git a/gdb/config/m88k/xm-m88k.h b/gdb/config/m88k/xm-m88k.h
deleted file mode 100644
index e69de29..0000000
--- a/gdb/config/m88k/xm-m88k.h
+++ /dev/null
diff --git a/gdb/config/mips/news-mips.mh b/gdb/config/mips/news-mips.mh
index 620fbaa..5cc138f 100644
--- a/gdb/config/mips/news-mips.mh
+++ b/gdb/config/mips/news-mips.mh
@@ -1,4 +1,3 @@
# Host: Big-endian MIPS machine such as Sony News
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o
-XM_FILE= xm-news-mips.h
NAT_FILE= nm-news-mips.h
diff --git a/gdb/config/mips/xm-news-mips.h b/gdb/config/mips/xm-news-mips.h
deleted file mode 100644
index e69de29..0000000
--- a/gdb/config/mips/xm-news-mips.h
+++ /dev/null
diff --git a/gdb/config/sparc/xm-linux.h b/gdb/config/sparc/xm-linux.h
index e45b702..f0f9855 100644
--- a/gdb/config/sparc/xm-linux.h
+++ b/gdb/config/sparc/xm-linux.h
@@ -22,8 +22,6 @@
#ifndef XM_SPARCLINUX_H
#define XM_SPARCLINUX_H
-#include "sparc/xm-sparc.h"
-
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
#define KERNEL_U_ADDR 0x0
diff --git a/gdb/config/sparc/xm-sparc.h b/gdb/config/sparc/xm-sparc.h
deleted file mode 100644
index e69de29..0000000
--- a/gdb/config/sparc/xm-sparc.h
+++ /dev/null
diff --git a/gdb/config/sparc/xm-sun4os4.h b/gdb/config/sparc/xm-sun4os4.h
index f8b27e9..063e150 100644
--- a/gdb/config/sparc/xm-sun4os4.h
+++ b/gdb/config/sparc/xm-sun4os4.h
@@ -19,8 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "sparc/xm-sparc.h"
-
#define FPU
/* /usr/include/malloc.h is included by vx-share/xdr_ld, and might
diff --git a/gdb/config/sparc/xm-sun4sol2.h b/gdb/config/sparc/xm-sun4sol2.h
index e8834e8..b775f7c 100644
--- a/gdb/config/sparc/xm-sun4sol2.h
+++ b/gdb/config/sparc/xm-sun4sol2.h
@@ -19,10 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Most of what we know is generic to SPARC hosts. */
-
-#include "sparc/xm-sparc.h"
-
/* Pick up more stuff from the generic SVR4 host include file. */
#include "xm-sysv4.h"