aboutsummaryrefslogtreecommitdiff
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
commit771b4502d5e67d90e46529beb9e73ec37151828d (patch)
tree412025f292ae66f4a2a13bfcebfe3cf48e123107 /gdb/configure.host
parent0b2b0195d1b3b75d9fd0e5313466a0141790071d (diff)
downloadgdb-771b4502d5e67d90e46529beb9e73ec37151828d.zip
gdb-771b4502d5e67d90e46529beb9e73ec37151828d.tar.gz
gdb-771b4502d5e67d90e46529beb9e73ec37151828d.tar.bz2
* 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 bbfe498..3615859 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 ;;