aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog105
-rw-r--r--gdb/Makefile.in15
-rw-r--r--gdb/config/alpha/alpha-linux.mt3
-rw-r--r--gdb/config/alpha/alpha-osf1.mt2
-rw-r--r--gdb/config/alpha/alpha.mt1
-rw-r--r--gdb/config/alpha/fbsd.mt3
-rw-r--r--gdb/config/alpha/nbsd.mt4
-rw-r--r--gdb/config/alpha/obsd.mt4
-rw-r--r--gdb/config/arm/embed.mt2
-rw-r--r--gdb/config/arm/linux.mt4
-rw-r--r--gdb/config/arm/nbsd.mt2
-rw-r--r--gdb/config/arm/obsd.mt3
-rw-r--r--gdb/config/arm/wince.mt3
-rw-r--r--gdb/config/avr/avr.mt2
-rw-r--r--gdb/config/cris/cris.mt1
-rw-r--r--gdb/config/frv/frv.mt2
-rw-r--r--gdb/config/h8300/h8300.mt2
-rw-r--r--gdb/config/i386/cygwin.mt3
-rw-r--r--gdb/config/i386/fbsd.mt3
-rw-r--r--gdb/config/i386/fbsd64.mt5
-rw-r--r--gdb/config/i386/i386.mt2
-rw-r--r--gdb/config/i386/i386gnu.mt2
-rw-r--r--gdb/config/i386/i386sol2.mt3
-rw-r--r--gdb/config/i386/linux.mt3
-rw-r--r--gdb/config/i386/linux64.mt4
-rw-r--r--gdb/config/i386/mingw.mt3
-rw-r--r--gdb/config/i386/nbsd.mt3
-rw-r--r--gdb/config/i386/nbsd64.mt3
-rw-r--r--gdb/config/i386/nto.mt3
-rw-r--r--gdb/config/i386/obsd.mt3
-rw-r--r--gdb/config/i386/obsd64.mt4
-rw-r--r--gdb/config/i386/sol2-64.mt3
-rw-r--r--gdb/config/ia64/ia64.mt1
-rw-r--r--gdb/config/ia64/linux.mt2
-rw-r--r--gdb/config/iq2000/iq2000.mt1
-rw-r--r--gdb/config/m32c/m32c.mt2
-rw-r--r--gdb/config/m32r/linux.mt2
-rw-r--r--gdb/config/m32r/m32r.mt2
-rw-r--r--gdb/config/m68hc11/m68hc11.mt2
-rw-r--r--gdb/config/m68k/linux.mt2
-rw-r--r--gdb/config/m68k/monitor.mt2
-rw-r--r--gdb/config/m68k/nbsd.mt2
-rw-r--r--gdb/config/m68k/obsd.mt2
-rw-r--r--gdb/config/m88k/obsd.mt2
-rw-r--r--gdb/config/mep/mep.mt3
-rw-r--r--gdb/config/mips/embed.mt1
-rw-r--r--gdb/config/mips/irix5.mt2
-rw-r--r--gdb/config/mips/irix6.mt2
-rw-r--r--gdb/config/mips/linux.mt3
-rw-r--r--gdb/config/mips/nbsd.mt3
-rw-r--r--gdb/config/mips/obsd64.mt2
-rw-r--r--gdb/config/mn10300/linux.mt3
-rw-r--r--gdb/config/mn10300/mn10300.mt2
-rw-r--r--gdb/config/mt/mt.mt2
-rw-r--r--gdb/config/pa/hppa.mt1
-rw-r--r--gdb/config/pa/hppahpux.mt2
-rw-r--r--gdb/config/pa/linux.mt2
-rw-r--r--gdb/config/pa/obsd.mt2
-rw-r--r--gdb/config/powerpc/aix.mt3
-rw-r--r--gdb/config/powerpc/linux.mt3
-rw-r--r--gdb/config/powerpc/nbsd.mt3
-rw-r--r--gdb/config/powerpc/obsd.mt3
-rw-r--r--gdb/config/powerpc/ppc-eabi.mt2
-rw-r--r--gdb/config/s390/s390.mt2
-rw-r--r--gdb/config/score/embed.mt2
-rw-r--r--gdb/config/sh/embed.mt2
-rw-r--r--gdb/config/sh/linux.mt4
-rw-r--r--gdb/config/sh/nbsd.mt3
-rw-r--r--gdb/config/sh/obsd.mt3
-rw-r--r--gdb/config/sh/sh64.mt2
-rw-r--r--gdb/config/sparc/embed.mt2
-rw-r--r--gdb/config/sparc/fbsd.mt3
-rw-r--r--gdb/config/sparc/linux.mt3
-rw-r--r--gdb/config/sparc/linux64.mt4
-rw-r--r--gdb/config/sparc/nbsd.mt3
-rw-r--r--gdb/config/sparc/nbsd64.mt4
-rw-r--r--gdb/config/sparc/obsd.mt3
-rw-r--r--gdb/config/sparc/obsd64.mt4
-rw-r--r--gdb/config/sparc/sol2-64.mt3
-rw-r--r--gdb/config/sparc/sol2.mt2
-rw-r--r--gdb/config/sparc/sparc.mt2
-rw-r--r--gdb/config/sparc/sparc64.mt2
-rw-r--r--gdb/config/spu/spu.mt2
-rw-r--r--gdb/config/v850/v850.mt2
-rw-r--r--gdb/config/vax/nbsd.mt2
-rw-r--r--gdb/config/vax/obsd.mt2
-rw-r--r--gdb/config/vax/vax.mt2
-rw-r--r--gdb/config/xstormy16/xstormy16.mt2
-rw-r--r--gdb/config/xtensa/xtensa.mt2
-rwxr-xr-xgdb/configure20
-rw-r--r--gdb/configure.ac11
-rw-r--r--gdb/configure.tgt359
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/Makefile.in2
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/Makefile.in3
96 files changed, 371 insertions, 371 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b86f6d1..f7570be 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,110 @@
2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+ * config/alpha/alpha-linux.mt: Remove file.
+ * config/alpha/alpha.mt: Remove file.
+ * config/alpha/alpha-osf1.mt: Remove file.
+ * config/alpha/fbsd.mt: Remove file.
+ * config/alpha/nbsd.mt: Remove file.
+ * config/alpha/obsd.mt: Remove file.
+ * config/arm/embed.mt: Remove file.
+ * config/arm/linux.mt: Remove file.
+ * config/arm/nbsd.mt: Remove file.
+ * config/arm/obsd.mt: Remove file.
+ * config/arm/wince.mt: Remove file.
+ * config/avr/avr.mt: Remove file.
+ * config/cris/cris.mt: Remove file.
+ * config/frv/frv.mt: Remove file.
+ * config/h8300/h8300.mt: Remove file.
+ * config/i386/cygwin.mt: Remove file.
+ * config/i386/fbsd64.mt: Remove file.
+ * config/i386/fbsd.mt: Remove file.
+ * config/i386/i386gnu.mt: Remove file.
+ * config/i386/i386.mt: Remove file.
+ * config/i386/i386sol2.mt: Remove file.
+ * config/i386/linux64.mt: Remove file.
+ * config/i386/linux.mt: Remove file.
+ * config/i386/mingw.mt: Remove file.
+ * config/i386/nbsd64.mt: Remove file.
+ * config/i386/nbsd.mt: Remove file.
+ * config/i386/nto.mt: Remove file.
+ * config/i386/obsd64.mt: Remove file.
+ * config/i386/obsd.mt: Remove file.
+ * config/i386/sol2-64.mt: Remove file.
+ * config/ia64/ia64.mt: Remove file.
+ * config/ia64/linux.mt: Remove file.
+ * config/iq2000/iq2000.mt: Remove file.
+ * config/m32c/m32c.mt: Remove file.
+ * config/m32r/linux.mt: Remove file.
+ * config/m32r/m32r.mt: Remove file.
+ * config/m68hc11/m68hc11.mt: Remove file.
+ * config/m68k/linux.mt: Remove file.
+ * config/m68k/monitor.mt: Remove file.
+ * config/m68k/nbsd.mt: Remove file.
+ * config/m68k/obsd.mt: Remove file.
+ * config/m88k/obsd.mt: Remove file.
+ * config/mep/mep.mt: Remove file.
+ * config/mips/embed.mt: Remove file.
+ * config/mips/irix5.mt: Remove file.
+ * config/mips/irix6.mt: Remove file.
+ * config/mips/linux.mt: Remove file.
+ * config/mips/nbsd.mt: Remove file.
+ * config/mips/obsd64.mt: Remove file.
+ * config/mn10300/linux.mt: Remove file.
+ * config/mn10300/mn10300.mt: Remove file.
+ * config/mt/mt.mt: Remove file.
+ * config/pa/hppahpux.mt: Remove file.
+ * config/pa/hppa.mt: Remove file.
+ * config/pa/linux.mt: Remove file.
+ * config/pa/obsd.mt: Remove file.
+ * config/powerpc/aix.mt: Remove file.
+ * config/powerpc/linux.mt: Remove file.
+ * config/powerpc/nbsd.mt: Remove file.
+ * config/powerpc/obsd.mt: Remove file.
+ * config/powerpc/ppc-eabi.mt: Remove file.
+ * config/s390/s390.mt: Remove file.
+ * config/score/embed.mt: Remove file.
+ * config/sh/embed.mt: Remove file.
+ * config/sh/linux.mt: Remove file.
+ * config/sh/nbsd.mt: Remove file.
+ * config/sh/obsd.mt: Remove file.
+ * config/sh/sh64.mt: Remove file.
+ * config/sparc/embed.mt: Remove file.
+ * config/sparc/fbsd.mt: Remove file.
+ * config/sparc/linux64.mt: Remove file.
+ * config/sparc/linux.mt: Remove file.
+ * config/sparc/nbsd64.mt: Remove file.
+ * config/sparc/nbsd.mt: Remove file.
+ * config/sparc/obsd64.mt: Remove file.
+ * config/sparc/obsd.mt: Remove file.
+ * config/sparc/sol2-64.mt: Remove file.
+ * config/sparc/sol2.mt: Remove file.
+ * config/sparc/sparc64.mt: Remove file.
+ * config/sparc/sparc.mt: Remove file.
+ * config/spu/spu.mt: Remove file.
+ * config/v850/v850.mt: Remove file.
+ * config/vax/nbsd.mt: Remove file.
+ * config/vax/obsd.mt: Remove file.
+ * config/vax/vax.mt: Remove file.
+ * config/xstormy16/xstormy16.mt: Remove file.
+ * config/xtensa/xtensa.mt: Remove file.
+
+ * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere.
+ (gdb_target): Likewise.
+ (gdb_target_obs): Document. Set for every target to contents
+ of TDEPFILES in former .mt makefile fragment.
+
+ * configure.ac (TARGET_OBS): Define.
+ (target_makefile_frag, gdb_target_cpu): Do not define.
+ * configure: Regenerate.
+
+ * Makefile.in (MT_FLAGS): Remove.
+ (GLOBAL_CFLAGS): Update.
+ (TARGET_OBS): Substitute from configure.
+ (DEPFILES): Remove TDEPFILES, add TARGET_OBS.
+ (@target_makefile_frag@): Remove.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
* config/arm/embed.mt (SIM_OBS, SIM): Remove.
* config/avr/avr.mt (SIM_OBS, SIM): Remove.
* config/frv/frv.mt (SIM_OBS, SIM): Remove.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 4909983..c0ac91e 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -342,9 +342,8 @@ CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
DEFS = @DEFS@
GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -DLOCALEDIR="\"$(localedir)\"" $(DEFS)
-# M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
-# from the config directory.
-GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
+# MH_CFLAGS, if defined, has host-dependent CFLAGS from the config directory.
+GLOBAL_CFLAGS = $(MH_CFLAGS)
PROFILE_CFLAGS = @PROFILE_CFLAGS@
@@ -429,10 +428,12 @@ REMOTE_OBS = remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.
# This is remote-sim.o if a simulator is to be linked in.
SIM_OBS = @SIM_OBS@
-# Host and target-dependent makefile fragments come in here.
+# Target-dependent object files.
+TARGET_OBS = @TARGET_OBS@
+
+# Host-dependent makefile fragment comes in here.
@host_makefile_frag@
-@target_makefile_frag@
-# End of host and target-dependent makefile fragments
+# End of host-dependent makefile fragment
FLAGS_TO_PASS = \
"prefix=$(prefix)" \
@@ -946,7 +947,7 @@ REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
# variables analogous to SER_HARDWIRE which get defaulted in this
# Makefile.in
-DEPFILES = $(TDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
+DEPFILES = $(TARGET_OBS) $(SER_HARDWIRE) $(NATDEPFILES) \
$(REMOTE_OBS) $(SIM_OBS)
SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS)
diff --git a/gdb/config/alpha/alpha-linux.mt b/gdb/config/alpha/alpha-linux.mt
deleted file mode 100644
index c0eefa6..0000000
--- a/gdb/config/alpha/alpha-linux.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Little-endian Alpha
-TDEPFILES= alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
- solib.o solib-svr4.o
diff --git a/gdb/config/alpha/alpha-osf1.mt b/gdb/config/alpha/alpha-osf1.mt
deleted file mode 100644
index a1fe56d..0000000
--- a/gdb/config/alpha/alpha-osf1.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Little-endian Alpha
-TDEPFILES= alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o
diff --git a/gdb/config/alpha/alpha.mt b/gdb/config/alpha/alpha.mt
deleted file mode 100644
index 117f212..0000000
--- a/gdb/config/alpha/alpha.mt
+++ /dev/null
@@ -1 +0,0 @@
-TDEPFILES= alpha-tdep.o
diff --git a/gdb/config/alpha/fbsd.mt b/gdb/config/alpha/fbsd.mt
deleted file mode 100644
index a1132b2..0000000
--- a/gdb/config/alpha/fbsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: FreeBSD/alpha
-TDEPFILES= alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o alphafbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/alpha/nbsd.mt b/gdb/config/alpha/nbsd.mt
deleted file mode 100644
index ae7042d..0000000
--- a/gdb/config/alpha/nbsd.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: NetBSD/alpha
-TDEPFILES= alpha-tdep.o alpha-mdebug-tdep.o \
- alphabsd-tdep.o alphanbsd-tdep.o nbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/alpha/obsd.mt b/gdb/config/alpha/obsd.mt
deleted file mode 100644
index 093d50c..0000000
--- a/gdb/config/alpha/obsd.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: OpenBSD/alpha
-TDEPFILES= alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
- alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o obsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/arm/embed.mt b/gdb/config/arm/embed.mt
deleted file mode 100644
index 19b1236..0000000
--- a/gdb/config/arm/embed.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: ARM embedded system
-TDEPFILES= arm-tdep.o
diff --git a/gdb/config/arm/linux.mt b/gdb/config/arm/linux.mt
deleted file mode 100644
index 8621b56..0000000
--- a/gdb/config/arm/linux.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: ARM based machine running GNU/Linux
-TDEPFILES= arm-tdep.o arm-linux-tdep.o glibc-tdep.o solib.o \
- solib-svr4.o symfile-mem.o corelow.o
-
diff --git a/gdb/config/arm/nbsd.mt b/gdb/config/arm/nbsd.mt
deleted file mode 100644
index 75c0706..0000000
--- a/gdb/config/arm/nbsd.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: NetBSD/arm
-TDEPFILES= arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o
diff --git a/gdb/config/arm/obsd.mt b/gdb/config/arm/obsd.mt
deleted file mode 100644
index fcb1a76..0000000
--- a/gdb/config/arm/obsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: OpenBSD/arm
-TDEPFILES= arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/arm/wince.mt b/gdb/config/arm/wince.mt
deleted file mode 100644
index 0cf2c03..0000000
--- a/gdb/config/arm/wince.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: ARM based machine running Windows CE (win32)
-TDEPFILES= arm-tdep.o arm-wince-tdep.o corelow.o \
- solib.o solib-target.o
diff --git a/gdb/config/avr/avr.mt b/gdb/config/avr/avr.mt
deleted file mode 100644
index 4587d3e..0000000
--- a/gdb/config/avr/avr.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: AVR
-TDEPFILES= avr-tdep.o
diff --git a/gdb/config/cris/cris.mt b/gdb/config/cris/cris.mt
deleted file mode 100644
index a7f484f..0000000
--- a/gdb/config/cris/cris.mt
+++ /dev/null
@@ -1 +0,0 @@
-TDEPFILES= cris-tdep.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/frv/frv.mt b/gdb/config/frv/frv.mt
deleted file mode 100644
index da3c00b..0000000
--- a/gdb/config/frv/frv.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Fujitsu FRV processor
-TDEPFILES= frv-tdep.o frv-linux-tdep.o solib.o solib-frv.o corelow.o
diff --git a/gdb/config/h8300/h8300.mt b/gdb/config/h8300/h8300.mt
deleted file mode 100644
index d23ee8e..0000000
--- a/gdb/config/h8300/h8300.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: H8300 with HMS monitor and H8 simulator
-TDEPFILES= h8300-tdep.o monitor.o dsrec.o
diff --git a/gdb/config/i386/cygwin.mt b/gdb/config/i386/cygwin.mt
deleted file mode 100644
index 8ec3c44..0000000
--- a/gdb/config/i386/cygwin.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Intel 386 run win32
-TDEPFILES= i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
- solib-target.o corelow.o
diff --git a/gdb/config/i386/fbsd.mt b/gdb/config/i386/fbsd.mt
deleted file mode 100644
index bbf63a9..0000000
--- a/gdb/config/i386/fbsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: FreeBSD/i386
-TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
- bsd-uthread.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/i386/fbsd64.mt b/gdb/config/i386/fbsd64.mt
deleted file mode 100644
index 4e67843..0000000
--- a/gdb/config/i386/fbsd64.mt
+++ /dev/null
@@ -1,5 +0,0 @@
-# Target: FreeBSD/amd64
-TDEPFILES= amd64-tdep.o amd64fbsd-tdep.o \
- i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
- bsd-uthread.o corelow.o solib.o solib-svr4.o
-
diff --git a/gdb/config/i386/i386.mt b/gdb/config/i386/i386.mt
deleted file mode 100644
index d2eab6d..0000000
--- a/gdb/config/i386/i386.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: i386
-TDEPFILES= i386-tdep.o i387-tdep.o
diff --git a/gdb/config/i386/i386gnu.mt b/gdb/config/i386/i386gnu.mt
deleted file mode 100644
index 6684188..0000000
--- a/gdb/config/i386/i386gnu.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Intel 386 running the GNU Hurd
-TDEPFILES= i386-tdep.o i387-tdep.o i386gnu-tdep.o solib.o solib-svr4.o
diff --git a/gdb/config/i386/i386sol2.mt b/gdb/config/i386/i386sol2.mt
deleted file mode 100644
index 8e24723..0000000
--- a/gdb/config/i386/i386sol2.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Solaris x86
-TDEPFILES= i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/i386/linux.mt b/gdb/config/i386/linux.mt
deleted file mode 100644
index 17eeab1..0000000
--- a/gdb/config/i386/linux.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Intel 386 running GNU/Linux
-TDEPFILES= i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
- solib.o solib-svr4.o symfile-mem.o corelow.o
diff --git a/gdb/config/i386/linux64.mt b/gdb/config/i386/linux64.mt
deleted file mode 100644
index 61167fb..0000000
--- a/gdb/config/i386/linux64.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: GNU/Linux x86-64
-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 symfile-mem.o
diff --git a/gdb/config/i386/mingw.mt b/gdb/config/i386/mingw.mt
deleted file mode 100644
index 8ec3c44..0000000
--- a/gdb/config/i386/mingw.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Intel 386 run win32
-TDEPFILES= i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
- solib-target.o corelow.o
diff --git a/gdb/config/i386/nbsd.mt b/gdb/config/i386/nbsd.mt
deleted file mode 100644
index 3bc36a4..0000000
--- a/gdb/config/i386/nbsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: NetBSD/i386
-TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o nbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/i386/nbsd64.mt b/gdb/config/i386/nbsd64.mt
deleted file mode 100644
index 14cce9c..0000000
--- a/gdb/config/i386/nbsd64.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: NetBSD/amd64
-TDEPFILES= amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o nbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/i386/nto.mt b/gdb/config/i386/nto.mt
deleted file mode 100644
index b8b902a..0000000
--- a/gdb/config/i386/nto.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Intel 386 running qnx6.
-TDEPFILES = i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \
- i386-nto-tdep.o nto-tdep.o
diff --git a/gdb/config/i386/obsd.mt b/gdb/config/i386/obsd.mt
deleted file mode 100644
index f0f3da7..0000000
--- a/gdb/config/i386/obsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: OpenBSD/i386
-TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
- bsd-uthread.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/i386/obsd64.mt b/gdb/config/i386/obsd64.mt
deleted file mode 100644
index 4968388..0000000
--- a/gdb/config/i386/obsd64.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: OpenBSD/amd64
-TDEPFILES= amd64-tdep.o amd64obsd-tdep.o \
- i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
- bsd-uthread.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/i386/sol2-64.mt b/gdb/config/i386/sol2-64.mt
deleted file mode 100644
index 5368d86..0000000
--- a/gdb/config/i386/sol2-64.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Solaris x86_64
-TDEPFILES= i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
- i386-sol2-tdep.o sol2-tdep.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/ia64/ia64.mt b/gdb/config/ia64/ia64.mt
deleted file mode 100644
index 9f54dc8..0000000
--- a/gdb/config/ia64/ia64.mt
+++ /dev/null
@@ -1 +0,0 @@
-TDEPFILES= ia64-tdep.o
diff --git a/gdb/config/ia64/linux.mt b/gdb/config/ia64/linux.mt
deleted file mode 100644
index f567769..0000000
--- a/gdb/config/ia64/linux.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Intel IA-64 running GNU/Linux
-TDEPFILES= ia64-tdep.o ia64-linux-tdep.o solib.o solib-svr4.o symfile-mem.o
diff --git a/gdb/config/iq2000/iq2000.mt b/gdb/config/iq2000/iq2000.mt
deleted file mode 100644
index 347acc7..0000000
--- a/gdb/config/iq2000/iq2000.mt
+++ /dev/null
@@ -1 +0,0 @@
-TDEPFILES= iq2000-tdep.o
diff --git a/gdb/config/m32c/m32c.mt b/gdb/config/m32c/m32c.mt
deleted file mode 100644
index a282bfb..0000000
--- a/gdb/config/m32c/m32c.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Renesas M32C family
-TDEPFILES = m32c-tdep.o prologue-value.o
diff --git a/gdb/config/m32r/linux.mt b/gdb/config/m32r/linux.mt
deleted file mode 100644
index fccbaa1..0000000
--- a/gdb/config/m32r/linux.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Renesas M32R running GNU/Linux
-TDEPFILES= m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o glibc-tdep.o solib.o solib-svr4.o symfile-mem.o
diff --git a/gdb/config/m32r/m32r.mt b/gdb/config/m32r/m32r.mt
deleted file mode 100644
index a8587d2..0000000
--- a/gdb/config/m32r/m32r.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Renesas m32r processor
-TDEPFILES= m32r-tdep.o monitor.o m32r-rom.o dsrec.o remote-m32r-sdi.o
diff --git a/gdb/config/m68hc11/m68hc11.mt b/gdb/config/m68hc11/m68hc11.mt
deleted file mode 100644
index 2b4f674..0000000
--- a/gdb/config/m68hc11/m68hc11.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Motorola 68HC11 processor
-TDEPFILES= m68hc11-tdep.o
diff --git a/gdb/config/m68k/linux.mt b/gdb/config/m68k/linux.mt
deleted file mode 100644
index 1582635..0000000
--- a/gdb/config/m68k/linux.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Motorola m68k with a.out and ELF
-TDEPFILES= m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o glibc-tdep.o symfile-mem.o
diff --git a/gdb/config/m68k/monitor.mt b/gdb/config/m68k/monitor.mt
deleted file mode 100644
index 2008cee..0000000
--- a/gdb/config/m68k/monitor.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Motorola m68k embedded (e.g. bug monitors)
-TDEPFILES= m68k-tdep.o monitor.o dbug-rom.o dsrec.o
diff --git a/gdb/config/m68k/nbsd.mt b/gdb/config/m68k/nbsd.mt
deleted file mode 100644
index 6baefd9..0000000
--- a/gdb/config/m68k/nbsd.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: NetBSD/m68k
-TDEPFILES= m68k-tdep.o m68kbsd-tdep.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/m68k/obsd.mt b/gdb/config/m68k/obsd.mt
deleted file mode 100644
index 1c75e02..0000000
--- a/gdb/config/m68k/obsd.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: OpenBSD/m68k
-TDEPFILES= m68k-tdep.o m68kbsd-tdep.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/m88k/obsd.mt b/gdb/config/m88k/obsd.mt
deleted file mode 100644
index 36e61bb..0000000
--- a/gdb/config/m88k/obsd.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: OpenBSD/m88k
-TDEPFILES= m88k-tdep.o corelow.o
diff --git a/gdb/config/mep/mep.mt b/gdb/config/mep/mep.mt
deleted file mode 100644
index 584ec4b..0000000
--- a/gdb/config/mep/mep.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Toshiba Media Processor (MEP)
-TDEPFILES= mep-tdep.o prologue-value.o
-# No sim needed. Target uses SID.
diff --git a/gdb/config/mips/embed.mt b/gdb/config/mips/embed.mt
deleted file mode 100644
index c4663c6..0000000
--- a/gdb/config/mips/embed.mt
+++ /dev/null
@@ -1 +0,0 @@
-TDEPFILES= mips-tdep.o
diff --git a/gdb/config/mips/irix5.mt b/gdb/config/mips/irix5.mt
deleted file mode 100644
index 8dd37ea..0000000
--- a/gdb/config/mips/irix5.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: MIPS SGI running Irix 5
-TDEPFILES= mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o
diff --git a/gdb/config/mips/irix6.mt b/gdb/config/mips/irix6.mt
deleted file mode 100644
index 1448ec0..0000000
--- a/gdb/config/mips/irix6.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: MIPS SGI running Irix 6.x
-TDEPFILES= mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o
diff --git a/gdb/config/mips/linux.mt b/gdb/config/mips/linux.mt
deleted file mode 100644
index b61246d..0000000
--- a/gdb/config/mips/linux.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Linux/MIPS
-TDEPFILES= mips-tdep.o mips-linux-tdep.o corelow.o \
- solib.o solib-svr4.o symfile-mem.o
diff --git a/gdb/config/mips/nbsd.mt b/gdb/config/mips/nbsd.mt
deleted file mode 100644
index d7efec7..0000000
--- a/gdb/config/mips/nbsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: MIPS running NetBSD
-TDEPFILES= mips-tdep.o mipsnbsd-tdep.o corelow.o solib.o solib-svr4.o \
- nbsd-tdep.o
diff --git a/gdb/config/mips/obsd64.mt b/gdb/config/mips/obsd64.mt
deleted file mode 100644
index bdee48d..0000000
--- a/gdb/config/mips/obsd64.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: OpenBSD/mips64
-TDEPFILES= mips-tdep.o mips64obsd-tdep.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/mn10300/linux.mt b/gdb/config/mn10300/linux.mt
deleted file mode 100644
index 277ed76..0000000
--- a/gdb/config/mn10300/linux.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Matsushita mn10300 (AM33) running Linux
-TDEPFILES= mn10300-tdep.o mn10300-linux-tdep.o corelow.o solib.o solib-svr4.o
-
diff --git a/gdb/config/mn10300/mn10300.mt b/gdb/config/mn10300/mn10300.mt
deleted file mode 100644
index faefd03..0000000
--- a/gdb/config/mn10300/mn10300.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Matsushita mn10300
-TDEPFILES= mn10300-tdep.o
diff --git a/gdb/config/mt/mt.mt b/gdb/config/mt/mt.mt
deleted file mode 100644
index 998d997..0000000
--- a/gdb/config/mt/mt.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Morpho Technologies ms1 processor
-TDEPFILES= mt-tdep.o
diff --git a/gdb/config/pa/hppa.mt b/gdb/config/pa/hppa.mt
deleted file mode 100644
index eb78924..0000000
--- a/gdb/config/pa/hppa.mt
+++ /dev/null
@@ -1 +0,0 @@
-TDEPFILES= hppa-tdep.o
diff --git a/gdb/config/pa/hppahpux.mt b/gdb/config/pa/hppahpux.mt
deleted file mode 100644
index 8053385..0000000
--- a/gdb/config/pa/hppahpux.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: HP PA-RISC running hpux
-TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o corelow.o solib-som.o solib-pa64.o solib.o
diff --git a/gdb/config/pa/linux.mt b/gdb/config/pa/linux.mt
deleted file mode 100644
index 2e114c7..0000000
--- a/gdb/config/pa/linux.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: HP PA-RISC running Linux
-TDEPFILES= hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o solib.o solib-svr4.o symfile-mem.o
diff --git a/gdb/config/pa/obsd.mt b/gdb/config/pa/obsd.mt
deleted file mode 100644
index ea24488..0000000
--- a/gdb/config/pa/obsd.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: OpenBSD/hppa
-TDEPFILES= hppa-tdep.o hppabsd-tdep.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/powerpc/aix.mt b/gdb/config/powerpc/aix.mt
deleted file mode 100644
index 06a9984..0000000
--- a/gdb/config/powerpc/aix.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: PowerPC running AIX
-TDEPFILES= rs6000-tdep.o rs6000-aix-tdep.o \
- xcoffread.o ppc-sysv-tdep.o solib.o solib-svr4.o
diff --git a/gdb/config/powerpc/linux.mt b/gdb/config/powerpc/linux.mt
deleted file mode 100644
index d958f5b..0000000
--- a/gdb/config/powerpc/linux.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Motorola PPC on Linux
-TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o solib.o \
- solib-svr4.o corelow.o symfile-mem.o
diff --git a/gdb/config/powerpc/nbsd.mt b/gdb/config/powerpc/nbsd.mt
deleted file mode 100644
index 124c82b..0000000
--- a/gdb/config/powerpc/nbsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: NetBSD/powerpc
-TDEPFILES= rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/powerpc/obsd.mt b/gdb/config/powerpc/obsd.mt
deleted file mode 100644
index 58640f2..0000000
--- a/gdb/config/powerpc/obsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: OpenBSD/powerpc
-TDEPFILES= rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/powerpc/ppc-eabi.mt b/gdb/config/powerpc/ppc-eabi.mt
deleted file mode 100644
index 85de062..0000000
--- a/gdb/config/powerpc/ppc-eabi.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: PowerPC running eabi
-TDEPFILES= rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o dink32-rom.o ppc-sysv-tdep.o solib.o solib-svr4.o
diff --git a/gdb/config/s390/s390.mt b/gdb/config/s390/s390.mt
deleted file mode 100644
index c9dfb24..0000000
--- a/gdb/config/s390/s390.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: S390 running Linux
-TDEPFILES=s390-tdep.o solib.o solib-svr4.o
diff --git a/gdb/config/score/embed.mt b/gdb/config/score/embed.mt
deleted file mode 100644
index ea9c9d4..0000000
--- a/gdb/config/score/embed.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: S+core embedded system
-TDEPFILES=score-tdep.o
diff --git a/gdb/config/sh/embed.mt b/gdb/config/sh/embed.mt
deleted file mode 100644
index 732ac65..0000000
--- a/gdb/config/sh/embed.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Embedded Renesas Super-H with ICE and simulator
-TDEPFILES= sh-tdep.o sh64-tdep.o monitor.o dsrec.o
diff --git a/gdb/config/sh/linux.mt b/gdb/config/sh/linux.mt
deleted file mode 100644
index be75932..0000000
--- a/gdb/config/sh/linux.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: GNU/Linux Super-H
-TDEPFILES= sh-tdep.o sh64-tdep.o sh-linux-tdep.o \
- monitor.o dsrec.o \
- solib.o solib-svr4.o symfile-mem.o
diff --git a/gdb/config/sh/nbsd.mt b/gdb/config/sh/nbsd.mt
deleted file mode 100644
index 03424ab..0000000
--- a/gdb/config/sh/nbsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: NetBSD/sh
-TDEPFILES= sh-tdep.o shnbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/sh/obsd.mt b/gdb/config/sh/obsd.mt
deleted file mode 100644
index a61bba9..0000000
--- a/gdb/config/sh/obsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: OpenBSD/sh
-TDEPFILES= sh-tdep.o sh64-tdep.o shnbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/sh/sh64.mt b/gdb/config/sh/sh64.mt
deleted file mode 100644
index 5700ded..0000000
--- a/gdb/config/sh/sh64.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Renesas/Super-H 64 bit with simulator
-TDEPFILES= sh-tdep.o sh64-tdep.o
diff --git a/gdb/config/sparc/embed.mt b/gdb/config/sparc/embed.mt
deleted file mode 100644
index a0873c5..0000000
--- a/gdb/config/sparc/embed.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: SPARC embedded with simulator
-TDEPFILES= sparc-tdep.o
diff --git a/gdb/config/sparc/fbsd.mt b/gdb/config/sparc/fbsd.mt
deleted file mode 100644
index 17fe4ab..0000000
--- a/gdb/config/sparc/fbsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: FreeBSD/sparc64
-TDEPFILES= sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o corelow.o \
- solib.o solib-svr4.o
diff --git a/gdb/config/sparc/linux.mt b/gdb/config/sparc/linux.mt
deleted file mode 100644
index 2aad58e..0000000
--- a/gdb/config/sparc/linux.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: GNU/Linux SPARC
-TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o sparc-linux-tdep.o \
- solib.o solib-svr4.o symfile-mem.o
diff --git a/gdb/config/sparc/linux64.mt b/gdb/config/sparc/linux64.mt
deleted file mode 100644
index d9d0644..0000000
--- a/gdb/config/sparc/linux64.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: GNU/Linux UltraSPARC
-TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o sparc64-linux-tdep.o \
- sparc-tdep.o sparc-sol2-tdep.o sparc-linux-tdep.o \
- solib.o solib-svr4.o
diff --git a/gdb/config/sparc/nbsd.mt b/gdb/config/sparc/nbsd.mt
deleted file mode 100644
index 357f291..0000000
--- a/gdb/config/sparc/nbsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: NetBSD/sparc
-TDEPFILES= sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/sparc/nbsd64.mt b/gdb/config/sparc/nbsd64.mt
deleted file mode 100644
index 3d25c13..0000000
--- a/gdb/config/sparc/nbsd64.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: NetBSD/sparc64
-TDEPFILES= sparc64-tdep.o sparc64nbsd-tdep.o \
- sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/sparc/obsd.mt b/gdb/config/sparc/obsd.mt
deleted file mode 100644
index f54ee00..0000000
--- a/gdb/config/sparc/obsd.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: OpenBSD/sparc
-TDEPFILES= sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o nbsd-tdep.o \
- obsd-tdep.o bsd-uthread.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/sparc/obsd64.mt b/gdb/config/sparc/obsd64.mt
deleted file mode 100644
index 7f2b38d..0000000
--- a/gdb/config/sparc/obsd64.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: OpenBSD/sparc64
-TDEPFILES= sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
- sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o nbsd-tdep.o \
- obsd-tdep.o bsd-uthread.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/sparc/sol2-64.mt b/gdb/config/sparc/sol2-64.mt
deleted file mode 100644
index d5fa1ef..0000000
--- a/gdb/config/sparc/sol2-64.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Solaris UltraSPARC
-TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
- sol2-tdep.o solib.o solib-svr4.o
diff --git a/gdb/config/sparc/sol2.mt b/gdb/config/sparc/sol2.mt
deleted file mode 100644
index 4382c50..0000000
--- a/gdb/config/sparc/sol2.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Solaris SPARC
-TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o
diff --git a/gdb/config/sparc/sparc.mt b/gdb/config/sparc/sparc.mt
deleted file mode 100644
index ea78c97..0000000
--- a/gdb/config/sparc/sparc.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: SPARC
-TDEPFILES= sparc-tdep.o
diff --git a/gdb/config/sparc/sparc64.mt b/gdb/config/sparc/sparc64.mt
deleted file mode 100644
index b1082be..0000000
--- a/gdb/config/sparc/sparc64.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: UltraSPARC
-TDEPFILES= sparc-tdep.o sparc64-tdep.o
diff --git a/gdb/config/spu/spu.mt b/gdb/config/spu/spu.mt
deleted file mode 100644
index 2ea6fdc..0000000
--- a/gdb/config/spu/spu.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Cell BE SPU
-TDEPFILES= spu-tdep.o
diff --git a/gdb/config/v850/v850.mt b/gdb/config/v850/v850.mt
deleted file mode 100644
index 2d2cd2d..0000000
--- a/gdb/config/v850/v850.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: NEC V850 processor
-TDEPFILES= v850-tdep.o
diff --git a/gdb/config/vax/nbsd.mt b/gdb/config/vax/nbsd.mt
deleted file mode 100644
index f4321f5..0000000
--- a/gdb/config/vax/nbsd.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: NetBSD/vax
-TDEPFILES= vax-tdep.o vaxnbsd-tdep.o corelow.o solib.o solib-svr4.o
diff --git a/gdb/config/vax/obsd.mt b/gdb/config/vax/obsd.mt
deleted file mode 100644
index 26cd10c..0000000
--- a/gdb/config/vax/obsd.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: OpenBSD/vax
-TDEPFILES= vax-tdep.o vaxobsd-tdep.o corelow.o
diff --git a/gdb/config/vax/vax.mt b/gdb/config/vax/vax.mt
deleted file mode 100644
index 4d7af45..0000000
--- a/gdb/config/vax/vax.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: VAX running 4.2BSD or Ultrix
-TDEPFILES= vax-tdep.o
diff --git a/gdb/config/xstormy16/xstormy16.mt b/gdb/config/xstormy16/xstormy16.mt
deleted file mode 100644
index 20ee310..0000000
--- a/gdb/config/xstormy16/xstormy16.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Sanyo Xstormy16a processor
-TDEPFILES = xstormy16-tdep.o
diff --git a/gdb/config/xtensa/xtensa.mt b/gdb/config/xtensa/xtensa.mt
deleted file mode 100644
index e87f98a..0000000
--- a/gdb/config/xtensa/xtensa.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Target: Tensilica Xtensa processors
-TDEPFILES= xtensa-tdep.o xtensa-config.o
diff --git a/gdb/configure b/gdb/configure
index 72cf6e3..d1abf1c 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -313,8 +313,8 @@ ac_includes_default="\
ac_subdirs_all="$ac_subdirs_all gdbtk"
ac_subdirs_all="$ac_subdirs_all multi-ice"
ac_subdirs_all="$ac_subdirs_all gdbserver"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT localedir PACKAGE subdirs AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG READLINE READLINE_DEPS READLINE_CFLAGS HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR SIM SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags nm_h LIBICONV LIBOBJS LTLIBOBJS'
-ac_subst_files='host_makefile_frag target_makefile_frag'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT localedir PACKAGE subdirs TARGET_OBS AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG READLINE READLINE_DEPS READLINE_CFLAGS HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR SIM SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags nm_h LIBICONV LIBOBJS LTLIBOBJS'
+ac_subst_files='host_makefile_frag'
# Initialize some variables set by options.
ac_init_help=
@@ -3116,6 +3116,9 @@ _ACEOF
fi
+TARGET_OBS="${gdb_target_obs}"
+
+
test "$program_prefix" != NONE &&
program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Use a double $ so make ignores it.
@@ -23975,15 +23978,6 @@ else
host_makefile_frag=/dev/null
fi
-target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
-if test ! -f ${target_makefile_frag}; then
- { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
-echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
- { (exit 1); exit 1; }; }
-fi
-frags="$frags $target_makefile_frag"
-
-
@@ -24857,7 +24851,6 @@ ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
gdb_host_cpu=$gdb_host_cpu
-gdb_target_cpu=$gdb_target_cpu
nativefile=$nativefile
@@ -25001,6 +24994,7 @@ s,@CATOBJEXT@,$CATOBJEXT,;t t
s,@localedir@,$localedir,;t t
s,@PACKAGE@,$PACKAGE,;t t
s,@subdirs@,$subdirs,;t t
+s,@TARGET_OBS@,$TARGET_OBS,;t t
s,@AWK@,$AWK,;t t
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
@@ -25104,8 +25098,6 @@ s,@LIBOBJS@,$LIBOBJS,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
/@host_makefile_frag@/r $host_makefile_frag
s,@host_makefile_frag@,,;t t
-/@target_makefile_frag@/r $target_makefile_frag
-s,@target_makefile_frag@,,;t t
CEOF
_ACEOF
diff --git a/gdb/configure.ac b/gdb/configure.ac
index c451781..30df02e 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -121,6 +121,9 @@ if test "x$targ_defvec" != x; then
[Define to BFD's default target vector. ])
fi
+TARGET_OBS="${gdb_target_obs}"
+AC_SUBST(TARGET_OBS)
+
AC_ARG_PROGRAM
# The CLI cannot be disabled yet, but may be in the future.
@@ -1557,14 +1560,7 @@ else
host_makefile_frag=/dev/null
fi
-target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
-if test ! -f ${target_makefile_frag}; then
- AC_MSG_ERROR("*** Gdb does not support target ${target}")
-fi
-frags="$frags $target_makefile_frag"
-
AC_SUBST_FILE(host_makefile_frag)
-AC_SUBST_FILE(target_makefile_frag)
AC_SUBST(frags)
changequote(,)dnl
@@ -1661,7 +1657,6 @@ esac
],
[
gdb_host_cpu=$gdb_host_cpu
-gdb_target_cpu=$gdb_target_cpu
nativefile=$nativefile
])
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index e24835c..69e0b0e 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -2,8 +2,7 @@
# invoked from the autoconf generated configure script.
# This file sets the following shell variables:
-# gdb_target_cpu generic name of CPU
-# gdb_target name of GDB target definition to use
+# gdb_target_obs target-specific object files to use
# gdb_sim simulator library for target
# gdb_osabi default OS ABI to use with target
# build_gdbserver set to "yes" if gdbserver supports target
@@ -26,86 +25,77 @@ case $target in
;;
esac
-# Map target cpu into the config cpu subdirectory name.
-# The default is $target_cpu.
-
-case "${target_cpu}" in
-
-alpha*) gdb_target_cpu=alpha ;;
-am33_2.0*) gdb_target_cpu=mn10300 ;;
-arm*) gdb_target_cpu=arm ;;
-avr*) gdb_target_cpu=avr ;;
-fido*) gdb_target_cpu=m68k ;;
-hppa*) gdb_target_cpu=pa ;;
-i[34567]86*) gdb_target_cpu=i386 ;;
-m68hc11*|m6811*) gdb_target_cpu=m68hc11 ;;
-m68*) gdb_target_cpu=m68k ;;
-m88*) gdb_target_cpu=m88k ;;
-mips*) gdb_target_cpu=mips ;;
-powerpc* | rs6000) gdb_target_cpu=powerpc ;;
-sparc*) gdb_target_cpu=sparc ;;
-thumb*) gdb_target_cpu=arm ;;
-s390*) gdb_target_cpu=s390 ;;
-score*) gdb_target_cpu=score ;;
-sh*) gdb_target_cpu=sh ;;
-spu*) gdb_target_cpu=spu ;;
-strongarm*) gdb_target_cpu=arm ;;
-xscale*) gdb_target_cpu=arm ;;
-x86_64*) gdb_target_cpu=i386 ;;
-xtensa*) gdb_target_cpu=xtensa ;;
-*) gdb_target_cpu=$target_cpu ;;
-
-esac
-
# map target info into gdb names.
case "${target}" in
alpha*-*-osf*)
- gdb_target=alpha-osf1
+ # Target: Little-endian Alpha running OSF/1
+ gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o"
;;
alpha*-*-linux*)
- gdb_target=alpha-linux
+ # Target: Little-endian Alpha running Linux
+ gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
+ solib.o solib-svr4.o"
;;
alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
- gdb_target=fbsd
+ # Target: FreeBSD/alpha
+ gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
+ alphafbsd-tdep.o corelow.o solib.o solib-svr4.o"
;;
alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: NetBSD/alpha
+ gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
+ alphanbsd-tdep.o nbsd-tdep.o corelow.o solib.o \
+ solib-svr4.o"
;;
alpha*-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/alpha
+ gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
+ alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
+ obsd-tdep.o corelow.o solib.o solib-svr4.o"
;;
alpha*-*-*)
- gdb_target=alpha
+ # Target: Alpha
+ gdb_target_obs="alpha-tdep.o"
;;
-# mn10300 / am33 liunux
am33_2.0*-*-linux*)
- gdb_target=linux
+ # Target: Matsushita mn10300 (AM33) running Linux
+ gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o corelow.o \
+ solib.o solib-svr4.o"
;;
arm*-wince-pe | arm*-*-mingw32ce*)
- gdb_target=wince
+ # Target: ARM based machine running Windows CE (win32)
+ gdb_target_obs="arm-tdep.o arm-wince-tdep.o corelow.o \
+ solib.o solib-target.o"
build_gdbserver=yes
;;
arm*-*-linux*)
- gdb_target=linux
+ # Target: ARM based machine running GNU/Linux
+ gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
+ solib.o solib-svr4.o symfile-mem.o corelow.o"
build_gdbserver=yes
;;
arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: NetBSD/arm
+ gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o"
;;
arm*-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/arm
+ gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
- gdb_target=embed
+ # Target: ARM embedded system
+ gdb_target_obs="arm-tdep.o"
gdb_sim=../sim/arm/libsim.a
;;
avr-*-*)
- gdb_target=avr
+ # Target: AVR
+ gdb_target_obs="avr-tdep.o"
# There is no simulator provided with gdb (yet).
# See <http://savannah.gnu.org/projects/simulavr/>
# for the simulator used during development of avr
@@ -113,291 +103,418 @@ avr-*-*)
;;
cris*)
- gdb_target=cris
+ # Target: CRIS
+ gdb_target_obs="cris-tdep.o corelow.o solib.o solib-svr4.o"
;;
frv-*-*)
- gdb_target=frv
+ # Target: Fujitsu FRV processor
+ gdb_target_obs="frv-tdep.o frv-linux-tdep.o \
+ solib.o solib-frv.o corelow.o"
gdb_sim=../sim/frv/libsim.a
;;
h8300-*-*)
- gdb_target=h8300
+ # Target: H8300 with HMS monitor and H8 simulator
+ gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
gdb_sim=../sim/h8300/libsim.a
;;
hppa*-*-hpux*)
- gdb_target=hppahpux
+ # Target: HP PA-RISC running hpux
+ gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o corelow.o \
+ solib.o solib-som.o solib-pa64.o"
;;
hppa*-*-linux*)
- gdb_target=linux
+ # Target: HP PA-RISC running Linux
+ gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
+ solib.o solib-svr4.o symfile-mem.o"
;;
hppa*-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/hppa
+ gdb_target_obs="hppa-tdep.o hppabsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
hppa*-*-*)
- gdb_target=hppa
+ # Target: HP PA-RISC
+ gdb_target_obs="hppa-tdep.o"
;;
i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
- gdb_target=fbsd
+ # Target: FreeBSD/i386
+ gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
+ bsd-uthread.o corelow.o solib.o solib-svr4.o"
;;
i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: NetBSD/i386
+ gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
+ nbsd-tdep.o corelow.o solib.o solib-svr4.o"
;;
i[34567]86-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/i386
+ gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
+ bsd-uthread.o corelow.o solib.o solib-svr4.o"
;;
i[34567]86-*-nto*)
- gdb_target=nto
+ # Target: Intel 386 running qnx6.
+ gdb_target_obs="i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \
+ i386-nto-tdep.o nto-tdep.o"
;;
i[34567]86-*-solaris2.1[0-9]*)
- gdb_target=sol2-64
+ # Target: Solaris x86_64
+ gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
+ i386-sol2-tdep.o sol2-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
i[34567]86-*-solaris*)
- gdb_target=i386sol2
+ # Target: Solaris x86
+ gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
i[34567]86-*-linux*)
- gdb_target=linux
+ # Target: Intel 386 running GNU/Linux
+ gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
+ solib.o solib-svr4.o symfile-mem.o corelow.o"
build_gdbserver=yes
;;
i[34567]86-*-gnu*)
- gdb_target=i386gnu
+ # Target: Intel 386 running the GNU Hurd
+ gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o \
+ solib.o solib-svr4.o"
;;
i[34567]86-*-cygwin*)
- gdb_target=cygwin
+ # Target: Intel 386 running win32
+ gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
+ solib-target.o corelow.o"
build_gdbserver=yes
;;
i[34567]86-*-mingw32*)
- gdb_target=mingw
+ # Target: Intel 386 running win32
+ gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
+ solib-target.o corelow.o"
build_gdbserver=yes
;;
i[34567]86-*-*)
- gdb_target=i386
+ # Target: i386
+ gdb_target_obs="i386-tdep.o i387-tdep.o"
;;
ia64-*-linux*)
- gdb_target=linux
+ # Target: Intel IA-64 running GNU/Linux
+ gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o \
+ solib.o solib-svr4.o symfile-mem.o"
build_gdbserver=yes
;;
ia64*-*-*)
- gdb_target=ia64
+ # Target: Intel IA-64
+ gdb_target_obs="ia64-tdep.o"
;;
iq2000-*-*)
- gdb_target=iq2000
+ gdb_target_obs="iq2000-tdep.o"
gdb_sim=../sim/iq2000/libsim.a
;;
m32c-*-*)
- gdb_target=m32c
+ # Target: Renesas M32C family
+ gdb_target_obs="m32c-tdep.o prologue-value.o"
# There may also be a SID / CGEN simulator for this,
# but we do have DJ Delorie's mini-sim.
gdb_sim=../sim/m32c/libsim.a
;;
m32r*-*-linux*)
- gdb_target=linux
+ # Target: Renesas M32R running GNU/Linux
+ gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
+ glibc-tdep.o solib.o solib-svr4.o symfile-mem.o"
gdb_sim=../sim/m32r/libsim.a
build_gdbserver=yes
;;
m32r*-*-*)
- gdb_target=m32r
+ # Target: Renesas m32r processor
+ gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
+ remote-m32r-sdi.o"
gdb_sim=../sim/m32r/libsim.a
;;
m68hc11*-*-*|m6811*-*-*)
- gdb_target=m68hc11
+ # Target: Motorola 68HC11 processor
+ gdb_target_obs="m68hc11-tdep.o"
gdb_sim=../sim/m68hc11/libsim.a
;;
m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
fido-*-elf*)
- gdb_target=monitor
+ # Target: Motorola m68k embedded (e.g. bug monitors)
+ gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
;;
m68*-*-linux*)
- gdb_target=linux
+ # Target: Motorola m68k with a.out and ELF
+ gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o \
+ glibc-tdep.o symfile-mem.o"
build_gdbserver=yes
;;
m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: NetBSD/m68k
+ gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
m68*-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/m68k
+ gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
m88*-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/m88k
+ gdb_target_obs="m88k-tdep.o corelow.o"
;;
mep-*-*)
- gdb_target=mep
+ # Target: Toshiba Media Processor (MEP)
+ gdb_target_obs="mep-tdep.o prologue-value.o"
+ # No sim needed. Target uses SID.
;;
mips*-sgi-irix5*)
- gdb_target=irix5
+ # Target: MIPS SGI running Irix 5
+ gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
;;
mips*-sgi-irix6*)
- gdb_target=irix6
+ # Target: MIPS SGI running Irix 6.x
+ gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
;;
mips*-*-linux*)
- gdb_target=linux
+ # Target: Linux/MIPS
+ gdb_target_obs="mips-tdep.o mips-linux-tdep.o \
+ corelow.o solib.o solib-svr4.o symfile-mem.o"
gdb_sim=../sim/mips/libsim.a
build_gdbserver=yes
;;
mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: MIPS running NetBSD
+ gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o nbsd-tdep.o"
gdb_sim=../sim/mips/libsim.a
;;
mips64*-*-openbsd*)
- gdb_target=obsd64
+ # Target: OpenBSD/mips64
+ gdb_target_obs="mips-tdep.o mips64obsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
mips*-*-*)
- gdb_target=embed
+ # Target: MIPS
+ gdb_target_obs="mips-tdep.o"
gdb_sim=../sim/mips/libsim.a
;;
mn10300-*-*)
- gdb_target=mn10300
+ # Target: Matsushita mn10300
+ gdb_target_obs="mn10300-tdep.o"
gdb_sim=../sim/mn10300/libsim.a
;;
mt-*-*)
- gdb_target=mt
+ # Target: Morpho Technologies ms1 processor
+ gdb_target_obs="mt-tdep.o"
;;
powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: NetBSD/powerpc
+ gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
gdb_sim=../sim/ppc/libsim.a
;;
powerpc-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/powerpc
+ gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
powerpc-*-aix* | rs6000-*-*)
- gdb_target=aix
+ # Target: PowerPC running AIX
+ gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
+ ppc-sysv-tdep.o solib.o solib-svr4.o"
;;
powerpc-*-linux* | powerpc64-*-linux*)
- gdb_target=linux
+ # Target: PowerPC running Linux
+ gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
+ solib.o solib-svr4.o corelow.o symfile-mem.o"
gdb_sim=../sim/ppc/libsim.a
build_gdbserver=yes
;;
powerpc*-*-*)
- gdb_target=ppc-eabi
+ # Target: PowerPC running eabi
+ gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
+ dink32-rom.o ppc-sysv-tdep.o solib.o solib-svr4.o"
if test -f ../sim/ppc/Makefile; then
gdb_sim=../sim/ppc/libsim.a
fi
;;
s390*-*-*)
- gdb_target=s390
+ # Target: S390 running Linux
+ gdb_target_obs="s390-tdep.o solib.o solib-svr4.o"
build_gdbserver=yes
;;
score-*-*)
- gdb_target=embed
+ # Target: S+core embedded system
+ gdb_target_obs="score-tdep.o"
;;
# FIXME should that be sh*-*-linux*, perhaps?
sh-*-linux*)
- gdb_target=linux
+ # Target: GNU/Linux Super-H
+ gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
+ dsrec.o solib.o solib-svr4.o symfile-mem.o"
gdb_sim=../sim/sh/libsim.a
build_gdbserver=yes
;;
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: NetBSD/sh
+ gdb_target_obs="sh-tdep.o shnbsd-tdep.o corelow.o solib.o solib-svr4.o"
gdb_sim=../sim/sh/libsim.a
;;
sh*-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/sh
+ gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
sh64-*-elf*)
- gdb_target=sh64
+ # Target: Renesas/Super-H 64 bit with simulator
+ gdb_target_obs="sh-tdep.o sh64-tdep.o"
gdb_sim=../sim/sh64/libsim.a
;;
sh*)
- gdb_target=embed
+ # Target: Embedded Renesas Super-H with ICE and simulator
+ gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
gdb_sim=../sim/sh/libsim.a
;;
sparc-*-linux*)
- gdb_target=linux
+ # Target: GNU/Linux SPARC
+ gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
+ sparc-linux-tdep.o solib.o solib-svr4.o symfile-mem.o"
;;
sparc64-*-linux*)
- gdb_target=linux64
+ # Target: GNU/Linux UltraSPARC
+ gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
+ sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
+ sparc-linux-tdep.o solib.o solib-svr4.o"
;;
sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
- gdb_target=fbsd
+ # Target: FreeBSD/sparc64
+ gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: NetBSD/sparc
+ gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
- gdb_target=nbsd64
+ # Target: NetBSD/sparc64
+ gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
+ sparcnbsd-tdep.o nbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
sparc-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/sparc
+ gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
+ nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
+ corelow.o solib.o solib-svr4.o"
;;
sparc64-*-openbsd*)
- gdb_target=obsd64
+ # Target: OpenBSD/sparc64
+ gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
+ sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
+ nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
+ corelow.o solib.o solib-svr4.o"
;;
sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
- gdb_target=sol2
+ # Target: Solaris SPARC
+ gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
+ solib.o solib-svr4.o"
;;
sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
- gdb_target=sol2-64
+ # Target: Solaris UltraSPARC
+ gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
+ sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o"
;;
sparc-*-rtems*)
- gdb_target=embed
+ # Target: SPARC embedded with simulator
+ gdb_target_obs="sparc-tdep.o"
gdb_sim=../sim/erc32/libsim.a
;;
sparc-*-*)
- gdb_target=sparc
+ # Target: SPARC
+ gdb_target_obs="sparc-tdep.o"
;;
sparc64-*-*)
- gdb_target=sparc64
+ # Target: UltraSPARC
+ gdb_target_obs="sparc-tdep.o sparc64-tdep.o"
;;
spu*-*-*)
- gdb_target=spu
+ # Target: Cell BE SPU
+ gdb_target_obs="spu-tdep.o"
build_gdbserver=yes
;;
xstormy16-*-*)
- gdb_target=xstormy16
+ # Target: Sanyo Xstormy16a processor
+ gdb_target_obs="xstormy16-tdep.o"
# No simulator libraries are needed -- target uses SID.
;;
v850*-*-elf)
- gdb_target=v850
+ # Target: NEC V850 processor
+ gdb_target_obs="v850-tdep.o"
gdb_sim=../sim/v850/libsim.a
;;
vax-*-netbsd* | vax-*-knetbsd*-gnu)
- gdb_target=nbsd
+ # Target: NetBSD/vax
+ gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o"
;;
vax-*-openbsd*)
- gdb_target=obsd
+ # Target: OpenBSD/vax
+ gdb_target_obs="vax-tdep.o vaxobsd-tdep.o corelow.o"
;;
vax-*-*)
- gdb_target=vax
+ # Target: VAX running 4.2BSD or Ultrix
+ gdb_target_obs="vax-tdep.o"
;;
x86_64-*-linux*)
- gdb_target=linux64
+ # Target: GNU/Linux x86-64
+ gdb_target_obs="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 symfile-mem.o"
build_gdbserver=yes
;;
x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
- gdb_target=fbsd64
+ # Target: FreeBSD/amd64
+ gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
+ i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
+ bsd-uthread.o corelow.o solib.o solib-svr4.o"
;;
x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
- gdb_target=nbsd64
+ # Target: NetBSD/amd64
+ gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
+ nbsd-tdep.o corelow.o solib.o solib-svr4.o"
;;
x86_64-*-openbsd*)
- gdb_target=obsd64
+ # Target: OpenBSD/amd64
+ gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
+ i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
+ bsd-uthread.o corelow.o solib.o solib-svr4.o"
;;
xtensa*)
- gdb_target=xtensa
+ # Target: Tensilica Xtensa processors
+ gdb_target_obs="xtensa-tdep.o xtensa-config.o"
;;
esac
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index d1d8dbf..c97cb95 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-17 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * Makefile.in (Makefile): Do not depend on target_makefile_frag.
+
2007-11-15 Doug Evans <dje@google.com>
* gdb.texinfo (Symbols): Update output of "maint info symtabs".
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index b8ac0ee..44ca074 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -489,7 +489,7 @@ annotate_toc.html: $(ANNOTATE_DOC_FILES)
force:
-Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag) config.status
+Makefile: Makefile.in $(host_makefile_frag) config.status
$(SHELL) ./config.status
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7a75cb9..261e549 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * Makefile.in (Makefile): Do not depend on target_makefile_frag.
+ (target_cpu): Remove.
+
2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/ending-run.exp: Expect the list of cleared
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index da94fd2..121d221 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -28,7 +28,6 @@ program_transform_name = @program_transform_name@
build_canonical = @build@
host_canonical = @host@
target_canonical = @target@
-target_cpu = @gdb_target_cpu@
SHELL = @SHELL@
EXEEXT = @EXEEXT@
@@ -187,7 +186,7 @@ distclean maintainer-clean realclean: clean
done ; \
else true; fi
-Makefile : Makefile.in config.status $(host_makefile_frag) $(target_makefile_frag)
+Makefile : Makefile.in config.status $(host_makefile_frag)
$(SHELL) config.status
config.status: configure