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
19 alpha*-*-kfreebsd*-gnu | \
33 echo "*** Configuration $targ is obsolete." >&2
34 echo "*** Support has been REMOVED." >&2
39 # map target info into gdb names.
42 aarch64*-*-elf | aarch64*-*-rtems*)
43 # Target: AArch64 embedded system
44 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o aarch64-insn.o"
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 \
52 glibc-tdep.o linux-tdep.o solib-svr4.o \
53 symfile-mem.o linux-record.o"
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"
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"
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"
75 gdb_target_obs="alpha-tdep.o"
79 # Target: Matsushita mn10300 (AM33) running Linux
80 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
85 # Target: baremetal ARC elf32 (newlib) target
86 gdb_target_obs="arc-newlib-tdep.o arc-tdep.o"
90 # Target: Unidentified ARC target
91 gdb_target_obs="arc-tdep.o"
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"
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"
107 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
109 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-nbsd-tdep.o \
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"
118 # Target: SymbianOS/arm
119 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-symbian-tdep.o"
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
129 gdb_target_obs="avr-tdep.o"
130 gdb_sim=../sim/avr/libsim.a
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
140 # Target: Blackfin processor
141 gdb_target_obs="bfin-tdep.o"
142 gdb_sim=../sim/bfin/libsim.a
147 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
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
156 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
157 gdb_target_obs="moxie-tdep.o"
158 gdb_sim=../sim/moxie/libsim.a
162 # Target: H8300 processor
163 gdb_target_obs="h8300-tdep.o"
164 gdb_sim=../sim/h8300/libsim.a
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"
173 # Target: NetBSD/hppa
174 gdb_target_obs="hppa-tdep.o hppa-bsd-tdep.o hppa-nbsd-tdep.o solib-svr4.o"
177 # Target: OpenBSD/hppa
178 gdb_target_obs="hppa-tdep.o hppa-bsd-tdep.o hppa-obsd-tdep.o solib-svr4.o"
182 gdb_target_obs="hppa-tdep.o"
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}"
196 gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
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"
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"
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"
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"
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"
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 \
230 # Target: Intel 386 running GNU/Linux
231 gdb_target_obs="i386-tdep.o i386.o i386-linux-tdep.o \
232 glibc-tdep.o i387-tdep.o \
233 solib-svr4.o symfile-mem.o \
234 linux-tdep.o linux-record.o"
235 if test "x$enable_64_bit_bfd" = "xyes"; then
236 # Target: GNU/Linux x86-64
237 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
242 # Target: Intel 386 running the GNU Hurd
243 gdb_target_obs="i386-tdep.o i387-tdep.o i386-gnu-tdep.o solib-svr4.o"
245 i[34567]86-*-cygwin*)
246 # Target: Intel 386 running win32
247 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
251 i[34567]86-*-mingw32*)
252 # Target: Intel 386 running win32
253 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
257 i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*)
258 # Target: i386 running DJGPP/go32.
259 gdb_target_obs="i386-tdep.o i387-tdep.o i386-go32-tdep.o"
263 gdb_target_obs="i386-tdep.o i387-tdep.o"
267 # Target: Intel IA-64 running GNU/Linux
268 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
269 solib-svr4.o symfile-mem.o"
273 # Target: Intel IA-64 running OpenVMS
274 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
277 # Target: Intel IA-64
278 gdb_target_obs="ia64-tdep.o"
282 gdb_target_obs="iq2000-tdep.o"
283 gdb_sim=../sim/iq2000/libsim.a
287 gdb_target_obs="lm32-tdep.o"
288 gdb_sim=../sim/lm32/libsim.a
292 # Target: Renesas M32C family
293 gdb_target_obs="m32c-tdep.o"
294 # There may also be a SID / CGEN simulator for this,
295 # but we do have DJ Delorie's mini-sim.
296 gdb_sim=../sim/m32c/libsim.a
300 # Target: Renesas M32R running GNU/Linux
301 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
302 glibc-tdep.o solib-svr4.o symfile-mem.o \
304 gdb_sim=../sim/m32r/libsim.a
308 # Target: Renesas m32r processor
309 gdb_target_obs="m32r-tdep.o"
310 gdb_sim=../sim/m32r/libsim.a
313 m68hc11*-*-*|m6811*-*-*)
314 # Target: Motorola 68HC11 processor
315 gdb_target_obs="m68hc11-tdep.o"
316 gdb_sim=../sim/m68hc11/libsim.a
319 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
321 # Target: Motorola m68k embedded
322 gdb_target_obs="m68k-tdep.o"
325 # Target: Motorola m68k with a.out and ELF
326 gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
327 linux-tdep.o glibc-tdep.o symfile-mem.o"
330 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
331 # Target: NetBSD/m68k
332 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o solib-svr4.o"
335 # Target: OpenBSD/m68k
336 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o solib-svr4.o"
340 # Target: OpenBSD/m88k
341 gdb_target_obs="m88k-tdep.o"
345 # Target: Toshiba Media Processor (MEP)
346 gdb_target_obs="mep-tdep.o"
347 # No sim needed. Target uses SID.
350 microblaze*-linux-*|microblaze*-*-linux*)
351 # Target: Xilinx MicroBlaze running Linux
352 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
353 symfile-mem.o linux-tdep.o"
354 gdb_sim=../sim/microblaze/libsim.a
357 # Target: Xilinx MicroBlaze running standalone
358 gdb_target_obs="microblaze-tdep.o"
359 gdb_sim=../sim/microblaze/libsim.a
364 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
365 solib-svr4.o symfile-mem.o linux-tdep.o"
366 gdb_sim=../sim/mips/libsim.a
369 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
370 # Target: MIPS running NetBSD
371 gdb_target_obs="mips-tdep.o mips-nbsd-tdep.o solib-svr4.o nbsd-tdep.o"
372 gdb_sim=../sim/mips/libsim.a
375 # Target: MIPS running FreeBSD
376 gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o solib-svr4.o fbsd-tdep.o"
377 gdb_sim=../sim/mips/libsim.a
380 # Target: OpenBSD/mips64
381 gdb_target_obs="mips-tdep.o mips64-obsd-tdep.o obsd-tdep.o solib-svr4.o"
385 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
386 gdb_sim=../sim/mips/libsim.a
390 gdb_target_obs="mips-tdep.o"
391 gdb_sim=../sim/mips/libsim.a
395 gdb_target_obs="mips-tdep.o"
396 gdb_sim=../sim/mips/libsim.a
400 # Target: Matsushita mn10300
401 gdb_target_obs="mn10300-tdep.o"
402 gdb_sim=../sim/mn10300/libsim.a
406 gdb_target_obs="msp430-tdep.o"
407 gdb_sim=../sim/msp430/libsim.a
411 # Target: Morpho Technologies ms1 processor
412 gdb_target_obs="mt-tdep.o"
416 # Target: AndesTech NDS32 core
417 gdb_target_obs="nds32-tdep.o"
421 # Target: Altera Nios II running Linux
422 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
423 symfile-mem.o glibc-tdep.o linux-tdep.o"
427 # Target: Altera Nios II bare-metal
428 gdb_target_obs="nios2-tdep.o"
432 # Target: FreeBSD/powerpc
433 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
434 ppc-fbsd-tdep.o fbsd-tdep.o solib-svr4.o \
435 ravenscar-thread.o ppc-ravenscar-thread.o"
438 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
439 # Target: NetBSD/powerpc
440 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-nbsd-tdep.o \
442 ravenscar-thread.o ppc-ravenscar-thread.o"
443 gdb_sim=../sim/ppc/libsim.a
446 # Target: OpenBSD/powerpc
447 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-obsd-tdep.o \
449 ravenscar-thread.o ppc-ravenscar-thread.o"
451 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
452 # Target: PowerPC running AIX
453 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
454 ppc-sysv-tdep.o solib-aix.o \
455 ravenscar-thread.o ppc-ravenscar-thread.o"
458 # Target: PowerPC running Linux
459 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
460 ppc64-tdep.o solib-svr4.o solib-spu.o \
462 glibc-tdep.o symfile-mem.o linux-tdep.o \
463 ravenscar-thread.o ppc-ravenscar-thread.o \
465 gdb_sim=../sim/ppc/libsim.a
469 # Target: PowerPC running Lynx178.
470 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
471 xcoffread.o ppc-sysv-tdep.o \
472 ravenscar-thread.o ppc-ravenscar-thread.o"
475 # Target: PowerPC running eabi
476 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
477 ravenscar-thread.o ppc-ravenscar-thread.o"
478 gdb_sim=../sim/ppc/libsim.a
482 # Target: S390 running Linux
483 gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o \
489 # Target: Renesas rl78
490 gdb_target_obs="rl78-tdep.o"
491 gdb_sim=../sim/rl78/libsim.a
496 gdb_target_obs="rx-tdep.o"
497 gdb_sim=../sim/rx/libsim.a
501 # Target: S+core embedded system
502 gdb_target_obs="score-tdep.o"
507 # Target: GNU/Linux Super-H
508 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o \
509 solib-svr4.o symfile-mem.o \
510 glibc-tdep.o linux-tdep.o"
511 gdb_sim=../sim/sh/libsim.a
514 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
516 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o solib-svr4.o"
517 gdb_sim=../sim/sh/libsim.a
521 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-nbsd-tdep.o solib-svr4.o"
524 # Target: Renesas/Super-H 64 bit with simulator
525 gdb_target_obs="sh-tdep.o sh64-tdep.o"
526 gdb_sim=../sim/sh64/libsim.a
529 # Target: Embedded Renesas Super-H processor
530 gdb_target_obs="sh-tdep.o sh64-tdep.o"
531 gdb_sim=../sim/sh/libsim.a
535 # Target: GNU/Linux SPARC
536 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
537 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
539 ravenscar-thread.o sparc-ravenscar-thread.o"
540 if test "x$enable_64_bit_bfd" = "xyes"; then
541 # Target: GNU/Linux UltraSPARC
542 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
543 sparc64-linux-tdep.o ${gdb_target_obs}"
548 # Target: GNU/Linux UltraSPARC
549 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
550 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
551 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
552 ravenscar-thread.o sparc-ravenscar-thread.o"
555 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
556 # Target: FreeBSD/sparc64
557 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64-fbsd-tdep.o \
558 fbsd-tdep.o solib-svr4.o \
559 ravenscar-thread.o sparc-ravenscar-thread.o"
561 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
562 # Target: NetBSD/sparc
563 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o nbsd-tdep.o \
565 ravenscar-thread.o sparc-ravenscar-thread.o"
567 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
568 # Target: NetBSD/sparc64
569 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc-tdep.o \
570 sparc-nbsd-tdep.o nbsd-tdep.o solib-svr4.o \
571 ravenscar-thread.o sparc-ravenscar-thread.o"
574 # Target: OpenBSD/sparc
575 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
576 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
577 ravenscar-thread.o sparc-ravenscar-thread.o"
580 # Target: OpenBSD/sparc64
581 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc64-obsd-tdep.o \
582 sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
583 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
584 ravenscar-thread.o sparc-ravenscar-thread.o"
586 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
587 # Target: Solaris SPARC
588 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
590 ravenscar-thread.o sparc-ravenscar-thread.o"
592 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
593 # Target: Solaris UltraSPARC
594 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
595 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
596 ravenscar-thread.o sparc-ravenscar-thread.o"
600 gdb_target_obs="sparc-tdep.o \
601 ravenscar-thread.o sparc-ravenscar-thread.o"
602 gdb_sim=../sim/erc32/libsim.a
606 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
607 ravenscar-thread.o sparc-ravenscar-thread.o"
611 # Target: Cell BE SPU
612 gdb_target_obs="spu-tdep.o"
617 # Target: GNU/Linux TI C6x
618 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
619 glibc-tdep.o linux-tdep.o"
624 gdb_target_obs="tic6x-tdep.o"
629 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
630 symfile-mem.o glibc-tdep.o linux-tdep.o"
635 # Target: Sanyo Xstormy16a processor
636 gdb_target_obs="xstormy16-tdep.o"
637 # No simulator libraries are needed -- target uses SID.
641 gdb_target_obs="ft32-tdep.o"
642 gdb_sim=../sim/ft32/libsim.a
645 v850*-*-elf | v850*-*-rtems*)
646 # Target: NEC V850 processor
647 gdb_target_obs="v850-tdep.o"
648 gdb_sim=../sim/v850/libsim.a
651 vax-*-netbsd* | vax-*-knetbsd*-gnu)
653 gdb_target_obs="vax-tdep.o solib-svr4.o"
656 # Target: OpenBSD/vax
657 gdb_target_obs="vax-tdep.o"
661 gdb_target_obs="vax-tdep.o"
665 # Target: Darwin/x86-64
666 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
667 i386-darwin-tdep.o amd64-darwin-tdep.o \
672 # Target: DICOS/x86-64
673 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
674 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
677 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o"
680 # Target: GNU/Linux x86-64
681 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
682 i387-tdep.o i386.o i386-linux-tdep.o glibc-tdep.o \
683 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
686 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
687 # Target: FreeBSD/amd64
688 gdb_target_obs="amd64-tdep.o amd64-fbsd-tdep.o i386-tdep.o \
689 i387-tdep.o i386-bsd-tdep.o i386-fbsd-tdep.o \
690 fbsd-tdep.o solib-svr4.o"
692 x86_64-*-mingw* | x86_64-*-cygwin*)
693 # Target: MingW/amd64
694 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
695 i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
699 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
700 # Target: NetBSD/amd64
701 gdb_target_obs="amd64-tdep.o amd64-nbsd-tdep.o i386-tdep.o i387-tdep.o \
702 nbsd-tdep.o solib-svr4.o"
705 # Target: OpenBSD/amd64
706 gdb_target_obs="amd64-tdep.o amd64-obsd-tdep.o i386-tdep.o \
707 i387-tdep.o i386-bsd-tdep.o i386-obsd-tdep.o \
708 obsd-tdep.o bsd-uthread.o solib-svr4.o"
711 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o i386-bsd-tdep.o"
713 xtensa*-*-linux*) gdb_target=linux
714 # Target: GNU/Linux Xtensa
715 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
716 solib-svr4.o symfile-mem.o linux-tdep.o"
720 # Target: Tensilica Xtensa processors
721 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
726 # map target onto default OS ABI
729 *-*-freebsd* | *-*-kfreebsd*-gnu)
730 gdb_osabi=GDB_OSABI_FREEBSD ;;
731 *-*-linux* | *-*-uclinux*)
732 gdb_osabi=GDB_OSABI_LINUX ;;
733 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
734 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
735 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD ;;
736 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
737 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
738 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
739 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
740 *-*-mingw* | *-*-cygwin*)
741 gdb_osabi=GDB_OSABI_CYGWIN ;;
742 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
744 gdb_osabi=GDB_OSABI_SYMBIAN ;;
745 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
746 gdb_osabi=GDB_OSABI_AIX ;;
749 # Check whether this target supports gcore.
750 # Such target has to call set_gdbarch_find_memory_regions.
752 for t in x ${gdb_target_obs}; do
753 if test "$t" = linux-tdep.o; then