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 # It is also sourced by the top level configure script, to determine
5 # whether gdbserver is supported on a given host.
7 # This file sets the following shell variables:
8 # srv_regobj The register protocol appropriate for this target.
9 # srv_tgtobj Any other target-specific modules appropriate
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 # UNSUPPORTED Set to 1 if the host is unsupported.
17 # In addition, on GNU/Linux the following shell variables will be set:
18 # srv_linux_regsets Set to "yes" if ptrace(PTRACE_GETREGS) and friends
19 # may be available on this platform; unset otherwise.
20 # They will only be used if <sys/ptrace.h> defines
22 # srv_linux_usrregs Set to "yes" if we can get at registers via
23 # PTRACE_PEEKUSR / PTRACE_POKEUSR.
25 ipa_ppc_linux_regobj="powerpc-32l-ipa.o powerpc-altivec32l-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-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"
27 # Linux object files. This is so we don't have to repeat
28 # these files over and over again.
29 srv_linux_obj="linux-low.o nat/linux-osdata.o nat/linux-procfs.o nat/linux-ptrace.o nat/linux-waitpid.o nat/linux-personality.o nat/linux-namespaces.o fork-child.o nat/fork-inferior.o"
31 # Input is taken from the "${host}" and "${target}" variables.
33 # GDBserver can only debug native programs.
34 if test "${target}" = "${host}"; then
35 gdbserver_host=${host}
40 case "${gdbserver_host}" in
41 aarch64*-*-linux*) srv_tgtobj="linux-aarch64-low.o"
42 srv_tgtobj="$srv_tgtobj nat/aarch64-hw-point.o"
43 srv_tgtobj="$srv_tgtobj nat/aarch64-linux-hw-point.o"
44 srv_tgtobj="$srv_tgtobj linux-aarch32-low.o"
45 srv_tgtobj="$srv_tgtobj linux-aarch32-tdesc.o"
46 srv_tgtobj="${srv_tgtobj} arch/aarch32.o"
47 srv_tgtobj="${srv_tgtobj} arch/arm.o"
48 srv_tgtobj="$srv_tgtobj nat/aarch64-linux.o"
49 srv_tgtobj="$srv_tgtobj arch/aarch64-insn.o"
50 srv_tgtobj="$srv_tgtobj arch/aarch64.o"
51 srv_tgtobj="$srv_tgtobj arch/aarch64-mte-linux.o"
52 srv_tgtobj="$srv_tgtobj arch/aarch64-scalable-linux.o"
53 srv_tgtobj="$srv_tgtobj linux-aarch64-tdesc.o"
54 srv_tgtobj="$srv_tgtobj nat/aarch64-mte-linux-ptrace.o"
55 srv_tgtobj="$srv_tgtobj nat/aarch64-scalable-linux-ptrace.o"
56 srv_tgtobj="${srv_tgtobj} $srv_linux_obj"
58 srv_linux_thread_db=yes
59 ipa_obj="linux-aarch64-ipa.o"
60 ipa_obj="${ipa_obj} linux-aarch64-tdesc-ipa.o"
61 ipa_obj="${ipa_obj} arch/aarch64-ipa.o"
63 aarch64*-*-netbsd*) srv_regobj=""
64 srv_tgtobj="netbsd-low.o netbsd-aarch64-low.o fork-child.o"
65 srv_tgtobj="${srv_tgtobj} nat/fork-inferior.o"
66 srv_tgtobj="${srv_tgtobj} nat/netbsd-nat.o"
67 srv_tgtobj="${srv_tgtobj} arch/aarch64-insn.o arch/aarch64.o"
71 srv_tgtobj="linux-arc-low.o arch/arc.o $srv_linux_obj"
72 srv_xmlfiles="arc/v1-core.xml"
73 srv_xmlfiles="${srv_xmlfiles} arc/v1-aux.xml"
74 srv_xmlfiles="${srv_xmlfiles} arc/v2-core.xml"
75 srv_xmlfiles="${srv_xmlfiles} arc/v2-aux.xml"
78 srv_linux_thread_db=yes
80 arm*-*-linux*) srv_tgtobj="$srv_linux_obj linux-arm-low.o"
81 srv_tgtobj="$srv_tgtobj linux-arm-tdesc.o"
82 srv_tgtobj="$srv_tgtobj linux-aarch32-low.o"
83 srv_tgtobj="$srv_tgtobj linux-aarch32-tdesc.o"
84 srv_tgtobj="${srv_tgtobj} arch/aarch32.o"
85 srv_tgtobj="${srv_tgtobj} arch/arm.o"
86 srv_tgtobj="${srv_tgtobj} arch/arm-linux.o"
87 srv_tgtobj="${srv_tgtobj} arch/arm-get-next-pcs.o"
90 srv_linux_thread_db=yes
92 csky*-*linux*) srv_tgtobj="$srv_linux_obj linux-csky-low.o"
93 srv_tgtobj="${srv_tgtobj} arch/csky.o"
95 srv_linux_thread_db=yes
97 i[34567]86-*-cygwin*) srv_regobj=""
98 srv_tgtobj="x86-low.o nat/x86-dregs.o win32-low.o"
99 srv_tgtobj="${srv_tgtobj} win32-i386-low.o"
100 srv_tgtobj="${srv_tgtobj} nat/windows-nat.o"
101 srv_tgtobj="${srv_tgtobj} arch/i386.o"
103 i[34567]86-*-linux*) srv_tgtobj="${srv_tgtobj} arch/i386.o"
104 srv_tgtobj="${srv_tgtobj} $srv_linux_obj"
105 srv_tgtobj="${srv_tgtobj} linux-x86-low.o x86-low.o"
106 srv_tgtobj="${srv_tgtobj} nat/x86-dregs.o"
107 srv_tgtobj="${srv_tgtobj} nat/x86-xstate.o i387-fp.o"
108 srv_tgtobj="${srv_tgtobj} linux-x86-tdesc.o"
109 srv_tgtobj="${srv_tgtobj} nat/linux-btrace.o"
110 srv_tgtobj="${srv_tgtobj} nat/x86-linux.o"
111 srv_tgtobj="${srv_tgtobj} nat/x86-linux-dregs.o"
112 srv_linux_usrregs=yes
113 srv_linux_regsets=yes
114 srv_linux_thread_db=yes
116 ipa_obj="linux-i386-ipa.o linux-x86-tdesc-ipa.o"
117 ipa_obj="${ipa_obj} arch/i386-ipa.o"
119 i[34567]86-*-mingw*) srv_regobj=""
120 srv_tgtobj="x86-low.o nat/x86-dregs.o win32-low.o"
121 srv_tgtobj="${srv_tgtobj} win32-i386-low.o"
122 srv_tgtobj="${srv_tgtobj} nat/windows-nat.o"
123 srv_tgtobj="${srv_tgtobj} arch/i386.o"
126 i[34567]86-*-netbsd*) srv_regobj=""
127 srv_tgtobj="netbsd-low.o netbsd-i386-low.o fork-child.o"
128 srv_tgtobj="${srv_tgtobj} nat/fork-inferior.o"
129 srv_tgtobj="${srv_tgtobj} nat/netbsd-nat.o"
130 srv_tgtobj="${srv_tgtobj} arch/i386.o"
132 ia64-*-linux*) srv_regobj=reg-ia64.o
133 srv_tgtobj="$srv_linux_obj linux-ia64-low.o"
134 srv_linux_usrregs=yes
136 loongarch*-*-linux*) srv_tgtobj="arch/loongarch.o linux-loongarch-low.o"
137 srv_tgtobj="${srv_tgtobj} ${srv_linux_obj}"
138 srv_linux_regsets=yes
139 srv_linux_usrregs=yes
140 srv_linux_thread_db=yes
142 m68*-*-linux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then
145 srv_regobj=reg-m68k.o
147 srv_tgtobj="$srv_linux_obj linux-m68k-low.o"
148 srv_linux_usrregs=yes
149 srv_linux_regsets=yes
150 srv_linux_thread_db=yes
152 m68*-*-uclinux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then
155 srv_regobj=reg-m68k.o
157 srv_tgtobj="$srv_linux_obj linux-m68k-low.o"
158 srv_linux_usrregs=yes
159 srv_linux_regsets=yes
160 srv_linux_thread_db=yes
162 mips*-*-linux*) srv_regobj="mips-linux.o"
163 srv_regobj="${srv_regobj} mips-dsp-linux.o"
164 srv_regobj="${srv_regobj} mips64-linux.o"
165 srv_regobj="${srv_regobj} mips64-dsp-linux.o"
166 srv_tgtobj="$srv_linux_obj linux-mips-low.o"
167 srv_tgtobj="${srv_tgtobj} nat/mips-linux-watch.o"
168 srv_xmlfiles="mips-linux.xml"
169 srv_xmlfiles="${srv_xmlfiles} mips-dsp-linux.xml"
170 srv_xmlfiles="${srv_xmlfiles} mips-cpu.xml"
171 srv_xmlfiles="${srv_xmlfiles} mips-cp0.xml"
172 srv_xmlfiles="${srv_xmlfiles} mips-fpu.xml"
173 srv_xmlfiles="${srv_xmlfiles} mips-dsp.xml"
174 srv_xmlfiles="${srv_xmlfiles} mips64-linux.xml"
175 srv_xmlfiles="${srv_xmlfiles} mips64-dsp-linux.xml"
176 srv_xmlfiles="${srv_xmlfiles} mips64-cpu.xml"
177 srv_xmlfiles="${srv_xmlfiles} mips64-cp0.xml"
178 srv_xmlfiles="${srv_xmlfiles} mips64-fpu.xml"
179 srv_xmlfiles="${srv_xmlfiles} mips64-dsp.xml"
180 srv_linux_regsets=yes
181 srv_linux_usrregs=yes
182 srv_linux_thread_db=yes
184 nios2*-*-linux*) srv_regobj="nios2-linux.o"
185 srv_tgtobj="$srv_linux_obj linux-nios2-low.o"
186 srv_xmlfiles="nios2-linux.xml"
187 srv_xmlfiles="${srv_xmlfiles} nios2-cpu.xml"
188 srv_linux_regsets=yes
189 srv_linux_usrregs=yes
190 srv_linux_thread_db=yes
192 or1k*-*-linux*) srv_regobj="or1k-linux.o"
193 srv_tgtobj="$srv_linux_obj linux-or1k-low.o"
194 srv_xmlfiles="or1k-linux.xml"
195 srv_xmlfiles="${srv_xmlfiles} or1k-core.xml"
196 srv_linux_regsets=yes
197 srv_linux_usrregs=yes
198 srv_linux_thread_db=yes
200 powerpc*-*-linux*) srv_regobj="powerpc-32l.o"
201 srv_regobj="${srv_regobj} powerpc-altivec32l.o"
202 srv_regobj="${srv_regobj} powerpc-vsx32l.o"
203 srv_regobj="${srv_regobj} powerpc-isa205-32l.o"
204 srv_regobj="${srv_regobj} powerpc-isa205-altivec32l.o"
205 srv_regobj="${srv_regobj} powerpc-isa205-vsx32l.o"
206 srv_regobj="${srv_regobj} powerpc-isa205-ppr-dscr-vsx32l.o"
207 srv_regobj="${srv_regobj} powerpc-isa207-vsx32l.o"
208 srv_regobj="${srv_regobj} powerpc-isa207-htm-vsx32l.o"
209 srv_regobj="${srv_regobj} powerpc-e500l.o"
210 srv_regobj="${srv_regobj} powerpc-64l.o"
211 srv_regobj="${srv_regobj} powerpc-altivec64l.o"
212 srv_regobj="${srv_regobj} powerpc-vsx64l.o"
213 srv_regobj="${srv_regobj} powerpc-isa205-64l.o"
214 srv_regobj="${srv_regobj} powerpc-isa205-altivec64l.o"
215 srv_regobj="${srv_regobj} powerpc-isa205-vsx64l.o"
216 srv_regobj="${srv_regobj} powerpc-isa205-ppr-dscr-vsx64l.o"
217 srv_regobj="${srv_regobj} powerpc-isa207-vsx64l.o"
218 srv_regobj="${srv_regobj} powerpc-isa207-htm-vsx64l.o"
219 srv_tgtobj="$srv_linux_obj linux-ppc-low.o"
220 srv_tgtobj="${srv_tgtobj} nat/ppc-linux.o"
221 srv_tgtobj="${srv_tgtobj} arch/ppc-linux-common.o"
222 srv_xmlfiles="rs6000/powerpc-32l.xml"
223 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec32l.xml"
224 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx32l.xml"
225 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-32l.xml"
226 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec32l.xml"
227 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx32l.xml"
228 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-ppr-dscr-vsx32l.xml"
229 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa207-vsx32l.xml"
230 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa207-htm-vsx32l.xml"
231 srv_xmlfiles="${srv_xmlfiles} rs6000/power-altivec.xml"
232 srv_xmlfiles="${srv_xmlfiles} rs6000/power-vsx.xml"
233 srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml"
234 srv_xmlfiles="${srv_xmlfiles} rs6000/power-linux.xml"
235 srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml"
236 srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu-isa205.xml"
237 srv_xmlfiles="${srv_xmlfiles} rs6000/power-dscr.xml"
238 srv_xmlfiles="${srv_xmlfiles} rs6000/power-ppr.xml"
239 srv_xmlfiles="${srv_xmlfiles} rs6000/power-tar.xml"
240 srv_xmlfiles="${srv_xmlfiles} rs6000/power-ebb.xml"
241 srv_xmlfiles="${srv_xmlfiles} rs6000/power-linux-pmu.xml"
242 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-spr.xml"
243 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-core.xml"
244 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-fpu.xml"
245 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-altivec.xml"
246 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-vsx.xml"
247 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-ppr.xml"
248 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-dscr.xml"
249 srv_xmlfiles="${srv_xmlfiles} rs6000/power-htm-tar.xml"
250 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-e500l.xml"
251 srv_xmlfiles="${srv_xmlfiles} rs6000/power-spe.xml"
252 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-64l.xml"
253 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec64l.xml"
254 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx64l.xml"
255 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-64l.xml"
256 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec64l.xml"
257 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx64l.xml"
258 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-ppr-dscr-vsx64l.xml"
259 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa207-vsx64l.xml"
260 srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa207-htm-vsx64l.xml"
261 srv_xmlfiles="${srv_xmlfiles} rs6000/power64-core.xml"
262 srv_xmlfiles="${srv_xmlfiles} rs6000/power64-linux.xml"
263 srv_xmlfiles="${srv_xmlfiles} rs6000/power64-htm-core.xml"
264 srv_linux_usrregs=yes
265 srv_linux_regsets=yes
266 srv_linux_thread_db=yes
267 ipa_obj="${ipa_ppc_linux_regobj} linux-ppc-ipa.o"
269 riscv*-*-linux*) srv_tgtobj="arch/riscv.o nat/riscv-linux-tdesc.o"
270 srv_tgtobj="${srv_tgtobj} linux-riscv-low.o"
271 srv_tgtobj="${srv_tgtobj} ${srv_linux_obj}"
272 srv_linux_regsets=yes
273 srv_linux_usrregs=yes
274 srv_linux_thread_db=yes
276 s390*-*-linux*) srv_regobj="s390-linux32.o"
277 srv_regobj="${srv_regobj} s390-linux32v1.o"
278 srv_regobj="${srv_regobj} s390-linux32v2.o"
279 srv_regobj="${srv_regobj} s390-linux64.o"
280 srv_regobj="${srv_regobj} s390-linux64v1.o"
281 srv_regobj="${srv_regobj} s390-linux64v2.o"
282 srv_regobj="${srv_regobj} s390-te-linux64.o"
283 srv_regobj="${srv_regobj} s390-vx-linux64.o"
284 srv_regobj="${srv_regobj} s390-tevx-linux64.o"
285 srv_regobj="${srv_regobj} s390-gs-linux64.o"
286 srv_regobj="${srv_regobj} s390x-linux64.o"
287 srv_regobj="${srv_regobj} s390x-linux64v1.o"
288 srv_regobj="${srv_regobj} s390x-linux64v2.o"
289 srv_regobj="${srv_regobj} s390x-te-linux64.o"
290 srv_regobj="${srv_regobj} s390x-vx-linux64.o"
291 srv_regobj="${srv_regobj} s390x-tevx-linux64.o"
292 srv_regobj="${srv_regobj} s390x-gs-linux64.o"
293 srv_tgtobj="$srv_linux_obj linux-s390-low.o"
294 srv_xmlfiles="s390-linux32.xml"
295 srv_xmlfiles="${srv_xmlfiles} s390-linux32v1.xml"
296 srv_xmlfiles="${srv_xmlfiles} s390-linux32v2.xml"
297 srv_xmlfiles="${srv_xmlfiles} s390-linux64.xml"
298 srv_xmlfiles="${srv_xmlfiles} s390-linux64v1.xml"
299 srv_xmlfiles="${srv_xmlfiles} s390-linux64v2.xml"
300 srv_xmlfiles="${srv_xmlfiles} s390-te-linux64.xml"
301 srv_xmlfiles="${srv_xmlfiles} s390-vx-linux64.xml"
302 srv_xmlfiles="${srv_xmlfiles} s390-tevx-linux64.xml"
303 srv_xmlfiles="${srv_xmlfiles} s390-gs-linux64.xml"
304 srv_xmlfiles="${srv_xmlfiles} s390x-linux64.xml"
305 srv_xmlfiles="${srv_xmlfiles} s390x-linux64v1.xml"
306 srv_xmlfiles="${srv_xmlfiles} s390x-linux64v2.xml"
307 srv_xmlfiles="${srv_xmlfiles} s390x-te-linux64.xml"
308 srv_xmlfiles="${srv_xmlfiles} s390x-vx-linux64.xml"
309 srv_xmlfiles="${srv_xmlfiles} s390x-tevx-linux64.xml"
310 srv_xmlfiles="${srv_xmlfiles} s390x-gs-linux64.xml"
311 srv_xmlfiles="${srv_xmlfiles} s390-core32.xml"
312 srv_xmlfiles="${srv_xmlfiles} s390-core64.xml"
313 srv_xmlfiles="${srv_xmlfiles} s390x-core64.xml"
314 srv_xmlfiles="${srv_xmlfiles} s390-acr.xml"
315 srv_xmlfiles="${srv_xmlfiles} s390-fpr.xml"
316 srv_xmlfiles="${srv_xmlfiles} s390-tdb.xml"
317 srv_xmlfiles="${srv_xmlfiles} s390-vx.xml"
318 srv_xmlfiles="${srv_xmlfiles} s390-gs.xml"
319 srv_xmlfiles="${srv_xmlfiles} s390-gsbc.xml"
320 srv_linux_usrregs=yes
321 srv_linux_regsets=yes
322 srv_linux_thread_db=yes
323 ipa_obj="linux-s390-ipa.o"
324 ipa_obj="${ipa_obj} s390-linux32-ipa.o"
325 ipa_obj="${ipa_obj} s390-linux32v1-ipa.o"
326 ipa_obj="${ipa_obj} s390-linux32v2-ipa.o"
327 ipa_obj="${ipa_obj} s390-linux64-ipa.o"
328 ipa_obj="${ipa_obj} s390-linux64v1-ipa.o"
329 ipa_obj="${ipa_obj} s390-linux64v2-ipa.o"
330 ipa_obj="${ipa_obj} s390-vx-linux64-ipa.o"
331 ipa_obj="${ipa_obj} s390-te-linux64-ipa.o"
332 ipa_obj="${ipa_obj} s390-tevx-linux64-ipa.o"
333 ipa_obj="${ipa_obj} s390-gs-linux64-ipa.o"
334 ipa_obj="${ipa_obj} s390x-linux64-ipa.o"
335 ipa_obj="${ipa_obj} s390x-linux64v1-ipa.o"
336 ipa_obj="${ipa_obj} s390x-linux64v2-ipa.o"
337 ipa_obj="${ipa_obj} s390x-vx-linux64-ipa.o"
338 ipa_obj="${ipa_obj} s390x-te-linux64-ipa.o"
339 ipa_obj="${ipa_obj} s390x-tevx-linux64-ipa.o"
340 ipa_obj="${ipa_obj} s390x-gs-linux64-ipa.o"
342 sh*-*-linux*) srv_regobj=reg-sh.o
343 srv_tgtobj="$srv_linux_obj linux-sh-low.o"
344 srv_linux_usrregs=yes
345 srv_linux_regsets=yes
346 srv_linux_thread_db=yes
348 sparc*-*-linux*) srv_regobj=reg-sparc64.o
349 srv_tgtobj="$srv_linux_obj linux-sparc-low.o"
350 srv_linux_regsets=yes
351 srv_linux_thread_db=yes
353 tic6x-*-uclinux) if $development; then
354 srv_regobj="tic6x-c64xp-linux.o"
355 srv_regobj="${srv_regobj} tic6x-c64x-linux.o"
356 srv_regobj="${srv_regobj} tic6x-c62x-linux.o"
360 srv_tgtobj="$srv_linux_obj linux-tic6x-low.o"
361 srv_tgtobj="${srv_tgtobj} arch/tic6x.o"
362 srv_linux_regsets=yes
363 srv_linux_usrregs=yes
364 srv_linux_thread_db=yes
366 x86_64-*-linux*) srv_tgtobj="$srv_linux_obj linux-x86-low.o x86-low.o"
367 srv_tgtobj="${srv_tgtobj} nat/x86-dregs.o"
368 srv_tgtobj="${srv_tgtobj} nat/x86-xstate.o i387-fp.o"
369 srv_tgtobj="${srv_tgtobj} arch/i386.o arch/amd64.o"
370 srv_tgtobj="${srv_tgtobj} linux-x86-tdesc.o"
371 srv_tgtobj="${srv_tgtobj} nat/linux-btrace.o"
372 srv_tgtobj="${srv_tgtobj} nat/x86-linux.o"
373 srv_tgtobj="${srv_tgtobj} nat/x86-linux-dregs.o"
374 srv_tgtobj="${srv_tgtobj} nat/amd64-linux-siginfo.o"
375 srv_linux_usrregs=yes # This is for i386 progs.
376 srv_linux_regsets=yes
377 srv_linux_thread_db=yes
379 ipa_obj="linux-amd64-ipa.o linux-x86-tdesc-ipa.o"
380 ipa_obj="${ipa_obj} arch/amd64-ipa.o"
382 x86_64-*-mingw*) srv_regobj=""
383 srv_tgtobj="x86-low.o nat/x86-dregs.o"
384 srv_tgtobj="${srv_tgtobj} nat/x86-xstate.o i387-fp.o"
385 srv_tgtobj="${srv_tgtobj} win32-low.o win32-i386-low.o"
386 srv_tgtobj="${srv_tgtobj} nat/windows-nat.o"
387 srv_tgtobj="${srv_tgtobj} arch/amd64.o arch/i386.o"
390 x86_64-*-cygwin*) srv_regobj=""
391 srv_tgtobj="x86-low.o nat/x86-dregs.o"
392 srv_tgtobj="${srv_tgtobj} nat/x86-xstate.o i387-fp.o"
393 srv_tgtobj="${srv_tgtobj} win32-low.o win32-i386-low.o"
394 srv_tgtobj="${srv_tgtobj} nat/windows-nat.o"
395 srv_tgtobj="${srv_tgtobj} arch/amd64.o arch/i386.o"
397 x86_64-*-netbsd*) srv_regobj=""
398 srv_tgtobj="netbsd-low.o netbsd-amd64-low.o fork-child.o"
399 srv_tgtobj="${srv_tgtobj} nat/fork-inferior.o"
400 srv_tgtobj="${srv_tgtobj} nat/netbsd-nat.o"
401 srv_tgtobj="${srv_tgtobj} arch/amd64.o"
404 xtensa*-*-linux*) srv_regobj=reg-xtensa.o
405 srv_tgtobj="$srv_linux_obj linux-xtensa-low.o"
406 srv_linux_regsets=yes
407 srv_linux_thread_db=yes