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
30 echo "*** Configuration $targ is obsolete." >&2
31 echo "*** Support has been REMOVED." >&2
36 # map target info into gdb names.
40 # Target: AArch64 embedded system
41 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o"
45 # Target: AArch64 linux
46 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o \
47 arm-tdep.o arm-linux-tdep.o \
48 glibc-tdep.o linux-tdep.o solib-svr4.o \
49 symfile-mem.o linux-record.o"
54 # Target: Little-endian Alpha running Linux
55 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
56 linux-tdep.o solib-svr4.o"
58 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
59 # Target: FreeBSD/alpha
60 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
61 alphafbsd-tdep.o solib-svr4.o"
63 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
64 # Target: NetBSD/alpha
65 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
66 alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o"
69 # Target: OpenBSD/alpha
70 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
71 alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
72 obsd-tdep.o solib-svr4.o"
76 gdb_target_obs="alpha-tdep.o"
80 # Target: Matsushita mn10300 (AM33) running Linux
81 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
85 arm*-wince-pe | arm*-*-mingw32ce*)
86 # Target: ARM based machine running Windows CE (win32)
87 gdb_target_obs="arm-tdep.o arm-wince-tdep.o windows-tdep.o"
91 # Target: ARM based machine running GNU/Linux
92 gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
93 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
96 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
98 gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib-svr4.o"
101 # Target: OpenBSD/arm
102 gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
106 # Target: SymbianOS/arm
107 gdb_target_obs="arm-tdep.o arm-symbian-tdep.o"
110 # Target: ARM embedded system
111 gdb_target_obs="arm-tdep.o"
112 gdb_sim=../sim/arm/libsim.a
117 gdb_target_obs="avr-tdep.o"
118 gdb_sim=../sim/avr/libsim.a
122 # Target: Blackfin Linux
123 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
124 gdb_sim=../sim/bfin/libsim.a
128 # Target: Blackfin processor
129 gdb_target_obs="bfin-tdep.o"
130 gdb_sim=../sim/bfin/libsim.a
135 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
139 # Target: Fujitsu FRV processor
140 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
141 gdb_sim=../sim/frv/libsim.a
144 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
145 gdb_target_obs="moxie-tdep.o"
146 gdb_sim=../sim/moxie/libsim.a
150 # Target: H8300 with HMS monitor and H8 simulator
151 gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
152 gdb_sim=../sim/h8300/libsim.a
156 # Target: HP PA-RISC running Linux
157 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
158 linux-tdep.o solib-svr4.o symfile-mem.o"
161 # Target: NetBSD/hppa
162 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o solib-svr4.o"
165 # Target: OpenBSD/hppa
166 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o solib-svr4.o"
170 gdb_target_obs="hppa-tdep.o"
173 i[34567]86-*-darwin*)
174 # Target: Darwin/i386
175 gdb_target_obs="i386-tdep.o i387-tdep.o \
176 i386-darwin-tdep.o solib-darwin.o"
177 if test "x$enable_64_bit_bfd" = "xyes"; then
178 # Target: GNU/Linux x86-64
179 gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
184 gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
186 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
187 # Target: FreeBSD/i386
188 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
189 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
191 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
192 # Target: NetBSD/i386
193 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
194 nbsd-tdep.o solib-svr4.o"
196 i[34567]86-*-openbsd*)
197 # Target: OpenBSD/i386
198 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
199 obsd-tdep.o bsd-uthread.o solib-svr4.o"
202 # Target: Intel 386 running qnx6.
203 gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \
204 i386-nto-tdep.o nto-tdep.o"
207 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
208 # Target: Solaris x86_64
209 gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
210 i386-sol2-tdep.o sol2-tdep.o solib-svr4.o"
212 i[34567]86-*-solaris*)
213 # Target: Solaris x86
214 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
218 # Target: Intel 386 running GNU/Linux
219 gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
220 solib-svr4.o symfile-mem.o \
221 linux-tdep.o linux-record.o"
222 if test "x$enable_64_bit_bfd" = "xyes"; then
223 # Target: GNU/Linux x86-64
224 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
229 # Target: Intel 386 running the GNU Hurd
230 gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o"
232 i[34567]86-*-cygwin*)
233 # Target: Intel 386 running win32
234 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
238 i[34567]86-*-mingw32*)
239 # Target: Intel 386 running win32
240 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
246 gdb_target_obs="i386-tdep.o i387-tdep.o"
250 # Target: Intel IA-64 running GNU/Linux
251 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
252 solib-svr4.o symfile-mem.o"
256 # Target: Intel IA-64 running OpenVMS
257 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
260 # Target: Intel IA-64
261 gdb_target_obs="ia64-tdep.o"
265 gdb_target_obs="iq2000-tdep.o"
266 gdb_sim=../sim/iq2000/libsim.a
270 gdb_target_obs="lm32-tdep.o"
271 gdb_sim=../sim/lm32/libsim.a
275 # Target: Renesas M32C family
276 gdb_target_obs="m32c-tdep.o"
277 # There may also be a SID / CGEN simulator for this,
278 # but we do have DJ Delorie's mini-sim.
279 gdb_sim=../sim/m32c/libsim.a
283 # Target: Renesas M32R running GNU/Linux
284 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
285 glibc-tdep.o solib-svr4.o symfile-mem.o \
287 gdb_sim=../sim/m32r/libsim.a
291 # Target: Renesas m32r processor
292 gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
294 gdb_sim=../sim/m32r/libsim.a
297 m68hc11*-*-*|m6811*-*-*)
298 # Target: Motorola 68HC11 processor
299 gdb_target_obs="m68hc11-tdep.o"
300 gdb_sim=../sim/m68hc11/libsim.a
303 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
305 # Target: Motorola m68k embedded (e.g. bug monitors)
306 gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
309 # Target: Motorola m68k with a.out and ELF
310 gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \
311 linux-tdep.o glibc-tdep.o symfile-mem.o"
314 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
315 # Target: NetBSD/m68k
316 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
319 # Target: OpenBSD/m68k
320 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
324 # Target: OpenBSD/m88k
325 gdb_target_obs="m88k-tdep.o"
329 # Target: Toshiba Media Processor (MEP)
330 gdb_target_obs="mep-tdep.o"
331 # No sim needed. Target uses SID.
334 microblaze*-linux-*|microblaze*-*-linux*)
335 # Target: Xilinx MicroBlaze running Linux
336 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \
337 monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o"
338 gdb_sim=../sim/microblaze/libsim.a
341 # Target: Xilinx MicroBlaze running standalone
342 gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
343 gdb_sim=../sim/microblaze/libsim.a
348 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
349 solib-svr4.o symfile-mem.o linux-tdep.o"
350 gdb_sim=../sim/mips/libsim.a
353 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
354 # Target: MIPS running NetBSD
355 gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o"
356 gdb_sim=../sim/mips/libsim.a
359 # Target: OpenBSD/mips64
360 gdb_target_obs="mips-tdep.o mips64obsd-tdep.o obsd-tdep.o solib-svr4.o"
364 gdb_target_obs="mips-tdep.o mips-sde-tdep.o remote-mips.o"
365 gdb_sim=../sim/mips/libsim.a
369 gdb_target_obs="mips-tdep.o remote-mips.o"
370 gdb_sim=../sim/mips/libsim.a
374 gdb_target_obs="mips-tdep.o"
375 gdb_sim=../sim/mips/libsim.a
379 # Target: Matsushita mn10300
380 gdb_target_obs="mn10300-tdep.o"
381 gdb_sim=../sim/mn10300/libsim.a
385 gdb_target_obs="msp430-tdep.o"
386 gdb_sim=../sim/msp430/libsim.a
390 # Target: Morpho Technologies ms1 processor
391 gdb_target_obs="mt-tdep.o"
395 # Target: Altera Nios II running Linux
396 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
397 symfile-mem.o glibc-tdep.o linux-tdep.o"
401 # Target: Altera Nios II bare-metal
402 gdb_target_obs="nios2-tdep.o"
406 # Target: FreeBSD/powerpc
407 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
408 ppcfbsd-tdep.o fbsd-tdep.o solib-svr4.o \
409 ravenscar-thread.o ppc-ravenscar-thread.o"
412 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
413 # Target: NetBSD/powerpc
414 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
416 ravenscar-thread.o ppc-ravenscar-thread.o"
417 gdb_sim=../sim/ppc/libsim.a
420 # Target: OpenBSD/powerpc
421 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
423 ravenscar-thread.o ppc-ravenscar-thread.o"
425 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
426 # Target: PowerPC running AIX
427 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
428 ppc-sysv-tdep.o solib-aix.o \
429 ravenscar-thread.o ppc-ravenscar-thread.o"
432 # Target: PowerPC running Linux
433 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
434 ppc64-tdep.o solib-svr4.o solib-spu.o \
436 glibc-tdep.o symfile-mem.o linux-tdep.o \
437 ravenscar-thread.o ppc-ravenscar-thread.o \
439 gdb_sim=../sim/ppc/libsim.a
443 # Target: PowerPC running Lynx178.
444 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
445 xcoffread.o monitor.o dsrec.o ppc-sysv-tdep.o \
446 ravenscar-thread.o ppc-ravenscar-thread.o"
449 # Target: PowerPC running eabi
450 gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
451 dink32-rom.o ppc-sysv-tdep.o solib-svr4.o \
452 ravenscar-thread.o ppc-ravenscar-thread.o"
453 if test -f ../sim/ppc/Makefile; then
454 gdb_sim=../sim/ppc/libsim.a
459 # Target: S390 running Linux
460 gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o"
465 # Target: Renesas rl78
466 gdb_target_obs="rl78-tdep.o"
467 gdb_sim=../sim/rl78/libsim.a
472 gdb_target_obs="rx-tdep.o"
473 gdb_sim=../sim/rx/libsim.a
477 # Target: S+core embedded system
478 gdb_target_obs="score-tdep.o"
479 if test -f ../sim/score/Makefile; then
480 gdb_sim=../sim/score/libsim.a
486 # Target: GNU/Linux Super-H
487 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
488 dsrec.o solib-svr4.o symfile-mem.o \
489 glibc-tdep.o linux-tdep.o"
490 gdb_sim=../sim/sh/libsim.a
493 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
495 gdb_target_obs="sh-tdep.o shnbsd-tdep.o solib-svr4.o"
496 gdb_sim=../sim/sh/libsim.a
500 gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o solib-svr4.o"
503 # Target: Renesas/Super-H 64 bit with simulator
504 gdb_target_obs="sh-tdep.o sh64-tdep.o"
505 gdb_sim=../sim/sh64/libsim.a
508 # Target: Embedded Renesas Super-H with ICE and simulator
509 gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
510 gdb_sim=../sim/sh/libsim.a
514 # Target: GNU/Linux SPARC
515 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
516 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
518 ravenscar-thread.o sparc-ravenscar-thread.o"
519 if test "x$enable_64_bit_bfd" = "xyes"; then
520 # Target: GNU/Linux UltraSPARC
521 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
522 sparc64-linux-tdep.o ${gdb_target_obs}"
527 # Target: GNU/Linux UltraSPARC
528 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
529 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
530 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
531 ravenscar-thread.o sparc-ravenscar-thread.o"
534 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
535 # Target: FreeBSD/sparc64
536 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
537 fbsd-tdep.o solib-svr4.o \
538 ravenscar-thread.o sparc-ravenscar-thread.o"
540 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
541 # Target: NetBSD/sparc
542 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
544 ravenscar-thread.o sparc-ravenscar-thread.o"
546 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
547 # Target: NetBSD/sparc64
548 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
549 sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \
550 ravenscar-thread.o sparc-ravenscar-thread.o"
553 # Target: OpenBSD/sparc
554 gdb_target_obs="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"
559 # Target: OpenBSD/sparc64
560 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
561 sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
562 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
563 ravenscar-thread.o sparc-ravenscar-thread.o"
565 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
566 # Target: Solaris SPARC
567 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
569 ravenscar-thread.o sparc-ravenscar-thread.o"
571 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
572 # Target: Solaris UltraSPARC
573 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
574 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
575 ravenscar-thread.o sparc-ravenscar-thread.o"
579 gdb_target_obs="sparc-tdep.o \
580 ravenscar-thread.o sparc-ravenscar-thread.o"
581 gdb_sim=../sim/erc32/libsim.a
585 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
586 ravenscar-thread.o sparc-ravenscar-thread.o"
590 # Target: Cell BE SPU
591 gdb_target_obs="spu-tdep.o"
596 # Target: GNU/Linux TI C6x
597 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
598 glibc-tdep.o linux-tdep.o"
603 gdb_target_obs="tic6x-tdep.o"
608 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
609 symfile-mem.o glibc-tdep.o linux-tdep.o"
614 # Target: Sanyo Xstormy16a processor
615 gdb_target_obs="xstormy16-tdep.o"
616 # No simulator libraries are needed -- target uses SID.
620 gdb_target_obs="ft32-tdep.o"
621 gdb_sim=../sim/ft32/libsim.a
624 v850*-*-elf | v850*-*-rtems*)
625 # Target: NEC V850 processor
626 gdb_target_obs="v850-tdep.o"
627 gdb_sim=../sim/v850/libsim.a
630 vax-*-netbsd* | vax-*-knetbsd*-gnu)
632 gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o"
635 # Target: OpenBSD/vax
636 gdb_target_obs="vax-tdep.o vaxobsd-tdep.o"
640 gdb_target_obs="vax-tdep.o"
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 \
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"
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"
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"
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 \
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"
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"
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"
693 # Target: Tensilica Xtensa processors
694 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
699 # map target onto default OS ABI
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 ;;
717 gdb_osabi=GDB_OSABI_SYMBIAN ;;
718 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
719 gdb_osabi=GDB_OSABI_AIX ;;
722 # Check whether this target supports gcore.
723 # Such target has to call set_gdbarch_find_memory_regions.
725 for t in x ${gdb_target_obs}; do
726 if test "$t" = linux-tdep.o; then