From: Andrew Cagney Date: Sun, 20 Jan 2002 01:12:51 +0000 (+0000) Subject: Zap empty or unused xm-*.h files. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52d9e613016c52e9be699717484e1e10028a77e6;p=binutils-gdb.git Zap empty or unused xm-*.h files. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9e68687302a..45771d65d30 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,24 @@ +2002-01-19 Andrew Cagney + + * 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 * utils.c: Include for MAXPATHLEN. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 4e4e5488fee..873d238b1bd 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 8db2fa61564..7e036e43a47 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 e69de29bb2d..00000000000 diff --git a/gdb/config/i386/xm-windows.h b/gdb/config/i386/xm-windows.h deleted file mode 100644 index 65680f05385..00000000000 --- 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 - -#define SIGQUIT 3 -#define SIGTRAP 5 diff --git a/gdb/config/m88k/xm-delta88.h b/gdb/config/m88k/xm-delta88.h index 663a0c44e7f..27c8fe28d22 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 5d51f1c198d..b09a02dd335 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 11220f5c026..b6f7f996d75 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 e69de29bb2d..00000000000 diff --git a/gdb/config/mips/news-mips.mh b/gdb/config/mips/news-mips.mh index 620fbaad7c0..5cc138f38e4 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 e69de29bb2d..00000000000 diff --git a/gdb/config/sparc/xm-linux.h b/gdb/config/sparc/xm-linux.h index e45b702a0fb..f0f98550cf5 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 e69de29bb2d..00000000000 diff --git a/gdb/config/sparc/xm-sun4os4.h b/gdb/config/sparc/xm-sun4os4.h index f8b27e9f776..063e150b97b 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 e8834e89f1e..b775f7cdba0 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"