This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Zap more tm-*.h files
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 03 Sep 2004 13:30:02 -0400
- Subject: [commit] Zap more tm-*.h files
FYI, again using the TM_FILE (aka DEPRECATED_TM_INCLUDE) to eliminate an
indirect include. 41 remaining :-(
committed,
Andrew
2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/rs6000/tm-rs6000-aix4.h: Delete file.
* config/djgpp/fnchange.lst: Do not rename tm-rs6000-aix4.h.
* config/rs6000/aix4.mt (TM_FILE): Set to
config/rs6000/tm-rs6000.h.
* config/powerpc/tm-ppc-aix.h: Delete file.
* config/powerpc/aix.mt (TM_FILE): Set to
config/rs6000/tm-rs6000.h.
* config/m68k/tm-linux.h: Delete file.
* config/m68k/linux.mt (TM_FILE): Set to solib.h
* config/i386/tm-linux64.h: Delete file.
* config/i386/linux64.mt (TM_FILE): Set to solib.h.
* config/djgpp/fnchange.lst: Do not rename tm-linux.h.
Index: config/djgpp/fnchange.lst
===================================================================
RCS file: /cvs/src/src/gdb/config/djgpp/fnchange.lst,v
retrieving revision 1.80
diff -p -u -r1.80 fnchange.lst
--- config/djgpp/fnchange.lst 2 Sep 2004 20:57:21 -0000 1.80
+++ config/djgpp/fnchange.lst 3 Sep 2004 17:29:06 -0000
@@ -89,7 +89,6 @@
@V@/gdb/config/alpha/alpha-osf3.mh @V@/gdb/config/alpha/alphosf3.mh
@V@/gdb/config/alpha/tm-alphalinux.h @V@/gdb/config/alpha/tm-alplinux.h
@V@/gdb/config/i386/nm-linux64.h @V@/gdb/config/i386/nm-lx64.h
-@V@/gdb/config/i386/tm-linux64.h @V@/gdb/config/i386/tm-lx64.h
@V@/gdb/config/i386/nm-i386sco4.h @V@/gdb/config/i386/nm-sco4.h
@V@/gdb/config/i386/nm-i386sco5.h @V@/gdb/config/i386/nm-sco5.h
@V@/gdb/config/i386/nm-i386sol2.h @V@/gdb/config/i386/nm-sol2.h
@@ -103,7 +102,6 @@
@V@/gdb/config/rs6000/nm-rs6000ly.h @V@/gdb/config/rs6000/nm-rs6kly.h
@V@/gdb/config/rs6000/tm-rs6000.h @V@/gdb/config/rs6000/tm-rs6k.h
@V@/gdb/config/rs6000/tm-rs6000ly.h @V@/gdb/config/rs6000/tm-rs6kly.h
-@V@/gdb/config/rs6000/tm-rs6000-aix4.h @V@/gdb/config/rs6000/tm-rs6kaix4.h
@V@/gdb/config/sparc/tm-sparclynx.h @V@/gdb/config/sparc/tm-splynx.h
@V@/gdb/f-exp.tab.c @V@/gdb/f-exp_tab.c
@V@/gdb/gdbtk/ChangeLog-2001 @V@/gdb/gdbtk/ChangeLog.001
Index: config/i386/linux64.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/linux64.mt,v
retrieving revision 1.2
diff -p -u -r1.2 linux64.mt
--- config/i386/linux64.mt 9 Apr 2004 16:39:37 -0000 1.2
+++ config/i386/linux64.mt 3 Sep 2004 17:29:06 -0000
@@ -2,4 +2,4 @@
TDEPFILES= amd64-tdep.o amd64-linux-tdep.o \
i386-tdep.o i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
solib.o solib-svr4.o corelow.o
-TM_FILE=tm-linux64.h
+TM_FILE= solib.h
Index: config/i386/tm-linux64.h
===================================================================
RCS file: config/i386/tm-linux64.h
diff -N config/i386/tm-linux64.h
--- config/i386/tm-linux64.h 3 Sep 2004 17:13:47 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,29 +0,0 @@
-/* Target-dependent definitions for GNU/Linux x86-64.
-
- Copyright 2002, 2003, 2004 Free Software Foundation, Inc.
-
- Contributed by Michal Ludvig, SuSE Labs.
-
- 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. */
-
-#ifndef TM_LINUX64_H
-#define TM_LINUX64_H
-
-#include "solib.h" /* Support for shared libraries. */
-
-#endif /* tm-linux64.h */
Index: config/m68k/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/linux.mt,v
retrieving revision 1.4
diff -p -u -r1.4 linux.mt
--- config/m68k/linux.mt 19 Nov 2002 23:14:45 -0000 1.4
+++ config/m68k/linux.mt 3 Sep 2004 17:29:06 -0000
@@ -1,3 +1,3 @@
# Target: Motorola m68k with a.out and ELF
TDEPFILES= m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o solib-legacy.o
-TM_FILE= tm-linux.h
+TM_FILE= solib.h
Index: config/m68k/tm-linux.h
===================================================================
RCS file: config/m68k/tm-linux.h
diff -N config/m68k/tm-linux.h
--- config/m68k/tm-linux.h 3 Sep 2004 17:13:47 -0000 1.17
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-/* Definitions to target GDB to GNU/Linux on m680x0.
-
- Copyright 1996, 1998, 1999, 2000, 2002, 2003 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 "solib.h" /* Support for shared libraries. */
Index: config/powerpc/aix.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/aix.mt,v
retrieving revision 1.6
diff -p -u -r1.6 aix.mt
--- config/powerpc/aix.mt 30 May 2002 01:21:53 -0000 1.6
+++ config/powerpc/aix.mt 3 Sep 2004 17:29:06 -0000
@@ -1,3 +1,3 @@
# Target: PowerPC running AIX
TDEPFILES= rs6000-tdep.o xcoffread.o ppc-sysv-tdep.o solib.o solib-svr4.o
-TM_FILE= tm-ppc-aix.h
+TM_FILE= config/rs6000/tm-rs6000.h
Index: config/powerpc/tm-ppc-aix.h
===================================================================
RCS file: config/powerpc/tm-ppc-aix.h
diff -N config/powerpc/tm-ppc-aix.h
--- config/powerpc/tm-ppc-aix.h 6 Mar 2001 08:21:34 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
-/* Macro definitions for Power PC running AIX.
- Copyright 1995, 2000 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. */
-
-#ifndef TM_PPC_AIX_H
-#define TM_PPC_AIX_H
-
-/* Use generic RS6000 definitions. */
-#include "rs6000/tm-rs6000.h"
-
-#endif /* TM_PPC_AIX_H */
Index: config/rs6000/aix4.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/rs6000/aix4.mt,v
retrieving revision 1.5
diff -p -u -r1.5 aix4.mt
--- config/rs6000/aix4.mt 2 Jun 2002 17:50:41 -0000 1.5
+++ config/rs6000/aix4.mt 3 Sep 2004 17:29:06 -0000
@@ -1,3 +1,3 @@
# Target: IBM RS/6000 running AIX4
TDEPFILES= rs6000-tdep.o xcoffread.o ppc-sysv-tdep.o solib.o solib-svr4.o
-TM_FILE= tm-rs6000-aix4.h
+TM_FILE= config/rs6000/tm-rs6000.h
Index: config/rs6000/tm-rs6000-aix4.h
===================================================================
RCS file: config/rs6000/tm-rs6000-aix4.h
diff -N config/rs6000/tm-rs6000-aix4.h
--- config/rs6000/tm-rs6000-aix4.h 7 Jul 1999 20:16:52 -0000 1.1.1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
-/* Macro definitions for RS/6000 running AIX4.
- Copyright 1995, 1997 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. */
-
-#ifndef TM_RS6000_AIX4_H
-#define TM_RS6000_AIX4_H
-
-/* Use generic RS6000 definitions. */
-#include "rs6000/tm-rs6000.h"
-
-#endif /* TM_RS6000_AIX4_H */