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