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* | \
20 alpha*-*-kfreebsd*-gnu | \
35 echo "*** Configuration $targ is obsolete." >&2
36 echo "*** Support has been REMOVED." >&2
41 x86_tobjs="x86-tdep.o"
42 i386_tobjs="i386-tdep.o arch/i386.o i387-tdep.o ${x86_tobjs}"
43 amd64_tobjs="ravenscar-thread.o amd64-ravenscar-thread.o \
44 amd64-tdep.o arch/amd64.o ${x86_tobjs}"
46 # Here are three sections to get a list of target specific object
47 # files according to target triplet $TARG.
49 # 1. Get the objects per cpu in $TARG.
53 cpu_obs="aarch32-tdep.o aarch64-tdep.o arch/aarch32.o \
54 arch/aarch64-insn.o arch/aarch64.o ravenscar-thread.o \
55 aarch64-ravenscar-thread.o";;
59 cpu_obs="alpha-tdep.o"
63 # Target: Unidentified ARC target
64 cpu_obs="arc-tdep.o arch/arc.o"
68 cpu_obs="aarch32-tdep.o arch/aarch32.o arch/arm.o \
69 arch/arm-get-next-pcs.o arm-tdep.o arm-none-tdep.o"
78 cpu_obs="${i386_tobjs}"
79 if test "x$enable_64_bit_bfd" = "xyes"; then
80 cpu_obs="${amd64_tobjs} ${cpu_obs}"
90 cpu_obs="riscv-tdep.o riscv-none-tdep.o arch/riscv.o \
91 ravenscar-thread.o riscv-ravenscar-thread.o";;
94 cpu_obs="${i386_tobjs} ${amd64_tobjs}";;
97 # Target: Tensilica Xtensa processors
98 cpu_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
103 # 2. Get the objects per os in $TARG.
106 *-*-freebsd* | *-*-kfreebsd*-gnu)
107 os_obs="fbsd-tdep.o solib-svr4.o";;
108 *-*-netbsd* | *-*-knetbsd*-gnu)
109 os_obs="netbsd-tdep.o solib-svr4.o";;
111 os_obs="obsd-tdep.o solib-svr4.o";;
114 # 3. Get the rest of objects.
117 aarch64*-*-elf | aarch64*-*-rtems*)
118 # Target: AArch64 embedded system
119 gdb_target_obs="aarch64-newlib-tdep.o"
123 # Target: FreeBSD/aarch64
124 gdb_target_obs="aarch64-fbsd-tdep.o"
128 # Target: AArch64 linux
129 gdb_target_obs="aarch64-linux-tdep.o arch/aarch64.o\
130 arch/aarch64-mte-linux.o \
131 arch/arm.o arch/arm-linux.o arch/arm-get-next-pcs.o \
132 arm-tdep.o arm-linux-tdep.o \
133 glibc-tdep.o linux-tdep.o solib-svr4.o \
134 symfile-mem.o linux-record.o"
138 # Target: Little-endian Alpha running Linux
139 gdb_target_obs="alpha-mdebug-tdep.o alpha-linux-tdep.o \
140 linux-tdep.o solib-svr4.o"
142 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
143 # Target: NetBSD/alpha
144 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
148 # Target: OpenBSD/alpha
149 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
150 alpha-netbsd-tdep.o alpha-obsd-tdep.o netbsd-tdep.o"
154 # Target: Matsushita mn10300 (AM33) running Linux
155 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
160 # Target: baremetal ARC elf32 (newlib) target
161 gdb_target_obs="arc-newlib-tdep.o"
165 # Target: ARC machine running Linux
166 gdb_target_obs="arc-linux-tdep.o linux-tdep.o solib-svr4.o"
169 arm*-wince-pe | arm*-*-mingw32ce*)
170 # Target: ARM based machine running Windows CE (win32)
171 gdb_target_obs="arm-wince-tdep.o windows-tdep.o"
174 # Target: ARM based machine running GNU/Linux
175 gdb_target_obs="arch/arm-linux.o arm-linux-tdep.o glibc-tdep.o \
176 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
179 # Target: FreeBSD/arm
180 gdb_target_obs="arm-fbsd-tdep.o"
182 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
184 gdb_target_obs="arm-netbsd-tdep.o"
187 # Target: OpenBSD/arm
188 gdb_target_obs="arm-bsd-tdep.o arm-obsd-tdep.o"
191 # Target: ARM embedded system
192 gdb_target_obs="arm-pikeos-tdep.o"
197 gdb_target_obs="avr-tdep.o"
201 # Target: Blackfin Linux
202 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
205 # Target: Blackfin processor
206 gdb_target_obs="bfin-tdep.o"
211 gdb_target_obs="bpf-tdep.o"
216 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
220 # Target: CSKY running GNU/Linux
221 gdb_target_obs="csky-tdep.o csky-linux-tdep.o glibc-tdep.o \
222 linux-tdep.o solib-svr4.o"
226 # Target: CSKY bare metal
227 gdb_target_obs="csky-tdep.o"
231 # Target: Fujitsu FRV processor
232 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
235 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
236 gdb_target_obs="moxie-tdep.o"
240 # Target: H8300 processor
241 gdb_target_obs="h8300-tdep.o"
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-netbsd-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-netbsd-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"
287 i[34567]86-*-solaris2* | x86_64-*-solaris2*)
288 # Target: Solaris x86_64
289 gdb_target_obs="${i386_tobjs} ${amd64_tobjs} \
290 amd64-sol2-tdep.o i386-sol2-tdep.o sol2-tdep.o \
294 # Target: Intel 386 running GNU/Linux
295 gdb_target_obs="i386-linux-tdep.o \
297 solib-svr4.o symfile-mem.o \
298 linux-tdep.o linux-record.o"
299 if test "x$enable_64_bit_bfd" = "xyes"; then
300 # Target: GNU/Linux x86-64
301 gdb_target_obs="amd64-linux-tdep.o ${gdb_target_obs}"
305 # Target: Intel 386 running the GNU Hurd
306 gdb_target_obs="i386-gnu-tdep.o solib-svr4.o"
308 i[34567]86-*-cygwin*)
309 # Target: Intel 386 running win32
310 gdb_target_obs="i386-windows-tdep.o windows-tdep.o"
312 i[34567]86-*-mingw32*)
313 # Target: Intel 386 running win32
314 gdb_target_obs="i386-windows-tdep.o windows-tdep.o"
316 i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*)
317 # Target: i386 running DJGPP/go32.
318 gdb_target_obs="i386-go32-tdep.o"
322 # Target: Intel IA-64 running GNU/Linux
323 gdb_target_obs="ia64-linux-tdep.o linux-tdep.o \
324 solib-svr4.o symfile-mem.o"
327 # Target: Intel IA-64 running OpenVMS
328 gdb_target_obs="ia64-vms-tdep.o"
332 gdb_target_obs="iq2000-tdep.o"
336 gdb_target_obs="lm32-tdep.o"
340 # Target: Renesas M32C family
341 gdb_target_obs="m32c-tdep.o"
345 # Target: Renesas M32R running GNU/Linux
346 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
347 glibc-tdep.o solib-svr4.o symfile-mem.o \
351 # Target: Renesas m32r processor
352 gdb_target_obs="m32r-tdep.o"
355 m68hc11*-*-*|m6811*-*-*)
356 # Target: Motorola 68HC11 processor
357 gdb_target_obs="m68hc11-tdep.o"
360 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
362 # Target: Motorola m68k embedded
363 gdb_target_obs="m68k-tdep.o"
366 # Target: Motorola m68k with a.out and ELF
367 gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
368 linux-tdep.o glibc-tdep.o symfile-mem.o"
370 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
371 # Target: NetBSD/m68k
372 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
375 # Target: OpenBSD/m68k
376 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
380 # Target: Toshiba Media Processor (MEP)
381 gdb_target_obs="mep-tdep.o"
382 # No sim needed. Target uses SID.
385 microblaze*-linux-*|microblaze*-*-linux*)
386 # Target: Xilinx MicroBlaze running Linux
387 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
388 symfile-mem.o linux-tdep.o"
391 # Target: Xilinx MicroBlaze running standalone
392 gdb_target_obs="microblaze-tdep.o"
397 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
398 solib-svr4.o symfile-mem.o linux-tdep.o"
400 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
401 # Target: MIPS running NetBSD
402 gdb_target_obs="mips-tdep.o mips-netbsd-tdep.o"
405 # Target: MIPS running FreeBSD
406 gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o"
409 # Target: OpenBSD/mips64
410 gdb_target_obs="mips-tdep.o mips64-obsd-tdep.o"
414 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
418 gdb_target_obs="mips-tdep.o"
422 gdb_target_obs="mips-tdep.o"
426 # Target: Matsushita mn10300
427 gdb_target_obs="mn10300-tdep.o"
431 gdb_target_obs="msp430-tdep.o"
435 # Target: AndesTech NDS32 core
436 gdb_target_obs="nds32-tdep.o"
440 # Target: Altera Nios II running Linux
441 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
442 symfile-mem.o glibc-tdep.o linux-tdep.o"
446 # Target: Altera Nios II bare-metal
447 gdb_target_obs="nios2-tdep.o"
451 # Target: OpenCores OpenRISC 1000 32-bit running Linux
452 gdb_target_obs="or1k-tdep.o or1k-linux-tdep.o solib-svr4.o \
453 symfile-mem.o glibc-tdep.o linux-tdep.o"
456 or1k-*-* | or1knd-*-*)
457 # Target: OpenCores OpenRISC 1000 32-bit implementation bare metal
458 gdb_target_obs="or1k-tdep.o"
462 # Target: FreeBSD/powerpc
463 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
465 ravenscar-thread.o ppc-ravenscar-thread.o"
468 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
469 # Target: NetBSD/powerpc
470 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-netbsd-tdep.o \
471 ravenscar-thread.o ppc-ravenscar-thread.o"
474 # Target: OpenBSD/powerpc
475 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-obsd-tdep.o \
476 ravenscar-thread.o ppc-ravenscar-thread.o"
478 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
479 # Target: PowerPC running AIX
480 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
481 ppc-sysv-tdep.o solib-aix.o \
482 ravenscar-thread.o ppc-ravenscar-thread.o"
485 # Target: PowerPC running Linux
486 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
487 ppc64-tdep.o solib-svr4.o \
488 glibc-tdep.o symfile-mem.o linux-tdep.o \
489 ravenscar-thread.o ppc-ravenscar-thread.o \
491 arch/ppc-linux-common.o"
494 # Target: PowerPC running Lynx178.
495 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
496 xcoffread.o ppc-sysv-tdep.o \
497 ravenscar-thread.o ppc-ravenscar-thread.o"
500 # Target: PowerPC running eabi
501 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
502 ravenscar-thread.o ppc-ravenscar-thread.o"
506 # Target: S390 running Linux
507 gdb_target_obs="s390-linux-tdep.o s390-tdep.o solib-svr4.o \
508 linux-tdep.o linux-record.o symfile-mem.o"
512 # Target: FreeBSD/riscv
513 gdb_target_obs="riscv-fbsd-tdep.o"
517 # Target: Linux/RISC-V
518 gdb_target_obs="riscv-linux-tdep.o glibc-tdep.o \
519 linux-tdep.o solib-svr4.o symfile-mem.o linux-record.o"
523 # Target: RISC-V architecture
528 # Target: Renesas rl78
529 gdb_target_obs="rl78-tdep.o"
534 gdb_target_obs="rx-tdep.o"
538 # Target: S+core embedded system
539 gdb_target_obs="score-tdep.o"
543 # Target: GNU/Linux Super-H
544 gdb_target_obs="sh-tdep.o sh-linux-tdep.o \
545 solib-svr4.o symfile-mem.o \
546 glibc-tdep.o linux-tdep.o"
548 sh*-*-netbsd* | sh*-*-knetbsd*-gnu)
550 gdb_target_obs="sh-tdep.o sh-netbsd-tdep.o"
554 gdb_target_obs="sh-tdep.o sh-netbsd-tdep.o"
557 # Target: Embedded Renesas Super-H processor
558 gdb_target_obs="sh-tdep.o"
562 # Target: GNU/Linux SPARC
563 gdb_target_obs="sparc-tdep.o \
564 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
566 ravenscar-thread.o sparc-ravenscar-thread.o"
567 if test "x$enable_64_bit_bfd" = "xyes"; then
568 # Target: GNU/Linux UltraSPARC
569 gdb_target_obs="sparc64-tdep.o \
570 sparc64-linux-tdep.o ${gdb_target_obs}"
574 # Target: GNU/Linux UltraSPARC
575 gdb_target_obs="sparc64-tdep.o \
576 sparc64-linux-tdep.o sparc-tdep.o \
577 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
578 ravenscar-thread.o sparc-ravenscar-thread.o"
580 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
581 # Target: FreeBSD/sparc64
582 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64-fbsd-tdep.o \
583 ravenscar-thread.o sparc-ravenscar-thread.o"
585 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
586 # Target: NetBSD/sparc
587 gdb_target_obs="sparc-tdep.o sparc-netbsd-tdep.o \
588 ravenscar-thread.o sparc-ravenscar-thread.o"
590 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
591 # Target: NetBSD/sparc64
592 gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc-tdep.o \
593 sparc-netbsd-tdep.o \
594 ravenscar-thread.o sparc-ravenscar-thread.o"
597 # Target: OpenBSD/sparc
598 gdb_target_obs="sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \
599 netbsd-tdep.o bsd-uthread.o \
600 ravenscar-thread.o sparc-ravenscar-thread.o"
603 # Target: OpenBSD/sparc64
604 gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc64-obsd-tdep.o \
605 sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \
606 netbsd-tdep.o bsd-uthread.o \
607 ravenscar-thread.o sparc-ravenscar-thread.o"
609 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
610 # Target: Solaris UltraSPARC
611 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
612 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
613 ravenscar-thread.o sparc-ravenscar-thread.o"
617 gdb_target_obs="sparc-tdep.o \
618 ravenscar-thread.o sparc-ravenscar-thread.o"
622 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
623 ravenscar-thread.o sparc-ravenscar-thread.o"
627 # Target: Freescale S12z
628 gdb_target_obs="s12z-tdep.o"
632 # Target: GNU/Linux TI C6x
633 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
634 glibc-tdep.o linux-tdep.o"
639 gdb_target_obs="tic6x-tdep.o"
644 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
645 symfile-mem.o glibc-tdep.o linux-tdep.o"
649 # Target: Sanyo Xstormy16a processor
650 gdb_target_obs="xstormy16-tdep.o"
651 # No simulator libraries are needed -- target uses SID.
655 gdb_target_obs="ft32-tdep.o"
658 v850*-*-elf | v850*-*-rtems*)
659 # Target: NEC V850 processor
660 gdb_target_obs="v850-tdep.o"
663 vax-*-netbsd* | vax-*-knetbsd*-gnu)
665 gdb_target_obs="vax-tdep.o solib-svr4.o"
668 # Target: OpenBSD/vax
669 gdb_target_obs="vax-tdep.o"
673 gdb_target_obs="vax-tdep.o"
677 # Target: Darwin/x86-64
678 gdb_target_obs="${i386_tobjs} \
679 i386-darwin-tdep.o amd64-darwin-tdep.o \
684 # Target: DICOS/x86-64
685 gdb_target_obs="${i386_tobjs} \
686 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
689 gdb_target_obs="${i386_tobjs}"
692 # Target: GNU/Linux x86-64
693 gdb_target_obs="amd64-linux-tdep.o ${i386_tobjs} \
694 i386-linux-tdep.o glibc-tdep.o \
695 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
697 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
698 # Target: FreeBSD/amd64
699 gdb_target_obs="amd64-fbsd-tdep.o ${i386_tobjs} \
700 i386-bsd-tdep.o i386-fbsd-tdep.o"
702 x86_64-*-mingw* | x86_64-*-cygwin*)
703 # Target: MingW/amd64
704 gdb_target_obs="amd64-windows-tdep.o \
705 ${i386_tobjs} i386-windows-tdep.o \
708 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
709 # Target: NetBSD/amd64
710 gdb_target_obs="amd64-netbsd-tdep.o ${i386_tobjs}"
713 # Target: OpenBSD/amd64
714 gdb_target_obs="amd64-obsd-tdep.o ${i386_tobjs} \
715 i386-bsd-tdep.o i386-obsd-tdep.o \
719 gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
722 # Target: GNU/Linux Xtensa
723 gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"
727 gdb_target_obs="z80-tdep.o"
734 gdb_target_obs="${cpu_obs} ${os_obs} ${gdb_target_obs}"
736 # Get the sim settings.
737 # NB: Target matching is aligned with sim/configure.ac. Changes must be kept
738 # in sync with that file.
741 aarch64*-*-*) gdb_sim=aarch64 ;;
742 arm*-*-*) gdb_sim=arm ;;
743 avr*-*-*) gdb_sim=avr ;;
744 bfin-*-*) gdb_sim=bfin ;;
745 bpf-*-*) gdb_sim=bpf ;;
746 cris-*-*|cris32-*-*) gdb_sim=cris ;;
747 frv-*-*) gdb_sim=frv ;;
748 ft32-*-*) gdb_sim=ft32 ;;
749 h8300*-*-*) gdb_sim=h8300 ;;
750 iq2000-*-*) gdb_sim=iq2000 ;;
751 lm32-*-*) gdb_sim=lm32 ;;
752 m32c-*-*) gdb_sim=m32c ;;
753 m32r-*-*) gdb_sim=m32r ;;
754 m68hc11-*-*|m6811-*-*) gdb_sim=m68hc11 ;;
755 microblaze*-*-*) gdb_sim=microblaze ;;
756 mips*-*-*) gdb_sim=mips ;;
757 mn10300*-*-*) gdb_sim=mn10300 ;;
758 moxie-*-*) gdb_sim=moxie ;;
759 msp430*-*-*) gdb_sim=msp430 ;;
760 or1k*-*-*) gdb_sim=or1k ;;
761 powerpc*-*-*) gdb_sim=ppc ;;
762 riscv*-*-*) gdb_sim=riscv ;;
763 rl78-*-*) gdb_sim=rl78 ;;
764 rx-*-*) gdb_sim=rx ;;
765 sh*-*-*) gdb_sim=sh ;;
766 sparc-*-*) gdb_sim=erc32 ;;
767 v850*-*-*) gdb_sim=v850 ;;
769 if test "x$gdb_sim" != "x"; then
770 gdb_sim="../sim/${gdb_sim}/libsim.a"
773 # map target onto default OS ABI
776 *-*-freebsd* | *-*-kfreebsd*-gnu)
777 gdb_osabi=GDB_OSABI_FREEBSD ;;
778 *-*-linux* | *-*-uclinux*)
779 gdb_osabi=GDB_OSABI_LINUX ;;
780 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
781 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
782 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD ;;
783 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
784 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
785 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
786 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
787 *-*-mingw*) gdb_osabi=GDB_OSABI_WINDOWS ;;
788 *-*-cygwin*) gdb_osabi=GDB_OSABI_CYGWIN ;;
789 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
790 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
791 gdb_osabi=GDB_OSABI_AIX ;;
794 # Check whether this target supports gcore.
795 # Such target has to call set_gdbarch_find_memory_regions.
797 for t in x ${gdb_target_obs}; do
798 if test "$t" = linux-tdep.o; then