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="aarch64-tdep.o arch/aarch64-insn.o arch/aarch64.o";;
55 cpu_obs="alpha-tdep.o"
59 # Target: Unidentified ARC target
64 cpu_obs="arch/arm.o arch/arm-get-next-pcs.o arm-tdep.o";;
72 cpu_obs="${i386_tobjs}"
73 if test "x$enable_64_bit_bfd" = "xyes"; then
74 cpu_obs="${amd64_tobjs} ${cpu_obs}"
84 cpu_obs="${i386_tobjs} ${amd64_tobjs}";;
87 # Target: Tensilica Xtensa processors
88 cpu_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
93 # 2. Get the objects per os in $TARG.
96 *-*-freebsd* | *-*-kfreebsd*-gnu)
97 os_obs="fbsd-tdep.o solib-svr4.o";;
98 *-*-netbsd* | *-*-knetbsd*-gnu)
99 os_obs="nbsd-tdep.o solib-svr4.o";;
101 os_obs="obsd-tdep.o solib-svr4.o";;
104 # 3. Get the rest of objects.
107 aarch64*-*-elf | aarch64*-*-rtems*)
108 # Target: AArch64 embedded system
109 gdb_target_obs="aarch64-newlib-tdep.o"
113 # Target: FreeBSD/aarch64
114 gdb_target_obs="aarch64-fbsd-tdep.o"
118 # Target: AArch64 linux
119 gdb_target_obs="aarch64-linux-tdep.o arch/aarch64.o\
120 arch/arm.o arch/arm-linux.o arch/arm-get-next-pcs.o \
121 arm-tdep.o arm-linux-tdep.o \
122 glibc-tdep.o linux-tdep.o solib-svr4.o \
123 symfile-mem.o linux-record.o"
128 # Target: Little-endian Alpha running Linux
129 gdb_target_obs="alpha-mdebug-tdep.o alpha-linux-tdep.o \
130 linux-tdep.o solib-svr4.o"
132 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
133 # Target: NetBSD/alpha
134 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
138 # Target: OpenBSD/alpha
139 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
140 alpha-nbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o"
144 # Target: Matsushita mn10300 (AM33) running Linux
145 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
150 # Target: baremetal ARC elf32 (newlib) target
151 gdb_target_obs="arc-newlib-tdep.o"
154 arm*-wince-pe | arm*-*-mingw32ce*)
155 # Target: ARM based machine running Windows CE (win32)
156 gdb_target_obs="arm-wince-tdep.o windows-tdep.o"
160 # Target: ARM based machine running GNU/Linux
161 gdb_target_obs="arch/arm-linux.o arm-linux-tdep.o glibc-tdep.o \
162 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
166 # Target: FreeBSD/arm
167 gdb_target_obs="arm-fbsd-tdep.o"
169 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
171 gdb_target_obs="arm-nbsd-tdep.o"
174 # Target: OpenBSD/arm
175 gdb_target_obs="arm-bsd-tdep.o arm-obsd-tdep.o"
178 # Target: SymbianOS/arm
179 gdb_target_obs="arm-symbian-tdep.o"
182 # Target: ARM embedded system
183 gdb_sim=../sim/arm/libsim.a
188 gdb_target_obs="avr-tdep.o"
189 gdb_sim=../sim/avr/libsim.a
193 # Target: Blackfin Linux
194 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
195 gdb_sim=../sim/bfin/libsim.a
199 # Target: Blackfin processor
200 gdb_target_obs="bfin-tdep.o"
201 gdb_sim=../sim/bfin/libsim.a
206 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
210 # Target: CSKY running GNU/Linux
211 gdb_target_obs="csky-tdep.o csky-linux-tdep.o glibc-tdep.o \
212 linux-tdep.o solib-svr4.o"
216 # Target: CSKY bare metal
217 gdb_target_obs="csky-tdep.o"
221 # Target: Fujitsu FRV processor
222 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
223 gdb_sim=../sim/frv/libsim.a
226 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
227 gdb_target_obs="moxie-tdep.o"
228 gdb_sim=../sim/moxie/libsim.a
232 # Target: H8300 processor
233 gdb_target_obs="h8300-tdep.o"
234 gdb_sim=../sim/h8300/libsim.a
238 # Target: HP PA-RISC running Linux
239 gdb_target_obs="hppa-linux-tdep.o glibc-tdep.o \
240 linux-tdep.o solib-svr4.o symfile-mem.o"
243 # Target: NetBSD/hppa
244 gdb_target_obs="hppa-bsd-tdep.o hppa-nbsd-tdep.o solib-svr4.o"
247 # Target: OpenBSD/hppa
248 gdb_target_obs="hppa-bsd-tdep.o hppa-obsd-tdep.o solib-svr4.o"
251 i[34567]86-*-darwin*)
252 # Target: Darwin/i386
253 gdb_target_obs="i386-darwin-tdep.o solib-darwin.o"
254 if test "x$enable_64_bit_bfd" = "xyes"; then
255 # Target: GNU/Linux x86-64
256 gdb_target_obs="amd64-darwin-tdep.o ${gdb_target_obs}"
261 gdb_target_obs="dicos-tdep.o i386-dicos-tdep.o"
263 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
264 # Target: FreeBSD/i386
265 gdb_target_obs="i386-bsd-tdep.o i386-fbsd-tdep.o "
267 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
268 # Target: NetBSD/i386
269 gdb_target_obs="i386-bsd-tdep.o i386-nbsd-tdep.o "
271 i[34567]86-*-openbsd*)
272 # Target: OpenBSD/i386
273 gdb_target_obs="i386-bsd-tdep.o i386-obsd-tdep.o bsd-uthread.o"
276 # Target: Intel 386 running qnx6.
277 gdb_target_obs="solib-svr4.o \
278 i386-nto-tdep.o nto-tdep.o"
281 i[34567]86-*-solaris2* | x86_64-*-solaris2*)
282 # Target: Solaris x86_64
283 gdb_target_obs="${i386_tobjs} ${amd64_tobjs} \
284 amd64-sol2-tdep.o i386-sol2-tdep.o sol2-tdep.o \
288 # Target: Intel 386 running GNU/Linux
289 gdb_target_obs="i386-linux-tdep.o \
291 solib-svr4.o symfile-mem.o \
292 linux-tdep.o linux-record.o"
293 if test "x$enable_64_bit_bfd" = "xyes"; then
294 # Target: GNU/Linux x86-64
295 gdb_target_obs="amd64-linux-tdep.o ${gdb_target_obs}"
300 # Target: Intel 386 running the GNU Hurd
301 gdb_target_obs="i386-gnu-tdep.o solib-svr4.o"
303 i[34567]86-*-cygwin*)
304 # Target: Intel 386 running win32
305 gdb_target_obs="i386-cygwin-tdep.o windows-tdep.o"
308 i[34567]86-*-mingw32*)
309 # Target: Intel 386 running win32
310 gdb_target_obs="i386-cygwin-tdep.o windows-tdep.o"
313 i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*)
314 # Target: i386 running DJGPP/go32.
315 gdb_target_obs="i386-go32-tdep.o"
319 # Target: Intel IA-64 running GNU/Linux
320 gdb_target_obs="ia64-linux-tdep.o linux-tdep.o \
321 solib-svr4.o symfile-mem.o"
325 # Target: Intel IA-64 running OpenVMS
326 gdb_target_obs="ia64-vms-tdep.o"
330 gdb_target_obs="iq2000-tdep.o"
331 gdb_sim=../sim/iq2000/libsim.a
335 gdb_target_obs="lm32-tdep.o"
336 gdb_sim=../sim/lm32/libsim.a
340 # Target: Renesas M32C family
341 gdb_target_obs="m32c-tdep.o"
342 # There may also be a SID / CGEN simulator for this,
343 # but we do have DJ Delorie's mini-sim.
344 gdb_sim=../sim/m32c/libsim.a
348 # Target: Renesas M32R running GNU/Linux
349 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
350 glibc-tdep.o solib-svr4.o symfile-mem.o \
352 gdb_sim=../sim/m32r/libsim.a
356 # Target: Renesas m32r processor
357 gdb_target_obs="m32r-tdep.o"
358 gdb_sim=../sim/m32r/libsim.a
361 m68hc11*-*-*|m6811*-*-*)
362 # Target: Motorola 68HC11 processor
363 gdb_target_obs="m68hc11-tdep.o"
364 gdb_sim=../sim/m68hc11/libsim.a
367 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
369 # Target: Motorola m68k embedded
370 gdb_target_obs="m68k-tdep.o"
373 # Target: Motorola m68k with a.out and ELF
374 gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
375 linux-tdep.o glibc-tdep.o symfile-mem.o"
378 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
379 # Target: NetBSD/m68k
380 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
383 # Target: OpenBSD/m68k
384 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
388 # Target: Toshiba Media Processor (MEP)
389 gdb_target_obs="mep-tdep.o"
390 # No sim needed. Target uses SID.
393 microblaze*-linux-*|microblaze*-*-linux*)
394 # Target: Xilinx MicroBlaze running Linux
395 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
396 symfile-mem.o linux-tdep.o"
397 gdb_sim=../sim/microblaze/libsim.a
400 # Target: Xilinx MicroBlaze running standalone
401 gdb_target_obs="microblaze-tdep.o"
402 gdb_sim=../sim/microblaze/libsim.a
407 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
408 solib-svr4.o symfile-mem.o linux-tdep.o"
409 gdb_sim=../sim/mips/libsim.a
412 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
413 # Target: MIPS running NetBSD
414 gdb_target_obs="mips-tdep.o mips-nbsd-tdep.o"
415 gdb_sim=../sim/mips/libsim.a
418 # Target: MIPS running FreeBSD
419 gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o"
420 gdb_sim=../sim/mips/libsim.a
423 # Target: OpenBSD/mips64
424 gdb_target_obs="mips-tdep.o mips64-obsd-tdep.o"
428 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
429 gdb_sim=../sim/mips/libsim.a
433 gdb_target_obs="mips-tdep.o"
434 gdb_sim=../sim/mips/libsim.a
438 gdb_target_obs="mips-tdep.o"
439 gdb_sim=../sim/mips/libsim.a
443 # Target: Matsushita mn10300
444 gdb_target_obs="mn10300-tdep.o"
445 gdb_sim=../sim/mn10300/libsim.a
449 gdb_target_obs="msp430-tdep.o"
450 gdb_sim=../sim/msp430/libsim.a
454 # Target: AndesTech NDS32 core
455 gdb_target_obs="nds32-tdep.o"
459 # Target: Altera Nios II running Linux
460 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
461 symfile-mem.o glibc-tdep.o linux-tdep.o"
465 # Target: Altera Nios II bare-metal
466 gdb_target_obs="nios2-tdep.o"
469 or1k-*-* | or1knd-*-*)
470 # Target: OpenCores OpenRISC 1000 32-bit implementation bare metal
471 gdb_target_obs="or1k-tdep.o"
472 gdb_sim=../sim/or1k/libsim.a
476 # Target: FreeBSD/powerpc
477 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
479 ravenscar-thread.o ppc-ravenscar-thread.o"
482 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
483 # Target: NetBSD/powerpc
484 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-nbsd-tdep.o \
485 ravenscar-thread.o ppc-ravenscar-thread.o"
486 gdb_sim=../sim/ppc/libsim.a
489 # Target: OpenBSD/powerpc
490 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-obsd-tdep.o \
491 ravenscar-thread.o ppc-ravenscar-thread.o"
493 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
494 # Target: PowerPC running AIX
495 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
496 ppc-sysv-tdep.o solib-aix.o \
497 ravenscar-thread.o ppc-ravenscar-thread.o"
500 # Target: PowerPC running Linux
501 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
502 ppc64-tdep.o solib-svr4.o solib-spu.o \
504 glibc-tdep.o symfile-mem.o linux-tdep.o \
505 ravenscar-thread.o ppc-ravenscar-thread.o \
507 arch/ppc-linux-common.o"
508 gdb_sim=../sim/ppc/libsim.a
512 # Target: PowerPC running Lynx178.
513 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
514 xcoffread.o ppc-sysv-tdep.o \
515 ravenscar-thread.o ppc-ravenscar-thread.o"
518 # Target: PowerPC running eabi
519 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
520 ravenscar-thread.o ppc-ravenscar-thread.o"
521 gdb_sim=../sim/ppc/libsim.a
525 # Target: S390 running Linux
526 gdb_target_obs="s390-linux-tdep.o s390-tdep.o solib-svr4.o \
527 linux-tdep.o linux-record.o symfile-mem.o"
532 # Target: Linux/RISC-V
533 gdb_target_obs="riscv-linux-tdep.o riscv-tdep.o glibc-tdep.o \
534 linux-tdep.o solib-svr4.o symfile-mem.o linux-record.o"
538 # Target: RISC-V architecture
539 gdb_target_obs="riscv-tdep.o"
543 # Target: Renesas rl78
544 gdb_target_obs="rl78-tdep.o"
545 gdb_sim=../sim/rl78/libsim.a
550 gdb_target_obs="rx-tdep.o"
551 gdb_sim=../sim/rx/libsim.a
555 # Target: S+core embedded system
556 gdb_target_obs="score-tdep.o"
561 # Target: GNU/Linux Super-H
562 gdb_target_obs="sh-tdep.o sh-linux-tdep.o \
563 solib-svr4.o symfile-mem.o \
564 glibc-tdep.o linux-tdep.o"
565 gdb_sim=../sim/sh/libsim.a
568 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
570 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
571 gdb_sim=../sim/sh/libsim.a
575 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
578 # Target: Embedded Renesas Super-H processor
579 gdb_target_obs="sh-tdep.o"
580 gdb_sim=../sim/sh/libsim.a
584 # Target: GNU/Linux SPARC
585 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
586 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
588 ravenscar-thread.o sparc-ravenscar-thread.o"
589 if test "x$enable_64_bit_bfd" = "xyes"; then
590 # Target: GNU/Linux UltraSPARC
591 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
592 sparc64-linux-tdep.o ${gdb_target_obs}"
597 # Target: GNU/Linux UltraSPARC
598 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
599 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
600 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
601 ravenscar-thread.o sparc-ravenscar-thread.o"
604 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
605 # Target: FreeBSD/sparc64
606 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64-fbsd-tdep.o \
607 ravenscar-thread.o sparc-ravenscar-thread.o"
609 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
610 # Target: NetBSD/sparc
611 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o \
612 ravenscar-thread.o sparc-ravenscar-thread.o"
614 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
615 # Target: NetBSD/sparc64
616 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc-tdep.o \
618 ravenscar-thread.o sparc-ravenscar-thread.o"
621 # Target: OpenBSD/sparc
622 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
623 nbsd-tdep.o bsd-uthread.o \
624 ravenscar-thread.o sparc-ravenscar-thread.o"
627 # Target: OpenBSD/sparc64
628 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc64-obsd-tdep.o \
629 sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
630 nbsd-tdep.o bsd-uthread.o \
631 ravenscar-thread.o sparc-ravenscar-thread.o"
633 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
634 # Target: Solaris UltraSPARC
635 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
636 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
637 ravenscar-thread.o sparc-ravenscar-thread.o"
641 gdb_target_obs="sparc-tdep.o \
642 ravenscar-thread.o sparc-ravenscar-thread.o"
643 gdb_sim=../sim/erc32/libsim.a
647 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
648 ravenscar-thread.o sparc-ravenscar-thread.o"
652 # Target: Cell BE SPU
653 gdb_target_obs="spu-tdep.o"
658 # Target: GNU/Linux TI C6x
659 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
660 glibc-tdep.o linux-tdep.o"
665 gdb_target_obs="tic6x-tdep.o"
670 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
671 symfile-mem.o glibc-tdep.o linux-tdep.o"
676 # Target: Sanyo Xstormy16a processor
677 gdb_target_obs="xstormy16-tdep.o"
678 # No simulator libraries are needed -- target uses SID.
682 gdb_target_obs="ft32-tdep.o"
683 gdb_sim=../sim/ft32/libsim.a
686 v850*-*-elf | v850*-*-rtems*)
687 # Target: NEC V850 processor
688 gdb_target_obs="v850-tdep.o"
689 gdb_sim=../sim/v850/libsim.a
692 vax-*-netbsd* | vax-*-knetbsd*-gnu)
694 gdb_target_obs="vax-tdep.o solib-svr4.o"
697 # Target: OpenBSD/vax
698 gdb_target_obs="vax-tdep.o"
702 gdb_target_obs="vax-tdep.o"
706 # Target: Darwin/x86-64
707 gdb_target_obs="${i386_tobjs} \
708 i386-darwin-tdep.o amd64-darwin-tdep.o \
713 # Target: DICOS/x86-64
714 gdb_target_obs="${i386_tobjs} \
715 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
718 gdb_target_obs="${i386_tobjs}"
721 # Target: GNU/Linux x86-64
722 gdb_target_obs="amd64-linux-tdep.o ${i386_tobjs} \
723 i386-linux-tdep.o glibc-tdep.o \
724 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
727 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
728 # Target: FreeBSD/amd64
729 gdb_target_obs="amd64-fbsd-tdep.o ${i386_tobjs} \
730 i386-bsd-tdep.o i386-fbsd-tdep.o"
732 x86_64-*-mingw* | x86_64-*-cygwin*)
733 # Target: MingW/amd64
734 gdb_target_obs="amd64-windows-tdep.o \
735 ${i386_tobjs} i386-cygwin-tdep.o \
739 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
740 # Target: NetBSD/amd64
741 gdb_target_obs="amd64-nbsd-tdep.o ${i386_tobjs}"
744 # Target: OpenBSD/amd64
745 gdb_target_obs="amd64-obsd-tdep.o ${i386_tobjs} \
746 i386-bsd-tdep.o i386-obsd-tdep.o \
750 gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
753 # Target: GNU/Linux Xtensa
754 gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"
762 gdb_target_obs="${cpu_obs} ${os_obs} ${gdb_target_obs}"
764 # map target onto default OS ABI
767 *-*-freebsd* | *-*-kfreebsd*-gnu)
768 gdb_osabi=GDB_OSABI_FREEBSD ;;
769 *-*-linux* | *-*-uclinux*)
770 gdb_osabi=GDB_OSABI_LINUX ;;
771 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
772 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
773 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD ;;
774 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
775 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
776 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
777 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
778 *-*-mingw* | *-*-cygwin*)
779 gdb_osabi=GDB_OSABI_CYGWIN ;;
780 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
782 gdb_osabi=GDB_OSABI_SYMBIAN ;;
783 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
784 gdb_osabi=GDB_OSABI_AIX ;;
787 # Check whether this target supports gcore.
788 # Such target has to call set_gdbarch_find_memory_regions.
790 for t in x ${gdb_target_obs}; do
791 if test "$t" = linux-tdep.o; then