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 # gdb_have_gcore set to "true"/"false" if this target can run gcore
10 # NOTE: Every file added to a gdb_target_obs variable for any target here
11 # must also be added to either ALL_TARGET_OBS or ALL_64_TARGET_OBS
16 *-*-solaris2.[01] | *-*-solaris2.[2-9]* | *-*-solaris2.10* | \
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="ravenscar-thread.o amd64-ravenscar-thread.o \
43 amd64-tdep.o arch/amd64.o ${x86_tobjs}"
45 # Here are three sections to get a list of target specific object
46 # files according to target triplet $TARG.
48 # 1. Get the objects per cpu in $TARG.
52 cpu_obs="aarch32-tdep.o aarch64-tdep.o arch/aarch32.o \
53 arch/aarch64-insn.o arch/aarch64.o ravenscar-thread.o \
54 aarch64-ravenscar-thread.o";;
58 cpu_obs="alpha-tdep.o"
62 # Target: Unidentified ARC target
63 cpu_obs="arc-tdep.o arch/arc.o"
67 cpu_obs="aarch32-tdep.o arch/aarch32.o arch/arm.o \
68 arch/arm-get-next-pcs.o arm-tdep.o arm-none-tdep.o"
77 cpu_obs="${i386_tobjs}"
78 if test "x$enable_64_bit_bfd" = "xyes"; then
79 cpu_obs="${amd64_tobjs} ${cpu_obs}"
89 cpu_obs="riscv-tdep.o riscv-none-tdep.o arch/riscv.o \
90 ravenscar-thread.o riscv-ravenscar-thread.o";;
93 cpu_obs="${i386_tobjs} ${amd64_tobjs}";;
96 # Target: Tensilica Xtensa processors
97 cpu_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
102 # 2. Get the objects per os in $TARG.
105 *-*-freebsd* | *-*-kfreebsd*-gnu)
106 os_obs="fbsd-tdep.o solib-svr4.o";;
107 *-*-netbsd* | *-*-knetbsd*-gnu)
108 os_obs="netbsd-tdep.o solib-svr4.o";;
110 os_obs="obsd-tdep.o solib-svr4.o";;
113 # 3. Get the rest of objects.
116 aarch64*-*-elf | aarch64*-*-rtems*)
117 # Target: AArch64 embedded system
118 gdb_target_obs="aarch64-newlib-tdep.o"
122 # Target: FreeBSD/aarch64
123 gdb_target_obs="aarch64-fbsd-tdep.o"
127 # Target: AArch64 linux
128 gdb_target_obs="aarch64-linux-tdep.o arch/aarch64.o\
129 arch/aarch64-mte-linux.o \
130 arch/arm.o arch/arm-linux.o arch/arm-get-next-pcs.o \
131 arm-tdep.o arm-linux-tdep.o \
132 glibc-tdep.o linux-tdep.o solib-svr4.o \
133 symfile-mem.o linux-record.o"
137 # Target: Little-endian Alpha running Linux
138 gdb_target_obs="alpha-mdebug-tdep.o alpha-linux-tdep.o \
139 linux-tdep.o solib-svr4.o"
141 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
142 # Target: NetBSD/alpha
143 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
147 # Target: OpenBSD/alpha
148 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
149 alpha-netbsd-tdep.o alpha-obsd-tdep.o netbsd-tdep.o"
153 # Target: Matsushita mn10300 (AM33) running Linux
154 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
159 # Target: baremetal ARC elf32 (newlib) target
160 gdb_target_obs="arc-newlib-tdep.o"
164 # Target: ARC machine running Linux
165 gdb_target_obs="arc-linux-tdep.o linux-tdep.o solib-svr4.o"
168 arm*-wince-pe | arm*-*-mingw32ce*)
169 # Target: ARM based machine running Windows CE (win32)
170 gdb_target_obs="arm-wince-tdep.o windows-tdep.o"
173 # Target: ARM based machine running GNU/Linux
174 gdb_target_obs="arch/arm-linux.o arm-linux-tdep.o glibc-tdep.o \
175 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
178 # Target: FreeBSD/arm
179 gdb_target_obs="arm-fbsd-tdep.o"
181 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
183 gdb_target_obs="arm-netbsd-tdep.o"
186 # Target: OpenBSD/arm
187 gdb_target_obs="arm-bsd-tdep.o arm-obsd-tdep.o"
190 # Target: ARM embedded system
191 gdb_target_obs="arm-pikeos-tdep.o"
192 gdb_sim=../sim/arm/libsim.a
197 gdb_target_obs="avr-tdep.o"
198 gdb_sim=../sim/avr/libsim.a
202 # Target: Blackfin Linux
203 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
204 gdb_sim=../sim/bfin/libsim.a
207 # Target: Blackfin processor
208 gdb_target_obs="bfin-tdep.o"
209 gdb_sim=../sim/bfin/libsim.a
214 gdb_target_obs="bpf-tdep.o"
215 gdb_sim=../sim/bpf/libsim.a
220 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
224 # Target: CSKY running GNU/Linux
225 gdb_target_obs="csky-tdep.o csky-linux-tdep.o glibc-tdep.o \
226 linux-tdep.o solib-svr4.o"
230 # Target: CSKY bare metal
231 gdb_target_obs="csky-tdep.o"
235 # Target: Fujitsu FRV processor
236 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
237 gdb_sim=../sim/frv/libsim.a
240 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
241 gdb_target_obs="moxie-tdep.o"
242 gdb_sim=../sim/moxie/libsim.a
246 # Target: H8300 processor
247 gdb_target_obs="h8300-tdep.o"
248 gdb_sim=../sim/h8300/libsim.a
252 # Target: HP PA-RISC running Linux
253 gdb_target_obs="hppa-linux-tdep.o glibc-tdep.o \
254 linux-tdep.o solib-svr4.o symfile-mem.o"
257 # Target: NetBSD/hppa
258 gdb_target_obs="hppa-bsd-tdep.o hppa-netbsd-tdep.o solib-svr4.o"
261 # Target: OpenBSD/hppa
262 gdb_target_obs="hppa-bsd-tdep.o hppa-obsd-tdep.o solib-svr4.o"
265 i[34567]86-*-darwin*)
266 # Target: Darwin/i386
267 gdb_target_obs="i386-darwin-tdep.o solib-darwin.o"
268 if test "x$enable_64_bit_bfd" = "xyes"; then
269 # Target: GNU/Linux x86-64
270 gdb_target_obs="amd64-darwin-tdep.o ${gdb_target_obs}"
275 gdb_target_obs="dicos-tdep.o i386-dicos-tdep.o"
277 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
278 # Target: FreeBSD/i386
279 gdb_target_obs="i386-bsd-tdep.o i386-fbsd-tdep.o "
281 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
282 # Target: NetBSD/i386
283 gdb_target_obs="i386-bsd-tdep.o i386-netbsd-tdep.o "
285 i[34567]86-*-openbsd*)
286 # Target: OpenBSD/i386
287 gdb_target_obs="i386-bsd-tdep.o i386-obsd-tdep.o bsd-uthread.o"
290 # Target: Intel 386 running qnx6.
291 gdb_target_obs="solib-svr4.o \
292 i386-nto-tdep.o nto-tdep.o"
294 i[34567]86-*-solaris2* | x86_64-*-solaris2*)
295 # Target: Solaris x86_64
296 gdb_target_obs="${i386_tobjs} ${amd64_tobjs} \
297 amd64-sol2-tdep.o i386-sol2-tdep.o sol2-tdep.o \
301 # Target: Intel 386 running GNU/Linux
302 gdb_target_obs="i386-linux-tdep.o \
304 solib-svr4.o symfile-mem.o \
305 linux-tdep.o linux-record.o"
306 if test "x$enable_64_bit_bfd" = "xyes"; then
307 # Target: GNU/Linux x86-64
308 gdb_target_obs="amd64-linux-tdep.o ${gdb_target_obs}"
312 # Target: Intel 386 running the GNU Hurd
313 gdb_target_obs="i386-gnu-tdep.o solib-svr4.o"
315 i[34567]86-*-cygwin*)
316 # Target: Intel 386 running win32
317 gdb_target_obs="i386-windows-tdep.o windows-tdep.o"
319 i[34567]86-*-mingw32*)
320 # Target: Intel 386 running win32
321 gdb_target_obs="i386-windows-tdep.o windows-tdep.o"
323 i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*)
324 # Target: i386 running DJGPP/go32.
325 gdb_target_obs="i386-go32-tdep.o"
329 # Target: Intel IA-64 running GNU/Linux
330 gdb_target_obs="ia64-linux-tdep.o linux-tdep.o \
331 solib-svr4.o symfile-mem.o"
334 # Target: Intel IA-64 running OpenVMS
335 gdb_target_obs="ia64-vms-tdep.o"
339 gdb_target_obs="iq2000-tdep.o"
340 gdb_sim=../sim/iq2000/libsim.a
344 gdb_target_obs="lm32-tdep.o"
345 gdb_sim=../sim/lm32/libsim.a
349 # Target: Renesas M32C family
350 gdb_target_obs="m32c-tdep.o"
351 # There may also be a SID / CGEN simulator for this,
352 # but we do have DJ Delorie's mini-sim.
353 gdb_sim=../sim/m32c/libsim.a
357 # Target: Renesas M32R running GNU/Linux
358 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
359 glibc-tdep.o solib-svr4.o symfile-mem.o \
361 gdb_sim=../sim/m32r/libsim.a
364 # Target: Renesas m32r processor
365 gdb_target_obs="m32r-tdep.o"
366 gdb_sim=../sim/m32r/libsim.a
369 m68hc11*-*-*|m6811*-*-*)
370 # Target: Motorola 68HC11 processor
371 gdb_target_obs="m68hc11-tdep.o"
372 gdb_sim=../sim/m68hc11/libsim.a
375 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
377 # Target: Motorola m68k embedded
378 gdb_target_obs="m68k-tdep.o"
381 # Target: Motorola m68k with a.out and ELF
382 gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
383 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
418 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
419 # Target: MIPS running NetBSD
420 gdb_target_obs="mips-tdep.o mips-netbsd-tdep.o"
421 gdb_sim=../sim/mips/libsim.a
424 # Target: MIPS running FreeBSD
425 gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o"
426 gdb_sim=../sim/mips/libsim.a
429 # Target: OpenBSD/mips64
430 gdb_target_obs="mips-tdep.o mips64-obsd-tdep.o"
434 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
435 gdb_sim=../sim/mips/libsim.a
439 gdb_target_obs="mips-tdep.o"
440 gdb_sim=../sim/mips/libsim.a
444 gdb_target_obs="mips-tdep.o"
445 gdb_sim=../sim/mips/libsim.a
449 # Target: Matsushita mn10300
450 gdb_target_obs="mn10300-tdep.o"
451 gdb_sim=../sim/mn10300/libsim.a
455 gdb_target_obs="msp430-tdep.o"
456 gdb_sim=../sim/msp430/libsim.a
460 # Target: AndesTech NDS32 core
461 gdb_target_obs="nds32-tdep.o"
465 # Target: Altera Nios II running Linux
466 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
467 symfile-mem.o glibc-tdep.o linux-tdep.o"
471 # Target: Altera Nios II bare-metal
472 gdb_target_obs="nios2-tdep.o"
476 # Target: OpenCores OpenRISC 1000 32-bit running Linux
477 gdb_target_obs="or1k-tdep.o or1k-linux-tdep.o solib-svr4.o \
478 symfile-mem.o glibc-tdep.o linux-tdep.o"
479 gdb_sim=../sim/or1k/libsim.a
482 or1k-*-* | or1knd-*-*)
483 # Target: OpenCores OpenRISC 1000 32-bit implementation bare metal
484 gdb_target_obs="or1k-tdep.o"
485 gdb_sim=../sim/or1k/libsim.a
489 # Target: FreeBSD/powerpc
490 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
492 ravenscar-thread.o ppc-ravenscar-thread.o"
495 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
496 # Target: NetBSD/powerpc
497 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-netbsd-tdep.o \
498 ravenscar-thread.o ppc-ravenscar-thread.o"
499 gdb_sim=../sim/ppc/libsim.a
502 # Target: OpenBSD/powerpc
503 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-obsd-tdep.o \
504 ravenscar-thread.o ppc-ravenscar-thread.o"
506 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
507 # Target: PowerPC running AIX
508 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
509 ppc-sysv-tdep.o solib-aix.o \
510 ravenscar-thread.o ppc-ravenscar-thread.o"
513 # Target: PowerPC running Linux
514 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
515 ppc64-tdep.o solib-svr4.o \
516 glibc-tdep.o symfile-mem.o linux-tdep.o \
517 ravenscar-thread.o ppc-ravenscar-thread.o \
519 arch/ppc-linux-common.o"
520 gdb_sim=../sim/ppc/libsim.a
523 # Target: PowerPC running Lynx178.
524 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
525 xcoffread.o ppc-sysv-tdep.o \
526 ravenscar-thread.o ppc-ravenscar-thread.o"
529 # Target: PowerPC running eabi
530 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
531 ravenscar-thread.o ppc-ravenscar-thread.o"
532 gdb_sim=../sim/ppc/libsim.a
536 # Target: S390 running Linux
537 gdb_target_obs="s390-linux-tdep.o s390-tdep.o solib-svr4.o \
538 linux-tdep.o linux-record.o symfile-mem.o"
542 # Target: FreeBSD/riscv
543 gdb_target_obs="riscv-fbsd-tdep.o"
547 # Target: Linux/RISC-V
548 gdb_target_obs="riscv-linux-tdep.o glibc-tdep.o \
549 linux-tdep.o solib-svr4.o symfile-mem.o linux-record.o"
553 # Target: RISC-V architecture
555 gdb_sim=../sim/riscv/libsim.a
559 # Target: Renesas rl78
560 gdb_target_obs="rl78-tdep.o"
561 gdb_sim=../sim/rl78/libsim.a
566 gdb_target_obs="rx-tdep.o"
567 gdb_sim=../sim/rx/libsim.a
571 # Target: S+core embedded system
572 gdb_target_obs="score-tdep.o"
576 # Target: GNU/Linux Super-H
577 gdb_target_obs="sh-tdep.o sh-linux-tdep.o \
578 solib-svr4.o symfile-mem.o \
579 glibc-tdep.o linux-tdep.o"
580 gdb_sim=../sim/sh/libsim.a
582 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
584 gdb_target_obs="sh-tdep.o sh-netbsd-tdep.o"
585 gdb_sim=../sim/sh/libsim.a
589 gdb_target_obs="sh-tdep.o sh-netbsd-tdep.o"
592 # Target: Embedded Renesas Super-H processor
593 gdb_target_obs="sh-tdep.o"
594 gdb_sim=../sim/sh/libsim.a
598 # Target: GNU/Linux SPARC
599 gdb_target_obs="sparc-tdep.o \
600 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
602 ravenscar-thread.o sparc-ravenscar-thread.o"
603 if test "x$enable_64_bit_bfd" = "xyes"; then
604 # Target: GNU/Linux UltraSPARC
605 gdb_target_obs="sparc64-tdep.o \
606 sparc64-linux-tdep.o ${gdb_target_obs}"
610 # Target: GNU/Linux UltraSPARC
611 gdb_target_obs="sparc64-tdep.o \
612 sparc64-linux-tdep.o sparc-tdep.o \
613 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
614 ravenscar-thread.o sparc-ravenscar-thread.o"
616 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
617 # Target: FreeBSD/sparc64
618 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64-fbsd-tdep.o \
619 ravenscar-thread.o sparc-ravenscar-thread.o"
621 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
622 # Target: NetBSD/sparc
623 gdb_target_obs="sparc-tdep.o sparc-netbsd-tdep.o \
624 ravenscar-thread.o sparc-ravenscar-thread.o"
626 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
627 # Target: NetBSD/sparc64
628 gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc-tdep.o \
629 sparc-netbsd-tdep.o \
630 ravenscar-thread.o sparc-ravenscar-thread.o"
633 # Target: OpenBSD/sparc
634 gdb_target_obs="sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \
635 netbsd-tdep.o bsd-uthread.o \
636 ravenscar-thread.o sparc-ravenscar-thread.o"
639 # Target: OpenBSD/sparc64
640 gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc64-obsd-tdep.o \
641 sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \
642 netbsd-tdep.o bsd-uthread.o \
643 ravenscar-thread.o sparc-ravenscar-thread.o"
645 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
646 # Target: Solaris UltraSPARC
647 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
648 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
649 ravenscar-thread.o sparc-ravenscar-thread.o"
653 gdb_target_obs="sparc-tdep.o \
654 ravenscar-thread.o sparc-ravenscar-thread.o"
655 gdb_sim=../sim/erc32/libsim.a
659 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
660 ravenscar-thread.o sparc-ravenscar-thread.o"
664 # Target: Freescale S12z
665 gdb_target_obs="s12z-tdep.o"
669 # Target: GNU/Linux TI C6x
670 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
671 glibc-tdep.o linux-tdep.o"
676 gdb_target_obs="tic6x-tdep.o"
681 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
682 symfile-mem.o glibc-tdep.o linux-tdep.o"
686 # Target: Sanyo Xstormy16a processor
687 gdb_target_obs="xstormy16-tdep.o"
688 # No simulator libraries are needed -- target uses SID.
692 gdb_target_obs="ft32-tdep.o"
693 gdb_sim=../sim/ft32/libsim.a
696 v850*-*-elf | v850*-*-rtems*)
697 # Target: NEC V850 processor
698 gdb_target_obs="v850-tdep.o"
699 gdb_sim=../sim/v850/libsim.a
702 vax-*-netbsd* | vax-*-knetbsd*-gnu)
704 gdb_target_obs="vax-tdep.o solib-svr4.o"
707 # Target: OpenBSD/vax
708 gdb_target_obs="vax-tdep.o"
712 gdb_target_obs="vax-tdep.o"
716 # Target: Darwin/x86-64
717 gdb_target_obs="${i386_tobjs} \
718 i386-darwin-tdep.o amd64-darwin-tdep.o \
723 # Target: DICOS/x86-64
724 gdb_target_obs="${i386_tobjs} \
725 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
728 gdb_target_obs="${i386_tobjs}"
731 # Target: GNU/Linux x86-64
732 gdb_target_obs="amd64-linux-tdep.o ${i386_tobjs} \
733 i386-linux-tdep.o glibc-tdep.o \
734 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
736 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
737 # Target: FreeBSD/amd64
738 gdb_target_obs="amd64-fbsd-tdep.o ${i386_tobjs} \
739 i386-bsd-tdep.o i386-fbsd-tdep.o"
741 x86_64-*-mingw* | x86_64-*-cygwin*)
742 # Target: MingW/amd64
743 gdb_target_obs="amd64-windows-tdep.o \
744 ${i386_tobjs} i386-windows-tdep.o \
747 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
748 # Target: NetBSD/amd64
749 gdb_target_obs="amd64-netbsd-tdep.o ${i386_tobjs}"
752 # Target: OpenBSD/amd64
753 gdb_target_obs="amd64-obsd-tdep.o ${i386_tobjs} \
754 i386-bsd-tdep.o i386-obsd-tdep.o \
758 gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
761 # Target: GNU/Linux Xtensa
762 gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"
766 gdb_target_obs="z80-tdep.o"
773 gdb_target_obs="${cpu_obs} ${os_obs} ${gdb_target_obs}"
775 # map target onto default OS ABI
778 *-*-freebsd* | *-*-kfreebsd*-gnu)
779 gdb_osabi=GDB_OSABI_FREEBSD ;;
780 *-*-linux* | *-*-uclinux*)
781 gdb_osabi=GDB_OSABI_LINUX ;;
782 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
783 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
784 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD ;;
785 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
786 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
787 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
788 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
789 *-*-mingw*) gdb_osabi=GDB_OSABI_WINDOWS ;;
790 *-*-cygwin*) gdb_osabi=GDB_OSABI_CYGWIN ;;
791 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
792 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
793 gdb_osabi=GDB_OSABI_AIX ;;
796 # Check whether this target supports gcore.
797 # Such target has to call set_gdbarch_find_memory_regions.
799 for t in x ${gdb_target_obs}; do
800 if test "$t" = linux-tdep.o; then