From 52d9e613016c52e9be699717484e1e10028a77e6 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 20 Jan 2002 01:12:51 +0000 Subject: [PATCH] Zap empty or unused xm-*.h files. --- gdb/ChangeLog | 21 ++++++++++++++++++++ gdb/Makefile.in | 1 - gdb/config/alpha/fbsd.mh | 1 - gdb/config/alpha/xm-fbsd.h | 0 gdb/config/i386/xm-windows.h | 36 ---------------------------------- gdb/config/m88k/xm-delta88.h | 2 -- gdb/config/m88k/xm-delta88v4.h | 2 -- gdb/config/m88k/xm-dgux.h | 2 -- gdb/config/m88k/xm-m88k.h | 0 gdb/config/mips/news-mips.mh | 1 - gdb/config/mips/xm-news-mips.h | 0 gdb/config/sparc/xm-linux.h | 2 -- gdb/config/sparc/xm-sparc.h | 0 gdb/config/sparc/xm-sun4os4.h | 2 -- gdb/config/sparc/xm-sun4sol2.h | 4 ---- 15 files changed, 21 insertions(+), 53 deletions(-) delete mode 100644 gdb/config/alpha/xm-fbsd.h delete mode 100644 gdb/config/i386/xm-windows.h delete mode 100644 gdb/config/m88k/xm-m88k.h delete mode 100644 gdb/config/mips/xm-news-mips.h delete mode 100644 gdb/config/sparc/xm-sparc.h diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9e68687302..45771d65d3 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 4e4e5488fe..873d238b1b 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 8db2fa6156..7e036e43a4 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 e69de29bb2..0000000000 diff --git a/gdb/config/i386/xm-windows.h b/gdb/config/i386/xm-windows.h deleted file mode 100644 index 65680f0538..0000000000 --- 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 663a0c44e7..27c8fe28d2 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 5d51f1c198..b09a02dd33 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 11220f5c02..b6f7f996d7 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 e69de29bb2..0000000000 diff --git a/gdb/config/mips/news-mips.mh b/gdb/config/mips/news-mips.mh index 620fbaad7c..5cc138f38e 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 e69de29bb2..0000000000 diff --git a/gdb/config/sparc/xm-linux.h b/gdb/config/sparc/xm-linux.h index e45b702a0f..f0f98550cf 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 e69de29bb2..0000000000 diff --git a/gdb/config/sparc/xm-sun4os4.h b/gdb/config/sparc/xm-sun4os4.h index f8b27e9f77..063e150b97 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 e8834e89f1..b775f7cdba 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"