| OLD | NEW |
| 1 # Mapping of configurations into GDB host definitions. This is | 1 # Mapping of configurations into GDB host definitions. This is |
| 2 # invoked from the autoconf generated configure script. | 2 # invoked from the autoconf generated configure script. |
| 3 | 3 |
| 4 # This file sets the following shell variables: | 4 # This file sets the following shell variables: |
| 5 # gdb_host_cpu generic name of host's CPU | 5 # gdb_host_cpu generic name of host's CPU |
| 6 # gdb_host name of GDB host definition to use | 6 # gdb_host name of GDB host definition to use |
| 7 # gdb_host_float_format host's float floatformat, or 0 | 7 # gdb_host_float_format host's float floatformat, or 0 |
| 8 # gdb_host_double_format host's double floatformat, or 0 | 8 # gdb_host_double_format host's double floatformat, or 0 |
| 9 # gdb_host_long_double_format host's long double floatformat, or 0 | 9 # gdb_host_long_double_format host's long double floatformat, or 0 |
| 10 # gdb_host_obs host-specific .o files to include | 10 # gdb_host_obs host-specific .o files to include |
| 11 | 11 |
| 12 # Map host cpu into the config cpu subdirectory name. | 12 # Map host cpu into the config cpu subdirectory name. |
| 13 # The default is $host_cpu. | 13 # The default is $host_cpu. |
| 14 | 14 |
| 15 case $host in | 15 case $host in |
| 16 arm*-*-netbsdelf* | \ |
| 17 i[34567]86-*-netbsdelf* | \ |
| 18 m68*-*-netbsdelf* | \ |
| 19 sparc-*-netbsdelf* | \ |
| 20 vax-*-netbsdelf*) |
| 21 ;; |
| 16 alpha*-*-osf1* | \ | 22 alpha*-*-osf1* | \ |
| 17 alpha*-*-osf2* | \ | 23 alpha*-*-osf2* | \ |
| 24 arm*-*-netbsd* | \ |
| 18 hppa*-*-hiux* | \ | 25 hppa*-*-hiux* | \ |
| 19 i[34567]86-ncr-* | \ | 26 i[34567]86-ncr-* | \ |
| 20 i[34567]86-*-dgux* | \ | 27 i[34567]86-*-dgux* | \ |
| 21 i[34567]86-*-lynxos* | \ | 28 i[34567]86-*-lynxos* | \ |
| 29 i[34567]86-*-netbsd* | \ |
| 30 i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3] | \ |
| 22 i[34567]86-*-sco3.2v5* | \ | 31 i[34567]86-*-sco3.2v5* | \ |
| 23 i[34567]86-*-sco3.2v4* | \ | 32 i[34567]86-*-sco3.2v4* | \ |
| 24 i[34567]86-*-sco* | \ | 33 i[34567]86-*-sco* | \ |
| 25 i[34567]86-*-sysv4.2* | \ | 34 i[34567]86-*-sysv4.2* | \ |
| 26 i[34567]86-*-sysv4* | \ | 35 i[34567]86-*-sysv4* | \ |
| 27 i[34567]86-*-sysv5* | \ | 36 i[34567]86-*-sysv5* | \ |
| 28 i[34567]86-*-unixware2* | \ | 37 i[34567]86-*-unixware2* | \ |
| 29 i[34567]86-*-unixware* | \ | 38 i[34567]86-*-unixware* | \ |
| 30 i[34567]86-*-sysv* | \ | 39 i[34567]86-*-sysv* | \ |
| 31 i[34567]86-*-isc* | \ | 40 i[34567]86-*-isc* | \ |
| 41 m68*-*-netbsd* | \ |
| 42 sparc-*-netbsd* | \ |
| 32 rs6000-*-lynxos* | \ | 43 rs6000-*-lynxos* | \ |
| 44 vax-*-netbsd* | \ |
| 33 null) | 45 null) |
| 34 echo "*** Configuration $host is obsolete." >&2 | 46 echo "*** Configuration $host is obsolete." >&2 |
| 35 echo "*** Support has been REMOVED." >&2 | 47 echo "*** Support has been REMOVED." >&2 |
| 36 exit 1 | 48 exit 1 |
| 37 ;; | 49 ;; |
| 38 esac | 50 esac |
| 39 | 51 |
| 40 case "${host_cpu}" in | 52 case "${host_cpu}" in |
| 41 | 53 |
| 54 aarch64*) gdb_host_cpu=aarch64 ;; |
| 42 alpha*) gdb_host_cpu=alpha ;; | 55 alpha*) gdb_host_cpu=alpha ;; |
| 43 arm*) gdb_host_cpu=arm ;; | 56 arm*) gdb_host_cpu=arm ;; |
| 44 hppa*) gdb_host_cpu=pa ;; | 57 hppa*) gdb_host_cpu=pa ;; |
| 45 i[34567]86*) gdb_host_cpu=i386 ;; | 58 i[34567]86*) gdb_host_cpu=i386 ;; |
| 46 m68*) gdb_host_cpu=m68k ;; | 59 m68*) gdb_host_cpu=m68k ;; |
| 47 m88*) gdb_host_cpu=m88k ;; | 60 m88*) gdb_host_cpu=m88k ;; |
| 48 mips*) gdb_host_cpu=mips ;; | 61 mips*) gdb_host_cpu=mips ;; |
| 49 powerpc* | rs6000) gdb_host_cpu=powerpc ;; | 62 powerpc* | rs6000) gdb_host_cpu=powerpc ;; |
| 50 sparcv9 | sparc64) gdb_host_cpu=sparc ;; | 63 sparcv9 | sparc64) gdb_host_cpu=sparc ;; |
| 51 s390*) gdb_host_cpu=s390 ;; | 64 s390*) gdb_host_cpu=s390 ;; |
| 52 sh*) gdb_host_cpu=sh ;; | 65 sh*) gdb_host_cpu=sh ;; |
| 53 tilegx*) gdb_host_cpu=tilegx ;; | 66 tilegx*) gdb_host_cpu=tilegx ;; |
| 54 x86_64*) gdb_host_cpu=i386 ;; | 67 x86_64*) gdb_host_cpu=i386 ;; |
| 55 m32r*) gdb_host_cpu=m32r ;; | 68 m32r*) gdb_host_cpu=m32r ;; |
| 56 xtensa*) gdb_host_cpu=xtensa ;; | 69 xtensa*) gdb_host_cpu=xtensa ;; |
| 57 *) gdb_host_cpu=$host_cpu ;; | 70 *) gdb_host_cpu=$host_cpu ;; |
| 58 | 71 |
| 59 esac | 72 esac |
| 60 | 73 |
| 61 # map host info into gdb names. | 74 # map host info into gdb names. |
| 62 | 75 |
| 63 case "${host}" in | 76 case "${host}" in |
| 64 | 77 |
| 65 *-*-darwin*) gdb_host=darwin ;; | 78 *-*-darwin*) gdb_host=darwin ;; |
| 66 | 79 |
| 80 aarch64*-*-linux*) gdb_host=linux ;; |
| 81 |
| 67 alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;; | 82 alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;; |
| 68 alpha*-*-linux*) gdb_host=alpha-linux ;; | 83 alpha*-*-linux*) gdb_host=alpha-linux ;; |
| 69 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) | 84 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) |
| 70 gdb_host=fbsd ;; | 85 gdb_host=fbsd ;; |
| 71 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) | 86 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) |
| 72 gdb_host=nbsd ;; | 87 gdb_host=nbsd ;; |
| 73 alpha*-*-openbsd*) gdb_host=nbsd ;; | 88 alpha*-*-openbsd*) gdb_host=nbsd ;; |
| 74 | 89 |
| 75 arm*-*-linux*) gdb_host=linux ;; | 90 arm*-*-linux*) gdb_host=linux ;; |
| 76 arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu) | 91 arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu) |
| 77 gdb_host=nbsdelf ;; | 92 gdb_host=nbsdelf ;; |
| 78 arm*-*-netbsd*) gdb_host=nbsdaout ;; | |
| 79 arm*-*-openbsd*) gdb_host=nbsdelf ;; | 93 arm*-*-openbsd*) gdb_host=nbsdelf ;; |
| 80 | 94 |
| 81 hppa*-*-hpux*) | 95 hppa*-*-hpux*) |
| 82 gdb_host=hpux ;; | 96 gdb_host=hpux ;; |
| 83 hppa*-*-linux*) gdb_host=linux ;; | 97 hppa*-*-linux*) gdb_host=linux ;; |
| 84 hppa*-*-netbsd*) gdb_host=nbsd ;; | 98 hppa*-*-netbsd*) gdb_host=nbsd ;; |
| 85 hppa*-*-openbsd*) gdb_host=obsd ;; | 99 hppa*-*-openbsd*) gdb_host=obsd ;; |
| 86 | 100 |
| 87 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu) | 101 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu) |
| 88 gdb_host=fbsd ;; | 102 gdb_host=fbsd ;; |
| 89 i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu) | 103 i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu) |
| 90 gdb_host=nbsdelf ;; | 104 gdb_host=nbsdelf ;; |
| 91 i[34567]86-*-netbsd*) gdb_host=nbsdaout ;; | |
| 92 i[34567]86-*-go32*) gdb_host=go32 ;; | 105 i[34567]86-*-go32*) gdb_host=go32 ;; |
| 93 i[34567]86-*-mingw32*) gdb_host=mingw | 106 i[34567]86-*-mingw32*) gdb_host=mingw |
| 94 gdb_host_obs=mingw-hdep.o | 107 gdb_host_obs=mingw-hdep.o |
| 95 ;; | 108 ;; |
| 96 i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;; | 109 i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;; |
| 97 i[34567]86-*-linux*) gdb_host=linux ;; | 110 i[34567]86-*-linux*) gdb_host=linux ;; |
| 98 i[34567]86-*-gnu*) gdb_host=i386gnu ;; | 111 i[34567]86-*-gnu*) gdb_host=i386gnu ;; |
| 99 i[3456]86-*-nto*) gdb_host=nto ;; | 112 i[3456]86-*-nto*) gdb_host=nto ;; |
| 100 i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3]) | |
| 101 gdb_host=obsdaout ;; | |
| 102 i[34567]86-*-openbsd*) gdb_host=obsd ;; | 113 i[34567]86-*-openbsd*) gdb_host=obsd ;; |
| 103 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*) | 114 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*) |
| 104 gdb_host=sol2-64 ;; | 115 gdb_host=sol2-64 ;; |
| 105 i[34567]86-*-solaris*) gdb_host=i386sol2 ;; | 116 i[34567]86-*-solaris*) gdb_host=i386sol2 ;; |
| 106 i[34567]86-*-cygwin*) gdb_host=cygwin ;; | 117 i[34567]86-*-cygwin*) gdb_host=cygwin ;; |
| 107 | 118 |
| 108 ia64-*-hpux*) gdb_host=hpux ;; | 119 ia64-*-hpux*) gdb_host=hpux ;; |
| 109 ia64-*-linux*) gdb_host=linux ;; | 120 ia64-*-linux*) gdb_host=linux ;; |
| 110 | 121 |
| 111 m68*-*-linux*) gdb_host=linux ;; | 122 m68*-*-linux*) gdb_host=linux ;; |
| 112 m68*-*-netbsdelf* | m68*-*-knetbsd*-gnu) | 123 m68*-*-netbsdelf* | m68*-*-knetbsd*-gnu) |
| 113 gdb_host=nbsdelf ;; | 124 gdb_host=nbsdelf ;; |
| 114 m68*-*-netbsd*) gdb_host=nbsdaout ;; | |
| 115 m68*-*-openbsd*) gdb_host=obsd ;; | 125 m68*-*-openbsd*) gdb_host=obsd ;; |
| 116 | 126 |
| 117 m88*-*-openbsd*) gdb_host=obsd ;; | 127 m88*-*-openbsd*) gdb_host=obsd ;; |
| 118 | 128 |
| 119 mips-sgi-irix5*) gdb_host=irix5 ;; | 129 mips-sgi-irix5*) gdb_host=irix5 ;; |
| 120 mips-sgi-irix6*) gdb_host=irix6 ;; | 130 mips-sgi-irix6*) gdb_host=irix6 ;; |
| 121 mips*-*-linux*) gdb_host=linux ;; | 131 mips*-*-linux*) gdb_host=linux ;; |
| 122 mips*-*-netbsd* | mips*-*-knetbsd*-gnu) | 132 mips*-*-netbsd* | mips*-*-knetbsd*-gnu) |
| 123 gdb_host=nbsd ;; | 133 gdb_host=nbsd ;; |
| 124 mips64*-*-openbsd*) gdb_host=obsd64 ;; | 134 mips64*-*-openbsd*) gdb_host=obsd64 ;; |
| 125 | 135 |
| 126 powerpc-*-aix* | rs6000-*-*) | 136 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*) |
| 127 gdb_host=aix ;; | 137 gdb_host=aix ;; |
| 128 powerpc-*-linux*)» gdb_host=linux ;; | 138 powerpc*-*-freebsd*)» gdb_host=fbsd ;; |
| 129 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) | 139 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) |
| 130 gdb_host=nbsd ;; | 140 gdb_host=nbsd ;; |
| 131 powerpc-*-openbsd*) gdb_host=obsd ;; | 141 powerpc-*-openbsd*) gdb_host=obsd ;; |
| 132 | 142 |
| 133 powerpc64-*-linux*) gdb_host=ppc64-linux | 143 powerpc64*-*-linux*)» gdb_host=ppc64-linux |
| 134 # Support 'pseudo-native' debugging on the Cell BE | 144 # Support 'pseudo-native' debugging on the Cell BE |
| 135 if test "${target_cpu}" = "spu"; then | 145 if test "${target_cpu}" = "spu"; then |
| 136 gdb_host=spu-linux | 146 gdb_host=spu-linux |
| 137 gdb_native=yes | 147 gdb_native=yes |
| 138 fi | 148 fi |
| 139 ;; | 149 ;; |
| 150 powerpc*-*-linux*) gdb_host=linux ;; |
| 140 | 151 |
| 141 s390*-*-*)» » gdb_host=s390 ;; | 152 s390*-*-linux*)»» gdb_host=linux ;; |
| 142 | 153 |
| 143 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) | 154 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) |
| 144 gdb_host=nbsd ;; | 155 gdb_host=nbsd ;; |
| 145 sh*-*-openbsd*) gdb_host=nbsd ;; | 156 sh*-*-openbsd*) gdb_host=nbsd ;; |
| 146 | 157 |
| 147 sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu) | 158 sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu) |
| 148 gdb_host=fbsd ;; | 159 gdb_host=fbsd ;; |
| 149 sparc-*-linux*) gdb_host=linux ;; | 160 sparc-*-linux*) gdb_host=linux ;; |
| 150 sparc64-*-linux*) gdb_host=linux64 ;; | 161 sparc64-*-linux*) gdb_host=linux64 ;; |
| 151 sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu) | 162 sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu) |
| 152 gdb_host=nbsdelf ;; | 163 gdb_host=nbsdelf ;; |
| 153 sparc-*-netbsdaout*) gdb_host=nbsdaout ;; | |
| 154 sparc-*-netbsd*) gdb_host=nbsdaout ;; | |
| 155 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) | 164 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) |
| 156 gdb_host=nbsd64 ;; | 165 gdb_host=nbsd64 ;; |
| 157 sparc-*-openbsd*) gdb_host=nbsdelf ;; | 166 sparc-*-openbsd*) gdb_host=nbsdelf ;; |
| 158 sparc64-*-openbsd*) gdb_host=nbsd64 ;; | 167 sparc64-*-openbsd*) gdb_host=nbsd64 ;; |
| 159 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) | 168 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) |
| 160 gdb_host=sol2 | 169 gdb_host=sol2 |
| 161 ;; | 170 ;; |
| 162 | 171 |
| 163 tilegx-*-linux*) gdb_host=linux ;; | 172 tilegx-*-linux*) gdb_host=linux ;; |
| 164 | 173 |
| 165 vax-*-bsd*) gdb_host=vax ;; | 174 vax-*-bsd*) gdb_host=vax ;; |
| 166 vax-*-netbsdelf* | vax-*-knetbsd*-gnu) | 175 vax-*-netbsdelf* | vax-*-knetbsd*-gnu) |
| 167 gdb_host=nbsdelf ;; | 176 gdb_host=nbsdelf ;; |
| 168 vax-*-netbsd*) gdb_host=nbsdaout ;; | |
| 169 vax-*-openbsd*) gdb_host=obsd ;; | 177 vax-*-openbsd*) gdb_host=obsd ;; |
| 170 vax-*-ultrix*) gdb_host=vax ;; | 178 vax-*-ultrix*) gdb_host=vax ;; |
| 171 | 179 |
| 172 x86_64-*-linux*) gdb_host=linux64 ;; | 180 x86_64-*-linux*) gdb_host=linux64 ;; |
| 173 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) | 181 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) |
| 174 gdb_host=fbsd64 ;; | 182 gdb_host=fbsd64 ;; |
| 175 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu) | 183 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu) |
| 176 gdb_host=nbsd64 ;; | 184 gdb_host=nbsd64 ;; |
| 177 x86_64-*-openbsd*) gdb_host=obsd64 ;; | 185 x86_64-*-openbsd*) gdb_host=obsd64 ;; |
| 178 x86_64-*-mingw*) gdb_host=mingw64 | 186 x86_64-*-mingw*) gdb_host=mingw64 |
| 179 gdb_host_obs=mingw-hdep.o | 187 gdb_host_obs=mingw-hdep.o |
| 180 ;; | 188 ;; |
| 189 x86_64-*-cygwin*) gdb_host=cygwin64 ;; |
| 181 m32r*-*-linux*) gdb_host=linux ;; | 190 m32r*-*-linux*) gdb_host=linux ;; |
| 182 | 191 |
| 183 xtensa*-*-linux*) gdb_host=linux ;; | 192 xtensa*-*-linux*) gdb_host=linux ;; |
| 184 | 193 |
| 185 esac | 194 esac |
| 186 | 195 |
| 187 | 196 |
| 188 | 197 |
| 189 # Map the host/cpu onto the floatformat correspondong to C's "float", | 198 # Map the host/cpu onto the floatformat correspondong to C's "float", |
| 190 # "double" and "long double" types. | 199 # "double" and "long double" types. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 209 gdb_host_float_format="&floatformat_ieee_single_big" | 218 gdb_host_float_format="&floatformat_ieee_single_big" |
| 210 gdb_host_double_format="&floatformat_ieee_double_big" | 219 gdb_host_double_format="&floatformat_ieee_double_big" |
| 211 gdb_host_long_double_format="&floatformat_ia64_quad_big" | 220 gdb_host_long_double_format="&floatformat_ia64_quad_big" |
| 212 ;; | 221 ;; |
| 213 *) | 222 *) |
| 214 gdb_host_float_format=0 | 223 gdb_host_float_format=0 |
| 215 gdb_host_double_format=0 | 224 gdb_host_double_format=0 |
| 216 gdb_host_long_double_format=0 | 225 gdb_host_long_double_format=0 |
| 217 ;; | 226 ;; |
| 218 esac | 227 esac |
| OLD | NEW |