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