This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Rationalize Instruction Set Architecture targets
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 18 Aug 2002 00:14:27 -0400
- Subject: Re: [patch/rfc] Rationalize Instruction Set Architecture targets
- References: <3D4F3784.9080500@ges.redhat.com>
Hello,
The attached patch is to follow on the previous MAINTAINERS file patch which gave the impression of removing djgpp from the target list :-(
This patch:
- changes the target/architecture section to the more exact ``Target Instruction Set Architecture''.
- where possible changes from an OS specific to a generic target
- where that fails, a more correct and active, cross unix target
I'm not sure how to follow this through. I could commit it all as is, or incrementally has maintainers for specific targets (eg PPC/rs6000, i386) give an ok.
It does reduce the number of build targets significantly which is a good thing.
I've committed the attached. It removes the redundency present in the
MAINTAINERS file.
enjoy,
Andrew
2002-08-17 Andrew Cagney <ac131313@redhat.com>
* config/ia64/ia64.mt: New file.
* config/alpha/alpha.mt: New file.
* MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to
ia64-linux-gnu. Mention that ia64-elf is broken.
* configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.193
diff -u -r1.193 MAINTAINERS
--- MAINTAINERS 8 Aug 2002 15:37:29 -0000 1.193
+++ MAINTAINERS 18 Aug 2002 03:25:49 -0000
@@ -56,7 +56,7 @@
a29k Deleted.
- alpha --target=alpha-dec-osf4.0a -Werror
+ alpha --target=alpha-elf -Werror
Maintenance only
arc (--target=arc-elf OBSOLETE)
@@ -98,7 +98,8 @@
Maintenance only
OBSOLETE candidate, not multi-arch
- ia64 --target=ia64-linux ,-Werror
+ ia64 --target=ia64-linux-gnu ,-Werror
+ (--target=ia64-elf broken)
Kevin Buettner kevinb@redhat.com
m32r (--target=m32r-elf broken)
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.78
diff -u -r1.78 configure.tgt
--- configure.tgt 15 Aug 2002 22:51:40 -0000 1.78
+++ configure.tgt 18 Aug 2002 03:25:49 -0000
@@ -42,6 +42,7 @@
alpha*-*-linux*) gdb_target=alpha-linux ;;
alpha*-*-freebsd*) gdb_target=fbsd ;;
alpha*-*-netbsd*) gdb_target=nbsd ;;
+alpha*-*-*) gdb_target=alpha ;;
# OBSOLETE arc-*-*) gdb_target=arc ;;
@@ -133,6 +134,7 @@
ia64-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
+ia64*-*-*) gdb_target=ia64 ;;
m32r-*-elf*) gdb_target=m32r ;;
Index: config/alpha/alpha.mt
===================================================================
RCS file: config/alpha/alpha.mt
diff -N config/alpha/alpha.mt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/alpha/alpha.mt 18 Aug 2002 03:25:49 -0000
@@ -0,0 +1,2 @@
+TDEPFILES= alpha-tdep.o
+TM_FILE= tm-alpha.h
Index: config/ia64/ia64.mt
===================================================================
RCS file: config/ia64/ia64.mt
diff -N config/ia64/ia64.mt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/ia64/ia64.mt 18 Aug 2002 03:25:49 -0000
@@ -0,0 +1,2 @@
+TDEPFILES= ia64-tdep.o
+TM_FILE= tm-ia64.h