X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fconfigure.host;h=672920de8518c3ca2a2936ad244b04fe4ce565a8;hb=af5ca30dc3dea6cf168332e1f87306acc51a0fd5;hp=faf94a73f70c22379a3d9c5d62e50f6a060eeed3;hpb=87285d5bcb0f5584fe164007d6df1addfaec3850;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/configure.host b/gdb/configure.host index faf94a73f7..672920de85 100644 --- a/gdb/configure.host +++ b/gdb/configure.host @@ -7,10 +7,36 @@ # gdb_host_float_format host's float floatformat, or 0 # gdb_host_double_format host's double floatformat, or 0 # gdb_host_long_double_format host's long double floatformat, or 0 +# gdb_host_obs host-specific .o files to include # Map host cpu into the config cpu subdirectory name. # The default is $host_cpu. +case $host in + alpha*-*-osf1* | \ + alpha*-*-osf2* | \ + hppa*-*-hiux* | \ + i[34567]86-ncr-* | \ + i[34567]86-*-dgux* | \ + i[34567]86-*-lynxos* | \ + i[34567]86-*-sco3.2v5* | \ + i[34567]86-*-sco3.2v4* | \ + i[34567]86-*-sco* | \ + i[34567]86-*-sysv4.2* | \ + i[34567]86-*-sysv4* | \ + i[34567]86-*-sysv5* | \ + i[34567]86-*-unixware2* | \ + i[34567]86-*-unixware* | \ + i[34567]86-*-sysv* | \ + i[34567]86-*-isc* | \ + rs6000-*-lynxos* | \ + null) + echo "*** Configuration $host is obsolete." >&2 + echo "*** Support has been REMOVED." >&2 + exit 1 + ;; +esac + case "${host_cpu}" in alpha*) gdb_host_cpu=alpha ;; @@ -20,13 +46,14 @@ i[34567]86*) gdb_host_cpu=i386 ;; m68*) gdb_host_cpu=m68k ;; m88*) gdb_host_cpu=m88k ;; mips*) gdb_host_cpu=mips ;; -powerpc*) gdb_host_cpu=powerpc ;; +powerpc* | rs6000) gdb_host_cpu=powerpc ;; sparcv9 | sparc64) gdb_host_cpu=sparc ;; s390*) gdb_host_cpu=s390 ;; sh*) gdb_host_cpu=sh ;; x86_64*) gdb_host_cpu=i386 ;; xscale*) gdb_host_cpu=arm ;; m32r*) gdb_host_cpu=m32r ;; +xtensa*) gdb_host_cpu=xtensa ;; *) gdb_host_cpu=$host_cpu ;; esac @@ -35,8 +62,6 @@ esac case "${host}" in -alpha*-*-osf1*) gdb_host=alpha-osf1 ;; -alpha*-*-osf2*) gdb_host=alpha-osf2 ;; alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;; alpha*-*-linux*) gdb_host=alpha-linux ;; alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) @@ -49,43 +74,34 @@ arm*-*-linux*) gdb_host=linux ;; arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu) gdb_host=nbsdelf ;; arm*-*-netbsd*) gdb_host=nbsdaout ;; +arm*-*-openbsd*) gdb_host=nbsdelf ;; -hppa*-*-hpux* | hppa*-*-hiux*) +hppa*-*-hpux*) gdb_host=hpux ;; hppa*-*-linux*) gdb_host=linux ;; +hppa*-*-netbsd*) gdb_host=nbsd ;; hppa*-*-openbsd*) gdb_host=obsd ;; -i[34567]86-ncr-*) gdb_host=ncr3000 ;; -i[34567]86-*-dgux*) gdb_host=i386v4 ;; i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu) gdb_host=fbsd ;; i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu) gdb_host=nbsdelf ;; i[34567]86-*-netbsd*) gdb_host=nbsdaout ;; i[34567]86-*-go32*) gdb_host=go32 ;; +i[34567]86-*-mingw32*) gdb_host=mingw + gdb_host_obs=mingw-hdep.o + ;; i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;; i[34567]86-*-linux*) gdb_host=linux ;; -i[34567]86-*-lynxos*) gdb_host=i386lynx ;; i[34567]86-*-gnu*) gdb_host=i386gnu ;; i[3456]86-*-nto*) gdb_host=nto ;; i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3]) gdb_host=obsdaout ;; i[34567]86-*-openbsd*) gdb_host=obsd ;; -i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;; -i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;; -i[34567]86-*-sco*) gdb_host=i386sco ;; i[34567]86-*-solaris2.1[0-9]*) gdb_host=sol2-64 ;; i[34567]86-*-solaris*) gdb_host=i386sol2 ;; -i[34567]86-*-sysv4.2*) gdb_host=i386v42mp ;; -i[34567]86-*-sysv4*) gdb_host=i386v4 ;; -i[34567]86-*-sysv5*) gdb_host=i386v42mp ;; -i[34567]86-*-unixware2*) gdb_host=i386v42mp ;; -i[34567]86-*-unixware*) gdb_host=i386v4 ;; -i[34567]86-*-sysv*) gdb_host=i386v ;; -i[34567]86-*-isc*) gdb_host=i386v ;; i[34567]86-*-cygwin*) gdb_host=cygwin ;; -ia64-*-aix*) gdb_host=aix ;; ia64-*-linux*) gdb_host=linux ;; m68*-*-linux*) gdb_host=linux ;; @@ -103,22 +119,26 @@ mips*-*-netbsd* | mips*-*-knetbsd*-gnu) gdb_host=nbsd ;; mips64*-*-openbsd*) gdb_host=obsd64 ;; -powerpc-*-aix*) gdb_host=aix ;; +powerpc-*-aix* | rs6000-*-*) + gdb_host=aix ;; powerpc-*-linux*) gdb_host=linux ;; powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) gdb_host=nbsd ;; powerpc-*-openbsd*) gdb_host=obsd ;; -powerpc64-*-linux*) gdb_host=ppc64-linux ;; - -rs6000-*-lynxos*) gdb_host=rs6000lynx ;; -rs6000-*-aix4*) gdb_host=aix4 ;; -rs6000-*-*) gdb_host=rs6000 ;; +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 + ;; s390*-*-*) gdb_host=s390 ;; sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) gdb_host=nbsd ;; +sh*-*-openbsd*) gdb_host=nbsd ;; sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu) gdb_host=fbsd ;; @@ -152,6 +172,8 @@ x86_64-*-openbsd*) gdb_host=obsd64 ;; m32r*-*-linux*) gdb_host=linux ;; +xtensa*-*-linux*) gdb_host=linux ;; + esac