| 1 | # Mappings from configuration triplets to gdbserver build options. |
| 2 | # This is invoked from the autoconf-generated configure script, to |
| 3 | # produce the appropriate Makefile substitutions. |
| 4 | |
| 5 | # This file sets the following shell variables: |
| 6 | # srv_regobj The register protocol appropriate for this target. |
| 7 | # srv_tgtobj Any other target-specific modules appropriate |
| 8 | # for this target. |
| 9 | # srv_hostio_err The object implementing the hostio_last_error |
| 10 | # target method. |
| 11 | # srv_xmlfiles All XML files which should be available for |
| 12 | # gdbserver in this configuration. |
| 13 | # ipa_obj Any other target-specific modules appropriate |
| 14 | # for this target's in-process agent. |
| 15 | # |
| 16 | # In addition, on GNU/Linux the following shell variables will be set: |
| 17 | # srv_linux_regsets Set to "yes" if ptrace(PTRACE_GETREGS) and friends |
| 18 | # may be available on this platform; unset otherwise. |
| 19 | # They will only be used if <sys/ptrace.h> defines |
| 20 | # PTRACE_GETREGS. |
| 21 | # srv_linux_usrregs Set to "yes" if we can get at registers via |
| 22 | # PTRACE_PEEKUSR / PTRACE_POKEUSR. |
| 23 | |
| 24 | # Default hostio_last_error implementation |
| 25 | srv_hostio_err_objs="hostio-errno.o" |
| 26 | |
| 27 | srv_i386_regobj="i386.o i386-avx.o i386-avx512.o i386-mpx.o i386-mmx.o" |
| 28 | srv_i386_linux_regobj="i386-linux.o i386-avx-linux.o i386-avx512-linux.o i386-mpx-linux.o i386-mmx-linux.o" |
| 29 | srv_amd64_regobj="amd64.o amd64-avx.o amd64-avx512.o amd64-mpx.o x32.o x32-avx.o x32-avx512.o" |
| 30 | srv_amd64_linux_regobj="amd64-linux.o amd64-avx-linux.o amd64-avx512-linux.o amd64-mpx-linux.o x32-linux.o x32-avx-linux.o x32-avx512-linux.o" |
| 31 | |
| 32 | ipa_i386_linux_regobj="i386-linux-ipa.o i386-avx-linux-ipa.o i386-avx512-linux-ipa.o i386-mpx-linux-ipa.o i386-mmx-linux-ipa.o" |
| 33 | ipa_amd64_linux_regobj="amd64-linux-ipa.o amd64-avx-linux-ipa.o amd64-avx512-linux-ipa.o amd64-mpx-linux-ipa.o" |
| 34 | ipa_ppc_linux_regobj="powerpc-32l-ipa.o powerpc-altivec32l-ipa.o powerpc-cell32l-ipa.o powerpc-vsx32l-ipa.o powerpc-isa205-32l-ipa.o powerpc-isa205-altivec32l-ipa.o powerpc-isa205-vsx32l-ipa.o powerpc-e500l-ipa.o powerpc-64l-ipa.o powerpc-altivec64l-ipa.o powerpc-cell64l-ipa.o powerpc-vsx64l-ipa.o powerpc-isa205-64l-ipa.o powerpc-isa205-altivec64l-ipa.o powerpc-isa205-vsx64l-ipa.o" |
| 35 | |
| 36 | srv_i386_32bit_xmlfiles="i386/32bit-core.xml i386/32bit-sse.xml i386/32bit-avx.xml i386/32bit-avx512.xml i386/32bit-mpx.xml" |
| 37 | srv_i386_64bit_xmlfiles="i386/64bit-core.xml i386/64bit-sse.xml i386/64bit-avx.xml i386/64bit-avx512.xml i386/x32-core.xml i386/64bit-mpx.xml" |
| 38 | srv_i386_xmlfiles="i386/i386.xml i386/i386-avx.xml i386/i386-avx512.xml i386/i386-mpx.xml i386/i386-mmx.xml $srv_i386_32bit_xmlfiles" |
| 39 | srv_amd64_xmlfiles="i386/amd64.xml i386/amd64-avx.xml i386/amd64-avx512.xml i386/x32.xml i386/x32-avx.xml i386/x32-avx512.xml i386/amd64-mpx.xml $srv_i386_64bit_xmlfiles" |
| 40 | srv_i386_linux_xmlfiles="i386/i386-linux.xml i386/i386-avx-linux.xml i386/i386-avx512-linux.xml i386/i386-mmx-linux.xml i386/32bit-linux.xml i386/i386-mpx-linux.xml $srv_i386_32bit_xmlfiles" |
| 41 | srv_amd64_linux_xmlfiles="i386/amd64-linux.xml i386/amd64-avx-linux.xml i386/amd64-avx512-linux.xml i386/64bit-linux.xml i386/amd64-mpx-linux.xml i386/x32-linux.xml i386/x32-avx-linux.xml i386/x32-avx512-linux.xml $srv_i386_64bit_xmlfiles" |
| 42 | |
| 43 | |
| 44 | # Linux object files. This is so we don't have to repeat |
| 45 | # these files over and over again. |
| 46 | srv_linux_obj="linux-low.o linux-osdata.o linux-procfs.o linux-ptrace.o linux-waitpid.o linux-personality.o linux-namespaces.o" |
| 47 | |
| 48 | # Input is taken from the "${target}" variable. |
| 49 | |
| 50 | case "${target}" in |
| 51 | aarch64*-*-linux*) |
| 52 | srv_regobj="aarch64.o" |
| 53 | srv_regobj="${srv_regobj} arm-with-neon.o" |
| 54 | srv_tgtobj="linux-aarch64-low.o aarch64-linux-hw-point.o" |
| 55 | srv_tgtobj="$srv_tgtobj linux-aarch32-low.o" |
| 56 | srv_tgtobj="${srv_tgtobj} arm.o" |
| 57 | srv_tgtobj="$srv_tgtobj aarch64-linux.o" |
| 58 | srv_tgtobj="$srv_tgtobj aarch64-insn.o" |
| 59 | srv_tgtobj="${srv_tgtobj} $srv_linux_obj" |
| 60 | srv_xmlfiles="aarch64.xml" |
| 61 | srv_xmlfiles="${srv_xmlfiles} aarch64-core.xml" |
| 62 | srv_xmlfiles="${srv_xmlfiles} aarch64-fpu.xml" |
| 63 | srv_xmlfiles="${srv_xmlfiles} arm-core.xml arm-vfpv3.xml" |
| 64 | srv_xmlfiles="${srv_xmlfiles} arm-with-neon.xml" |
| 65 | srv_linux_regsets=yes |
| 66 | srv_linux_thread_db=yes |
| 67 | ipa_obj="linux-aarch64-ipa.o aarch64-ipa.o" |
| 68 | ;; |
| 69 | arm*-*-linux*) srv_regobj="reg-arm.o arm-with-iwmmxt.o" |
| 70 | srv_regobj="${srv_regobj} arm-with-vfpv2.o" |
| 71 | srv_regobj="${srv_regobj} arm-with-vfpv3.o" |
| 72 | srv_regobj="${srv_regobj} arm-with-neon.o" |
| 73 | srv_tgtobj="$srv_linux_obj linux-arm-low.o" |
| 74 | srv_tgtobj="$srv_tgtobj linux-aarch32-low.o" |
| 75 | srv_tgtobj="${srv_tgtobj} arm.o" |
| 76 | srv_tgtobj="${srv_tgtobj} arm-linux.o" |
| 77 | srv_tgtobj="${srv_tgtobj} arm-get-next-pcs.o" |
| 78 | srv_xmlfiles="arm-with-iwmmxt.xml" |
| 79 | srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv2.xml" |
| 80 | srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv3.xml" |
| 81 | srv_xmlfiles="${srv_xmlfiles} arm-with-neon.xml" |
| 82 | srv_xmlfiles="${srv_xmlfiles} arm-core.xml" |
| 83 | srv_xmlfiles="${srv_xmlfiles} xscale-iwmmxt.xml" |
| 84 | srv_xmlfiles="${srv_xmlfiles} arm-vfpv2.xml" |
| 85 | srv_xmlfiles="${srv_xmlfiles} arm-vfpv3.xml" |
| 86 | srv_linux_usrregs=yes |
| 87 | srv_linux_regsets=yes |
| 88 | srv_linux_thread_db=yes |
| 89 | ;; |
| 90 | arm*-*-mingw32ce*) srv_regobj=reg-arm.o |
| 91 | srv_tgtobj="win32-low.o win32-arm-low.o" |
| 92 | srv_tgtobj="${srv_tgtobj} wincecompat.o" |
| 93 | # hostio_last_error implementation is in win32-low.c |
| 94 | srv_hostio_err_objs="" |
| 95 | srv_mingw=yes |
| 96 | srv_mingwce=yes |
| 97 | ;; |
| 98 | bfin-*-*linux*) srv_regobj=reg-bfin.o |
| 99 | srv_tgtobj="$srv_linux_obj linux-bfin-low.o" |
| 100 | srv_linux_usrregs=yes |
| 101 | srv_linux_thread_db=yes |
| 102 | ;; |
| 103 | crisv32-*-linux*) srv_regobj=reg-crisv32.o |
| 104 | srv_tgtobj="$srv_linux_obj linux-crisv32-low.o" |
| 105 | srv_linux_regsets=yes |
| 106 | srv_linux_thread_db=yes |
| 107 | ;; |
| 108 | cris-*-linux*) srv_regobj=reg-cris.o |
| 109 | srv_tgtobj="$srv_linux_obj linux-cris-low.o" |
| 110 | srv_linux_usrregs=yes |
| 111 | srv_linux_thread_db=yes |
| 112 | ;; |
| 113 | i[34567]86-*-cygwin*) srv_regobj="$srv_i386_regobj" |
| 114 | srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o" |
| 115 | srv_xmlfiles="$srv_i386_xmlfiles" |
| 116 | ;; |
| 117 | i[34567]86-*-linux*) srv_regobj="$srv_i386_linux_regobj" |
| 118 | srv_xmlfiles="$srv_i386_linux_xmlfiles" |
| 119 | if test "$gdb_cv_i386_is_x86_64" = yes ; then |
| 120 | srv_regobj="$srv_regobj $srv_amd64_linux_regobj" |
| 121 | srv_xmlfiles="${srv_xmlfiles} $srv_amd64_linux_xmlfiles" |
| 122 | srv_tgtobj="amd64-linux-siginfo.o" |
| 123 | fi |
| 124 | srv_tgtobj="${srv_tgtobj} $srv_linux_obj linux-x86-low.o x86-low.o x86-dregs.o i387-fp.o" |
| 125 | srv_tgtobj="${srv_tgtobj} linux-btrace.o x86-linux.o" |
| 126 | srv_tgtobj="${srv_tgtobj} x86-linux-dregs.o" |
| 127 | srv_linux_usrregs=yes |
| 128 | srv_linux_regsets=yes |
| 129 | srv_linux_thread_db=yes |
| 130 | srv_linux_btrace=yes |
| 131 | ipa_obj="${ipa_i386_linux_regobj} linux-i386-ipa.o" |
| 132 | ;; |
| 133 | i[34567]86-*-lynxos*) srv_regobj="i386.o" |
| 134 | srv_tgtobj="lynx-low.o lynx-i386-low.o" |
| 135 | srv_xmlfiles="i386/i386.xml" |
| 136 | srv_xmlfiles="${srv_xmlfiles} i386/32bit-core.xml" |
| 137 | srv_xmlfiles="${srv_xmlfiles} i386/32bit-sse.xml" |
| 138 | srv_lynxos=yes |
| 139 | ;; |
| 140 | i[34567]86-*-mingw32ce*) |
| 141 | srv_regobj="$srv_i386_regobj" |
| 142 | srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o" |
| 143 | srv_tgtobj="${srv_tgtobj} wincecompat.o" |
| 144 | srv_xmlfiles="$srv_i386_xmlfiles" |
| 145 | # hostio_last_error implementation is in win32-low.c |
| 146 | srv_hostio_err_objs="" |
| 147 | srv_mingw=yes |
| 148 | srv_mingwce=yes |
| 149 | ;; |
| 150 | i[34567]86-*-mingw*) srv_regobj="$srv_i386_regobj" |
| 151 | srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o" |
| 152 | srv_xmlfiles="$srv_i386_xmlfiles" |
| 153 | srv_mingw=yes |
| 154 | ;; |
| 155 | i[34567]86-*-nto*) srv_regobj="$srv_i386_regobj" |
| 156 | srv_tgtobj="nto-low.o nto-x86-low.o" |
| 157 | srv_xmlfiles="$srv_i386_xmlfiles" |
| 158 | srv_qnx="yes" |
| 159 | ;; |
| 160 | ia64-*-linux*) srv_regobj=reg-ia64.o |
| 161 | srv_tgtobj="$srv_linux_obj linux-ia64-low.o" |
| 162 | srv_linux_usrregs=yes |
| 163 | ;; |
| 164 | m32r*-*-linux*) srv_regobj=reg-m32r.o |
| 165 | srv_tgtobj="$srv_linux_obj linux-m32r-low.o" |
| 166 | srv_linux_usrregs=yes |
| 167 | srv_linux_thread_db=yes |
| 168 | ;; |
| 169 | m68*-*-linux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then |
| 170 | srv_regobj=reg-cf.o |
| 171 | else |
| 172 | srv_regobj=reg-m68k.o |
| 173 | fi |
| 174 | srv_tgtobj="$srv_linux_obj linux-m68k-low.o" |
| 175 | srv_linux_usrregs=yes |
| 176 | srv_linux_regsets=yes |
| 177 | srv_linux_thread_db=yes |
| 178 | ;; |
| 179 | m68*-*-uclinux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then |
| 180 | srv_regobj=reg-cf.o |
| 181 | else |
| 182 | srv_regobj=reg-m68k.o |
| 183 | fi |
| 184 | srv_tgtobj="$srv_linux_obj linux-m68k-low.o" |
| 185 | srv_linux_usrregs=yes |
| 186 | srv_linux_regsets=yes |
| 187 | srv_linux_thread_db=yes |
| 188 | ;; |
| 189 | mips*-*-linux*) srv_regobj="mips-linux.o" |
| 190 | srv_regobj="${srv_regobj} mips-dsp-linux.o" |
| 191 | srv_regobj="${srv_regobj} mips64-linux.o" |
| 192 | srv_regobj="${srv_regobj} mips64-dsp-linux.o" |
| 193 | srv_tgtobj="$srv_linux_obj linux-mips-low.o" |
| 194 | srv_tgtobj="${srv_tgtobj} mips-linux-watch.o" |
| 195 | srv_xmlfiles="mips-linux.xml" |
| 196 | srv_xmlfiles="${srv_xmlfiles} mips-dsp-linux.xml" |
| 197 | srv_xmlfiles="${srv_xmlfiles} mips-cpu.xml" |
| 198 | srv_xmlfiles="${srv_xmlfiles} mips-cp0.xml" |
| 199 | srv_xmlfiles="${srv_xmlfiles} mips-fpu.xml" |
| 200 | srv_xmlfiles="${srv_xmlfiles} mips-dsp.xml" |
| 201 | srv_xmlfiles="${srv_xmlfiles} mips64-linux.xml" |
| 202 | srv_xmlfiles="${srv_xmlfiles} mips64-dsp-linux.xml" |
| 203 | srv_xmlfiles="${srv_xmlfiles} mips64-cpu.xml" |
| 204 | srv_xmlfiles="${srv_xmlfiles} mips64-cp0.xml" |
| 205 | srv_xmlfiles="${srv_xmlfiles} mips64-fpu.xml" |
| 206 | srv_xmlfiles="${srv_xmlfiles} mips64-dsp.xml" |
| 207 | srv_linux_regsets=yes |
| 208 | srv_linux_usrregs=yes |
| 209 | srv_linux_thread_db=yes |
| 210 | ;; |
| 211 | nios2*-*-linux*) srv_regobj="nios2-linux.o" |
| 212 | srv_tgtobj="$srv_linux_obj linux-nios2-low.o" |
| 213 | srv_xmlfiles="nios2-linux.xml" |
| 214 | srv_xmlfiles="${srv_xmlfiles} nios2-cpu.xml" |
| 215 | srv_linux_regsets=yes |
| 216 | srv_linux_usrregs=yes |
| 217 | srv_linux_thread_db=yes |
| 218 | ;; |
| 219 | powerpc*-*-linux*) srv_regobj="powerpc-32l.o" |
| 220 | srv_regobj="${srv_regobj} powerpc-altivec32l.o" |
| 221 | srv_regobj="${srv_regobj} powerpc-cell32l.o" |
| 222 | srv_regobj="${srv_regobj} powerpc-vsx32l.o" |
| 223 | srv_regobj="${srv_regobj} powerpc-isa205-32l.o" |
| 224 | srv_regobj="${srv_regobj} powerpc-isa205-altivec32l.o" |
| 225 | srv_regobj="${srv_regobj} powerpc-isa205-vsx32l.o" |
| 226 | srv_regobj="${srv_regobj} powerpc-e500l.o" |
| 227 | srv_regobj="${srv_regobj} powerpc-64l.o" |
| 228 | srv_regobj="${srv_regobj} powerpc-altivec64l.o" |
| 229 | srv_regobj="${srv_regobj} powerpc-cell64l.o" |
| 230 | srv_regobj="${srv_regobj} powerpc-vsx64l.o" |
| 231 | srv_regobj="${srv_regobj} powerpc-isa205-64l.o" |
| 232 | srv_regobj="${srv_regobj} powerpc-isa205-altivec64l.o" |
| 233 | srv_regobj="${srv_regobj} powerpc-isa205-vsx64l.o" |
| 234 | srv_tgtobj="$srv_linux_obj linux-ppc-low.o ppc-linux.o" |
| 235 | srv_xmlfiles="rs6000/powerpc-32l.xml" |
| 236 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec32l.xml" |
| 237 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-cell32l.xml" |
| 238 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx32l.xml" |
| 239 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-32l.xml" |
| 240 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec32l.xml" |
| 241 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx32l.xml" |
| 242 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-altivec.xml" |
| 243 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-vsx.xml" |
| 244 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml" |
| 245 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-linux.xml" |
| 246 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml" |
| 247 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu-isa205.xml" |
| 248 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-e500l.xml" |
| 249 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-spe.xml" |
| 250 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-64l.xml" |
| 251 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec64l.xml" |
| 252 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-cell64l.xml" |
| 253 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx64l.xml" |
| 254 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-64l.xml" |
| 255 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec64l.xml" |
| 256 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx64l.xml" |
| 257 | srv_xmlfiles="${srv_xmlfiles} rs6000/power64-core.xml" |
| 258 | srv_xmlfiles="${srv_xmlfiles} rs6000/power64-linux.xml" |
| 259 | srv_linux_usrregs=yes |
| 260 | srv_linux_regsets=yes |
| 261 | srv_linux_thread_db=yes |
| 262 | ipa_obj="${ipa_ppc_linux_regobj} linux-ppc-ipa.o" |
| 263 | ;; |
| 264 | powerpc-*-lynxos*) srv_regobj="powerpc-32.o" |
| 265 | srv_tgtobj="lynx-low.o lynx-ppc-low.o" |
| 266 | srv_xmlfiles="rs6000/powerpc-32.xml" |
| 267 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml" |
| 268 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml" |
| 269 | srv_lynxos=yes |
| 270 | ;; |
| 271 | s390*-*-linux*) srv_regobj="s390-linux32.o" |
| 272 | srv_regobj="${srv_regobj} s390-linux32v1.o" |
| 273 | srv_regobj="${srv_regobj} s390-linux32v2.o" |
| 274 | srv_regobj="${srv_regobj} s390-linux64.o" |
| 275 | srv_regobj="${srv_regobj} s390-linux64v1.o" |
| 276 | srv_regobj="${srv_regobj} s390-linux64v2.o" |
| 277 | srv_regobj="${srv_regobj} s390-te-linux64.o" |
| 278 | srv_regobj="${srv_regobj} s390-vx-linux64.o" |
| 279 | srv_regobj="${srv_regobj} s390-tevx-linux64.o" |
| 280 | srv_regobj="${srv_regobj} s390x-linux64.o" |
| 281 | srv_regobj="${srv_regobj} s390x-linux64v1.o" |
| 282 | srv_regobj="${srv_regobj} s390x-linux64v2.o" |
| 283 | srv_regobj="${srv_regobj} s390x-te-linux64.o" |
| 284 | srv_regobj="${srv_regobj} s390x-vx-linux64.o" |
| 285 | srv_regobj="${srv_regobj} s390x-tevx-linux64.o" |
| 286 | srv_tgtobj="$srv_linux_obj linux-s390-low.o" |
| 287 | srv_xmlfiles="s390-linux32.xml" |
| 288 | srv_xmlfiles="${srv_xmlfiles} s390-linux32v1.xml" |
| 289 | srv_xmlfiles="${srv_xmlfiles} s390-linux32v2.xml" |
| 290 | srv_xmlfiles="${srv_xmlfiles} s390-linux64.xml" |
| 291 | srv_xmlfiles="${srv_xmlfiles} s390-linux64v1.xml" |
| 292 | srv_xmlfiles="${srv_xmlfiles} s390-linux64v2.xml" |
| 293 | srv_xmlfiles="${srv_xmlfiles} s390-te-linux64.xml" |
| 294 | srv_xmlfiles="${srv_xmlfiles} s390-vx-linux64.xml" |
| 295 | srv_xmlfiles="${srv_xmlfiles} s390-tevx-linux64.xml" |
| 296 | srv_xmlfiles="${srv_xmlfiles} s390x-linux64.xml" |
| 297 | srv_xmlfiles="${srv_xmlfiles} s390x-linux64v1.xml" |
| 298 | srv_xmlfiles="${srv_xmlfiles} s390x-linux64v2.xml" |
| 299 | srv_xmlfiles="${srv_xmlfiles} s390x-te-linux64.xml" |
| 300 | srv_xmlfiles="${srv_xmlfiles} s390x-vx-linux64.xml" |
| 301 | srv_xmlfiles="${srv_xmlfiles} s390x-tevx-linux64.xml" |
| 302 | srv_xmlfiles="${srv_xmlfiles} s390-core32.xml" |
| 303 | srv_xmlfiles="${srv_xmlfiles} s390-core64.xml" |
| 304 | srv_xmlfiles="${srv_xmlfiles} s390x-core64.xml" |
| 305 | srv_xmlfiles="${srv_xmlfiles} s390-acr.xml" |
| 306 | srv_xmlfiles="${srv_xmlfiles} s390-fpr.xml" |
| 307 | srv_xmlfiles="${srv_xmlfiles} s390-tdb.xml" |
| 308 | srv_xmlfiles="${srv_xmlfiles} s390-vx.xml" |
| 309 | srv_linux_usrregs=yes |
| 310 | srv_linux_regsets=yes |
| 311 | srv_linux_thread_db=yes |
| 312 | ipa_obj="linux-s390-ipa.o" |
| 313 | ipa_obj="${ipa_obj} s390-linux32-ipa.o" |
| 314 | ipa_obj="${ipa_obj} s390-linux32v1-ipa.o" |
| 315 | ipa_obj="${ipa_obj} s390-linux32v2-ipa.o" |
| 316 | ipa_obj="${ipa_obj} s390-linux64-ipa.o" |
| 317 | ipa_obj="${ipa_obj} s390-linux64v1-ipa.o" |
| 318 | ipa_obj="${ipa_obj} s390-linux64v2-ipa.o" |
| 319 | ipa_obj="${ipa_obj} s390-vx-linux64-ipa.o" |
| 320 | ipa_obj="${ipa_obj} s390-te-linux64-ipa.o" |
| 321 | ipa_obj="${ipa_obj} s390-tevx-linux64-ipa.o" |
| 322 | ipa_obj="${ipa_obj} s390x-linux64-ipa.o" |
| 323 | ipa_obj="${ipa_obj} s390x-linux64v1-ipa.o" |
| 324 | ipa_obj="${ipa_obj} s390x-linux64v2-ipa.o" |
| 325 | ipa_obj="${ipa_obj} s390x-vx-linux64-ipa.o" |
| 326 | ipa_obj="${ipa_obj} s390x-te-linux64-ipa.o" |
| 327 | ipa_obj="${ipa_obj} s390x-tevx-linux64-ipa.o" |
| 328 | ;; |
| 329 | sh*-*-linux*) srv_regobj=reg-sh.o |
| 330 | srv_tgtobj="$srv_linux_obj linux-sh-low.o" |
| 331 | srv_linux_usrregs=yes |
| 332 | srv_linux_regsets=yes |
| 333 | srv_linux_thread_db=yes |
| 334 | ;; |
| 335 | sparc*-*-linux*) srv_regobj=reg-sparc64.o |
| 336 | srv_tgtobj="$srv_linux_obj linux-sparc-low.o" |
| 337 | srv_linux_regsets=yes |
| 338 | srv_linux_thread_db=yes |
| 339 | ;; |
| 340 | spu*-*-*) srv_regobj=reg-spu.o |
| 341 | srv_tgtobj="spu-low.o" |
| 342 | ;; |
| 343 | tic6x-*-uclinux) srv_regobj="tic6x-c64xp-linux.o" |
| 344 | srv_regobj="${srv_regobj} tic6x-c64x-linux.o" |
| 345 | srv_regobj="${srv_regobj} tic6x-c62x-linux.o" |
| 346 | srv_xmlfiles="tic6x-c64xp-linux.xml" |
| 347 | srv_xmlfiles="${srv_xmlfiles} tic6x-c64x-linux.xml" |
| 348 | srv_xmlfiles="${srv_xmlfiles} tic6x-c62x-linux.xml" |
| 349 | srv_xmlfiles="${srv_xmlfiles} tic6x-core.xml" |
| 350 | srv_xmlfiles="${srv_xmlfiles} tic6x-gp.xml" |
| 351 | srv_xmlfiles="${srv_xmlfiles} tic6x-c6xp.xml" |
| 352 | srv_tgtobj="$srv_linux_obj linux-tic6x-low.o" |
| 353 | srv_linux_regsets=yes |
| 354 | srv_linux_usrregs=yes |
| 355 | srv_linux_thread_db=yes |
| 356 | ;; |
| 357 | x86_64-*-linux*) srv_regobj="$srv_amd64_linux_regobj $srv_i386_linux_regobj" |
| 358 | srv_tgtobj="$srv_linux_obj linux-x86-low.o x86-low.o x86-dregs.o i387-fp.o" |
| 359 | srv_tgtobj="${srv_tgtobj} linux-btrace.o x86-linux.o" |
| 360 | srv_tgtobj="${srv_tgtobj} x86-linux-dregs.o" |
| 361 | srv_tgtobj="${srv_tgtobj} amd64-linux-siginfo.o" |
| 362 | srv_xmlfiles="$srv_i386_linux_xmlfiles $srv_amd64_linux_xmlfiles" |
| 363 | srv_linux_usrregs=yes # This is for i386 progs. |
| 364 | srv_linux_regsets=yes |
| 365 | srv_linux_thread_db=yes |
| 366 | srv_linux_btrace=yes |
| 367 | ipa_obj="${ipa_amd64_linux_regobj} linux-amd64-ipa.o" |
| 368 | ;; |
| 369 | x86_64-*-mingw*) srv_regobj="$srv_amd64_regobj" |
| 370 | srv_tgtobj="x86-low.o x86-dregs.o i387-fp.o win32-low.o win32-i386-low.o" |
| 371 | srv_xmlfiles="$srv_i386_xmlfiles $srv_amd64_xmlfiles" |
| 372 | srv_mingw=yes |
| 373 | ;; |
| 374 | x86_64-*-cygwin*) srv_regobj="$srv_amd64_regobj" |
| 375 | srv_tgtobj="x86-low.o x86-dregs.o i387-fp.o win32-low.o win32-i386-low.o" |
| 376 | srv_xmlfiles="$srv_i386_xmlfiles" |
| 377 | ;; |
| 378 | |
| 379 | xtensa*-*-linux*) srv_regobj=reg-xtensa.o |
| 380 | srv_tgtobj="$srv_linux_obj linux-xtensa-low.o" |
| 381 | srv_linux_regsets=yes |
| 382 | srv_linux_thread_db=yes |
| 383 | ;; |
| 384 | tilegx-*-linux*) srv_regobj=reg-tilegx.o |
| 385 | srv_regobj="${srv_regobj} reg-tilegx32.o" |
| 386 | srv_tgtobj="$srv_linux_obj linux-tile-low.o" |
| 387 | srv_linux_regsets=yes |
| 388 | srv_linux_thread_db=yes |
| 389 | ;; |
| 390 | *) echo "Error: target not supported by gdbserver." |
| 391 | exit 1 |
| 392 | ;; |
| 393 | esac |