* configure.tgt (rs6000-*-*): Likewise.
* config/rs6000/aix4.mh: Delete file.
* config/rs6000/aix4.mt: Delete file.
* config/rs6000/rs6000.mh: Delete file.
* config/rs6000/rs6000.mt: Delete file.
* config/powerpc/nm-aix.h: Delete file.
* config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
+ * configure.tgt (rs6000-*-*): Likewise.
+ * config/rs6000/aix4.mh: Delete file.
+ * config/rs6000/aix4.mt: Delete file.
+ * config/rs6000/rs6000.mh: Delete file.
+ * config/rs6000/rs6000.mt: Delete file.
+
+ * config/powerpc/nm-aix.h: Delete file.
+ * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
+
2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
* aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
# Host: IBM PowerPC running AIX
-NAT_FILE= nm-aix.h
+NAT_FILE= config/rs6000/nm-rs6000.h
# aix-thread.o is not listed in NATDEPFILES as it is pulled in by configure.
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o rs6000-nat.o \
+++ /dev/null
-/* IBM PowerPC native-dependent macros for GDB, the GNU debugger.
- Copyright 1995, 1996, 2007 Free Software Foundation, 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. */
-
-#include "rs6000/nm-rs6000.h"
-
+++ /dev/null
-# Host: IBM RS/6000 running AIX4
-
-NAT_FILE= nm-rs6000.h
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o rs6000-nat.o \
- xcoffsolib.o
-
-# When compiled with cc, for debugging, this argument should be passed.
-# We have no idea who our current compiler is though, so we skip it.
-# MH_CFLAGS = -bnodelcsect
+++ /dev/null
-# Target: IBM RS/6000 running AIX4
-TDEPFILES= rs6000-tdep.o xcoffread.o ppc-sysv-tdep.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= config/rs6000/tm-rs6000.h
+++ /dev/null
-# Host: IBM RS/6000 running AIX
-
-NAT_FILE= nm-rs6000.h
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o rs6000-nat.o \
- xcoffsolib.o
-
-# When compiled with cc, for debugging, this argument should be passed.
-# We have no idea who our current compiler is though, so we skip it.
-# MH_CFLAGS = -bnodelcsect
+++ /dev/null
-# Target: IBM RS/6000 running AIX
-TDEPFILES= rs6000-tdep.o xcoffread.o ppc-sysv-tdep.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= tm-rs6000.h
m68*) gdb_host_cpu=m68k ;;
m88*) gdb_host_cpu=m88k ;;
mips*) gdb_host_cpu=mips ;;
-powerpc*) gdb_host_cpu=powerpc ;;
+powerpc* | rs6000) gdb_host_cpu=powerpc ;;
sparcv9 | sparc64) gdb_host_cpu=sparc ;;
s390*) gdb_host_cpu=s390 ;;
sh*) gdb_host_cpu=sh ;;
gdb_host=nbsd ;;
mips64*-*-openbsd*) gdb_host=obsd64 ;;
-powerpc-*-aix*) gdb_host=aix ;;
+powerpc-*-aix* | rs6000-*-*)
+ gdb_host=aix ;;
powerpc-*-linux*) gdb_host=linux ;;
powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
gdb_host=nbsd ;;
fi
;;
-rs6000-*-aix4*) gdb_host=aix4 ;;
-rs6000-*-*) gdb_host=rs6000 ;;
-
s390*-*-*) gdb_host=s390 ;;
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
m68*) gdb_target_cpu=m68k ;;
m88*) gdb_target_cpu=m88k ;;
mips*) gdb_target_cpu=mips ;;
-powerpc*) gdb_target_cpu=powerpc ;;
+powerpc* | rs6000) gdb_target_cpu=powerpc ;;
sparc*) gdb_target_cpu=sparc ;;
thumb*) gdb_target_cpu=arm ;;
s390*) gdb_target_cpu=s390 ;;
powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
gdb_target=nbsd ;;
powerpc-*-openbsd*) gdb_target=obsd ;;
-powerpc-*-aix*) gdb_target=aix ;;
+powerpc-*-aix* | rs6000-*-*)
+ gdb_target=aix ;;
powerpc-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
gdb_target=ppc-eabi
fi ;;
-rs6000-*-aix4*) gdb_target=aix4 ;;
-rs6000-*-*) gdb_target=rs6000 ;;
-
s390*-*-*) gdb_target=s390
build_gdbserver=yes
;;