Fix format warning in rs6000t-dep.c
[deliverable/binutils-gdb.git] / gdb / configure.tgt
1 # Mappings from configurations to GDB target definitions. This is
2 # invoked from the autoconf generated configure script.
3
4 # This file sets the following shell variables:
5 # gdb_target_obs target-specific object files to use
6 # gdb_sim simulator library for target
7 # gdb_osabi default OS ABI to use with target
8 # build_gdbserver set to "yes" if gdbserver supports target
9 # gdb_have_gcore set to "true"/"false" if this target can run gcore
10
11 # NOTE: Every file added to a gdb_target_obs variable for any target here
12 # must also be added to either ALL_TARGET_OBS or ALL_64_TARGET_OBS
13 # in Makefile.in!
14
15 case $targ in
16 *-*-irix* | \
17 alpha*-*-osf* | \
18 d10v-*-* | \
19 hppa*-*-hiux* | \
20 i[34567]86-ncr-* | \
21 m68*-cisco*-* | \
22 m68*-tandem-* | \
23 m68*-*-os68k* | \
24 mips*-*-pe | \
25 rs6000-*-lynxos* | \
26 sh*-*-pe | \
27 null)
28 echo "*** Configuration $targ is obsolete." >&2
29 echo "*** Support has been REMOVED." >&2
30 exit 1
31 ;;
32 esac
33
34 # map target info into gdb names.
35
36 case "${targ}" in
37 aarch64*-*-elf)
38 # Target: AArch64 embedded system
39 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o"
40 ;;
41
42 aarch64*-*-linux*)
43 # Target: AArch64 linux
44 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o \
45 glibc-tdep.o linux-tdep.o solib-svr4.o \
46 symfile-mem.o"
47 build_gdbserver=yes
48 ;;
49
50 alpha*-*-linux*)
51 # Target: Little-endian Alpha running Linux
52 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
53 linux-tdep.o solib-svr4.o"
54 ;;
55 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
56 # Target: FreeBSD/alpha
57 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
58 alphafbsd-tdep.o solib-svr4.o"
59 ;;
60 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
61 # Target: NetBSD/alpha
62 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
63 alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o"
64 ;;
65 alpha*-*-openbsd*)
66 # Target: OpenBSD/alpha
67 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
68 alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
69 obsd-tdep.o solib-svr4.o"
70 ;;
71 alpha*-*-*)
72 # Target: Alpha
73 gdb_target_obs="alpha-tdep.o"
74 ;;
75
76 am33_2.0*-*-linux*)
77 # Target: Matsushita mn10300 (AM33) running Linux
78 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
79 solib-svr4.o"
80 ;;
81
82 arm*-wince-pe | arm*-*-mingw32ce*)
83 # Target: ARM based machine running Windows CE (win32)
84 gdb_target_obs="arm-tdep.o arm-wince-tdep.o windows-tdep.o"
85 build_gdbserver=yes
86 ;;
87 arm*-*-linux*)
88 # Target: ARM based machine running GNU/Linux
89 gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
90 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
91 build_gdbserver=yes
92 ;;
93 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
94 # Target: NetBSD/arm
95 gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib-svr4.o"
96 ;;
97 arm*-*-openbsd*)
98 # Target: OpenBSD/arm
99 gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
100 solib-svr4.o"
101 ;;
102 arm*-*-symbianelf*)
103 # Target: SymbianOS/arm
104 gdb_target_obs="arm-tdep.o arm-symbian-tdep.o"
105 ;;
106 arm*-*-*)
107 # Target: ARM embedded system
108 gdb_target_obs="arm-tdep.o"
109 gdb_sim=../sim/arm/libsim.a
110 ;;
111
112 avr-*-*)
113 # Target: AVR
114 gdb_target_obs="avr-tdep.o"
115 gdb_sim=../sim/avr/libsim.a
116 ;;
117
118 bfin-*-*linux*)
119 # Target: Blackfin Linux
120 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
121 gdb_sim=../sim/bfin/libsim.a
122 build_gdbserver=yes
123 ;;
124 bfin-*-*)
125 # Target: Blackfin processor
126 gdb_target_obs="bfin-tdep.o"
127 gdb_sim=../sim/bfin/libsim.a
128 ;;
129
130 cris*)
131 # Target: CRIS
132 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
133 ;;
134
135 frv-*-*)
136 # Target: Fujitsu FRV processor
137 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
138 gdb_sim=../sim/frv/libsim.a
139 ;;
140
141 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
142 gdb_target_obs="moxie-tdep.o"
143 gdb_sim=../sim/moxie/libsim.a
144 ;;
145
146 h8300-*-*)
147 # Target: H8300 with HMS monitor and H8 simulator
148 gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
149 gdb_sim=../sim/h8300/libsim.a
150 ;;
151
152 hppa*-*-hpux*)
153 # Target: HP PA-RISC running hpux
154 gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o solib-som.o solib-pa64.o"
155 ;;
156 hppa*-*-linux*)
157 # Target: HP PA-RISC running Linux
158 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
159 linux-tdep.o solib-svr4.o symfile-mem.o"
160 ;;
161 hppa*-*-netbsd*)
162 # Target: NetBSD/hppa
163 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o solib-svr4.o"
164 ;;
165 hppa*-*-openbsd*)
166 # Target: OpenBSD/hppa
167 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o solib-svr4.o"
168 ;;
169 hppa*-*-*)
170 # Target: HP PA-RISC
171 gdb_target_obs="hppa-tdep.o"
172 ;;
173
174 i[34567]86-*-darwin*)
175 # Target: Darwin/i386
176 gdb_target_obs="i386-tdep.o i387-tdep.o \
177 i386-darwin-tdep.o solib-darwin.o"
178 if test "x$enable_64_bit_bfd" = "xyes"; then
179 # Target: GNU/Linux x86-64
180 gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
181 fi
182 ;;
183 i[34567]86-*-dicos*)
184 # Target: DICOS/i386
185 gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
186 ;;
187 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
188 # Target: FreeBSD/i386
189 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
190 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
191 ;;
192 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
193 # Target: NetBSD/i386
194 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
195 nbsd-tdep.o solib-svr4.o"
196 ;;
197 i[34567]86-*-openbsd*)
198 # Target: OpenBSD/i386
199 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
200 obsd-tdep.o bsd-uthread.o solib-svr4.o"
201 ;;
202 i[34567]86-*-nto*)
203 # Target: Intel 386 running qnx6.
204 gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \
205 i386-nto-tdep.o nto-tdep.o"
206 build_gdbserver=yes
207 ;;
208 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
209 # Target: Solaris x86_64
210 gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
211 i386-sol2-tdep.o sol2-tdep.o solib-svr4.o"
212 ;;
213 i[34567]86-*-solaris*)
214 # Target: Solaris x86
215 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
216 solib-svr4.o"
217 ;;
218 i[34567]86-*-linux*)
219 # Target: Intel 386 running GNU/Linux
220 gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
221 solib-svr4.o symfile-mem.o \
222 linux-tdep.o linux-record.o"
223 if test "x$enable_64_bit_bfd" = "xyes"; then
224 # Target: GNU/Linux x86-64
225 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
226 fi
227 build_gdbserver=yes
228 ;;
229 i[34567]86-*-gnu*)
230 # Target: Intel 386 running the GNU Hurd
231 gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o"
232 ;;
233 i[34567]86-*-cygwin*)
234 # Target: Intel 386 running win32
235 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
236 windows-tdep.o"
237 build_gdbserver=yes
238 ;;
239 i[34567]86-*-mingw32*)
240 # Target: Intel 386 running win32
241 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
242 windows-tdep.o"
243 build_gdbserver=yes
244 ;;
245 i[34567]86-*-*)
246 # Target: i386
247 gdb_target_obs="i386-tdep.o i387-tdep.o"
248 ;;
249
250 ia64-*-hpux*)
251 # Target: Intel IA-64 running HP-UX
252 gdb_target_obs="ia64-tdep.o ia64-hpux-tdep.o"
253 ;;
254 ia64-*-linux*)
255 # Target: Intel IA-64 running GNU/Linux
256 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
257 solib-svr4.o symfile-mem.o"
258 build_gdbserver=yes
259 ;;
260 ia64-*-*vms*)
261 # Target: Intel IA-64 running OpenVMS
262 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
263 ;;
264 ia64*-*-*)
265 # Target: Intel IA-64
266 gdb_target_obs="ia64-tdep.o"
267 ;;
268
269 iq2000-*-*)
270 gdb_target_obs="iq2000-tdep.o"
271 gdb_sim=../sim/iq2000/libsim.a
272 ;;
273
274 lm32-*-*)
275 gdb_target_obs="lm32-tdep.o"
276 gdb_sim=../sim/lm32/libsim.a
277 ;;
278
279 m32c-*-*)
280 # Target: Renesas M32C family
281 gdb_target_obs="m32c-tdep.o"
282 # There may also be a SID / CGEN simulator for this,
283 # but we do have DJ Delorie's mini-sim.
284 gdb_sim=../sim/m32c/libsim.a
285 ;;
286
287 m32r*-*-linux*)
288 # Target: Renesas M32R running GNU/Linux
289 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
290 glibc-tdep.o solib-svr4.o symfile-mem.o \
291 linux-tdep.o"
292 gdb_sim=../sim/m32r/libsim.a
293 build_gdbserver=yes
294 ;;
295 m32r*-*-*)
296 # Target: Renesas m32r processor
297 gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
298 remote-m32r-sdi.o"
299 gdb_sim=../sim/m32r/libsim.a
300 ;;
301
302 m68hc11*-*-*|m6811*-*-*)
303 # Target: Motorola 68HC11 processor
304 gdb_target_obs="m68hc11-tdep.o"
305 gdb_sim=../sim/m68hc11/libsim.a
306 ;;
307
308 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
309 fido-*-elf*)
310 # Target: Motorola m68k embedded (e.g. bug monitors)
311 gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
312 ;;
313 m68*-*-linux*)
314 # Target: Motorola m68k with a.out and ELF
315 gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \
316 linux-tdep.o glibc-tdep.o symfile-mem.o"
317 build_gdbserver=yes
318 ;;
319 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
320 # Target: NetBSD/m68k
321 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
322 ;;
323 m68*-*-openbsd*)
324 # Target: OpenBSD/m68k
325 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
326 ;;
327
328 m88*-*-openbsd*)
329 # Target: OpenBSD/m88k
330 gdb_target_obs="m88k-tdep.o"
331 ;;
332
333 mep-*-*)
334 # Target: Toshiba Media Processor (MEP)
335 gdb_target_obs="mep-tdep.o"
336 # No sim needed. Target uses SID.
337 ;;
338
339 microblaze*-linux-*|microblaze*-*-linux*)
340 # Target: Xilinx MicroBlaze running Linux
341 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \
342 monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o"
343 gdb_sim=../sim/microblaze/libsim.a
344 ;;
345 microblaze*-*-*)
346 # Target: Xilinx MicroBlaze running standalone
347 gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
348 gdb_sim=../sim/microblaze/libsim.a
349 ;;
350
351 mips*-*-linux*)
352 # Target: Linux/MIPS
353 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
354 solib-svr4.o symfile-mem.o linux-tdep.o"
355 gdb_sim=../sim/mips/libsim.a
356 build_gdbserver=yes
357 ;;
358 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
359 # Target: MIPS running NetBSD
360 gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o"
361 gdb_sim=../sim/mips/libsim.a
362 ;;
363 mips64*-*-openbsd*)
364 # Target: OpenBSD/mips64
365 gdb_target_obs="mips-tdep.o mips64obsd-tdep.o obsd-tdep.o solib-svr4.o"
366 ;;
367 mips*-sde*-elf*)
368 # Target: MIPS SDE
369 gdb_target_obs="mips-tdep.o mips-sde-tdep.o remote-mips.o"
370 gdb_sim=../sim/mips/libsim.a
371 ;;
372 mips*-*-elf)
373 # Target: MIPS ELF
374 gdb_target_obs="mips-tdep.o remote-mips.o"
375 gdb_sim=../sim/mips/libsim.a
376 ;;
377 mips*-*-*)
378 # Target: MIPS
379 gdb_target_obs="mips-tdep.o"
380 gdb_sim=../sim/mips/libsim.a
381 ;;
382
383 mn10300-*-*)
384 # Target: Matsushita mn10300
385 gdb_target_obs="mn10300-tdep.o"
386 gdb_sim=../sim/mn10300/libsim.a
387 ;;
388
389 msp430*-*-elf)
390 gdb_target_obs="msp430-tdep.o"
391 gdb_sim=../sim/msp430/libsim.a
392 ;;
393
394 mt-*-*)
395 # Target: Morpho Technologies ms1 processor
396 gdb_target_obs="mt-tdep.o"
397 ;;
398
399 nios2*-*-linux*)
400 # Target: Altera Nios II running Linux
401 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
402 symfile-mem.o glibc-tdep.o linux-tdep.o"
403 ;;
404
405 nios2*-*-*)
406 # Target: Altera Nios II bare-metal
407 gdb_target_obs="nios2-tdep.o"
408 ;;
409
410 powerpc*-*-freebsd*)
411 # Target: FreeBSD/powerpc
412 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
413 ppcfbsd-tdep.o fbsd-tdep.o solib-svr4.o \
414 ravenscar-thread.o ppc-ravenscar-thread.o"
415 ;;
416
417 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
418 # Target: NetBSD/powerpc
419 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
420 solib-svr4.o \
421 ravenscar-thread.o ppc-ravenscar-thread.o"
422 gdb_sim=../sim/ppc/libsim.a
423 ;;
424 powerpc-*-openbsd*)
425 # Target: OpenBSD/powerpc
426 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
427 solib-svr4.o \
428 ravenscar-thread.o ppc-ravenscar-thread.o"
429 ;;
430 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
431 # Target: PowerPC running AIX
432 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
433 ppc-sysv-tdep.o solib-aix.o \
434 ravenscar-thread.o ppc-ravenscar-thread.o"
435 ;;
436 powerpc*-*-linux*)
437 # Target: PowerPC running Linux
438 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
439 ppc64-tdep.o solib-svr4.o solib-spu.o \
440 spu-multiarch.o \
441 glibc-tdep.o symfile-mem.o linux-tdep.o \
442 ravenscar-thread.o ppc-ravenscar-thread.o \
443 linux-record.o "
444 gdb_sim=../sim/ppc/libsim.a
445 build_gdbserver=yes
446 ;;
447 powerpc-*-lynx*178)
448 # Target: PowerPC running Lynx178.
449 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
450 xcoffread.o monitor.o dsrec.o ppc-sysv-tdep.o \
451 ravenscar-thread.o ppc-ravenscar-thread.o"
452 ;;
453 powerpc*-*-*)
454 # Target: PowerPC running eabi
455 gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
456 dink32-rom.o ppc-sysv-tdep.o solib-svr4.o \
457 ravenscar-thread.o ppc-ravenscar-thread.o"
458 if test -f ../sim/ppc/Makefile; then
459 gdb_sim=../sim/ppc/libsim.a
460 fi
461 ;;
462
463 s390*-*-linux*)
464 # Target: S390 running Linux
465 gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o"
466 build_gdbserver=yes
467 ;;
468
469 rl78-*-elf)
470 # Target: Renesas rl78
471 gdb_target_obs="rl78-tdep.o"
472 gdb_sim=../sim/rl78/libsim.a
473 ;;
474
475 rx-*-elf)
476 # Target: Renesas RX
477 gdb_target_obs="rx-tdep.o"
478 gdb_sim=../sim/rx/libsim.a
479 ;;
480
481 score-*-*)
482 # Target: S+core embedded system
483 gdb_target_obs="score-tdep.o"
484 if test -f ../sim/score/Makefile; then
485 gdb_sim=../sim/score/libsim.a
486 fi
487 build_gdbserver=yes
488 ;;
489
490 sh*-*-linux*)
491 # Target: GNU/Linux Super-H
492 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
493 dsrec.o solib-svr4.o symfile-mem.o \
494 glibc-tdep.o linux-tdep.o"
495 gdb_sim=../sim/sh/libsim.a
496 build_gdbserver=yes
497 ;;
498 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
499 # Target: NetBSD/sh
500 gdb_target_obs="sh-tdep.o shnbsd-tdep.o solib-svr4.o"
501 gdb_sim=../sim/sh/libsim.a
502 ;;
503 sh*-*-openbsd*)
504 # Target: OpenBSD/sh
505 gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o solib-svr4.o"
506 ;;
507 sh64-*-elf*)
508 # Target: Renesas/Super-H 64 bit with simulator
509 gdb_target_obs="sh-tdep.o sh64-tdep.o"
510 gdb_sim=../sim/sh64/libsim.a
511 ;;
512 sh*)
513 # Target: Embedded Renesas Super-H with ICE and simulator
514 gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
515 gdb_sim=../sim/sh/libsim.a
516 ;;
517
518 sparc-*-linux*)
519 # Target: GNU/Linux SPARC
520 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
521 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
522 linux-tdep.o \
523 ravenscar-thread.o sparc-ravenscar-thread.o"
524 if test "x$enable_64_bit_bfd" = "xyes"; then
525 # Target: GNU/Linux UltraSPARC
526 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
527 sparc64-linux-tdep.o ${gdb_target_obs}"
528 fi
529 build_gdbserver=yes
530 ;;
531 sparc64-*-linux*)
532 # Target: GNU/Linux UltraSPARC
533 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
534 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
535 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
536 ravenscar-thread.o sparc-ravenscar-thread.o"
537 build_gdbserver=yes
538 ;;
539 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
540 # Target: FreeBSD/sparc64
541 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
542 fbsd-tdep.o solib-svr4.o \
543 ravenscar-thread.o sparc-ravenscar-thread.o"
544 ;;
545 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
546 # Target: NetBSD/sparc
547 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
548 solib-svr4.o \
549 ravenscar-thread.o sparc-ravenscar-thread.o"
550 ;;
551 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
552 # Target: NetBSD/sparc64
553 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
554 sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \
555 ravenscar-thread.o sparc-ravenscar-thread.o"
556 ;;
557 sparc-*-openbsd*)
558 # Target: OpenBSD/sparc
559 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
560 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
561 ravenscar-thread.o sparc-ravenscar-thread.o"
562 ;;
563 sparc64-*-openbsd*)
564 # Target: OpenBSD/sparc64
565 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
566 sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
567 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
568 ravenscar-thread.o sparc-ravenscar-thread.o"
569 ;;
570 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
571 # Target: Solaris SPARC
572 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
573 solib-svr4.o \
574 ravenscar-thread.o sparc-ravenscar-thread.o"
575 ;;
576 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
577 # Target: Solaris UltraSPARC
578 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
579 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
580 ravenscar-thread.o sparc-ravenscar-thread.o"
581 ;;
582 sparc-*-*)
583 # Target: SPARC
584 gdb_target_obs="sparc-tdep.o \
585 ravenscar-thread.o sparc-ravenscar-thread.o"
586 gdb_sim=../sim/erc32/libsim.a
587 ;;
588 sparc64-*-*)
589 # Target: UltraSPARC
590 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
591 ravenscar-thread.o sparc-ravenscar-thread.o"
592 ;;
593
594 spu*-*-*)
595 # Target: Cell BE SPU
596 gdb_target_obs="spu-tdep.o"
597 build_gdbserver=yes
598 ;;
599
600 tic6x-*-*linux)
601 # Target: GNU/Linux TI C6x
602 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
603 glibc-tdep.o linux-tdep.o"
604 ;;
605
606 tic6x-*-*)
607 # Target: TI C6X
608 gdb_target_obs="tic6x-tdep.o"
609 ;;
610
611 tilegx-*-linux*)
612 # Target: TILE-Gx
613 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
614 symfile-mem.o glibc-tdep.o linux-tdep.o"
615 build_gdbserver=yes
616 ;;
617
618 xstormy16-*-*)
619 # Target: Sanyo Xstormy16a processor
620 gdb_target_obs="xstormy16-tdep.o"
621 # No simulator libraries are needed -- target uses SID.
622 ;;
623
624 v850*-*-elf | v850*-*-rtems*)
625 # Target: NEC V850 processor
626 gdb_target_obs="v850-tdep.o"
627 gdb_sim=../sim/v850/libsim.a
628 ;;
629
630 vax-*-netbsd* | vax-*-knetbsd*-gnu)
631 # Target: NetBSD/vax
632 gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o"
633 ;;
634 vax-*-openbsd*)
635 # Target: OpenBSD/vax
636 gdb_target_obs="vax-tdep.o vaxobsd-tdep.o"
637 ;;
638 vax-*-*)
639 # Target: VAX
640 gdb_target_obs="vax-tdep.o"
641 ;;
642
643 x86_64-*-darwin*)
644 # Target: Darwin/x86-64
645 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
646 i386-darwin-tdep.o amd64-darwin-tdep.o \
647 solib-darwin.o"
648 ;;
649
650 x86_64-*-dicos*)
651 # Target: DICOS/x86-64
652 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
653 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
654 ;;
655 x86_64-*-linux*)
656 # Target: GNU/Linux x86-64
657 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
658 i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
659 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
660 build_gdbserver=yes
661 ;;
662 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
663 # Target: FreeBSD/amd64
664 gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
665 i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
666 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
667 ;;
668 x86_64-*-mingw* | x86_64-*-cygwin*)
669 # Target: MingW/amd64
670 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
671 i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
672 windows-tdep.o"
673 build_gdbserver=yes
674 ;;
675 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
676 # Target: NetBSD/amd64
677 gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
678 nbsd-tdep.o solib-svr4.o"
679 ;;
680 x86_64-*-openbsd*)
681 # Target: OpenBSD/amd64
682 gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
683 i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
684 obsd-tdep.o bsd-uthread.o solib-svr4.o"
685 ;;
686 xtensa*-*-linux*) gdb_target=linux
687 # Target: GNU/Linux Xtensa
688 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
689 solib-svr4.o symfile-mem.o linux-tdep.o"
690 build_gdbserver=yes
691 ;;
692 xtensa*)
693 # Target: Tensilica Xtensa processors
694 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
695 ;;
696
697 esac
698
699 # map target onto default OS ABI
700
701 case "${targ}" in
702 *-*-freebsd* | *-*-kfreebsd*-gnu)
703 gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
704 *-*-linux* | *-*-uclinux*)
705 gdb_osabi=GDB_OSABI_LINUX ;;
706 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
707 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
708 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
709 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
710 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
711 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
712 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
713 *-*-mingw* | *-*-cygwin*)
714 gdb_osabi=GDB_OSABI_CYGWIN ;;
715 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
716 *-*-symbianelf*)
717 gdb_osabi=GDB_OSABI_SYMBIAN ;;
718 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
719 gdb_osabi=GDB_OSABI_AIX ;;
720 esac
721
722 # Check whether this target supports gcore.
723 # Such target has to call set_gdbarch_find_memory_regions.
724 gdb_have_gcore=false
725 for t in x ${gdb_target_obs}; do
726 if test "$t" = linux-tdep.o; then
727 gdb_have_gcore=true
728 fi
729 done
This page took 0.044444 seconds and 4 git commands to generate.