diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2006-11-22 13:49:53 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2006-11-22 13:49:53 +0000 |
commit | 771b4502d5e67d90e46529beb9e73ec37151828d (patch) | |
tree | 412025f292ae66f4a2a13bfcebfe3cf48e123107 /gdb/configure.ac | |
parent | 0b2b0195d1b3b75d9fd0e5313466a0141790071d (diff) | |
download | gdb-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.ac')
-rw-r--r-- | gdb/configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 9b09b94..b80f7bd 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -81,6 +81,12 @@ AC_CONFIG_SUBDIRS(doc testsuite) # configuration. gdb_host_obs=posix-hdep.o +if test "${target}" = "${host}"; then + gdb_native=yes +else + gdb_native=no +fi + . $srcdir/configure.host . $srcdir/configure.tgt @@ -1420,7 +1426,7 @@ fi AC_SUBST(target_subdir) frags= -if test "${target}" = "${host}"; then +if test "${gdb_native}" = "yes"; then host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh if test ! -f ${host_makefile_frag}; then AC_MSG_ERROR("*** Gdb does not support native target ${host}") @@ -1449,7 +1455,7 @@ targetfile=`sed -n ' s/DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p ' ${target_makefile_frag}` -if test "${target}" = "${host}"; then +if test "${gdb_native}" = "yes"; then # We pick this up from the host configuration file (.mh) because we # do not have a native configuration Makefile fragment. nativefile=`sed -n ' |