Commit | Line | Data |
---|---|---|
7ea81414 DJ |
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. | |
59a016f0 PA |
9 | # srv_hostio_err The object implementing the hostio_last_error |
10 | # target method. | |
9b4b61c8 | 11 | # srv_xmlfiles All XML files which should be available for |
fb1e4ffc | 12 | # gdbserver in this configuration. |
fa593d66 PA |
13 | # ipa_obj Any other target-specific modules appropriate |
14 | # for this target's in-process agent. | |
7ea81414 DJ |
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. | |
58caa3dc DJ |
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. | |
7ea81414 | 23 | |
59a016f0 PA |
24 | # Default hostio_last_error implementation |
25 | srv_hostio_err_objs="hostio-errno.o" | |
26 | ||
01f9f808 MS |
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" | |
90884b2b | 31 | |
fa593d66 PA |
32 | ipa_i386_linux_regobj=i386-linux-ipa.o |
33 | ipa_amd64_linux_regobj=amd64-linux-ipa.o | |
34 | ||
01f9f808 MS |
35 | srv_i386_32bit_xmlfiles="i386/32bit-core.xml i386/32bit-sse.xml i386/32bit-avx.xml i386/32bit-avx512.xml i386/32bit-mpx.xml" |
36 | 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" | |
37 | 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" | |
38 | 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" | |
39 | 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" | |
40 | 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" | |
90884b2b | 41 | |
96d7229d LM |
42 | |
43 | # Linux object files. This is so we don't have to repeat | |
44 | # these files over and over again. | |
db1ff28b | 45 | srv_linux_obj="linux-low.o linux-osdata.o linux-procfs.o linux-ptrace.o linux-waitpid.o linux-personality.o linux-namespaces.o" |
96d7229d | 46 | |
7ea81414 DJ |
47 | # Input is taken from the "${target}" variable. |
48 | ||
49 | case "${target}" in | |
176eb98c | 50 | aarch64*-*-linux*) |
9b25f2d3 | 51 | srv_regobj="aarch64.o" |
3b53ae99 | 52 | srv_regobj="${srv_regobj} arm-with-neon.o" |
554717a3 | 53 | srv_tgtobj="linux-aarch64-low.o aarch64-linux-hw-point.o" |
3b53ae99 | 54 | srv_tgtobj="$srv_tgtobj linux-aarch32-low.o" |
17b1509a | 55 | srv_tgtobj="${srv_tgtobj} arm.o" |
db3cb7cb | 56 | srv_tgtobj="$srv_tgtobj aarch64-linux.o" |
787749ea | 57 | srv_tgtobj="$srv_tgtobj aarch64-insn.o" |
96d7229d | 58 | srv_tgtobj="${srv_tgtobj} $srv_linux_obj" |
176eb98c MS |
59 | srv_xmlfiles="aarch64.xml" |
60 | srv_xmlfiles="${srv_xmlfiles} aarch64-core.xml" | |
61 | srv_xmlfiles="${srv_xmlfiles} aarch64-fpu.xml" | |
3b53ae99 YQ |
62 | srv_xmlfiles="${srv_xmlfiles} arm-core.xml arm-vfpv3.xml" |
63 | srv_xmlfiles="${srv_xmlfiles} arm-with-neon.xml" | |
176eb98c MS |
64 | srv_linux_regsets=yes |
65 | srv_linux_thread_db=yes | |
bb903df0 | 66 | ipa_obj="linux-aarch64-ipa.o aarch64-ipa.o" |
176eb98c | 67 | ;; |
9b4b61c8 | 68 | arm*-*-linux*) srv_regobj="reg-arm.o arm-with-iwmmxt.o" |
58d6951d DJ |
69 | srv_regobj="${srv_regobj} arm-with-vfpv2.o" |
70 | srv_regobj="${srv_regobj} arm-with-vfpv3.o" | |
71 | srv_regobj="${srv_regobj} arm-with-neon.o" | |
96d7229d | 72 | srv_tgtobj="$srv_linux_obj linux-arm-low.o" |
bd9e6534 | 73 | srv_tgtobj="$srv_tgtobj linux-aarch32-low.o" |
8689682c | 74 | srv_tgtobj="${srv_tgtobj} arm.o" |
d9311bfa AT |
75 | srv_tgtobj="${srv_tgtobj} arm-linux.o" |
76 | srv_tgtobj="${srv_tgtobj} arm-get-next-pcs.o" | |
9b4b61c8 | 77 | srv_xmlfiles="arm-with-iwmmxt.xml" |
58d6951d DJ |
78 | srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv2.xml" |
79 | srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv3.xml" | |
80 | srv_xmlfiles="${srv_xmlfiles} arm-with-neon.xml" | |
9b4b61c8 UW |
81 | srv_xmlfiles="${srv_xmlfiles} arm-core.xml" |
82 | srv_xmlfiles="${srv_xmlfiles} xscale-iwmmxt.xml" | |
58d6951d DJ |
83 | srv_xmlfiles="${srv_xmlfiles} arm-vfpv2.xml" |
84 | srv_xmlfiles="${srv_xmlfiles} arm-vfpv3.xml" | |
58caa3dc | 85 | srv_linux_usrregs=yes |
fb1e4ffc | 86 | srv_linux_regsets=yes |
0d62e5e8 | 87 | srv_linux_thread_db=yes |
7ea81414 | 88 | ;; |
d99f33d8 PA |
89 | arm*-*-mingw32ce*) srv_regobj=reg-arm.o |
90 | srv_tgtobj="win32-low.o win32-arm-low.o" | |
91 | srv_tgtobj="${srv_tgtobj} wincecompat.o" | |
59a016f0 PA |
92 | # hostio_last_error implementation is in win32-low.c |
93 | srv_hostio_err_objs="" | |
d99f33d8 PA |
94 | srv_mingw=yes |
95 | srv_mingwce=yes | |
96 | ;; | |
eb826dc6 | 97 | bfin-*-*linux*) srv_regobj=reg-bfin.o |
96d7229d | 98 | srv_tgtobj="$srv_linux_obj linux-bfin-low.o" |
eb826dc6 MF |
99 | srv_linux_usrregs=yes |
100 | srv_linux_thread_db=yes | |
101 | ;; | |
45b134e5 | 102 | crisv32-*-linux*) srv_regobj=reg-crisv32.o |
96d7229d | 103 | srv_tgtobj="$srv_linux_obj linux-crisv32-low.o" |
45b134e5 OF |
104 | srv_linux_regsets=yes |
105 | srv_linux_thread_db=yes | |
106 | ;; | |
107 | cris-*-linux*) srv_regobj=reg-cris.o | |
96d7229d | 108 | srv_tgtobj="$srv_linux_obj linux-cris-low.o" |
45b134e5 OF |
109 | srv_linux_usrregs=yes |
110 | srv_linux_thread_db=yes | |
111 | ;; | |
90884b2b | 112 | i[34567]86-*-cygwin*) srv_regobj="$srv_i386_regobj" |
df7e5265 | 113 | srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o" |
90884b2b | 114 | srv_xmlfiles="$srv_i386_xmlfiles" |
b80864fb | 115 | ;; |
90884b2b L |
116 | i[34567]86-*-linux*) srv_regobj="$srv_i386_linux_regobj" |
117 | srv_xmlfiles="$srv_i386_linux_xmlfiles" | |
8838b45e | 118 | if test "$gdb_cv_i386_is_x86_64" = yes ; then |
90884b2b L |
119 | srv_regobj="$srv_regobj $srv_amd64_linux_regobj" |
120 | srv_xmlfiles="${srv_xmlfiles} $srv_amd64_linux_xmlfiles" | |
93813b37 | 121 | srv_tgtobj="amd64-linux-siginfo.o" |
8838b45e | 122 | fi |
93813b37 | 123 | srv_tgtobj="${srv_tgtobj} $srv_linux_obj linux-x86-low.o x86-low.o x86-dregs.o i387-fp.o" |
4b134ca1 | 124 | srv_tgtobj="${srv_tgtobj} linux-btrace.o x86-linux.o" |
8e5d4070 | 125 | srv_tgtobj="${srv_tgtobj} x86-linux-dregs.o" |
58caa3dc DJ |
126 | srv_linux_usrregs=yes |
127 | srv_linux_regsets=yes | |
0d62e5e8 | 128 | srv_linux_thread_db=yes |
9accd112 | 129 | srv_linux_btrace=yes |
fa593d66 | 130 | ipa_obj="${ipa_i386_linux_regobj} linux-i386-ipa.o" |
7ea81414 | 131 | ;; |
fa1bd1e4 JB |
132 | i[34567]86-*-lynxos*) srv_regobj="i386.o" |
133 | srv_tgtobj="lynx-low.o lynx-i386-low.o" | |
e6352c8f JB |
134 | srv_xmlfiles="i386/i386.xml" |
135 | srv_xmlfiles="${srv_xmlfiles} i386/32bit-core.xml" | |
136 | srv_xmlfiles="${srv_xmlfiles} i386/32bit-sse.xml" | |
fa1bd1e4 JB |
137 | srv_lynxos=yes |
138 | ;; | |
155c8968 | 139 | i[34567]86-*-mingw32ce*) |
90884b2b | 140 | srv_regobj="$srv_i386_regobj" |
df7e5265 | 141 | srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o" |
155c8968 | 142 | srv_tgtobj="${srv_tgtobj} wincecompat.o" |
90884b2b | 143 | srv_xmlfiles="$srv_i386_xmlfiles" |
155c8968 PA |
144 | # hostio_last_error implementation is in win32-low.c |
145 | srv_hostio_err_objs="" | |
146 | srv_mingw=yes | |
147 | srv_mingwce=yes | |
148 | ;; | |
90884b2b | 149 | i[34567]86-*-mingw*) srv_regobj="$srv_i386_regobj" |
df7e5265 | 150 | srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o" |
90884b2b | 151 | srv_xmlfiles="$srv_i386_xmlfiles" |
b80864fb DJ |
152 | srv_mingw=yes |
153 | ;; | |
90884b2b | 154 | i[34567]86-*-nto*) srv_regobj="$srv_i386_regobj" |
ac8c974e | 155 | srv_tgtobj="nto-low.o nto-x86-low.o" |
90884b2b | 156 | srv_xmlfiles="$srv_i386_xmlfiles" |
ac8c974e AR |
157 | srv_qnx="yes" |
158 | ;; | |
7ea81414 | 159 | ia64-*-linux*) srv_regobj=reg-ia64.o |
96d7229d | 160 | srv_tgtobj="$srv_linux_obj linux-ia64-low.o" |
58caa3dc | 161 | srv_linux_usrregs=yes |
7ea81414 | 162 | ;; |
7cfbc4a0 | 163 | m32r*-*-linux*) srv_regobj=reg-m32r.o |
96d7229d | 164 | srv_tgtobj="$srv_linux_obj linux-m32r-low.o" |
7cfbc4a0 KI |
165 | srv_linux_usrregs=yes |
166 | srv_linux_thread_db=yes | |
167 | ;; | |
9ac544ce MK |
168 | m68*-*-linux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then |
169 | srv_regobj=reg-cf.o | |
170 | else | |
64daa791 | 171 | srv_regobj=reg-m68k.o |
9ac544ce | 172 | fi |
96d7229d | 173 | srv_tgtobj="$srv_linux_obj linux-m68k-low.o" |
58caa3dc | 174 | srv_linux_usrregs=yes |
db1d3e1b AS |
175 | srv_linux_regsets=yes |
176 | srv_linux_thread_db=yes | |
7ea81414 | 177 | ;; |
9ac544ce MK |
178 | m68*-*-uclinux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then |
179 | srv_regobj=reg-cf.o | |
180 | else | |
64daa791 | 181 | srv_regobj=reg-m68k.o |
9ac544ce | 182 | fi |
96d7229d | 183 | srv_tgtobj="$srv_linux_obj linux-m68k-low.o" |
52fb6437 NS |
184 | srv_linux_usrregs=yes |
185 | srv_linux_regsets=yes | |
186 | srv_linux_thread_db=yes | |
187 | ;; | |
1faeff08 MR |
188 | mips*-*-linux*) srv_regobj="mips-linux.o" |
189 | srv_regobj="${srv_regobj} mips-dsp-linux.o" | |
190 | srv_regobj="${srv_regobj} mips64-linux.o" | |
191 | srv_regobj="${srv_regobj} mips64-dsp-linux.o" | |
96d7229d | 192 | srv_tgtobj="$srv_linux_obj linux-mips-low.o" |
7a60ad40 | 193 | srv_tgtobj="${srv_tgtobj} mips-linux-watch.o" |
9b4b61c8 | 194 | srv_xmlfiles="mips-linux.xml" |
1faeff08 | 195 | srv_xmlfiles="${srv_xmlfiles} mips-dsp-linux.xml" |
9b4b61c8 UW |
196 | srv_xmlfiles="${srv_xmlfiles} mips-cpu.xml" |
197 | srv_xmlfiles="${srv_xmlfiles} mips-cp0.xml" | |
198 | srv_xmlfiles="${srv_xmlfiles} mips-fpu.xml" | |
1faeff08 | 199 | srv_xmlfiles="${srv_xmlfiles} mips-dsp.xml" |
74aac56f | 200 | srv_xmlfiles="${srv_xmlfiles} mips64-linux.xml" |
1faeff08 | 201 | srv_xmlfiles="${srv_xmlfiles} mips64-dsp-linux.xml" |
74aac56f DJ |
202 | srv_xmlfiles="${srv_xmlfiles} mips64-cpu.xml" |
203 | srv_xmlfiles="${srv_xmlfiles} mips64-cp0.xml" | |
204 | srv_xmlfiles="${srv_xmlfiles} mips64-fpu.xml" | |
1faeff08 | 205 | srv_xmlfiles="${srv_xmlfiles} mips64-dsp.xml" |
186947f7 | 206 | srv_linux_regsets=yes |
58caa3dc | 207 | srv_linux_usrregs=yes |
0d62e5e8 | 208 | srv_linux_thread_db=yes |
7ea81414 | 209 | ;; |
68f5f838 | 210 | nios2*-*-linux*) srv_regobj="nios2-linux.o" |
96d7229d | 211 | srv_tgtobj="$srv_linux_obj linux-nios2-low.o" |
68f5f838 SL |
212 | srv_xmlfiles="nios2-linux.xml" |
213 | srv_xmlfiles="${srv_xmlfiles} nios2-cpu.xml" | |
214 | srv_linux_regsets=yes | |
215 | srv_linux_usrregs=yes | |
216 | srv_linux_thread_db=yes | |
217 | ;; | |
7284e1be UW |
218 | powerpc*-*-linux*) srv_regobj="powerpc-32l.o" |
219 | srv_regobj="${srv_regobj} powerpc-altivec32l.o" | |
f4d9bade | 220 | srv_regobj="${srv_regobj} powerpc-cell32l.o" |
677c5bb1 | 221 | srv_regobj="${srv_regobj} powerpc-vsx32l.o" |
2c4ad781 TJB |
222 | srv_regobj="${srv_regobj} powerpc-isa205-32l.o" |
223 | srv_regobj="${srv_regobj} powerpc-isa205-altivec32l.o" | |
224 | srv_regobj="${srv_regobj} powerpc-isa205-vsx32l.o" | |
7284e1be UW |
225 | srv_regobj="${srv_regobj} powerpc-e500l.o" |
226 | srv_regobj="${srv_regobj} powerpc-64l.o" | |
227 | srv_regobj="${srv_regobj} powerpc-altivec64l.o" | |
f4d9bade | 228 | srv_regobj="${srv_regobj} powerpc-cell64l.o" |
677c5bb1 | 229 | srv_regobj="${srv_regobj} powerpc-vsx64l.o" |
2c4ad781 TJB |
230 | srv_regobj="${srv_regobj} powerpc-isa205-64l.o" |
231 | srv_regobj="${srv_regobj} powerpc-isa205-altivec64l.o" | |
232 | srv_regobj="${srv_regobj} powerpc-isa205-vsx64l.o" | |
cdf43629 | 233 | srv_tgtobj="$srv_linux_obj linux-ppc-low.o ppc-linux.o" |
7284e1be UW |
234 | srv_xmlfiles="rs6000/powerpc-32l.xml" |
235 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec32l.xml" | |
f4d9bade | 236 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-cell32l.xml" |
677c5bb1 | 237 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx32l.xml" |
2c4ad781 TJB |
238 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-32l.xml" |
239 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec32l.xml" | |
240 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx32l.xml" | |
9b4b61c8 | 241 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-altivec.xml" |
677c5bb1 | 242 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-vsx.xml" |
9b4b61c8 | 243 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml" |
7284e1be | 244 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-linux.xml" |
9b4b61c8 | 245 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml" |
2c4ad781 | 246 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu-isa205.xml" |
7284e1be | 247 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-e500l.xml" |
9b4b61c8 | 248 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-spe.xml" |
7284e1be UW |
249 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-64l.xml" |
250 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec64l.xml" | |
f4d9bade | 251 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-cell64l.xml" |
677c5bb1 | 252 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx64l.xml" |
2c4ad781 TJB |
253 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-64l.xml" |
254 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec64l.xml" | |
255 | srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx64l.xml" | |
550512b8 | 256 | srv_xmlfiles="${srv_xmlfiles} rs6000/power64-core.xml" |
7284e1be | 257 | srv_xmlfiles="${srv_xmlfiles} rs6000/power64-linux.xml" |
58caa3dc | 258 | srv_linux_usrregs=yes |
e9d25b98 | 259 | srv_linux_regsets=yes |
0d62e5e8 | 260 | srv_linux_thread_db=yes |
7ea81414 | 261 | ;; |
8ed54b31 JB |
262 | powerpc-*-lynxos*) srv_regobj="powerpc-32.o" |
263 | srv_tgtobj="lynx-low.o lynx-ppc-low.o" | |
50681a27 JB |
264 | srv_xmlfiles="rs6000/powerpc-32.xml" |
265 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml" | |
266 | srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml" | |
8ed54b31 JB |
267 | srv_lynxos=yes |
268 | ;; | |
7803799a | 269 | s390*-*-linux*) srv_regobj="s390-linux32.o" |
c642a434 UW |
270 | srv_regobj="${srv_regobj} s390-linux32v1.o" |
271 | srv_regobj="${srv_regobj} s390-linux32v2.o" | |
7803799a | 272 | srv_regobj="${srv_regobj} s390-linux64.o" |
c642a434 UW |
273 | srv_regobj="${srv_regobj} s390-linux64v1.o" |
274 | srv_regobj="${srv_regobj} s390-linux64v2.o" | |
4ac33720 | 275 | srv_regobj="${srv_regobj} s390-te-linux64.o" |
bf2d68ab AA |
276 | srv_regobj="${srv_regobj} s390-vx-linux64.o" |
277 | srv_regobj="${srv_regobj} s390-tevx-linux64.o" | |
7803799a | 278 | srv_regobj="${srv_regobj} s390x-linux64.o" |
c642a434 UW |
279 | srv_regobj="${srv_regobj} s390x-linux64v1.o" |
280 | srv_regobj="${srv_regobj} s390x-linux64v2.o" | |
4ac33720 | 281 | srv_regobj="${srv_regobj} s390x-te-linux64.o" |
bf2d68ab AA |
282 | srv_regobj="${srv_regobj} s390x-vx-linux64.o" |
283 | srv_regobj="${srv_regobj} s390x-tevx-linux64.o" | |
96d7229d | 284 | srv_tgtobj="$srv_linux_obj linux-s390-low.o" |
7803799a | 285 | srv_xmlfiles="s390-linux32.xml" |
c642a434 UW |
286 | srv_xmlfiles="${srv_xmlfiles} s390-linux32v1.xml" |
287 | srv_xmlfiles="${srv_xmlfiles} s390-linux32v2.xml" | |
7803799a | 288 | srv_xmlfiles="${srv_xmlfiles} s390-linux64.xml" |
c642a434 UW |
289 | srv_xmlfiles="${srv_xmlfiles} s390-linux64v1.xml" |
290 | srv_xmlfiles="${srv_xmlfiles} s390-linux64v2.xml" | |
4ac33720 | 291 | srv_xmlfiles="${srv_xmlfiles} s390-te-linux64.xml" |
bf2d68ab AA |
292 | srv_xmlfiles="${srv_xmlfiles} s390-vx-linux64.xml" |
293 | srv_xmlfiles="${srv_xmlfiles} s390-tevx-linux64.xml" | |
7803799a | 294 | srv_xmlfiles="${srv_xmlfiles} s390x-linux64.xml" |
c642a434 UW |
295 | srv_xmlfiles="${srv_xmlfiles} s390x-linux64v1.xml" |
296 | srv_xmlfiles="${srv_xmlfiles} s390x-linux64v2.xml" | |
4ac33720 | 297 | srv_xmlfiles="${srv_xmlfiles} s390x-te-linux64.xml" |
bf2d68ab AA |
298 | srv_xmlfiles="${srv_xmlfiles} s390x-vx-linux64.xml" |
299 | srv_xmlfiles="${srv_xmlfiles} s390x-tevx-linux64.xml" | |
7803799a UW |
300 | srv_xmlfiles="${srv_xmlfiles} s390-core32.xml" |
301 | srv_xmlfiles="${srv_xmlfiles} s390-core64.xml" | |
302 | srv_xmlfiles="${srv_xmlfiles} s390x-core64.xml" | |
303 | srv_xmlfiles="${srv_xmlfiles} s390-acr.xml" | |
304 | srv_xmlfiles="${srv_xmlfiles} s390-fpr.xml" | |
4ac33720 | 305 | srv_xmlfiles="${srv_xmlfiles} s390-tdb.xml" |
bf2d68ab | 306 | srv_xmlfiles="${srv_xmlfiles} s390-vx.xml" |
265f716b | 307 | srv_linux_usrregs=yes |
b7149293 UW |
308 | srv_linux_regsets=yes |
309 | srv_linux_thread_db=yes | |
265f716b | 310 | ;; |
7ea81414 | 311 | sh*-*-linux*) srv_regobj=reg-sh.o |
96d7229d | 312 | srv_tgtobj="$srv_linux_obj linux-sh-low.o" |
58caa3dc | 313 | srv_linux_usrregs=yes |
0d37add9 | 314 | srv_linux_regsets=yes |
0d62e5e8 | 315 | srv_linux_thread_db=yes |
58caa3dc | 316 | ;; |
dfb64f85 | 317 | sparc*-*-linux*) srv_regobj=reg-sparc64.o |
96d7229d | 318 | srv_tgtobj="$srv_linux_obj linux-sparc-low.o" |
dfb64f85 DJ |
319 | srv_linux_regsets=yes |
320 | srv_linux_thread_db=yes | |
321 | ;; | |
a13e2c95 UW |
322 | spu*-*-*) srv_regobj=reg-spu.o |
323 | srv_tgtobj="spu-low.o" | |
324 | ;; | |
58dbd541 YQ |
325 | tic6x-*-uclinux) srv_regobj="tic6x-c64xp-linux.o" |
326 | srv_regobj="${srv_regobj} tic6x-c64x-linux.o" | |
327 | srv_regobj="${srv_regobj} tic6x-c62x-linux.o" | |
328 | srv_xmlfiles="tic6x-c64xp-linux.xml" | |
329 | srv_xmlfiles="${srv_xmlfiles} tic6x-c64x-linux.xml" | |
330 | srv_xmlfiles="${srv_xmlfiles} tic6x-c62x-linux.xml" | |
331 | srv_xmlfiles="${srv_xmlfiles} tic6x-core.xml" | |
332 | srv_xmlfiles="${srv_xmlfiles} tic6x-gp.xml" | |
333 | srv_xmlfiles="${srv_xmlfiles} tic6x-c6xp.xml" | |
96d7229d | 334 | srv_tgtobj="$srv_linux_obj linux-tic6x-low.o" |
58dbd541 YQ |
335 | srv_linux_regsets=yes |
336 | srv_linux_usrregs=yes | |
337 | srv_linux_thread_db=yes | |
338 | ;; | |
90884b2b | 339 | x86_64-*-linux*) srv_regobj="$srv_amd64_linux_regobj $srv_i386_linux_regobj" |
df7e5265 | 340 | srv_tgtobj="$srv_linux_obj linux-x86-low.o x86-low.o x86-dregs.o i387-fp.o" |
4b134ca1 | 341 | srv_tgtobj="${srv_tgtobj} linux-btrace.o x86-linux.o" |
8e5d4070 | 342 | srv_tgtobj="${srv_tgtobj} x86-linux-dregs.o" |
93813b37 | 343 | srv_tgtobj="${srv_tgtobj} amd64-linux-siginfo.o" |
90884b2b | 344 | srv_xmlfiles="$srv_i386_linux_xmlfiles $srv_amd64_linux_xmlfiles" |
d0722149 | 345 | srv_linux_usrregs=yes # This is for i386 progs. |
58caa3dc | 346 | srv_linux_regsets=yes |
011a70c2 | 347 | srv_linux_thread_db=yes |
9accd112 | 348 | srv_linux_btrace=yes |
fa593d66 | 349 | ipa_obj="${ipa_amd64_linux_regobj} linux-amd64-ipa.o" |
7ea81414 | 350 | ;; |
e0a61e09 | 351 | x86_64-*-mingw*) srv_regobj="$srv_amd64_regobj" |
df7e5265 | 352 | srv_tgtobj="x86-low.o x86-dregs.o i387-fp.o win32-low.o win32-i386-low.o" |
e0a61e09 PM |
353 | srv_xmlfiles="$srv_i386_xmlfiles $srv_amd64_xmlfiles" |
354 | srv_mingw=yes | |
355 | ;; | |
b5b0b0af | 356 | x86_64-*-cygwin*) srv_regobj="$srv_amd64_regobj" |
df7e5265 | 357 | srv_tgtobj="x86-low.o x86-dregs.o i387-fp.o win32-low.o win32-i386-low.o" |
b5b0b0af CV |
358 | srv_xmlfiles="$srv_i386_xmlfiles" |
359 | ;; | |
e0a61e09 | 360 | |
1525d545 | 361 | xtensa*-*-linux*) srv_regobj=reg-xtensa.o |
96d7229d | 362 | srv_tgtobj="$srv_linux_obj linux-xtensa-low.o" |
1525d545 | 363 | srv_linux_regsets=yes |
40045d91 | 364 | srv_linux_thread_db=yes |
1525d545 | 365 | ;; |
65f479b6 | 366 | tilegx-*-linux*) srv_regobj=reg-tilegx.o |
e1f58301 | 367 | srv_regobj="${srv_regobj} reg-tilegx32.o" |
9243dd0e | 368 | srv_tgtobj="$srv_linux_obj linux-tile-low.o" |
65f479b6 PA |
369 | srv_linux_regsets=yes |
370 | srv_linux_thread_db=yes | |
371 | ;; | |
7ea81414 DJ |
372 | *) echo "Error: target not supported by gdbserver." |
373 | exit 1 | |
374 | ;; | |
375 | esac |