1 # Mappings from configurations to GDB target definitions. This is
2 # invoked from the autoconf generated configure script.
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
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
31 echo "*** Configuration $targ is obsolete." >&2
32 echo "*** Support has been REMOVED." >&2
37 # map target info into gdb names.
40 aarch64*-*-elf | aarch64*-*-rtems*)
41 # Target: AArch64 embedded system
42 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o aarch64-insn.o"
46 # Target: AArch64 linux
47 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o aarch64-insn.o \
48 arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
50 glibc-tdep.o linux-tdep.o solib-svr4.o \
51 symfile-mem.o linux-record.o"
56 # Target: Little-endian Alpha running Linux
57 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
58 linux-tdep.o solib-svr4.o"
60 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
61 # Target: FreeBSD/alpha
62 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
63 alphafbsd-tdep.o solib-svr4.o"
65 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
66 # Target: NetBSD/alpha
67 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
68 alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o"
71 # Target: OpenBSD/alpha
72 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
73 alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
74 obsd-tdep.o solib-svr4.o"
78 gdb_target_obs="alpha-tdep.o"
82 # Target: Matsushita mn10300 (AM33) running Linux
83 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
88 # Target: baremetal ARC elf32 (newlib) target
89 gdb_target_obs="arc-newlib-tdep.o arc-tdep.o"
93 # Target: Unidentified ARC target
94 gdb_target_obs="arc-tdep.o"
97 arm*-wince-pe | arm*-*-mingw32ce*)
98 # Target: ARM based machine running Windows CE (win32)
99 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o \
100 arm-wince-tdep.o windows-tdep.o"
104 # Target: ARM based machine running GNU/Linux
105 gdb_target_obs="arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
106 arm-linux-tdep.o glibc-tdep.o \
107 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
110 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
112 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o armnbsd-tdep.o \
116 # Target: OpenBSD/arm
117 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o armbsd-tdep.o \
118 armobsd-tdep.o obsd-tdep.o solib-svr4.o"
121 # Target: SymbianOS/arm
122 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-symbian-tdep.o"
125 # Target: ARM embedded system
126 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o"
127 gdb_sim=../sim/arm/libsim.a
132 gdb_target_obs="avr-tdep.o"
133 gdb_sim=../sim/avr/libsim.a
137 # Target: Blackfin Linux
138 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
139 gdb_sim=../sim/bfin/libsim.a
143 # Target: Blackfin processor
144 gdb_target_obs="bfin-tdep.o"
145 gdb_sim=../sim/bfin/libsim.a
150 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
154 # Target: Fujitsu FRV processor
155 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
156 gdb_sim=../sim/frv/libsim.a
159 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
160 gdb_target_obs="moxie-tdep.o"
161 gdb_sim=../sim/moxie/libsim.a
165 # Target: H8300 processor
166 gdb_target_obs="h8300-tdep.o"
167 gdb_sim=../sim/h8300/libsim.a
171 # Target: HP PA-RISC running Linux
172 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
173 linux-tdep.o solib-svr4.o symfile-mem.o"
176 # Target: NetBSD/hppa
177 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o solib-svr4.o"
180 # Target: OpenBSD/hppa
181 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o solib-svr4.o"
185 gdb_target_obs="hppa-tdep.o"
188 i[34567]86-*-darwin*)
189 # Target: Darwin/i386
190 gdb_target_obs="i386-tdep.o i387-tdep.o \
191 i386-darwin-tdep.o solib-darwin.o"
192 if test "x$enable_64_bit_bfd" = "xyes"; then
193 # Target: GNU/Linux x86-64
194 gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
199 gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
201 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
202 # Target: FreeBSD/i386
203 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
204 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
206 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
207 # Target: NetBSD/i386
208 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
209 nbsd-tdep.o solib-svr4.o"
211 i[34567]86-*-openbsd*)
212 # Target: OpenBSD/i386
213 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
214 obsd-tdep.o bsd-uthread.o solib-svr4.o"
217 # Target: Intel 386 running qnx6.
218 gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \
219 i386-nto-tdep.o nto-tdep.o"
222 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
223 # Target: Solaris x86_64
224 gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
225 i386-sol2-tdep.o sol2-tdep.o solib-svr4.o"
227 i[34567]86-*-solaris*)
228 # Target: Solaris x86
229 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
233 # Target: Intel 386 running GNU/Linux
234 gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
235 solib-svr4.o symfile-mem.o \
236 linux-tdep.o linux-record.o"
237 if test "x$enable_64_bit_bfd" = "xyes"; then
238 # Target: GNU/Linux x86-64
239 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
244 # Target: Intel 386 running the GNU Hurd
245 gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o"
247 i[34567]86-*-cygwin*)
248 # Target: Intel 386 running win32
249 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
253 i[34567]86-*-mingw32*)
254 # Target: Intel 386 running win32
255 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
261 gdb_target_obs="i386-tdep.o i387-tdep.o"
265 # Target: Intel IA-64 running GNU/Linux
266 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
267 solib-svr4.o symfile-mem.o"
271 # Target: Intel IA-64 running OpenVMS
272 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
275 # Target: Intel IA-64
276 gdb_target_obs="ia64-tdep.o"
280 gdb_target_obs="iq2000-tdep.o"
281 gdb_sim=../sim/iq2000/libsim.a
285 gdb_target_obs="lm32-tdep.o"
286 gdb_sim=../sim/lm32/libsim.a
290 # Target: Renesas M32C family
291 gdb_target_obs="m32c-tdep.o"
292 # There may also be a SID / CGEN simulator for this,
293 # but we do have DJ Delorie's mini-sim.
294 gdb_sim=../sim/m32c/libsim.a
298 # Target: Renesas M32R running GNU/Linux
299 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
300 glibc-tdep.o solib-svr4.o symfile-mem.o \
302 gdb_sim=../sim/m32r/libsim.a
306 # Target: Renesas m32r processor
307 gdb_target_obs="m32r-tdep.o"
308 gdb_sim=../sim/m32r/libsim.a
311 m68hc11*-*-*|m6811*-*-*)
312 # Target: Motorola 68HC11 processor
313 gdb_target_obs="m68hc11-tdep.o"
314 gdb_sim=../sim/m68hc11/libsim.a
317 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
319 # Target: Motorola m68k embedded
320 gdb_target_obs="m68k-tdep.o"
323 # Target: Motorola m68k with a.out and ELF
324 gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \
325 linux-tdep.o glibc-tdep.o symfile-mem.o"
328 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
329 # Target: NetBSD/m68k
330 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
333 # Target: OpenBSD/m68k
334 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
338 # Target: OpenBSD/m88k
339 gdb_target_obs="m88k-tdep.o"
343 # Target: Toshiba Media Processor (MEP)
344 gdb_target_obs="mep-tdep.o"
345 # No sim needed. Target uses SID.
348 microblaze*-linux-*|microblaze*-*-linux*)
349 # Target: Xilinx MicroBlaze running Linux
350 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
351 symfile-mem.o linux-tdep.o"
352 gdb_sim=../sim/microblaze/libsim.a
355 # Target: Xilinx MicroBlaze running standalone
356 gdb_target_obs="microblaze-tdep.o"
357 gdb_sim=../sim/microblaze/libsim.a
362 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
363 solib-svr4.o symfile-mem.o linux-tdep.o"
364 gdb_sim=../sim/mips/libsim.a
367 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
368 # Target: MIPS running NetBSD
369 gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o"
370 gdb_sim=../sim/mips/libsim.a
373 # Target: OpenBSD/mips64
374 gdb_target_obs="mips-tdep.o mips64obsd-tdep.o obsd-tdep.o solib-svr4.o"
378 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
379 gdb_sim=../sim/mips/libsim.a
383 gdb_target_obs="mips-tdep.o"
384 gdb_sim=../sim/mips/libsim.a
388 gdb_target_obs="mips-tdep.o"
389 gdb_sim=../sim/mips/libsim.a
393 # Target: Matsushita mn10300
394 gdb_target_obs="mn10300-tdep.o"
395 gdb_sim=../sim/mn10300/libsim.a
399 gdb_target_obs="msp430-tdep.o"
400 gdb_sim=../sim/msp430/libsim.a
404 # Target: Morpho Technologies ms1 processor
405 gdb_target_obs="mt-tdep.o"
409 # Target: AndesTech NDS32 core
410 gdb_target_obs="nds32-tdep.o"
414 # Target: Altera Nios II running Linux
415 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
416 symfile-mem.o glibc-tdep.o linux-tdep.o"
420 # Target: Altera Nios II bare-metal
421 gdb_target_obs="nios2-tdep.o"
425 # Target: FreeBSD/powerpc
426 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
427 ppcfbsd-tdep.o fbsd-tdep.o solib-svr4.o \
428 ravenscar-thread.o ppc-ravenscar-thread.o"
431 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
432 # Target: NetBSD/powerpc
433 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
435 ravenscar-thread.o ppc-ravenscar-thread.o"
436 gdb_sim=../sim/ppc/libsim.a
439 # Target: OpenBSD/powerpc
440 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
442 ravenscar-thread.o ppc-ravenscar-thread.o"
444 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
445 # Target: PowerPC running AIX
446 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
447 ppc-sysv-tdep.o solib-aix.o \
448 ravenscar-thread.o ppc-ravenscar-thread.o"
451 # Target: PowerPC running Linux
452 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
453 ppc64-tdep.o solib-svr4.o solib-spu.o \
455 glibc-tdep.o symfile-mem.o linux-tdep.o \
456 ravenscar-thread.o ppc-ravenscar-thread.o \
458 gdb_sim=../sim/ppc/libsim.a
462 # Target: PowerPC running Lynx178.
463 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
464 xcoffread.o ppc-sysv-tdep.o \
465 ravenscar-thread.o ppc-ravenscar-thread.o"
468 # Target: PowerPC running eabi
469 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
470 ravenscar-thread.o ppc-ravenscar-thread.o"
471 gdb_sim=../sim/ppc/libsim.a
475 # Target: S390 running Linux
476 gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o \
482 # Target: Renesas rl78
483 gdb_target_obs="rl78-tdep.o"
484 gdb_sim=../sim/rl78/libsim.a
489 gdb_target_obs="rx-tdep.o"
490 gdb_sim=../sim/rx/libsim.a
494 # Target: S+core embedded system
495 gdb_target_obs="score-tdep.o"
500 # Target: GNU/Linux Super-H
501 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o \
502 solib-svr4.o symfile-mem.o \
503 glibc-tdep.o linux-tdep.o"
504 gdb_sim=../sim/sh/libsim.a
507 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
509 gdb_target_obs="sh-tdep.o shnbsd-tdep.o solib-svr4.o"
510 gdb_sim=../sim/sh/libsim.a
514 gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o solib-svr4.o"
517 # Target: Renesas/Super-H 64 bit with simulator
518 gdb_target_obs="sh-tdep.o sh64-tdep.o"
519 gdb_sim=../sim/sh64/libsim.a
522 # Target: Embedded Renesas Super-H processor
523 gdb_target_obs="sh-tdep.o sh64-tdep.o"
524 gdb_sim=../sim/sh/libsim.a
528 # Target: GNU/Linux SPARC
529 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
530 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
532 ravenscar-thread.o sparc-ravenscar-thread.o"
533 if test "x$enable_64_bit_bfd" = "xyes"; then
534 # Target: GNU/Linux UltraSPARC
535 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
536 sparc64-linux-tdep.o ${gdb_target_obs}"
541 # Target: GNU/Linux UltraSPARC
542 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
543 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
544 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
545 ravenscar-thread.o sparc-ravenscar-thread.o"
548 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
549 # Target: FreeBSD/sparc64
550 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
551 fbsd-tdep.o solib-svr4.o \
552 ravenscar-thread.o sparc-ravenscar-thread.o"
554 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
555 # Target: NetBSD/sparc
556 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
558 ravenscar-thread.o sparc-ravenscar-thread.o"
560 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
561 # Target: NetBSD/sparc64
562 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
563 sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \
564 ravenscar-thread.o sparc-ravenscar-thread.o"
567 # Target: OpenBSD/sparc
568 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
569 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
570 ravenscar-thread.o sparc-ravenscar-thread.o"
573 # Target: OpenBSD/sparc64
574 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
575 sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
576 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
577 ravenscar-thread.o sparc-ravenscar-thread.o"
579 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
580 # Target: Solaris SPARC
581 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
583 ravenscar-thread.o sparc-ravenscar-thread.o"
585 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
586 # Target: Solaris UltraSPARC
587 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
588 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
589 ravenscar-thread.o sparc-ravenscar-thread.o"
593 gdb_target_obs="sparc-tdep.o \
594 ravenscar-thread.o sparc-ravenscar-thread.o"
595 gdb_sim=../sim/erc32/libsim.a
599 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
600 ravenscar-thread.o sparc-ravenscar-thread.o"
604 # Target: Cell BE SPU
605 gdb_target_obs="spu-tdep.o"
610 # Target: GNU/Linux TI C6x
611 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
612 glibc-tdep.o linux-tdep.o"
617 gdb_target_obs="tic6x-tdep.o"
622 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
623 symfile-mem.o glibc-tdep.o linux-tdep.o"
628 # Target: Sanyo Xstormy16a processor
629 gdb_target_obs="xstormy16-tdep.o"
630 # No simulator libraries are needed -- target uses SID.
634 gdb_target_obs="ft32-tdep.o"
635 gdb_sim=../sim/ft32/libsim.a
638 v850*-*-elf | v850*-*-rtems*)
639 # Target: NEC V850 processor
640 gdb_target_obs="v850-tdep.o"
641 gdb_sim=../sim/v850/libsim.a
644 vax-*-netbsd* | vax-*-knetbsd*-gnu)
646 gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o"
649 # Target: OpenBSD/vax
650 gdb_target_obs="vax-tdep.o vaxobsd-tdep.o"
654 gdb_target_obs="vax-tdep.o"
658 # Target: Darwin/x86-64
659 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
660 i386-darwin-tdep.o amd64-darwin-tdep.o \
665 # Target: DICOS/x86-64
666 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
667 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
670 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o"
673 # Target: GNU/Linux x86-64
674 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
675 i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
676 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
679 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
680 # Target: FreeBSD/amd64
681 gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
682 i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
683 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
685 x86_64-*-mingw* | x86_64-*-cygwin*)
686 # Target: MingW/amd64
687 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
688 i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
692 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
693 # Target: NetBSD/amd64
694 gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
695 nbsd-tdep.o solib-svr4.o"
698 # Target: OpenBSD/amd64
699 gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
700 i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
701 obsd-tdep.o bsd-uthread.o solib-svr4.o"
704 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o i386bsd-tdep.o"
706 xtensa*-*-linux*) gdb_target=linux
707 # Target: GNU/Linux Xtensa
708 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
709 solib-svr4.o symfile-mem.o linux-tdep.o"
713 # Target: Tensilica Xtensa processors
714 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
719 # map target onto default OS ABI
722 *-*-freebsd* | *-*-kfreebsd*-gnu)
723 gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
724 *-*-linux* | *-*-uclinux*)
725 gdb_osabi=GDB_OSABI_LINUX ;;
726 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
727 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
728 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
729 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
730 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
731 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
732 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
733 *-*-mingw* | *-*-cygwin*)
734 gdb_osabi=GDB_OSABI_CYGWIN ;;
735 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
737 gdb_osabi=GDB_OSABI_SYMBIAN ;;
738 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
739 gdb_osabi=GDB_OSABI_AIX ;;
742 # Check whether this target supports gcore.
743 # Such target has to call set_gdbarch_find_memory_regions.
745 for t in x ${gdb_target_obs}; do
746 if test "$t" = linux-tdep.o; then