This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
powerpc64le configury
- From: Alan Modra <amodra at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 21 Aug 2013 22:29:00 +0930
- Subject: powerpc64le configury
This is part of the configury changes to gdb to support powerpc64le.
The other part, libtool support for powerpc64le, is waiting on
review by a libtool maintainer. OK to apply?
* configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
* configure.tgt: Likewise as targets.
Index: gdb/configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.111
diff -u -p -r1.111 configure.host
--- gdb/configure.host 7 Aug 2013 14:42:34 -0000 1.111
+++ gdb/configure.host 21 Aug 2013 05:42:22 -0000
@@ -129,18 +129,18 @@ mips64*-*-openbsd*) gdb_host=obsd64 ;;
powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
gdb_host=aix ;;
powerpc*-*-freebsd*) gdb_host=fbsd ;;
-powerpc-*-linux*) gdb_host=linux ;;
powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
gdb_host=nbsd ;;
powerpc-*-openbsd*) gdb_host=obsd ;;
-powerpc64-*-linux*) gdb_host=ppc64-linux
+powerpc64*-*-linux*) gdb_host=ppc64-linux
# Support 'pseudo-native' debugging on the Cell BE
if test "${target_cpu}" = "spu"; then
gdb_host=spu-linux
gdb_native=yes
fi
;;
+powerpc*-*-linux*) gdb_host=linux ;;
s390*-*-*) gdb_host=s390 ;;
Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.278
diff -u -p -r1.278 configure.tgt
--- gdb/configure.tgt 7 Aug 2013 14:42:34 -0000 1.278
+++ gdb/configure.tgt 21 Aug 2013 05:42:22 -0000
@@ -438,7 +438,7 @@ powerpc-*-aix* | rs6000-*-* | powerpc64-
ppc-sysv-tdep.o solib-aix.o \
ravenscar-thread.o ppc-ravenscar-thread.o"
;;
-powerpc-*-linux* | powerpc64-*-linux*)
+powerpc*-*-linux*)
# Target: PowerPC running Linux
gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
ppc64-tdep.o solib-svr4.o solib-spu.o \
--
Alan Modra
Australia Development Lab, IBM