aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-08-22 01:01:32 +0000
committerAlan Modra <amodra@gmail.com>2013-08-22 01:01:32 +0000
commitbcbec14ee2e2d060dec534fe9a608f64d1bfa632 (patch)
tree2df01418351fbff190e8b3bf533ed7f6e90de45c
parent342719af236cc7c97e1701db8b5d56761b992e06 (diff)
downloadgdb-bcbec14ee2e2d060dec534fe9a608f64d1bfa632.zip
gdb-bcbec14ee2e2d060dec534fe9a608f64d1bfa632.tar.gz
gdb-bcbec14ee2e2d060dec534fe9a608f64d1bfa632.tar.bz2
* configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
* configure.tgt: Likewise as targets.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/configure.host4
-rw-r--r--gdb/configure.tgt2
3 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7ed39f8..8caad2f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-22 Alan Modra <amodra@gmail.com>
+
+ * configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
+ * configure.tgt: Likewise as targets.
+
2013-08-20 Doug Evans <dje@google.com>
* buildsym.c (subfile_stack): Move here from buildsym.h.
diff --git a/gdb/configure.host b/gdb/configure.host
index 6633b92..ed57b33 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -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 ;;
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 653ba2b..0ac4e33 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -438,7 +438,7 @@ powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
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 \