X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fconfigure.host;h=ef265ebe293ba42445de3325e452ba71bc7873e8;hb=5fe966540d6b748f825774868463003700f0c878;hp=d3b6713f0f581a9bdf766f053f0f32fbd9cf1cb8;hpb=d08950c4fce9f0be23144c7e69a0c67ae94ffbc8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/configure.host b/gdb/configure.host index d3b6713f0f..ef265ebe29 100644 --- a/gdb/configure.host +++ b/gdb/configure.host @@ -13,12 +13,21 @@ # The default is $host_cpu. case $host in - alpha*-*-osf1* | \ - alpha*-*-osf2* | \ + arm*-*-netbsdelf* | \ + i[34567]86-*-netbsdelf* | \ + m68*-*-netbsdelf* | \ + sparc-*-netbsdelf* | \ + vax-*-netbsdelf*) + ;; + *-*-irix* | \ + alpha*-*-osf* | \ + arm*-*-netbsd* | \ hppa*-*-hiux* | \ i[34567]86-ncr-* | \ i[34567]86-*-dgux* | \ i[34567]86-*-lynxos* | \ + i[34567]86-*-netbsd* | \ + i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3] | \ i[34567]86-*-sco3.2v5* | \ i[34567]86-*-sco3.2v4* | \ i[34567]86-*-sco* | \ @@ -29,7 +38,14 @@ case $host in i[34567]86-*-unixware* | \ i[34567]86-*-sysv* | \ i[34567]86-*-isc* | \ + m68*-*-netbsd* | \ + sparc-*-netbsd* | \ rs6000-*-lynxos* | \ + vax-*-bsd* | \ + vax-*-netbsd* | \ + vax-*-ultrix* | \ + hppa*-*-hpux* | \ + ia64-*-hpux* | \ null) echo "*** Configuration $host is obsolete." >&2 echo "*** Support has been REMOVED." >&2 @@ -39,6 +55,7 @@ esac case "${host_cpu}" in +aarch64*) gdb_host_cpu=aarch64 ;; alpha*) gdb_host_cpu=alpha ;; arm*) gdb_host_cpu=arm ;; hppa*) gdb_host_cpu=pa ;; @@ -50,8 +67,8 @@ powerpc* | rs6000) gdb_host_cpu=powerpc ;; sparcv9 | sparc64) gdb_host_cpu=sparc ;; s390*) gdb_host_cpu=s390 ;; sh*) gdb_host_cpu=sh ;; +tilegx*) gdb_host_cpu=tilegx ;; 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 ;; @@ -62,7 +79,10 @@ esac case "${host}" in -alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;; +*-*-darwin*) gdb_host=darwin ;; + +aarch64*-*-linux*) gdb_host=linux ;; + alpha*-*-linux*) gdb_host=alpha-linux ;; alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) gdb_host=fbsd ;; @@ -73,19 +93,16 @@ alpha*-*-openbsd*) gdb_host=nbsd ;; 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*) - gdb_host=hpux ;; hppa*-*-linux*) gdb_host=linux ;; +hppa*-*-netbsd*) gdb_host=nbsd ;; hppa*-*-openbsd*) gdb_host=obsd ;; 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 @@ -94,10 +111,9 @@ i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;; i[34567]86-*-linux*) gdb_host=linux ;; 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-*-solaris2.1[0-9]*) gdb_host=sol2-64 ;; +i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*) + gdb_host=sol2-64 ;; i[34567]86-*-solaris*) gdb_host=i386sol2 ;; i[34567]86-*-cygwin*) gdb_host=cygwin ;; @@ -106,34 +122,32 @@ ia64-*-linux*) gdb_host=linux ;; m68*-*-linux*) gdb_host=linux ;; m68*-*-netbsdelf* | m68*-*-knetbsd*-gnu) gdb_host=nbsdelf ;; -m68*-*-netbsd*) gdb_host=nbsdaout ;; m68*-*-openbsd*) gdb_host=obsd ;; m88*-*-openbsd*) gdb_host=obsd ;; -mips-sgi-irix5*) gdb_host=irix5 ;; -mips-sgi-irix6*) gdb_host=irix6 ;; mips*-*-linux*) gdb_host=linux ;; mips*-*-netbsd* | mips*-*-knetbsd*-gnu) gdb_host=nbsd ;; mips64*-*-openbsd*) gdb_host=obsd64 ;; -powerpc-*-aix* | rs6000-*-*) +powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*) gdb_host=aix ;; -powerpc-*-linux*) gdb_host=linux ;; +powerpc*-*-freebsd*) gdb_host=fbsd ;; 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 ;; +s390*-*-linux*) gdb_host=linux ;; sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) gdb_host=nbsd ;; @@ -145,22 +159,19 @@ sparc-*-linux*) gdb_host=linux ;; sparc64-*-linux*) gdb_host=linux64 ;; sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu) gdb_host=nbsdelf ;; -sparc-*-netbsdaout*) gdb_host=nbsdaout ;; -sparc-*-netbsd*) gdb_host=nbsdaout ;; sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) gdb_host=nbsd64 ;; sparc-*-openbsd*) gdb_host=nbsdelf ;; -sparc64-*-openbsd*) gdb_host=nbsd64 ;; +sparc64-*-openbsd*) gdb_host=obsd64 ;; sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) gdb_host=sol2 ;; -vax-*-bsd*) gdb_host=vax ;; +tilegx-*-linux*) gdb_host=linux ;; + vax-*-netbsdelf* | vax-*-knetbsd*-gnu) gdb_host=nbsdelf ;; -vax-*-netbsd*) gdb_host=nbsdaout ;; vax-*-openbsd*) gdb_host=obsd ;; -vax-*-ultrix*) gdb_host=vax ;; x86_64-*-linux*) gdb_host=linux64 ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) @@ -168,7 +179,10 @@ x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu) gdb_host=nbsd64 ;; x86_64-*-openbsd*) gdb_host=obsd64 ;; - +x86_64-*-mingw*) gdb_host=mingw64 + gdb_host_obs=mingw-hdep.o + ;; +x86_64-*-cygwin*) gdb_host=cygwin64 ;; m32r*-*-linux*) gdb_host=linux ;; xtensa*-*-linux*) gdb_host=linux ;; @@ -181,7 +195,7 @@ esac # "double" and "long double" types. case "${host}" in -i[34567]86-*-*) +i[34567]86-*-*|x86_64-*-*) gdb_host_float_format="&floatformat_ieee_single_little" gdb_host_double_format="&floatformat_ieee_double_little" gdb_host_long_double_format="&floatformat_i387_ext"