This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Remove obsolete code from src/gdb/
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 04 May 2002 11:51:50 -0400
- Subject: [patch] Remove obsolete code from src/gdb/
FYI,
More of the same.
committed,
Andrew
2002-05-04 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS: Mark a29k as deleted.
* NEWS: Mention that a29k was removed. Add OBSOLETE section.
Move new configurations to the top.
* configure.tgt: Remove a29k.
* config/a29k/tm-vx29k.h: Delete.
* config/a29k/vx29k.mt: Delete.
* config/a29k/tm-a29k.h: Delete.
* config/a29k/a29k-udi.mt: Delete.
* config/a29k/a29k.mt: Delete.
* a29k-tdep.c: Delete.
* remote-udi.c: Delete.
* remote-mm.c: Delete.
* remote-eb.c: Delete.
* remote-adapt.c: Delete.
* Makefile.in: Remove obsolete code.
* gdbserver/Makefile.in: Ditto.
* config/s390/s390x.mt: Ditto.
* config/s390/s390.mt: Ditto.
* config/sparc/sparclynx.mh: Ditto.
* config/sparc/linux.mh: Ditto.
* config/pa/hppaosf.mh: Ditto.
* config/pa/hppabsd.mh: Ditto.
* config/ns32k/nbsd.mt: Ditto.
* config/mips/vr5000.mt: Ditto.
* config/m68k/sun3os4.mh: Ditto.
* config/m68k/nbsd.mt: Ditto.
* config/m68k/m68klynx.mh: Ditto.
* config/m32r/m32r.mt: Ditto.
* config/i386/x86-64linux.mt: Ditto.
* config/i386/nbsdelf.mt: Ditto.
* config/i386/nbsd.mt: Ditto.
* config/i386/i386lynx.mh: Ditto.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.169
diff -u -r1.169 MAINTAINERS
--- MAINTAINERS 25 Apr 2002 20:48:55 -0000 1.169
+++ MAINTAINERS 4 May 2002 15:45:11 -0000
@@ -54,7 +54,7 @@
host maintainer when resolving build issues. The Target/Architecture
maintainer works with the native maintainer when resolving API issues.
- a29k OBSOLETE
+ a29k Deleted.
alpha --target=alpha-dec-osf4.0a -Werror
Maintenance only
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.179
diff -u -r1.179 Makefile.in
--- Makefile.in 25 Apr 2002 20:34:54 -0000 1.179
+++ Makefile.in 4 May 2002 15:45:24 -0000
@@ -1239,9 +1239,6 @@
udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders)
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
-# OBSOLETE a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
-# OBSOLETE $(regcache_h)
-
a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
$(regcache_h)
@@ -1903,9 +1900,6 @@
proc-service.o: proc-service.c $(defs_h) $(inferior_h) gdb_proc_service.h \
$(symtab_h) $(target_h) gregset.h
-# OBSOLETE remote-adapt.o: remote-adapt.c $(defs_h) $(gdbcore_h) \
-# OBSOLETE $(inferior_h) $(target_h) $(terminal_h) $(gdb_string_h) $(regcache_h)
-
remote-array.o: remote-array.c $(defs_h) $(gdbcore_h) $(target_h) \
$(gdb_string_h) $(command_h) $(serial_h) $(monitor_h) $(remote_utils_h) \
$(version_h) $(regcache_h)
@@ -1933,10 +1927,6 @@
remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) $(target_h) \
$(serial_h) $(gdb_string_h) $(regcache_h)
-# OBSOLETE remote-eb.o: remote-eb.c $(srcdir)/config/a29k/tm-a29k.h \
-# OBSOLETE $(defs_h) $(gdbcore_h) $(inferior_h) $(symfile_h) $(target_h) \
-# OBSOLETE $(terminal_h) $(gdb_string_h) $(regcache_h)
-
remote-es.o: remote-es.c $(bfd_h) $(command_h) $(defs_h) \
$(inferior_h) $(remote_utils_h) $(terminal_h) $(gdb_string_h) \
$(symfile_h) $(regcache_h) $(value_h)
@@ -1951,9 +1941,6 @@
$(gdbcore_h) $(inferior_h) $(serial_h) $(symfile_h) $(target_h) \
$(regcache_h)
-# OBSOLETE remote-mm.o: remote-mm.c $(bfd_h) $(defs_h) $(inferior_h) \
-# OBSOLETE minimon.h $(target_h) $(terminal_h) $(gdb_string_h) $(regcache_h)
-
remote-nindy.o: remote-nindy.c $(floatformat_h) $(command_h) \
$(defs_h) $(gdbcore_h) $(inferior_h) \
nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
@@ -1973,10 +1960,6 @@
remote-st.o: remote-st.c $(defs_h) $(gdbcore_h) $(serial_h) \
$(target_h) $(gdb_string_h) $(regcache_h)
-
-# OBSOLETE remote-udi.o: remote-udi.c $(bfd_h) $(defs_h) $(gdbcmd_h) \
-# OBSOLETE $(inferior_h) $(target_h) $(terminal_h) $(udiheaders) $(gdb_string_h) \
-# OBSOLETE $(regcache_h)
remote-vx.o: remote-vx.c $(complaints_h) $(defs_h) $(gdbcmd_h) \
$(gdbcore_h) $(inferior_h) $(target_h) vx-share/dbgRpcLib.h \
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.66
diff -u -r1.66 NEWS
--- NEWS 25 Apr 2002 20:48:55 -0000 1.66
+++ NEWS 4 May 2002 15:45:26 -0000
@@ -3,17 +3,34 @@
*** Changes since GDB 5.2:
-* New target.
+* New targets.
Atmel AVR avr*-*-*
-* Changes in VAX configurations.
-
-Multi-arch support is enabled for all VAX configurations.
-
* New native configurations
Alpha NetBSD alpha*-*-netbsd*
+
+* OBSOLETE configurations and files
+
+Configurations that have been declared obsolete in this release have
+been commented out. Unless there is activity to revive these
+configurations, the next release of GDB will have their sources
+permanently REMOVED.
+
+* REMOVED configurations and files
+
+AMD 29k family via UDI a29k-amd-udi, udi29k
+A29K VxWorks a29k-*-vxworks
+AMD 29000 embedded, using EBMON a29k-none-none
+AMD 29000 embedded with COFF a29k-none-coff
+AMD 29000 embedded with a.out a29k-none-aout
+
+testsuite/gdb.hp/gdb.threads-hp/ directory
+
+* Changes in VAX configurations.
+
+Multi-arch support is enabled for all VAX configurations.
* Changes in Alpha configurations.
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.58
diff -u -r1.58 configure.tgt
--- configure.tgt 25 Apr 2002 20:34:55 -0000 1.58
+++ configure.tgt 4 May 2002 15:45:27 -0000
@@ -37,15 +37,6 @@
case "${target}" in
-# OBSOLETE a29k-*-aout*) gdb_target=a29k ;;
-# OBSOLETE a29k-*-coff*) gdb_target=a29k ;;
-# OBSOLETE a29k-*-elf*) gdb_target=a29k ;;
-# OBSOLETE a29k-*-ebmon*) gdb_target=a29k ;;
-# OBSOLETE a29k-*-kern*) gdb_target=a29k-kern ;;
-# OBSOLETE a29k-*-none*) gdb_target=a29k ;;
-# OBSOLETE a29k-*-udi*) gdb_target=a29k-udi ;;
-# OBSOLETE a29k-*-vxworks*) gdb_target=vx29k ;;
-
alpha*-*-osf*) gdb_target=alpha-osf1 ;;
alpha*-*-linux*) gdb_target=alpha-linux ;;
alpha*-*-freebsd*) gdb_target=fbsd ;;
Index: config/i386/i386lynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386lynx.mh,v
retrieving revision 1.5
diff -u -r1.5 i386lynx.mh
--- config/i386/i386lynx.mh 14 Feb 2002 05:48:33 -0000 1.5
+++ config/i386/i386lynx.mh 4 May 2002 15:45:28 -0000
@@ -4,6 +4,3 @@
NAT_FILE= nm-i386lynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
-
-## OBSOLETE ## GDBSERVER_LIBS= -lbsd
-## OBSOLETE ## GDBSERVER_DEPFILES= low-lynx.o
Index: config/i386/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsd.mt,v
retrieving revision 1.8
diff -u -r1.8 nbsd.mt
--- config/i386/nbsd.mt 14 Feb 2002 05:48:33 -0000 1.8
+++ config/i386/nbsd.mt 4 May 2002 15:45:28 -0000
@@ -1,5 +1,3 @@
# Target: Intel 386 running NetBSD
TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o
TM_FILE= tm-nbsd.h
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o
Index: config/i386/nbsdelf.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsdelf.mt,v
retrieving revision 1.5
diff -u -r1.5 nbsdelf.mt
--- config/i386/nbsdelf.mt 14 Feb 2002 05:48:33 -0000 1.5
+++ config/i386/nbsdelf.mt 4 May 2002 15:45:28 -0000
@@ -1,5 +1,3 @@
# Target: Intel 386 running NetBSD
TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o
TM_FILE= tm-nbsdelf.h
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o
Index: config/i386/x86-64linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/x86-64linux.mt,v
retrieving revision 1.2
diff -u -r1.2 x86-64linux.mt
--- config/i386/x86-64linux.mt 14 Feb 2002 05:48:33 -0000 1.2
+++ config/i386/x86-64linux.mt 4 May 2002 15:45:28 -0000
@@ -1,5 +1,3 @@
# Target: AMD x86-64 running GNU/Linux
TDEPFILES= x86-64-tdep.o x86-64-linux-tdep.o i387-tdep.o dwarf2cfi.o \
solib.o solib-svr4.o solib-legacy.o
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-linux.o
Index: config/m32r/m32r.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m32r/m32r.mt,v
retrieving revision 1.3
diff -u -r1.3 m32r.mt
--- config/m32r/m32r.mt 14 Feb 2002 05:48:35 -0000 1.3
+++ config/m32r/m32r.mt 4 May 2002 15:45:28 -0000
@@ -3,6 +3,3 @@
TM_FILE= tm-m32r.h
SIM_OBS = remote-sim.o
SIM = ../sim/m32r/libsim.a
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-sim.o
-## OBSOLETE ## GDBSERVER_LIBS = ../../sim/m32r/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a ../../opcodes/libopcodes.a ../../intl/libintl.a
Index: config/m68k/m68klynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/m68klynx.mh,v
retrieving revision 1.5
diff -u -r1.5 m68klynx.mh
--- config/m68k/m68klynx.mh 14 Feb 2002 05:48:35 -0000 1.5
+++ config/m68k/m68klynx.mh 4 May 2002 15:45:28 -0000
@@ -4,6 +4,3 @@
NAT_FILE= nm-m68klynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
-
-## OBSOLETE ## GDBSERVER_LIBS= -lbsd
-## OBSOLETE ## GDBSERVER_DEPFILES= low-lynx.o
Index: config/m68k/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/nbsd.mt,v
retrieving revision 1.7
diff -u -r1.7 nbsd.mt
--- config/m68k/nbsd.mt 14 Feb 2002 05:48:35 -0000 1.7
+++ config/m68k/nbsd.mt 4 May 2002 15:45:28 -0000
@@ -1,5 +1,3 @@
# Target: Motorola m68k running NetBSD
TDEPFILES= m68k-tdep.o m68knbsd-tdep.o
TM_FILE= tm-nbsd.h
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o
Index: config/m68k/sun3os4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/sun3os4.mh,v
retrieving revision 1.3
diff -u -r1.3 sun3os4.mh
--- config/m68k/sun3os4.mh 14 Feb 2002 05:48:35 -0000 1.3
+++ config/m68k/sun3os4.mh 4 May 2002 15:45:28 -0000
@@ -2,5 +2,3 @@
XM_FILE= xm-sun3os4.h
NAT_FILE= nm-sun3.h
NATDEPFILES= fork-child.o inftarg.o infptrace.o corelow.o sun3-nat.o
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-sun3.o
Index: config/mips/vr5000.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/vr5000.mt,v
retrieving revision 1.3
diff -u -r1.3 vr5000.mt
--- config/mips/vr5000.mt 14 Feb 2002 05:48:36 -0000 1.3
+++ config/mips/vr5000.mt 4 May 2002 15:45:28 -0000
@@ -3,6 +3,3 @@
TM_FILE= tm-vr5000.h
SIM_OBS = remote-sim.o
SIM = ../sim/mips/libsim.a
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-sim.o
-## OBSOLETE ## GDBSERVER_LIBS = ../../sim/mips/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a -lm ../../intl/libintl.a
Index: config/ns32k/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/ns32k/nbsd.mt,v
retrieving revision 1.6
diff -u -r1.6 nbsd.mt
--- config/ns32k/nbsd.mt 14 Feb 2002 05:48:36 -0000 1.6
+++ config/ns32k/nbsd.mt 4 May 2002 15:45:28 -0000
@@ -1,5 +1,3 @@
# Target: PC532 running NetBSD
TDEPFILES= ns32k-tdep.o
TM_FILE= tm-nbsd.h
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o
Index: config/pa/hppabsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hppabsd.mh,v
retrieving revision 1.5
diff -u -r1.5 hppabsd.mh
--- config/pa/hppabsd.mh 14 Feb 2002 05:48:37 -0000 1.5
+++ config/pa/hppabsd.mh 4 May 2002 15:45:28 -0000
@@ -2,5 +2,3 @@
XM_FILE= xm-hppab.h
NAT_FILE= nm-hppab.h
NATDEPFILES= hppab-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hpread.o somsolib.o
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-hppabsd.o
Index: config/pa/hppaosf.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hppaosf.mh,v
retrieving revision 1.5
diff -u -r1.5 hppaosf.mh
--- config/pa/hppaosf.mh 14 Feb 2002 05:48:37 -0000 1.5
+++ config/pa/hppaosf.mh 4 May 2002 15:45:28 -0000
@@ -3,6 +3,3 @@
NAT_FILE= nm-hppao.h
NATDEPFILES= fork-child.o m3-nat.o hppam3-nat.o somread.o hpread.o somsolib.o
NAT_CLIBS= -lmachid -lnetname -lmach
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-hppabsd.o
-
Index: config/powerpc/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/nbsd.mt,v
retrieving revision 1.8
diff -u -r1.8 nbsd.mt
--- config/powerpc/nbsd.mt 14 Feb 2002 05:48:38 -0000 1.8
+++ config/powerpc/nbsd.mt 4 May 2002 15:45:28 -0000
@@ -2,7 +2,5 @@
TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o solib.o solib-svr4.o
TM_FILE= tm-nbsd.h
-## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o
-
SIM_OBS = remote-sim.o
SIM = ../sim/ppc/libsim.a
Index: config/rs6000/rs6000lynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/rs6000/rs6000lynx.mh,v
retrieving revision 1.5
diff -u -r1.5 rs6000lynx.mh
--- config/rs6000/rs6000lynx.mh 14 Feb 2002 05:48:38 -0000 1.5
+++ config/rs6000/rs6000lynx.mh 4 May 2002 15:45:28 -0000
@@ -4,6 +4,3 @@
NAT_FILE= nm-rs6000ly.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o xcoffread.o
-
-## OBSOLETE ## GDBSERVER_LIBS= -lbsd
-## OBSOLETE ## GDBSERVER_DEPFILES= low-lynx.o
Index: config/s390/s390.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/s390/s390.mt,v
retrieving revision 1.3
diff -u -r1.3 s390.mt
--- config/s390/s390.mt 14 Feb 2002 05:48:39 -0000 1.3
+++ config/s390/s390.mt 4 May 2002 15:45:28 -0000
@@ -4,5 +4,3 @@
# Post 5.0 tdep-files
TDEPFILES+=solib-svr4.o solib-legacy.o
GDB_MULTI_ARCH=GDB_MULTI_ARCH_PARTIAL
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-linux.o s390-tdep.o s390-nat.o
Index: config/s390/s390x.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/s390/s390x.mt,v
retrieving revision 1.3
diff -u -r1.3 s390x.mt
--- config/s390/s390x.mt 14 Feb 2002 05:48:39 -0000 1.3
+++ config/s390/s390x.mt 4 May 2002 15:45:28 -0000
@@ -5,7 +5,5 @@
TDEPFILES+=solib-svr4.o solib-legacy.o
GDB_MULTI_ARCH=GDB_MULTI_ARCH_PARTIAL
-## OBSOLETE ## GDBSERVER_DEPFILES= low-linux.o s390-tdep.o s390-nat.o
-
# needed for gdbserver.
MT_CFLAGS= -DCONFIG_ARCH_S390X
Index: config/sparc/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/linux.mh,v
retrieving revision 1.8
diff -u -r1.8 linux.mh
--- config/sparc/linux.mh 14 Feb 2002 05:48:40 -0000 1.8
+++ config/sparc/linux.mh 4 May 2002 15:45:28 -0000
@@ -12,5 +12,3 @@
LOADLIBES = -ldl -rdynamic
HOST_IPC=-DBSD_IPC
-
-## OBSOLETE ## GDBSERVER_DEPFILES= low-sparc.o
Index: config/sparc/sparclynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sparclynx.mh,v
retrieving revision 1.5
diff -u -r1.5 sparclynx.mh
--- config/sparc/sparclynx.mh 14 Feb 2002 05:48:40 -0000 1.5
+++ config/sparc/sparclynx.mh 4 May 2002 15:45:28 -0000
@@ -4,6 +4,3 @@
NAT_FILE= nm-sparclynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
-
-## OBSOLETE ## GDBSERVER_LIBS= -lbsd
-## OBSOLETE ## GDBSERVER_DEPFILES= low-lynx.o
Index: config/sparc/sun4os4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sun4os4.mh,v
retrieving revision 1.5
diff -u -r1.5 sun4os4.mh
--- config/sparc/sun4os4.mh 14 Feb 2002 05:48:40 -0000 1.5
+++ config/sparc/sun4os4.mh 4 May 2002 15:45:28 -0000
@@ -3,8 +3,6 @@
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o
HOST_IPC=-DBSD_IPC
-## OBSOLETE ## GDBSERVER_DEPFILES= low-sparc.o
-
# Setting XM_CLIBS=-lresolv would let us use the DNS, but that would screw
# anyone who wants to use NIS, which includes at least one Cygnus customer
# (PR 3593). So leave it this way until/unless we find a resolver which can
Index: gdbserver/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/Makefile.in,v
retrieving revision 1.17
diff -u -r1.17 Makefile.in
--- gdbserver/Makefile.in 20 Apr 2002 17:04:09 -0000 1.17
+++ gdbserver/Makefile.in 4 May 2002 15:45:28 -0000
@@ -262,14 +262,6 @@
linux-sh-low.o: linux-sh-low.c $(linux_low_h) $(server_h)
linux-x86-64-low.o: linux-x86-64-low.c $(linux_low_h) $(server_h)
-# OBSOLETE TARGETS
-# OBSOLETE # low-lynx.o : ${srcdir}/low-lynx.c ${srcdir}/server.h
-# OBSOLETE # low-nbsd.o : ${srcdir}/low-nbsd.c ${srcdir}/server.h
-# OBSOLETE # low-sim.o : ${srcdir}/low-sim.c ${srcdir}/server.h
-# OBSOLETE # low-sparc.o : $(srcdir)/low-sparc.c $(srcdir)/server.h
-# OBSOLETE # low-sun3.o : $(srcdir)/low-sun3.c $(srcdir)/server.h
-# OBSOLETE # low-hppabsd.o : $(srcdir)/low-hppabsd.c $(srcdir)/server.h
-
reg-arm.o : reg-arm.c $(regdef_h)
reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
sh $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c