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.
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
9 # srv_hostio_err The object implementing the hostio_last_error
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.
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
21 # srv_linux_usrregs Set to "yes" if we can get at registers via
22 # PTRACE_PEEKUSR / PTRACE_POKEUSR.
24 # Default hostio_last_error implementation
25 srv_hostio_err_objs="hostio-errno.o"
27 if $enable_unittests; then
28 srv_i386_linux_regobj="i386-linux.o i386-avx-linux.o i386-avx-avx512-linux.o i386-avx-mpx-avx512-pku-linux.o i386-mpx-linux.o i386-avx-mpx-linux.o i386-mmx-linux.o linux-x86-tdesc-selftest.o"
29 srv_amd64_linux_regobj="amd64-linux.o amd64-avx-linux.o amd64-avx-avx512-linux.o amd64-avx-mpx-avx512-pku-linux.o amd64-mpx-linux.o amd64-avx-mpx-linux.o x32-linux.o x32-avx-linux.o x32-avx-avx512-linux.o"
31 srv_i386_linux_regobj=""
32 srv_amd64_linux_regobj=""
35 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-isa205-ppr-dscr-vsx32l-ipa.o powerpc-isa207-vsx32l-ipa.o powerpc-isa207-htm-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 powerpc-isa205-ppr-dscr-vsx64l-ipa.o powerpc-isa207-vsx64l-ipa.o powerpc-isa207-htm-vsx64l-ipa.o"
37 # Linux object files. This is so we don't have to repeat
38 # these files over and over again.
39 srv_linux_obj="linux-low.o linux-osdata.o linux-procfs.o linux-ptrace.o linux-waitpid.o linux-personality.o linux-namespaces.o fork-child.o fork-inferior.o"
41 # Input is taken from the "${target}" variable.
45 srv_regobj="arm-with-neon.o"
46 if $enable_unittests; then
47 srv_regobj="${srv_regobj} aarch64.o"
48 srv_regobj="${srv_regobj} linux-aarch64-tdesc-selftest.o"
50 srv_tgtobj="linux-aarch64-low.o aarch64-linux-hw-point.o"
51 srv_tgtobj="$srv_tgtobj linux-aarch32-low.o"
52 srv_tgtobj="${srv_tgtobj} arch/arm.o"
53 srv_tgtobj="$srv_tgtobj aarch64-linux.o"
54 srv_tgtobj="$srv_tgtobj arch/aarch64-insn.o"
55 srv_tgtobj="$srv_tgtobj arch/aarch64.o"
56 srv_tgtobj="$srv_tgtobj linux-aarch64-tdesc.o"
57 srv_tgtobj="$srv_tgtobj aarch64-sve-linux-ptrace.o"
58 srv_tgtobj="${srv_tgtobj} $srv_linux_obj"
60 srv_linux_thread_db=yes
61 ipa_obj="linux-aarch64-ipa.o"
62 ipa_obj="${ipa_obj} linux-aarch64-tdesc-ipa.o"
63 ipa_obj="${ipa_obj} arch/aarch64-ipa.o"
65 arm*-*-linux*) srv_regobj="reg-arm.o arm-with-iwmmxt.o"
66 srv_regobj="${srv_regobj} arm-with-vfpv2.o"
67 srv_regobj="${srv_regobj} arm-with-vfpv3.o"
68 srv_regobj="${srv_regobj} arm-with-neon.o"
69 srv_tgtobj="$srv_linux_obj linux-arm-low.o"
70 srv_tgtobj="$srv_tgtobj linux-aarch32-low.o"
71 srv_tgtobj="${srv_tgtobj} arch/arm.o"
72 srv_tgtobj="${srv_tgtobj} arch/arm-linux.o"
73 srv_tgtobj="${srv_tgtobj} arch/arm-get-next-pcs.o"
74 srv_xmlfiles="arm/arm-with-iwmmxt.xml"
75 srv_xmlfiles="${srv_xmlfiles} arm/arm-with-vfpv2.xml"
76 srv_xmlfiles="${srv_xmlfiles} arm/arm-with-vfpv3.xml"
77 srv_xmlfiles="${srv_xmlfiles} arm/arm-with-neon.xml"
78 srv_xmlfiles="${srv_xmlfiles} arm/arm-core.xml"
79 srv_xmlfiles="${srv_xmlfiles} arm/xscale-iwmmxt.xml"
80 srv_xmlfiles="${srv_xmlfiles} arm/arm-vfpv2.xml"
81 srv_xmlfiles="${srv_xmlfiles} arm/arm-vfpv3.xml"
84 srv_linux_thread_db=yes
86 arm*-*-mingw32ce*) srv_regobj=reg-arm.o
87 srv_tgtobj="win32-low.o win32-arm-low.o"
88 srv_tgtobj="${srv_tgtobj} wincecompat.o"
89 # hostio_last_error implementation is in win32-low.c
90 srv_hostio_err_objs=""
94 bfin-*-*linux*) srv_regobj=reg-bfin.o
95 srv_tgtobj="$srv_linux_obj linux-bfin-low.o"
97 srv_linux_thread_db=yes
99 crisv32-*-linux*) srv_regobj=reg-crisv32.o
100 srv_tgtobj="$srv_linux_obj linux-crisv32-low.o"
101 srv_linux_regsets=yes
102 srv_linux_thread_db=yes
104 cris-*-linux*) srv_regobj=reg-cris.o
105 srv_tgtobj="$srv_linux_obj linux-cris-low.o"
106 srv_linux_usrregs=yes
107 srv_linux_thread_db=yes
109 i[34567]86-*-cygwin*) srv_regobj=""
110 srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o"
111 srv_tgtobj="${srv_tgtobj} arch/i386.o"
113 i[34567]86-*-linux*) srv_regobj="$srv_i386_linux_regobj"
114 if test "$gdb_cv_i386_is_x86_64" = yes ; then
115 srv_regobj="$srv_regobj $srv_amd64_linux_regobj"
116 srv_tgtobj="amd64-linux-siginfo.o"
118 srv_tgtobj="${srv_tgtobj} arch/i386.o"
119 srv_tgtobj="${srv_tgtobj} $srv_linux_obj linux-x86-low.o x86-low.o x86-dregs.o i387-fp.o"
120 srv_tgtobj="${srv_tgtobj} linux-x86-tdesc.o"
121 srv_tgtobj="${srv_tgtobj} linux-btrace.o x86-linux.o"
122 srv_tgtobj="${srv_tgtobj} x86-linux-dregs.o"
123 srv_linux_usrregs=yes
124 srv_linux_regsets=yes
125 srv_linux_thread_db=yes
127 ipa_obj="linux-i386-ipa.o linux-x86-tdesc-ipa.o"
128 ipa_obj="${ipa_obj} arch/i386-ipa.o"
130 i[34567]86-*-lynxos*) srv_regobj=""
131 srv_tgtobj="lynx-low.o lynx-i386-low.o fork-child.o fork-inferior.o"
132 srv_tgtobj="${srv_tgtobj} arch/i386.o"
135 i[34567]86-*-mingw32ce*)
137 srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o"
138 srv_tgtobj="${srv_tgtobj} arch/i386.o"
139 srv_tgtobj="${srv_tgtobj} wincecompat.o"
140 # hostio_last_error implementation is in win32-low.c
141 srv_hostio_err_objs=""
145 i[34567]86-*-mingw*) srv_regobj=""
146 srv_tgtobj="x86-low.o x86-dregs.o win32-low.o win32-i386-low.o"
147 srv_tgtobj="${srv_tgtobj} arch/i386.o"
150 i[34567]86-*-nto*) srv_regobj=""
151 srv_tgtobj="nto-low.o nto-x86-low.o arch/i386.o"
154 ia64-*-linux*) srv_regobj=reg-ia64.o
155 srv_tgtobj="$srv_linux_obj linux-ia64-low.o"
156 srv_linux_usrregs=yes
158 m32r*-*-linux*) srv_regobj=reg-m32r.o
159 srv_tgtobj="$srv_linux_obj linux-m32r-low.o"
160 srv_linux_usrregs=yes
161 srv_linux_thread_db=yes
163 m68*-*-linux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then
166 srv_regobj=reg-m68k.o
168 srv_tgtobj="$srv_linux_obj linux-m68k-low.o"
169 srv_linux_usrregs=yes
170 srv_linux_regsets=yes
171 srv_linux_thread_db=yes
173 m68*-*-uclinux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then
176 srv_regobj=reg-m68k.o
178 srv_tgtobj="$srv_linux_obj linux-m68k-low.o"
179 srv_linux_usrregs=yes
180 srv_linux_regsets=yes
181 srv_linux_thread_db=yes
183 mips*-*-linux*) srv_regobj="mips-linux.o"
184 srv_regobj="${srv_regobj} mips-dsp-linux.o"
185 srv_regobj="${srv_regobj} mips64-linux.o"
186 srv_regobj="${srv_regobj} mips64-dsp-linux.o"
187 srv_tgtobj="$srv_linux_obj linux-mips-low.o"
188 srv_tgtobj="${srv_tgtobj} mips-linux-watch.o"
189 srv_xmlfiles="mips-linux.xml"
190 srv_xmlfiles="${srv_xmlfiles} mips-dsp-linux.xml"
191 srv_xmlfiles="${srv_xmlfiles} mips-cpu.xml"
192 srv_xmlfiles="${srv_xmlfiles} mips-cp0.xml"
193 srv_xmlfiles="${srv_xmlfiles} mips-fpu.xml"
194 srv_xmlfiles="${srv_xmlfiles} mips-dsp.xml"
195 srv_xmlfiles="${srv_xmlfiles} mips64-linux.xml"
196 srv_xmlfiles="${srv_xmlfiles} mips64-dsp-linux.xml"
197 srv_xmlfiles="${srv_xmlfiles} mips64-cpu.xml"
198 srv_xmlfiles="${srv_xmlfiles} mips64-cp0.xml"
199 srv_xmlfiles="${srv_xmlfiles} mips64-fpu.xml"
200 srv_xmlfiles="${srv_xmlfiles} mips64-dsp.xml"
201 srv_linux_regsets=yes
202 srv_linux_usrregs=yes
203 srv_linux_thread_db=yes
205 nios2*-*-linux*) srv_regobj="nios2-linux.o"
206 srv_tgtobj="$srv_linux_obj linux-nios2-low.o"
207 srv_xmlfiles="nios2-linux.xml"
208 srv_xmlfiles="${srv_xmlfiles} nios2-cpu.xml"
209 srv_linux_regsets=yes
210 srv_linux_usrregs=yes
211 srv_linux_thread_db=yes
213 powerpc*-*-linux*) srv_regobj="powerpc-32l.o"
214 srv_regobj="${srv_regobj} powerpc-altivec32l.o"
215 srv_regobj="${srv_regobj} powerpc-cell32l.o"
216 srv_regobj="${srv_regobj} powerpc-vsx32l.o"
217 srv_regobj="${srv_regobj} powerpc-isa205-32l.o"
218 srv_regobj="${srv_regobj} powerpc-isa205-altivec32l.o"
219 srv_regobj="${srv_regobj} powerpc-isa205-vsx32l.o"
220 srv_regobj="${srv_regobj} powerpc-isa205-ppr-dscr-vsx32l.o"
221 srv_regobj="${srv_regobj} powerpc-isa207-vsx32l.o"
222 srv_regobj="${srv_regobj} powerpc-isa207-htm-vsx32l.o"
223 srv_regobj="${srv_regobj} powerpc-e500l.o"
224 srv_regobj="${srv_regobj} powerpc-64l.o"
225 srv_regobj="${srv_regobj} powerpc-altivec64l.o"
226 srv_regobj="${srv_regobj} powerpc-cell64l.o"
227 srv_regobj="${srv_regobj} powerpc-vsx64l.o"
228 srv_regobj="${srv_regobj} powerpc-isa205-64l.o"
229 srv_regobj="${srv_regobj} powerpc-isa205-altivec64l.o"
230 srv_regobj="${srv_regobj} powerpc-isa205-vsx64l.o"
231 srv_regobj="${srv_regobj} powerpc-isa205-ppr-dscr-vsx64l.o"
232 srv_regobj="${srv_regobj} powerpc-isa207-vsx64l.o"
233 srv_regobj="${srv_regobj} powerpc-isa207-htm-vsx64l.o"
234 srv_tgtobj="$srv_linux_obj linux-ppc-low.o ppc-linux.o"
235 srv_tgtobj="${srv_tgtobj} arch/ppc-linux-common.o"
236 srv_xmlfiles="rs6000/powerpc-32l.xml"
237 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec32l.xml"
238 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-cell32l.xml"
239 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx32l.xml"
240 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-32l.xml"
241 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec32l.xml"
242 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx32l.xml"
243 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-ppr-dscr-vsx32l.xml"
244 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa207-vsx32l.xml"
245 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa207-htm-vsx32l.xml"
246 srv_xmlfiles="${srv_xmlfiles} rs6000/power-altivec.xml"
247 srv_xmlfiles="${srv_xmlfiles} rs6000/power-vsx.xml"
248 srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml"
249 srv_xmlfiles="${srv_xmlfiles} rs6000/power-linux.xml"
250 srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml"
251 srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu-isa205.xml"
252 srv_xmlfiles="${srv_xmlfiles} rs6000/power-dscr.xml"
253 srv_xmlfiles="${srv_xmlfiles} rs6000/power-ppr.xml"
254 srv_xmlfiles="${srv_xmlfiles} rs6000/power-tar.xml"
255 srv_xmlfiles="${srv_xmlfiles} rs6000/power-ebb.xml"
256 srv_xmlfiles="${srv_xmlfiles} rs6000/power-linux-pmu.xml"
257 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-spr.xml"
258 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-core.xml"
259 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-fpu.xml"
260 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-altivec.xml"
261 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-vsx.xml"
262 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-ppr.xml"
263 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-dscr.xml"
264 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-tar.xml"
265 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-e500l.xml"
266 srv_xmlfiles="${srv_xmlfiles} rs6000/power-spe.xml"
267 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-64l.xml"
268 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec64l.xml"
269 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-cell64l.xml"
270 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx64l.xml"
271 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-64l.xml"
272 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec64l.xml"
273 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx64l.xml"
274 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-ppr-dscr-vsx64l.xml"
275 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa207-vsx64l.xml"
276 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa207-htm-vsx64l.xml"
277 srv_xmlfiles="${srv_xmlfiles} rs6000/power64-core.xml"
278 srv_xmlfiles="${srv_xmlfiles} rs6000/power64-linux.xml"
279 srv_xmlfiles="${srv_xmlfiles} rs6000/power64-htm-core.xml"
280 srv_linux_usrregs=yes
281 srv_linux_regsets=yes
282 srv_linux_thread_db=yes
283 ipa_obj="${ipa_ppc_linux_regobj} linux-ppc-ipa.o"
285 powerpc-*-lynxos*) srv_regobj="powerpc-32.o"
286 srv_tgtobj="lynx-low.o lynx-ppc-low.o"
287 srv_xmlfiles="rs6000/powerpc-32.xml"
288 srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml"
289 srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml"
292 s390*-*-linux*) srv_regobj="s390-linux32.o"
293 srv_regobj="${srv_regobj} s390-linux32v1.o"
294 srv_regobj="${srv_regobj} s390-linux32v2.o"
295 srv_regobj="${srv_regobj} s390-linux64.o"
296 srv_regobj="${srv_regobj} s390-linux64v1.o"
297 srv_regobj="${srv_regobj} s390-linux64v2.o"
298 srv_regobj="${srv_regobj} s390-te-linux64.o"
299 srv_regobj="${srv_regobj} s390-vx-linux64.o"
300 srv_regobj="${srv_regobj} s390-tevx-linux64.o"
301 srv_regobj="${srv_regobj} s390-gs-linux64.o"
302 srv_regobj="${srv_regobj} s390x-linux64.o"
303 srv_regobj="${srv_regobj} s390x-linux64v1.o"
304 srv_regobj="${srv_regobj} s390x-linux64v2.o"
305 srv_regobj="${srv_regobj} s390x-te-linux64.o"
306 srv_regobj="${srv_regobj} s390x-vx-linux64.o"
307 srv_regobj="${srv_regobj} s390x-tevx-linux64.o"
308 srv_regobj="${srv_regobj} s390x-gs-linux64.o"
309 srv_tgtobj="$srv_linux_obj linux-s390-low.o"
310 srv_xmlfiles="s390-linux32.xml"
311 srv_xmlfiles="${srv_xmlfiles} s390-linux32v1.xml"
312 srv_xmlfiles="${srv_xmlfiles} s390-linux32v2.xml"
313 srv_xmlfiles="${srv_xmlfiles} s390-linux64.xml"
314 srv_xmlfiles="${srv_xmlfiles} s390-linux64v1.xml"
315 srv_xmlfiles="${srv_xmlfiles} s390-linux64v2.xml"
316 srv_xmlfiles="${srv_xmlfiles} s390-te-linux64.xml"
317 srv_xmlfiles="${srv_xmlfiles} s390-vx-linux64.xml"
318 srv_xmlfiles="${srv_xmlfiles} s390-tevx-linux64.xml"
319 srv_xmlfiles="${srv_xmlfiles} s390-gs-linux64.xml"
320 srv_xmlfiles="${srv_xmlfiles} s390x-linux64.xml"
321 srv_xmlfiles="${srv_xmlfiles} s390x-linux64v1.xml"
322 srv_xmlfiles="${srv_xmlfiles} s390x-linux64v2.xml"
323 srv_xmlfiles="${srv_xmlfiles} s390x-te-linux64.xml"
324 srv_xmlfiles="${srv_xmlfiles} s390x-vx-linux64.xml"
325 srv_xmlfiles="${srv_xmlfiles} s390x-tevx-linux64.xml"
326 srv_xmlfiles="${srv_xmlfiles} s390x-gs-linux64.xml"
327 srv_xmlfiles="${srv_xmlfiles} s390-core32.xml"
328 srv_xmlfiles="${srv_xmlfiles} s390-core64.xml"
329 srv_xmlfiles="${srv_xmlfiles} s390x-core64.xml"
330 srv_xmlfiles="${srv_xmlfiles} s390-acr.xml"
331 srv_xmlfiles="${srv_xmlfiles} s390-fpr.xml"
332 srv_xmlfiles="${srv_xmlfiles} s390-tdb.xml"
333 srv_xmlfiles="${srv_xmlfiles} s390-vx.xml"
334 srv_xmlfiles="${srv_xmlfiles} s390-gs.xml"
335 srv_xmlfiles="${srv_xmlfiles} s390-gsbc.xml"
336 srv_linux_usrregs=yes
337 srv_linux_regsets=yes
338 srv_linux_thread_db=yes
339 ipa_obj="linux-s390-ipa.o"
340 ipa_obj="${ipa_obj} s390-linux32-ipa.o"
341 ipa_obj="${ipa_obj} s390-linux32v1-ipa.o"
342 ipa_obj="${ipa_obj} s390-linux32v2-ipa.o"
343 ipa_obj="${ipa_obj} s390-linux64-ipa.o"
344 ipa_obj="${ipa_obj} s390-linux64v1-ipa.o"
345 ipa_obj="${ipa_obj} s390-linux64v2-ipa.o"
346 ipa_obj="${ipa_obj} s390-vx-linux64-ipa.o"
347 ipa_obj="${ipa_obj} s390-te-linux64-ipa.o"
348 ipa_obj="${ipa_obj} s390-tevx-linux64-ipa.o"
349 ipa_obj="${ipa_obj} s390-gs-linux64-ipa.o"
350 ipa_obj="${ipa_obj} s390x-linux64-ipa.o"
351 ipa_obj="${ipa_obj} s390x-linux64v1-ipa.o"
352 ipa_obj="${ipa_obj} s390x-linux64v2-ipa.o"
353 ipa_obj="${ipa_obj} s390x-vx-linux64-ipa.o"
354 ipa_obj="${ipa_obj} s390x-te-linux64-ipa.o"
355 ipa_obj="${ipa_obj} s390x-tevx-linux64-ipa.o"
356 ipa_obj="${ipa_obj} s390x-gs-linux64-ipa.o"
358 sh*-*-linux*) srv_regobj=reg-sh.o
359 srv_tgtobj="$srv_linux_obj linux-sh-low.o"
360 srv_linux_usrregs=yes
361 srv_linux_regsets=yes
362 srv_linux_thread_db=yes
364 sparc*-*-linux*) srv_regobj=reg-sparc64.o
365 srv_tgtobj="$srv_linux_obj linux-sparc-low.o"
366 srv_linux_regsets=yes
367 srv_linux_thread_db=yes
369 spu*-*-*) srv_regobj=reg-spu.o
370 srv_tgtobj="spu-low.o fork-child.o fork-inferior.o"
372 tic6x-*-uclinux) if $development; then
373 srv_regobj="tic6x-c64xp-linux.o"
374 srv_regobj="${srv_regobj} tic6x-c64x-linux.o"
375 srv_regobj="${srv_regobj} tic6x-c62x-linux.o"
379 srv_tgtobj="$srv_linux_obj linux-tic6x-low.o"
380 srv_tgtobj="${srv_tgtobj} arch/tic6x.o"
381 srv_linux_regsets=yes
382 srv_linux_usrregs=yes
383 srv_linux_thread_db=yes
385 x86_64-*-linux*) srv_regobj="$srv_amd64_linux_regobj $srv_i386_linux_regobj"
386 srv_tgtobj="$srv_linux_obj linux-x86-low.o x86-low.o x86-dregs.o i387-fp.o"
387 srv_tgtobj="${srv_tgtobj} arch/i386.o arch/amd64.o"
388 srv_tgtobj="${srv_tgtobj} linux-x86-tdesc.o"
389 srv_tgtobj="${srv_tgtobj} linux-btrace.o x86-linux.o"
390 srv_tgtobj="${srv_tgtobj} x86-linux-dregs.o"
391 srv_tgtobj="${srv_tgtobj} amd64-linux-siginfo.o"
392 srv_linux_usrregs=yes # This is for i386 progs.
393 srv_linux_regsets=yes
394 srv_linux_thread_db=yes
396 ipa_obj="linux-amd64-ipa.o linux-x86-tdesc-ipa.o"
397 ipa_obj="${ipa_obj} arch/amd64-ipa.o"
399 x86_64-*-mingw*) srv_regobj=""
400 srv_tgtobj="x86-low.o x86-dregs.o i387-fp.o win32-low.o win32-i386-low.o"
401 srv_tgtobj="${srv_tgtobj} arch/amd64.o"
404 x86_64-*-cygwin*) srv_regobj=""
405 srv_tgtobj="x86-low.o x86-dregs.o i387-fp.o win32-low.o win32-i386-low.o"
406 srv_tgtobj="${srv_tgtobj} arch/amd64.o"
409 xtensa*-*-linux*) srv_regobj=reg-xtensa.o
410 srv_tgtobj="$srv_linux_obj linux-xtensa-low.o"
411 srv_linux_regsets=yes
412 srv_linux_thread_db=yes
414 tilegx-*-linux*) srv_regobj=reg-tilegx.o
415 srv_regobj="${srv_regobj} reg-tilegx32.o"
416 srv_tgtobj="$srv_linux_obj linux-tile-low.o"
417 srv_linux_regsets=yes
418 srv_linux_thread_db=yes
420 *) echo "Error: target not supported by gdbserver."