This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[committed] Remove obsolete tm-nbsd.h files
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 28 Feb 2007 02:36:37 +0100 (CET)
- Subject: [committed] Remove obsolete tm-nbsd.h files
Hello,
this removes the last two instances of tm-nbsd.h in the tree.
mips/tm-nbsd.h just #undef's two macros that are nowhere
defined anyway, and sh/tm-nbsd.h just #include's tm-sh.h,
so they're both obsolete.
Tested by building mips-netbsd and sh-netbsd cross-GDBs.
Committed to mainline.
Bye,
Ulrich
ChangeLog:
* config/mips/tm-nbsd.h: Delete file.
* config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sh/tm-nbsd.h: Delete file.
* config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
diff -urN gdb-orig/gdb/config/mips/nbsd.mt gdb-head/gdb/config/mips/nbsd.mt
--- gdb-orig/gdb/config/mips/nbsd.mt 2004-09-13 22:55:40.000000000 +0200
+++ gdb-head/gdb/config/mips/nbsd.mt 2006-11-28 22:44:49.512285048 +0100
@@ -1,7 +1,6 @@
# Target: MIPS running NetBSD
TDEPFILES= mips-tdep.o mipsnbsd-tdep.o corelow.o solib.o solib-svr4.o \
nbsd-tdep.o
-DEPRECATED_TM_FILE= tm-nbsd.h
SIM_OBS = remote-sim.o
SIM = ../sim/mips/libsim.a
diff -urN gdb-orig/gdb/config/mips/tm-nbsd.h gdb-head/gdb/config/mips/tm-nbsd.h
--- gdb-orig/gdb/config/mips/tm-nbsd.h 2006-11-24 18:04:17.000000000 +0100
+++ gdb-head/gdb/config/mips/tm-nbsd.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,28 +0,0 @@
-/* Target-dependent definitions for NetBSD/mips.
- Copyright 2002, 2007 Free Software Foundation, Inc.
- Contributed by Wasabi Systems, 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_NBSD_H
-#define TM_NBSD_H
-
-#undef SKIP_TRAMPOLINE_CODE
-#undef DEPRECATED_IGNORE_HELPER_CALL
-
-#endif /* TM_NBSD_H */
diff -urN gdb-orig/gdb/config/sh/nbsd.mt gdb-head/gdb/config/sh/nbsd.mt
--- gdb-orig/gdb/config/sh/nbsd.mt 2004-09-13 22:55:41.000000000 +0200
+++ gdb-head/gdb/config/sh/nbsd.mt 2006-11-28 22:43:18.365293712 +0100
@@ -1,6 +1,6 @@
# Target: SuperH running NetBSD
TDEPFILES= sh-tdep.o shnbsd-tdep.o corelow.o nbsd-tdep.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= tm-nbsd.h
+DEPRECATED_TM_FILE= tm-sh.h
SIM_OBS = remote-sim.o
SIM = ../sim/sh/libsim.a
diff -urN gdb-orig/gdb/config/sh/tm-nbsd.h gdb-head/gdb/config/sh/tm-nbsd.h
--- gdb-orig/gdb/config/sh/tm-nbsd.h 2006-11-24 17:58:50.000000000 +0100
+++ gdb-head/gdb/config/sh/tm-nbsd.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-/* Target-dependent definitions for SuperH running NetBSD, for GDB.
- Copyright 2002, 2007 Free Software Foundation, Inc.
- Contributed by Wasabi Systems, 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_NBSD_H
-#define TM_NBSD_H
-
-#include "sh/tm-sh.h"
-
-#endif /* TM_NBSD_H */
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com