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 | \
34 echo "*** Configuration $targ is obsolete." >&2
35 echo "*** Support has been REMOVED." >&2
40 x86_tobjs="x86-tdep.o"
41 i386_tobjs="i386-tdep.o arch/i386.o i387-tdep.o ${x86_tobjs}"
42 amd64_tobjs="amd64-tdep.o arch/amd64.o ${x86_tobjs}"
44 # Here are three sections to get a list of target specific object
45 # files according to target triplet $TARG.
47 # 1. Get the objects per cpu in $TARG.
51 cpu_obs="aarch32-tdep.o aarch64-tdep.o arch/aarch32.o \
52 arch/aarch64-insn.o arch/aarch64.o ravenscar-thread.o \
53 aarch64-ravenscar-thread.o";;
57 cpu_obs="alpha-tdep.o"
61 # Target: Unidentified ARC target
66 cpu_obs="aarch32-tdep.o arch/aarch32.o arch/arm.o \
67 arch/arm-get-next-pcs.o arm-tdep.o";;
75 cpu_obs="${i386_tobjs}"
76 if test "x$enable_64_bit_bfd" = "xyes"; then
77 cpu_obs="${amd64_tobjs} ${cpu_obs}"
87 cpu_obs="riscv-tdep.o arch/riscv.o";;
90 cpu_obs="${i386_tobjs} ${amd64_tobjs}";;
93 # Target: Tensilica Xtensa processors
94 cpu_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
99 # 2. Get the objects per os in $TARG.
102 *-*-freebsd* | *-*-kfreebsd*-gnu)
103 os_obs="fbsd-tdep.o solib-svr4.o";;
104 *-*-netbsd* | *-*-knetbsd*-gnu)
105 os_obs="nbsd-tdep.o solib-svr4.o";;
107 os_obs="obsd-tdep.o solib-svr4.o";;
110 # 3. Get the rest of objects.
113 aarch64*-*-elf | aarch64*-*-rtems*)
114 # Target: AArch64 embedded system
115 gdb_target_obs="aarch64-newlib-tdep.o"
119 # Target: FreeBSD/aarch64
120 gdb_target_obs="aarch64-fbsd-tdep.o"
124 # Target: AArch64 linux
125 gdb_target_obs="aarch64-linux-tdep.o arch/aarch64.o\
126 arch/arm.o arch/arm-linux.o arch/arm-get-next-pcs.o \
127 arm-tdep.o arm-linux-tdep.o \
128 glibc-tdep.o linux-tdep.o solib-svr4.o \
129 symfile-mem.o linux-record.o"
134 # Target: Little-endian Alpha running Linux
135 gdb_target_obs="alpha-mdebug-tdep.o alpha-linux-tdep.o \
136 linux-tdep.o solib-svr4.o"
138 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
139 # Target: NetBSD/alpha
140 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
144 # Target: OpenBSD/alpha
145 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
146 alpha-nbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o"
150 # Target: Matsushita mn10300 (AM33) running Linux
151 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
156 # Target: baremetal ARC elf32 (newlib) target
157 gdb_target_obs="arc-newlib-tdep.o"
160 arm*-wince-pe | arm*-*-mingw32ce*)
161 # Target: ARM based machine running Windows CE (win32)
162 gdb_target_obs="arm-wince-tdep.o windows-tdep.o"
166 # Target: ARM based machine running GNU/Linux
167 gdb_target_obs="arch/arm-linux.o arm-linux-tdep.o glibc-tdep.o \
168 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
172 # Target: FreeBSD/arm
173 gdb_target_obs="arm-fbsd-tdep.o"
175 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
177 gdb_target_obs="arm-nbsd-tdep.o"
180 # Target: OpenBSD/arm
181 gdb_target_obs="arm-bsd-tdep.o arm-obsd-tdep.o"
184 # Target: SymbianOS/arm
185 gdb_target_obs="arm-symbian-tdep.o"
188 # Target: ARM embedded system
189 gdb_target_obs="arm-pikeos-tdep.o"
190 gdb_sim=../sim/arm/libsim.a
195 gdb_target_obs="avr-tdep.o"
196 gdb_sim=../sim/avr/libsim.a
200 # Target: Blackfin Linux
201 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
202 gdb_sim=../sim/bfin/libsim.a
206 # Target: Blackfin processor
207 gdb_target_obs="bfin-tdep.o"
208 gdb_sim=../sim/bfin/libsim.a
213 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
217 # Target: CSKY running GNU/Linux
218 gdb_target_obs="csky-tdep.o csky-linux-tdep.o glibc-tdep.o \
219 linux-tdep.o solib-svr4.o"
223 # Target: CSKY bare metal
224 gdb_target_obs="csky-tdep.o"
228 # Target: Fujitsu FRV processor
229 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
230 gdb_sim=../sim/frv/libsim.a
233 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
234 gdb_target_obs="moxie-tdep.o"
235 gdb_sim=../sim/moxie/libsim.a
239 # Target: H8300 processor
240 gdb_target_obs="h8300-tdep.o"
241 gdb_sim=../sim/h8300/libsim.a
245 # Target: HP PA-RISC running Linux
246 gdb_target_obs="hppa-linux-tdep.o glibc-tdep.o \
247 linux-tdep.o solib-svr4.o symfile-mem.o"
250 # Target: NetBSD/hppa
251 gdb_target_obs="hppa-bsd-tdep.o hppa-nbsd-tdep.o solib-svr4.o"
254 # Target: OpenBSD/hppa
255 gdb_target_obs="hppa-bsd-tdep.o hppa-obsd-tdep.o solib-svr4.o"
258 i[34567]86-*-darwin*)
259 # Target: Darwin/i386
260 gdb_target_obs="i386-darwin-tdep.o solib-darwin.o"
261 if test "x$enable_64_bit_bfd" = "xyes"; then
262 # Target: GNU/Linux x86-64
263 gdb_target_obs="amd64-darwin-tdep.o ${gdb_target_obs}"
268 gdb_target_obs="dicos-tdep.o i386-dicos-tdep.o"
270 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
271 # Target: FreeBSD/i386
272 gdb_target_obs="i386-bsd-tdep.o i386-fbsd-tdep.o "
274 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
275 # Target: NetBSD/i386
276 gdb_target_obs="i386-bsd-tdep.o i386-nbsd-tdep.o "
278 i[34567]86-*-openbsd*)
279 # Target: OpenBSD/i386
280 gdb_target_obs="i386-bsd-tdep.o i386-obsd-tdep.o bsd-uthread.o"
283 # Target: Intel 386 running qnx6.
284 gdb_target_obs="solib-svr4.o \
285 i386-nto-tdep.o nto-tdep.o"
288 i[34567]86-*-solaris2* | x86_64-*-solaris2*)
289 # Target: Solaris x86_64
290 gdb_target_obs="${i386_tobjs} ${amd64_tobjs} \
291 amd64-sol2-tdep.o i386-sol2-tdep.o sol2-tdep.o \
295 # Target: Intel 386 running GNU/Linux
296 gdb_target_obs="i386-linux-tdep.o \
298 solib-svr4.o symfile-mem.o \
299 linux-tdep.o linux-record.o"
300 if test "x$enable_64_bit_bfd" = "xyes"; then
301 # Target: GNU/Linux x86-64
302 gdb_target_obs="amd64-linux-tdep.o ${gdb_target_obs}"
307 # Target: Intel 386 running the GNU Hurd
308 gdb_target_obs="i386-gnu-tdep.o solib-svr4.o"
310 i[34567]86-*-cygwin*)
311 # Target: Intel 386 running win32
312 gdb_target_obs="i386-cygwin-tdep.o windows-tdep.o"
315 i[34567]86-*-mingw32*)
316 # Target: Intel 386 running win32
317 gdb_target_obs="i386-cygwin-tdep.o windows-tdep.o"
320 i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*)
321 # Target: i386 running DJGPP/go32.
322 gdb_target_obs="i386-go32-tdep.o"
326 # Target: Intel IA-64 running GNU/Linux
327 gdb_target_obs="ia64-linux-tdep.o linux-tdep.o \
328 solib-svr4.o symfile-mem.o"
332 # Target: Intel IA-64 running OpenVMS
333 gdb_target_obs="ia64-vms-tdep.o"
337 gdb_target_obs="iq2000-tdep.o"
338 gdb_sim=../sim/iq2000/libsim.a
342 gdb_target_obs="lm32-tdep.o"
343 gdb_sim=../sim/lm32/libsim.a
347 # Target: Renesas M32C family
348 gdb_target_obs="m32c-tdep.o"
349 # There may also be a SID / CGEN simulator for this,
350 # but we do have DJ Delorie's mini-sim.
351 gdb_sim=../sim/m32c/libsim.a
355 # Target: Renesas M32R running GNU/Linux
356 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
357 glibc-tdep.o solib-svr4.o symfile-mem.o \
359 gdb_sim=../sim/m32r/libsim.a
363 # Target: Renesas m32r processor
364 gdb_target_obs="m32r-tdep.o"
365 gdb_sim=../sim/m32r/libsim.a
368 m68hc11*-*-*|m6811*-*-*)
369 # Target: Motorola 68HC11 processor
370 gdb_target_obs="m68hc11-tdep.o"
371 gdb_sim=../sim/m68hc11/libsim.a
374 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
376 # Target: Motorola m68k embedded
377 gdb_target_obs="m68k-tdep.o"
380 # Target: Motorola m68k with a.out and ELF
381 gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
382 linux-tdep.o glibc-tdep.o symfile-mem.o"
385 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
386 # Target: NetBSD/m68k
387 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
390 # Target: OpenBSD/m68k
391 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
395 # Target: Toshiba Media Processor (MEP)
396 gdb_target_obs="mep-tdep.o"
397 # No sim needed. Target uses SID.
400 microblaze*-linux-*|microblaze*-*-linux*)
401 # Target: Xilinx MicroBlaze running Linux
402 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
403 symfile-mem.o linux-tdep.o"
404 gdb_sim=../sim/microblaze/libsim.a
407 # Target: Xilinx MicroBlaze running standalone
408 gdb_target_obs="microblaze-tdep.o"
409 gdb_sim=../sim/microblaze/libsim.a
414 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
415 solib-svr4.o symfile-mem.o linux-tdep.o"
416 gdb_sim=../sim/mips/libsim.a
419 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
420 # Target: MIPS running NetBSD
421 gdb_target_obs="mips-tdep.o mips-nbsd-tdep.o"
422 gdb_sim=../sim/mips/libsim.a
425 # Target: MIPS running FreeBSD
426 gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o"
427 gdb_sim=../sim/mips/libsim.a
430 # Target: OpenBSD/mips64
431 gdb_target_obs="mips-tdep.o mips64-obsd-tdep.o"
435 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
436 gdb_sim=../sim/mips/libsim.a
440 gdb_target_obs="mips-tdep.o"
441 gdb_sim=../sim/mips/libsim.a
445 gdb_target_obs="mips-tdep.o"
446 gdb_sim=../sim/mips/libsim.a
450 # Target: Matsushita mn10300
451 gdb_target_obs="mn10300-tdep.o"
452 gdb_sim=../sim/mn10300/libsim.a
456 gdb_target_obs="msp430-tdep.o"
457 gdb_sim=../sim/msp430/libsim.a
461 # Target: AndesTech NDS32 core
462 gdb_target_obs="nds32-tdep.o"
466 # Target: Altera Nios II running Linux
467 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
468 symfile-mem.o glibc-tdep.o linux-tdep.o"
472 # Target: Altera Nios II bare-metal
473 gdb_target_obs="nios2-tdep.o"
477 # Target: OpenCores OpenRISC 1000 32-bit running Linux
478 gdb_target_obs="or1k-tdep.o or1k-linux-tdep.o solib-svr4.o \
479 symfile-mem.o glibc-tdep.o linux-tdep.o"
480 gdb_sim=../sim/or1k/libsim.a
484 or1k-*-* | or1knd-*-*)
485 # Target: OpenCores OpenRISC 1000 32-bit implementation bare metal
486 gdb_target_obs="or1k-tdep.o"
487 gdb_sim=../sim/or1k/libsim.a
491 # Target: FreeBSD/powerpc
492 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
494 ravenscar-thread.o ppc-ravenscar-thread.o"
497 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
498 # Target: NetBSD/powerpc
499 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-nbsd-tdep.o \
500 ravenscar-thread.o ppc-ravenscar-thread.o"
501 gdb_sim=../sim/ppc/libsim.a
504 # Target: OpenBSD/powerpc
505 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-obsd-tdep.o \
506 ravenscar-thread.o ppc-ravenscar-thread.o"
508 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
509 # Target: PowerPC running AIX
510 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
511 ppc-sysv-tdep.o solib-aix.o \
512 ravenscar-thread.o ppc-ravenscar-thread.o"
515 # Target: PowerPC running Linux
516 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
517 ppc64-tdep.o solib-svr4.o \
518 glibc-tdep.o symfile-mem.o linux-tdep.o \
519 ravenscar-thread.o ppc-ravenscar-thread.o \
521 arch/ppc-linux-common.o"
522 gdb_sim=../sim/ppc/libsim.a
526 # Target: PowerPC running Lynx178.
527 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
528 xcoffread.o ppc-sysv-tdep.o \
529 ravenscar-thread.o ppc-ravenscar-thread.o"
532 # Target: PowerPC running eabi
533 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
534 ravenscar-thread.o ppc-ravenscar-thread.o"
535 gdb_sim=../sim/ppc/libsim.a
539 # Target: S390 running Linux
540 gdb_target_obs="s390-linux-tdep.o s390-tdep.o solib-svr4.o \
541 linux-tdep.o linux-record.o symfile-mem.o"
546 # Target: FreeBSD/riscv
547 gdb_target_obs="riscv-fbsd-tdep.o"
551 # Target: Linux/RISC-V
552 gdb_target_obs="riscv-linux-tdep.o glibc-tdep.o \
553 linux-tdep.o solib-svr4.o symfile-mem.o linux-record.o"
557 # Target: RISC-V architecture
562 # Target: Renesas rl78
563 gdb_target_obs="rl78-tdep.o"
564 gdb_sim=../sim/rl78/libsim.a
569 gdb_target_obs="rx-tdep.o"
570 gdb_sim=../sim/rx/libsim.a
574 # Target: S+core embedded system
575 gdb_target_obs="score-tdep.o"
580 # Target: GNU/Linux Super-H
581 gdb_target_obs="sh-tdep.o sh-linux-tdep.o \
582 solib-svr4.o symfile-mem.o \
583 glibc-tdep.o linux-tdep.o"
584 gdb_sim=../sim/sh/libsim.a
587 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
589 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
590 gdb_sim=../sim/sh/libsim.a
594 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
597 # Target: Embedded Renesas Super-H processor
598 gdb_target_obs="sh-tdep.o"
599 gdb_sim=../sim/sh/libsim.a
603 # Target: GNU/Linux SPARC
604 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
605 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
607 ravenscar-thread.o sparc-ravenscar-thread.o"
608 if test "x$enable_64_bit_bfd" = "xyes"; then
609 # Target: GNU/Linux UltraSPARC
610 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
611 sparc64-linux-tdep.o ${gdb_target_obs}"
616 # Target: GNU/Linux UltraSPARC
617 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
618 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
619 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
620 ravenscar-thread.o sparc-ravenscar-thread.o"
623 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
624 # Target: FreeBSD/sparc64
625 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64-fbsd-tdep.o \
626 ravenscar-thread.o sparc-ravenscar-thread.o"
628 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
629 # Target: NetBSD/sparc
630 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o \
631 ravenscar-thread.o sparc-ravenscar-thread.o"
633 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
634 # Target: NetBSD/sparc64
635 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc-tdep.o \
637 ravenscar-thread.o sparc-ravenscar-thread.o"
640 # Target: OpenBSD/sparc
641 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
642 nbsd-tdep.o bsd-uthread.o \
643 ravenscar-thread.o sparc-ravenscar-thread.o"
646 # Target: OpenBSD/sparc64
647 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc64-obsd-tdep.o \
648 sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
649 nbsd-tdep.o bsd-uthread.o \
650 ravenscar-thread.o sparc-ravenscar-thread.o"
652 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
653 # Target: Solaris UltraSPARC
654 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
655 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
656 ravenscar-thread.o sparc-ravenscar-thread.o"
660 gdb_target_obs="sparc-tdep.o \
661 ravenscar-thread.o sparc-ravenscar-thread.o"
662 gdb_sim=../sim/erc32/libsim.a
666 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
667 ravenscar-thread.o sparc-ravenscar-thread.o"
671 # Target: Freescale S12z
672 gdb_target_obs="s12z-tdep.o"
676 # Target: GNU/Linux TI C6x
677 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
678 glibc-tdep.o linux-tdep.o"
683 gdb_target_obs="tic6x-tdep.o"
688 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
689 symfile-mem.o glibc-tdep.o linux-tdep.o"
694 # Target: Sanyo Xstormy16a processor
695 gdb_target_obs="xstormy16-tdep.o"
696 # No simulator libraries are needed -- target uses SID.
700 gdb_target_obs="ft32-tdep.o"
701 gdb_sim=../sim/ft32/libsim.a
704 v850*-*-elf | v850*-*-rtems*)
705 # Target: NEC V850 processor
706 gdb_target_obs="v850-tdep.o"
707 gdb_sim=../sim/v850/libsim.a
710 vax-*-netbsd* | vax-*-knetbsd*-gnu)
712 gdb_target_obs="vax-tdep.o solib-svr4.o"
715 # Target: OpenBSD/vax
716 gdb_target_obs="vax-tdep.o"
720 gdb_target_obs="vax-tdep.o"
724 # Target: Darwin/x86-64
725 gdb_target_obs="${i386_tobjs} \
726 i386-darwin-tdep.o amd64-darwin-tdep.o \
731 # Target: DICOS/x86-64
732 gdb_target_obs="${i386_tobjs} \
733 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
736 gdb_target_obs="${i386_tobjs}"
739 # Target: GNU/Linux x86-64
740 gdb_target_obs="amd64-linux-tdep.o ${i386_tobjs} \
741 i386-linux-tdep.o glibc-tdep.o \
742 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
745 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
746 # Target: FreeBSD/amd64
747 gdb_target_obs="amd64-fbsd-tdep.o ${i386_tobjs} \
748 i386-bsd-tdep.o i386-fbsd-tdep.o"
750 x86_64-*-mingw* | x86_64-*-cygwin*)
751 # Target: MingW/amd64
752 gdb_target_obs="amd64-windows-tdep.o \
753 ${i386_tobjs} i386-cygwin-tdep.o \
757 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
758 # Target: NetBSD/amd64
759 gdb_target_obs="amd64-nbsd-tdep.o ${i386_tobjs}"
762 # Target: OpenBSD/amd64
763 gdb_target_obs="amd64-obsd-tdep.o ${i386_tobjs} \
764 i386-bsd-tdep.o i386-obsd-tdep.o \
768 gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
771 # Target: GNU/Linux Xtensa
772 gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"
780 gdb_target_obs="${cpu_obs} ${os_obs} ${gdb_target_obs}"
782 # map target onto default OS ABI
785 *-*-freebsd* | *-*-kfreebsd*-gnu)
786 gdb_osabi=GDB_OSABI_FREEBSD ;;
787 *-*-linux* | *-*-uclinux*)
788 gdb_osabi=GDB_OSABI_LINUX ;;
789 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
790 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
791 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD ;;
792 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
793 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
794 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
795 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
796 *-*-mingw* | *-*-cygwin*)
797 gdb_osabi=GDB_OSABI_CYGWIN ;;
798 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
800 gdb_osabi=GDB_OSABI_SYMBIAN ;;
801 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
802 gdb_osabi=GDB_OSABI_AIX ;;
805 # Check whether this target supports gcore.
806 # Such target has to call set_gdbarch_find_memory_regions.
808 for t in x ${gdb_target_obs}; do
809 if test "$t" = linux-tdep.o; then