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
On Aug 5, 10:42pm, Andrew Cagney wrote:
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.
Okay on the parts I can okay.
Thanks, I've so far checked in the attached. More to come :-)
Andrew
2002-08-08 Andrew Cagney <ac131313@redhat.com>
* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
powerpc*-*-*.
* MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.192
diff -u -r1.192 MAINTAINERS
--- MAINTAINERS 6 Aug 2002 14:12:46 -0000 1.192
+++ MAINTAINERS 8 Aug 2002 15:06:02 -0000
@@ -136,9 +136,6 @@
powerpc --target=powerpc-eabi ,-Werror
Kevin Buettner kevinb@redhat.com
- rs6000 --target=rs6000-ibm-aix4.1 ,-Werror
- (see rs6000 native and ppc target)
-
s390 --target=s390-linux ,-Werror
(contact DJ Barrow djbarrow@de.ibm.com)
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.76
diff -u -r1.76 configure.tgt
--- configure.tgt 6 Aug 2002 14:12:46 -0000 1.76
+++ configure.tgt 8 Aug 2002 15:06:02 -0000
@@ -218,22 +218,15 @@
powerpc-*-netbsd*) gdb_target=nbsd ;;
powerpc-*-aix*) gdb_target=aix ;;
-powerpc-*-eabi* | powerpc-*-sysv* | powerpc-*-elf*)
- if test -f ../sim/ppc/Makefile; then
- gdb_target=ppc-sim
- else
- gdb_target=ppc-eabi
- fi ;;
-powerpcle-*-eabi* | powerpcle-*-sysv* | powerpcle-*-elf*)
- if test -f ../sim/ppc/Makefile; then
- gdb_target=ppcle-sim
- else
- gdb_target=ppcle-eabi
- fi ;;
powerpc-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
powerpc-*-vxworks*) gdb_target=vxworks ;;
+powerpc*-*-*) if test -f ../sim/ppc/Makefile; then
+ gdb_target=ppc-sim
+ else
+ gdb_target=ppc-eabi
+ fi ;;
rs6000-*-lynxos*) gdb_target=rs6000lynx ;;
rs6000-*-aix4*) gdb_target=aix4 ;;