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
26 echo "*** Configuration $targ is obsolete." >&2
27 echo "*** Support has been REMOVED." >&2
32 # map target info into gdb names.
36 # Target: AArch64 embedded system
37 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o"
41 # Target: AArch64 linux
42 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o \
43 glibc-tdep.o linux-tdep.o solib-svr4.o \
49 # Target: Little-endian Alpha running OSF/1
50 gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o"
53 # Target: Little-endian Alpha running Linux
54 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
55 linux-tdep.o solib-svr4.o"
57 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
58 # Target: FreeBSD/alpha
59 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
60 alphafbsd-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 alphabsd-tdep.o \
65 alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o"
68 # Target: OpenBSD/alpha
69 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
70 alphanbsd-tdep.o alphaobsd-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 \
84 arm*-wince-pe | arm*-*-mingw32ce*)
85 # Target: ARM based machine running Windows CE (win32)
86 gdb_target_obs="arm-tdep.o arm-wince-tdep.o"
90 # Target: ARM based machine running GNU/Linux
91 gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
92 solib-svr4.o symfile-mem.o linux-tdep.o"
95 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
97 gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib-svr4.o"
100 # Target: OpenBSD/arm
101 gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
105 # Target: SymbianOS/arm
106 gdb_target_obs="arm-tdep.o arm-symbian-tdep.o"
109 # Target: ARM embedded system
110 gdb_target_obs="arm-tdep.o"
111 gdb_sim=../sim/arm/libsim.a
116 gdb_target_obs="avr-tdep.o"
117 gdb_sim=../sim/avr/libsim.a
121 # Target: Blackfin Linux
122 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
123 gdb_sim=../sim/bfin/libsim.a
127 # Target: Blackfin processor
128 gdb_target_obs="bfin-tdep.o"
129 gdb_sim=../sim/bfin/libsim.a
134 gdb_target_obs="cris-tdep.o solib-svr4.o"
138 # Target: Fujitsu FRV processor
139 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
140 gdb_sim=../sim/frv/libsim.a
143 moxie-*-elf | moxie-*-rtems*)
144 gdb_target_obs="moxie-tdep.o"
145 gdb_sim=../sim/moxie/libsim.a
149 # Target: H8300 with HMS monitor and H8 simulator
150 gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
151 gdb_sim=../sim/h8300/libsim.a
155 # Target: HP PA-RISC running hpux
156 gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o solib-som.o solib-pa64.o"
159 # Target: HP PA-RISC running Linux
160 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
161 linux-tdep.o solib-svr4.o symfile-mem.o"
164 # Target: NetBSD/hppa
165 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o solib-svr4.o"
168 # Target: OpenBSD/hppa
169 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o solib-svr4.o"
173 gdb_target_obs="hppa-tdep.o"
176 i[34567]86-*-darwin*)
177 # Target: Darwin/i386
178 gdb_target_obs="i386-tdep.o i387-tdep.o \
179 i386-darwin-tdep.o solib-darwin.o"
180 if test "x$enable_64_bit_bfd" = "xyes"; then
181 # Target: GNU/Linux x86-64
182 gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
187 gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
189 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
190 # Target: FreeBSD/i386
191 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
192 bsd-uthread.o solib-svr4.o"
194 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
195 # Target: NetBSD/i386
196 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
197 nbsd-tdep.o solib-svr4.o"
199 i[34567]86-*-openbsd*)
200 # Target: OpenBSD/i386
201 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
202 bsd-uthread.o solib-svr4.o"
205 # Target: Intel 386 running qnx6.
206 gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \
207 i386-nto-tdep.o nto-tdep.o"
210 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
211 # Target: Solaris x86_64
212 gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
213 i386-sol2-tdep.o sol2-tdep.o solib-svr4.o"
215 i[34567]86-*-solaris*)
216 # Target: Solaris x86
217 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
221 # Target: Intel 386 running GNU/Linux
222 gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
223 solib-svr4.o symfile-mem.o \
224 linux-tdep.o linux-record.o"
225 if test "x$enable_64_bit_bfd" = "xyes"; then
226 # Target: GNU/Linux x86-64
227 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
232 # Target: Intel 386 running the GNU Hurd
233 gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o"
235 i[34567]86-*-cygwin*)
236 # Target: Intel 386 running win32
237 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
241 i[34567]86-*-mingw32*)
242 # Target: Intel 386 running win32
243 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
249 gdb_target_obs="i386-tdep.o i387-tdep.o"
253 # Target: Intel IA-64 running HP-UX
254 gdb_target_obs="ia64-tdep.o ia64-hpux-tdep.o"
257 # Target: Intel IA-64 running GNU/Linux
258 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
259 solib-svr4.o symfile-mem.o"
263 # Target: Intel IA-64 running OpenVMS
264 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
267 # Target: Intel IA-64
268 gdb_target_obs="ia64-tdep.o"
272 gdb_target_obs="iq2000-tdep.o"
273 gdb_sim=../sim/iq2000/libsim.a
277 gdb_target_obs="lm32-tdep.o"
278 gdb_sim=../sim/lm32/libsim.a
282 # Target: Renesas M32C family
283 gdb_target_obs="m32c-tdep.o"
284 # There may also be a SID / CGEN simulator for this,
285 # but we do have DJ Delorie's mini-sim.
286 gdb_sim=../sim/m32c/libsim.a
290 # Target: Renesas M32R running GNU/Linux
291 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
292 glibc-tdep.o solib-svr4.o symfile-mem.o \
294 gdb_sim=../sim/m32r/libsim.a
298 # Target: Renesas m32r processor
299 gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
301 gdb_sim=../sim/m32r/libsim.a
304 m68hc11*-*-*|m6811*-*-*)
305 # Target: Motorola 68HC11 processor
306 gdb_target_obs="m68hc11-tdep.o"
307 gdb_sim=../sim/m68hc11/libsim.a
310 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
312 # Target: Motorola m68k embedded (e.g. bug monitors)
313 gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
316 # Target: Motorola m68k with a.out and ELF
317 gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \
318 linux-tdep.o glibc-tdep.o symfile-mem.o"
321 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
322 # Target: NetBSD/m68k
323 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
326 # Target: OpenBSD/m68k
327 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
331 # Target: OpenBSD/m88k
332 gdb_target_obs="m88k-tdep.o"
336 # Target: Toshiba Media Processor (MEP)
337 gdb_target_obs="mep-tdep.o"
338 # No sim needed. Target uses SID.
341 microblaze*-linux-*|microblaze*-*-linux*)
342 # Target: Xilinx MicroBlaze running Linux
343 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \
344 monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o"
345 gdb_sim=../sim/microblaze/libsim.a
348 # Target: Xilinx MicroBlaze running standalone
349 gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
350 gdb_sim=../sim/microblaze/libsim.a
354 # Target: MIPS SGI running Irix 5
355 gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib-irix.o"
358 # Target: MIPS SGI running Irix 6.x
359 gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib-irix.o"
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
368 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
369 # Target: MIPS running NetBSD
370 gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o"
371 gdb_sim=../sim/mips/libsim.a
374 # Target: OpenBSD/mips64
375 gdb_target_obs="mips-tdep.o mips64obsd-tdep.o solib-svr4.o"
379 gdb_target_obs="mips-tdep.o remote-mips.o"
380 gdb_sim=../sim/mips/libsim.a
384 gdb_target_obs="mips-tdep.o"
385 gdb_sim=../sim/mips/libsim.a
389 # Target: Matsushita mn10300
390 gdb_target_obs="mn10300-tdep.o"
391 gdb_sim=../sim/mn10300/libsim.a
395 # Target: Morpho Technologies ms1 processor
396 gdb_target_obs="mt-tdep.o"
400 # Target: FreeBSD/powerpc
401 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
402 ppcfbsd-tdep.o solib-svr4.o \
403 ravenscar-thread.o ppc-ravenscar-thread.o"
406 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
407 # Target: NetBSD/powerpc
408 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
410 ravenscar-thread.o ppc-ravenscar-thread.o"
411 gdb_sim=../sim/ppc/libsim.a
414 # Target: OpenBSD/powerpc
415 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
417 ravenscar-thread.o ppc-ravenscar-thread.o"
419 powerpc-*-aix* | rs6000-*-*)
420 # Target: PowerPC running AIX
421 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
422 ppc-sysv-tdep.o solib-aix.o \
423 ravenscar-thread.o ppc-ravenscar-thread.o"
425 powerpc-*-linux* | powerpc64-*-linux*)
426 # Target: PowerPC running Linux
427 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
428 ppc64-tdep.o solib-svr4.o solib-spu.o \
430 glibc-tdep.o symfile-mem.o linux-tdep.o \
431 ravenscar-thread.o ppc-ravenscar-thread.o"
432 gdb_sim=../sim/ppc/libsim.a
436 # Target: PowerPC running Lynx178.
437 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
438 xcoffread.o monitor.o dsrec.o ppc-sysv-tdep.o \
439 ravenscar-thread.o ppc-ravenscar-thread.o"
442 # Target: PowerPC running eabi
443 gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
444 dink32-rom.o ppc-sysv-tdep.o solib-svr4.o \
445 ravenscar-thread.o ppc-ravenscar-thread.o"
446 if test -f ../sim/ppc/Makefile; then
447 gdb_sim=../sim/ppc/libsim.a
452 # Target: S390 running Linux
453 gdb_target_obs="s390-tdep.o solib-svr4.o linux-tdep.o"
458 # Target: Renesas rl78
459 gdb_target_obs="rl78-tdep.o"
460 gdb_sim=../sim/rl78/libsim.a
465 gdb_target_obs="rx-tdep.o"
466 gdb_sim=../sim/rx/libsim.a
470 # Target: S+core embedded system
471 gdb_target_obs="score-tdep.o"
472 if test -f ../sim/score/Makefile; then
473 gdb_sim=../sim/score/libsim.a
479 # Target: GNU/Linux Super-H
480 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
481 dsrec.o solib-svr4.o symfile-mem.o \
482 glibc-tdep.o linux-tdep.o"
483 gdb_sim=../sim/sh/libsim.a
486 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
488 gdb_target_obs="sh-tdep.o shnbsd-tdep.o solib-svr4.o"
489 gdb_sim=../sim/sh/libsim.a
493 gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o solib-svr4.o"
496 # Target: Renesas/Super-H 64 bit with simulator
497 gdb_target_obs="sh-tdep.o sh64-tdep.o"
498 gdb_sim=../sim/sh64/libsim.a
501 # Target: Embedded Renesas Super-H with ICE and simulator
502 gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
503 gdb_sim=../sim/sh/libsim.a
507 # Target: GNU/Linux SPARC
508 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
509 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
511 ravenscar-thread.o sparc-ravenscar-thread.o"
512 if test "x$enable_64_bit_bfd" = "xyes"; then
513 # Target: GNU/Linux UltraSPARC
514 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
515 sparc64-linux-tdep.o ${gdb_target_obs}"
520 # Target: GNU/Linux UltraSPARC
521 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
522 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
523 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
524 ravenscar-thread.o sparc-ravenscar-thread.o"
527 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
528 # Target: FreeBSD/sparc64
529 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
531 ravenscar-thread.o sparc-ravenscar-thread.o"
533 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
534 # Target: NetBSD/sparc
535 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
537 ravenscar-thread.o sparc-ravenscar-thread.o"
539 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
540 # Target: NetBSD/sparc64
541 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
542 sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \
543 ravenscar-thread.o sparc-ravenscar-thread.o"
546 # Target: OpenBSD/sparc
547 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
548 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
549 ravenscar-thread.o sparc-ravenscar-thread.o"
552 # Target: OpenBSD/sparc64
553 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
554 sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
555 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
556 ravenscar-thread.o sparc-ravenscar-thread.o"
558 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
559 # Target: Solaris SPARC
560 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
562 ravenscar-thread.o sparc-ravenscar-thread.o"
564 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
565 # Target: Solaris UltraSPARC
566 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
567 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
568 ravenscar-thread.o sparc-ravenscar-thread.o"
572 gdb_target_obs="sparc-tdep.o \
573 ravenscar-thread.o sparc-ravenscar-thread.o"
574 gdb_sim=../sim/erc32/libsim.a
578 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
579 ravenscar-thread.o sparc-ravenscar-thread.o"
583 # Target: Cell BE SPU
584 gdb_target_obs="spu-tdep.o"
589 # Target: GNU/Linux TI C6x
590 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
591 glibc-tdep.o linux-tdep.o"
596 gdb_target_obs="tic6x-tdep.o"
601 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
602 symfile-mem.o glibc-tdep.o linux-tdep.o"
607 # Target: Sanyo Xstormy16a processor
608 gdb_target_obs="xstormy16-tdep.o"
609 # No simulator libraries are needed -- target uses SID.
612 v850*-*-elf | v850*-*-rtems*)
613 # Target: NEC V850 processor
614 gdb_target_obs="v850-tdep.o"
615 gdb_sim=../sim/v850/libsim.a
618 vax-*-netbsd* | vax-*-knetbsd*-gnu)
620 gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o"
623 # Target: OpenBSD/vax
624 gdb_target_obs="vax-tdep.o vaxobsd-tdep.o"
627 # Target: VAX running 4.2BSD or Ultrix
628 gdb_target_obs="vax-tdep.o"
632 # Target: Darwin/x86-64
633 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
634 i386-darwin-tdep.o amd64-darwin-tdep.o \
639 # Target: DICOS/x86-64
640 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
641 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
644 # Target: GNU/Linux x86-64
645 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
646 i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
647 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
650 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
651 # Target: FreeBSD/amd64
652 gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
653 i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
654 bsd-uthread.o solib-svr4.o"
656 x86_64-*-mingw* | x86_64-*-cygwin*)
657 # Target: MingW/amd64
658 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
659 i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
663 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
664 # Target: NetBSD/amd64
665 gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
666 nbsd-tdep.o solib-svr4.o"
669 # Target: OpenBSD/amd64
670 gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
671 i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
672 bsd-uthread.o solib-svr4.o"
674 xtensa*-*-linux*) gdb_target=linux
675 # Target: GNU/Linux Xtensa
676 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
677 solib-svr4.o symfile-mem.o linux-tdep.o"
681 # Target: Tensilica Xtensa processors
682 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
687 # map target onto default OS ABI
690 *-*-freebsd* | *-*-kfreebsd*-gnu)
691 gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
692 *-*-linux* | *-*-uclinux*)
693 gdb_osabi=GDB_OSABI_LINUX ;;
694 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
695 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
696 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
697 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
698 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
699 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
700 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
701 *-*-mingw* | *-*-cygwin*)
702 gdb_osabi=GDB_OSABI_CYGWIN ;;
703 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
705 gdb_osabi=GDB_OSABI_SYMBIAN ;;
708 # Check whether this target supports gcore.
709 # Such target has to call set_gdbarch_find_memory_regions.
711 for t in x ${gdb_target_obs}; do
712 if test "$t" = linux-tdep.o; then