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.
39 aarch64*-*-elf | aarch64*-*-rtems*)
40 # Target: AArch64 embedded system
41 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o aarch64-insn.o"
45 # Target: AArch64 linux
46 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o aarch64-insn.o \
47 arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
49 glibc-tdep.o linux-tdep.o solib-svr4.o \
50 symfile-mem.o linux-record.o"
55 # Target: Little-endian Alpha running Linux
56 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
57 linux-tdep.o solib-svr4.o"
59 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
60 # Target: FreeBSD/alpha
61 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
62 alphafbsd-tdep.o solib-svr4.o"
64 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
65 # Target: NetBSD/alpha
66 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
67 alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o"
70 # Target: OpenBSD/alpha
71 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
72 alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
73 obsd-tdep.o solib-svr4.o"
77 gdb_target_obs="alpha-tdep.o"
81 # Target: Matsushita mn10300 (AM33) running Linux
82 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
86 arm*-wince-pe | arm*-*-mingw32ce*)
87 # Target: ARM based machine running Windows CE (win32)
88 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o \
89 arm-wince-tdep.o windows-tdep.o"
93 # Target: ARM based machine running GNU/Linux
94 gdb_target_obs="arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
95 arm-linux-tdep.o glibc-tdep.o \
96 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
99 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
101 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o armnbsd-tdep.o \
105 # Target: OpenBSD/arm
106 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o armbsd-tdep.o \
107 armobsd-tdep.o obsd-tdep.o solib-svr4.o"
110 # Target: SymbianOS/arm
111 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-symbian-tdep.o"
114 # Target: ARM embedded system
115 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o"
116 gdb_sim=../sim/arm/libsim.a
121 gdb_target_obs="avr-tdep.o"
122 gdb_sim=../sim/avr/libsim.a
126 # Target: Blackfin Linux
127 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
128 gdb_sim=../sim/bfin/libsim.a
132 # Target: Blackfin processor
133 gdb_target_obs="bfin-tdep.o"
134 gdb_sim=../sim/bfin/libsim.a
139 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
143 # Target: Fujitsu FRV processor
144 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
145 gdb_sim=../sim/frv/libsim.a
148 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
149 gdb_target_obs="moxie-tdep.o"
150 gdb_sim=../sim/moxie/libsim.a
154 # Target: H8300 processor
155 gdb_target_obs="h8300-tdep.o"
156 gdb_sim=../sim/h8300/libsim.a
160 # Target: HP PA-RISC running Linux
161 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
162 linux-tdep.o solib-svr4.o symfile-mem.o"
165 # Target: NetBSD/hppa
166 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o solib-svr4.o"
169 # Target: OpenBSD/hppa
170 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o solib-svr4.o"
174 gdb_target_obs="hppa-tdep.o"
177 i[34567]86-*-darwin*)
178 # Target: Darwin/i386
179 gdb_target_obs="i386-tdep.o i387-tdep.o \
180 i386-darwin-tdep.o solib-darwin.o"
181 if test "x$enable_64_bit_bfd" = "xyes"; then
182 # Target: GNU/Linux x86-64
183 gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
188 gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
190 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
191 # Target: FreeBSD/i386
192 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
193 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
195 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
196 # Target: NetBSD/i386
197 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
198 nbsd-tdep.o solib-svr4.o"
200 i[34567]86-*-openbsd*)
201 # Target: OpenBSD/i386
202 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
203 obsd-tdep.o bsd-uthread.o solib-svr4.o"
206 # Target: Intel 386 running qnx6.
207 gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \
208 i386-nto-tdep.o nto-tdep.o"
211 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
212 # Target: Solaris x86_64
213 gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
214 i386-sol2-tdep.o sol2-tdep.o solib-svr4.o"
216 i[34567]86-*-solaris*)
217 # Target: Solaris x86
218 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
222 # Target: Intel 386 running GNU/Linux
223 gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
224 solib-svr4.o symfile-mem.o \
225 linux-tdep.o linux-record.o"
226 if test "x$enable_64_bit_bfd" = "xyes"; then
227 # Target: GNU/Linux x86-64
228 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
233 # Target: Intel 386 running the GNU Hurd
234 gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o"
236 i[34567]86-*-cygwin*)
237 # Target: Intel 386 running win32
238 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
242 i[34567]86-*-mingw32*)
243 # Target: Intel 386 running win32
244 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
250 gdb_target_obs="i386-tdep.o i387-tdep.o"
254 # Target: Intel IA-64 running GNU/Linux
255 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
256 solib-svr4.o symfile-mem.o"
260 # Target: Intel IA-64 running OpenVMS
261 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
264 # Target: Intel IA-64
265 gdb_target_obs="ia64-tdep.o"
269 gdb_target_obs="iq2000-tdep.o"
270 gdb_sim=../sim/iq2000/libsim.a
274 gdb_target_obs="lm32-tdep.o"
275 gdb_sim=../sim/lm32/libsim.a
279 # Target: Renesas M32C family
280 gdb_target_obs="m32c-tdep.o"
281 # There may also be a SID / CGEN simulator for this,
282 # but we do have DJ Delorie's mini-sim.
283 gdb_sim=../sim/m32c/libsim.a
287 # Target: Renesas M32R running GNU/Linux
288 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
289 glibc-tdep.o solib-svr4.o symfile-mem.o \
291 gdb_sim=../sim/m32r/libsim.a
295 # Target: Renesas m32r processor
296 gdb_target_obs="m32r-tdep.o"
297 gdb_sim=../sim/m32r/libsim.a
300 m68hc11*-*-*|m6811*-*-*)
301 # Target: Motorola 68HC11 processor
302 gdb_target_obs="m68hc11-tdep.o"
303 gdb_sim=../sim/m68hc11/libsim.a
306 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
308 # Target: Motorola m68k embedded
309 gdb_target_obs="m68k-tdep.o"
312 # Target: Motorola m68k with a.out and ELF
313 gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \
314 linux-tdep.o glibc-tdep.o symfile-mem.o"
317 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
318 # Target: NetBSD/m68k
319 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
322 # Target: OpenBSD/m68k
323 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
327 # Target: OpenBSD/m88k
328 gdb_target_obs="m88k-tdep.o"
332 # Target: Toshiba Media Processor (MEP)
333 gdb_target_obs="mep-tdep.o"
334 # No sim needed. Target uses SID.
337 microblaze*-linux-*|microblaze*-*-linux*)
338 # Target: Xilinx MicroBlaze running Linux
339 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
340 symfile-mem.o linux-tdep.o"
341 gdb_sim=../sim/microblaze/libsim.a
344 # Target: Xilinx MicroBlaze running standalone
345 gdb_target_obs="microblaze-tdep.o"
346 gdb_sim=../sim/microblaze/libsim.a
351 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
352 solib-svr4.o symfile-mem.o linux-tdep.o"
353 gdb_sim=../sim/mips/libsim.a
356 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
357 # Target: MIPS running NetBSD
358 gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o"
359 gdb_sim=../sim/mips/libsim.a
362 # Target: OpenBSD/mips64
363 gdb_target_obs="mips-tdep.o mips64obsd-tdep.o obsd-tdep.o solib-svr4.o"
367 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
368 gdb_sim=../sim/mips/libsim.a
372 gdb_target_obs="mips-tdep.o"
373 gdb_sim=../sim/mips/libsim.a
377 gdb_target_obs="mips-tdep.o"
378 gdb_sim=../sim/mips/libsim.a
382 # Target: Matsushita mn10300
383 gdb_target_obs="mn10300-tdep.o"
384 gdb_sim=../sim/mn10300/libsim.a
388 gdb_target_obs="msp430-tdep.o"
389 gdb_sim=../sim/msp430/libsim.a
393 # Target: Morpho Technologies ms1 processor
394 gdb_target_obs="mt-tdep.o"
398 # Target: AndesTech NDS32 core
399 gdb_target_obs="nds32-tdep.o"
403 # Target: Altera Nios II running Linux
404 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
405 symfile-mem.o glibc-tdep.o linux-tdep.o"
409 # Target: Altera Nios II bare-metal
410 gdb_target_obs="nios2-tdep.o"
414 # Target: FreeBSD/powerpc
415 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
416 ppcfbsd-tdep.o fbsd-tdep.o solib-svr4.o \
417 ravenscar-thread.o ppc-ravenscar-thread.o"
420 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
421 # Target: NetBSD/powerpc
422 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
424 ravenscar-thread.o ppc-ravenscar-thread.o"
425 gdb_sim=../sim/ppc/libsim.a
428 # Target: OpenBSD/powerpc
429 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
431 ravenscar-thread.o ppc-ravenscar-thread.o"
433 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
434 # Target: PowerPC running AIX
435 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
436 ppc-sysv-tdep.o solib-aix.o \
437 ravenscar-thread.o ppc-ravenscar-thread.o"
440 # Target: PowerPC running Linux
441 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
442 ppc64-tdep.o solib-svr4.o solib-spu.o \
444 glibc-tdep.o symfile-mem.o linux-tdep.o \
445 ravenscar-thread.o ppc-ravenscar-thread.o \
447 gdb_sim=../sim/ppc/libsim.a
451 # Target: PowerPC running Lynx178.
452 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
453 xcoffread.o ppc-sysv-tdep.o \
454 ravenscar-thread.o ppc-ravenscar-thread.o"
457 # Target: PowerPC running eabi
458 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
459 ravenscar-thread.o ppc-ravenscar-thread.o"
460 gdb_sim=../sim/ppc/libsim.a
464 # Target: S390 running Linux
465 gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o \
471 # Target: Renesas rl78
472 gdb_target_obs="rl78-tdep.o"
473 gdb_sim=../sim/rl78/libsim.a
478 gdb_target_obs="rx-tdep.o"
479 gdb_sim=../sim/rx/libsim.a
483 # Target: S+core embedded system
484 gdb_target_obs="score-tdep.o"
489 # Target: GNU/Linux Super-H
490 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o \
491 solib-svr4.o symfile-mem.o \
492 glibc-tdep.o linux-tdep.o"
493 gdb_sim=../sim/sh/libsim.a
496 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
498 gdb_target_obs="sh-tdep.o shnbsd-tdep.o solib-svr4.o"
499 gdb_sim=../sim/sh/libsim.a
503 gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o solib-svr4.o"
506 # Target: Renesas/Super-H 64 bit with simulator
507 gdb_target_obs="sh-tdep.o sh64-tdep.o"
508 gdb_sim=../sim/sh64/libsim.a
511 # Target: Embedded Renesas Super-H processor
512 gdb_target_obs="sh-tdep.o sh64-tdep.o"
513 gdb_sim=../sim/sh/libsim.a
517 # Target: GNU/Linux SPARC
518 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
519 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
521 ravenscar-thread.o sparc-ravenscar-thread.o"
522 if test "x$enable_64_bit_bfd" = "xyes"; then
523 # Target: GNU/Linux UltraSPARC
524 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
525 sparc64-linux-tdep.o ${gdb_target_obs}"
530 # Target: GNU/Linux UltraSPARC
531 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
532 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
533 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
534 ravenscar-thread.o sparc-ravenscar-thread.o"
537 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
538 # Target: FreeBSD/sparc64
539 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
540 fbsd-tdep.o solib-svr4.o \
541 ravenscar-thread.o sparc-ravenscar-thread.o"
543 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
544 # Target: NetBSD/sparc
545 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
547 ravenscar-thread.o sparc-ravenscar-thread.o"
549 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
550 # Target: NetBSD/sparc64
551 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
552 sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \
553 ravenscar-thread.o sparc-ravenscar-thread.o"
556 # Target: OpenBSD/sparc
557 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
558 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
559 ravenscar-thread.o sparc-ravenscar-thread.o"
562 # Target: OpenBSD/sparc64
563 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
564 sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
565 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
566 ravenscar-thread.o sparc-ravenscar-thread.o"
568 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
569 # Target: Solaris SPARC
570 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
572 ravenscar-thread.o sparc-ravenscar-thread.o"
574 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
575 # Target: Solaris UltraSPARC
576 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
577 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
578 ravenscar-thread.o sparc-ravenscar-thread.o"
582 gdb_target_obs="sparc-tdep.o \
583 ravenscar-thread.o sparc-ravenscar-thread.o"
584 gdb_sim=../sim/erc32/libsim.a
588 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
589 ravenscar-thread.o sparc-ravenscar-thread.o"
593 # Target: Cell BE SPU
594 gdb_target_obs="spu-tdep.o"
599 # Target: GNU/Linux TI C6x
600 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
601 glibc-tdep.o linux-tdep.o"
606 gdb_target_obs="tic6x-tdep.o"
611 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
612 symfile-mem.o glibc-tdep.o linux-tdep.o"
617 # Target: Sanyo Xstormy16a processor
618 gdb_target_obs="xstormy16-tdep.o"
619 # No simulator libraries are needed -- target uses SID.
623 gdb_target_obs="ft32-tdep.o"
624 gdb_sim=../sim/ft32/libsim.a
627 v850*-*-elf | v850*-*-rtems*)
628 # Target: NEC V850 processor
629 gdb_target_obs="v850-tdep.o"
630 gdb_sim=../sim/v850/libsim.a
633 vax-*-netbsd* | vax-*-knetbsd*-gnu)
635 gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o"
638 # Target: OpenBSD/vax
639 gdb_target_obs="vax-tdep.o vaxobsd-tdep.o"
643 gdb_target_obs="vax-tdep.o"
647 # Target: Darwin/x86-64
648 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
649 i386-darwin-tdep.o amd64-darwin-tdep.o \
654 # Target: DICOS/x86-64
655 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
656 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
658 x86_64-*-elf* | x86_64-*-rtems*)
659 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o i386bsd-tdep.o"
662 # Target: GNU/Linux x86-64
663 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
664 i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
665 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
668 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
669 # Target: FreeBSD/amd64
670 gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
671 i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
672 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
674 x86_64-*-mingw* | x86_64-*-cygwin*)
675 # Target: MingW/amd64
676 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
677 i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
681 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
682 # Target: NetBSD/amd64
683 gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
684 nbsd-tdep.o solib-svr4.o"
687 # Target: OpenBSD/amd64
688 gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
689 i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
690 obsd-tdep.o bsd-uthread.o solib-svr4.o"
692 xtensa*-*-linux*) gdb_target=linux
693 # Target: GNU/Linux Xtensa
694 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
695 solib-svr4.o symfile-mem.o linux-tdep.o"
699 # Target: Tensilica Xtensa processors
700 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
705 # map target onto default OS ABI
708 *-*-freebsd* | *-*-kfreebsd*-gnu)
709 gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
710 *-*-linux* | *-*-uclinux*)
711 gdb_osabi=GDB_OSABI_LINUX ;;
712 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
713 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
714 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
715 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
716 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
717 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
718 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
719 *-*-mingw* | *-*-cygwin*)
720 gdb_osabi=GDB_OSABI_CYGWIN ;;
721 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
723 gdb_osabi=GDB_OSABI_SYMBIAN ;;
724 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
725 gdb_osabi=GDB_OSABI_AIX ;;
728 # Check whether this target supports gcore.
729 # Such target has to call set_gdbarch_find_memory_regions.
731 for t in x ${gdb_target_obs}; do
732 if test "$t" = linux-tdep.o; then