summaryrefslogtreecommitdiff
path: root/gdb/configure.host
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2006-11-22 13:49:53 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2006-11-22 13:49:53 +0000
commiteea6bc6554e56c11a5fcc26f7823771b0497dfc4 (patch)
treedad2bd0a9360d3ba8490f7d755d4940047bf56b4 /gdb/configure.host
parentef7b9179e4aa301fc6b290c3472984976e4daef5 (diff)
downloadgdb-eea6bc6554e56c11a5fcc26f7823771b0497dfc4.tar.gz
* config/powerpc/spu-linux.mh: New file.
* config/spu/spu.mt: New file. * configure.ac: Provide gdb_native configuration variable. * configure: Regenerate. * configure.host: Support powerpc64 to spu 'pseudo-native' mode. * configure.tgt: Add "spu" target_cpu and "spu*-*-*" target. * Makefile.in (spu_tdep_h): New variable. (ALLDEPFILES): Add spu-linux-nat.c and spu-tdep.c (spu-linux-nat.o, spu-tdep.o): Add dependencies. * spu-linux-nat.c: New file. * spu-tdep.c: New file. * spu-tdep.h: New file.
Diffstat (limited to 'gdb/configure.host')
-rw-r--r--gdb/configure.host8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/configure.host b/gdb/configure.host
index bbfe4985f3d..3615859cc21 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -114,7 +114,13 @@ 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
+ ;;
rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
rs6000-*-aix4*) gdb_host=aix4 ;;