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 \
52 ravenscar-thread.o aarch64-ravenscar-thread.o";;
56 cpu_obs="alpha-tdep.o"
60 # Target: Unidentified ARC target
65 cpu_obs="arch/arm.o arch/arm-get-next-pcs.o arm-tdep.o";;
73 cpu_obs="${i386_tobjs}"
74 if test "x$enable_64_bit_bfd" = "xyes"; then
75 cpu_obs="${amd64_tobjs} ${cpu_obs}"
85 cpu_obs="${i386_tobjs} ${amd64_tobjs}";;
88 # Target: Tensilica Xtensa processors
89 cpu_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
94 # 2. Get the objects per os in $TARG.
97 *-*-freebsd* | *-*-kfreebsd*-gnu)
98 os_obs="fbsd-tdep.o solib-svr4.o";;
99 *-*-netbsd* | *-*-knetbsd*-gnu)
100 os_obs="nbsd-tdep.o solib-svr4.o";;
102 os_obs="obsd-tdep.o solib-svr4.o";;
105 # 3. Get the rest of objects.
108 aarch64*-*-elf | aarch64*-*-rtems*)
109 # Target: AArch64 embedded system
110 gdb_target_obs="aarch64-newlib-tdep.o"
114 # Target: FreeBSD/aarch64
115 gdb_target_obs="aarch64-fbsd-tdep.o"
119 # Target: AArch64 linux
120 gdb_target_obs="aarch64-linux-tdep.o arch/aarch64.o\
121 arch/arm.o arch/arm-linux.o arch/arm-get-next-pcs.o \
122 arm-tdep.o arm-linux-tdep.o \
123 glibc-tdep.o linux-tdep.o solib-svr4.o \
124 symfile-mem.o linux-record.o"
129 # Target: Little-endian Alpha running Linux
130 gdb_target_obs="alpha-mdebug-tdep.o alpha-linux-tdep.o \
131 linux-tdep.o solib-svr4.o"
133 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
134 # Target: NetBSD/alpha
135 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
139 # Target: OpenBSD/alpha
140 gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
141 alpha-nbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o"
145 # Target: Matsushita mn10300 (AM33) running Linux
146 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
151 # Target: baremetal ARC elf32 (newlib) target
152 gdb_target_obs="arc-newlib-tdep.o"
155 arm*-wince-pe | arm*-*-mingw32ce*)
156 # Target: ARM based machine running Windows CE (win32)
157 gdb_target_obs="arm-wince-tdep.o windows-tdep.o"
161 # Target: ARM based machine running GNU/Linux
162 gdb_target_obs="arch/arm-linux.o arm-linux-tdep.o glibc-tdep.o \
163 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
167 # Target: FreeBSD/arm
168 gdb_target_obs="arm-fbsd-tdep.o"
170 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
172 gdb_target_obs="arm-nbsd-tdep.o"
175 # Target: OpenBSD/arm
176 gdb_target_obs="arm-bsd-tdep.o arm-obsd-tdep.o"
179 # Target: SymbianOS/arm
180 gdb_target_obs="arm-symbian-tdep.o"
183 # Target: ARM embedded system
184 gdb_target_obs="arm-pikeos-tdep.o"
185 gdb_sim=../sim/arm/libsim.a
190 gdb_target_obs="avr-tdep.o"
191 gdb_sim=../sim/avr/libsim.a
195 # Target: Blackfin Linux
196 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
197 gdb_sim=../sim/bfin/libsim.a
201 # Target: Blackfin processor
202 gdb_target_obs="bfin-tdep.o"
203 gdb_sim=../sim/bfin/libsim.a
208 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
212 # Target: CSKY running GNU/Linux
213 gdb_target_obs="csky-tdep.o csky-linux-tdep.o glibc-tdep.o \
214 linux-tdep.o solib-svr4.o"
218 # Target: CSKY bare metal
219 gdb_target_obs="csky-tdep.o"
223 # Target: Fujitsu FRV processor
224 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
225 gdb_sim=../sim/frv/libsim.a
228 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
229 gdb_target_obs="moxie-tdep.o"
230 gdb_sim=../sim/moxie/libsim.a
234 # Target: H8300 processor
235 gdb_target_obs="h8300-tdep.o"
236 gdb_sim=../sim/h8300/libsim.a
240 # Target: HP PA-RISC running Linux
241 gdb_target_obs="hppa-linux-tdep.o glibc-tdep.o \
242 linux-tdep.o solib-svr4.o symfile-mem.o"
245 # Target: NetBSD/hppa
246 gdb_target_obs="hppa-bsd-tdep.o hppa-nbsd-tdep.o solib-svr4.o"
249 # Target: OpenBSD/hppa
250 gdb_target_obs="hppa-bsd-tdep.o hppa-obsd-tdep.o solib-svr4.o"
253 i[34567]86-*-darwin*)
254 # Target: Darwin/i386
255 gdb_target_obs="i386-darwin-tdep.o solib-darwin.o"
256 if test "x$enable_64_bit_bfd" = "xyes"; then
257 # Target: GNU/Linux x86-64
258 gdb_target_obs="amd64-darwin-tdep.o ${gdb_target_obs}"
263 gdb_target_obs="dicos-tdep.o i386-dicos-tdep.o"
265 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
266 # Target: FreeBSD/i386
267 gdb_target_obs="i386-bsd-tdep.o i386-fbsd-tdep.o "
269 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
270 # Target: NetBSD/i386
271 gdb_target_obs="i386-bsd-tdep.o i386-nbsd-tdep.o "
273 i[34567]86-*-openbsd*)
274 # Target: OpenBSD/i386
275 gdb_target_obs="i386-bsd-tdep.o i386-obsd-tdep.o bsd-uthread.o"
278 # Target: Intel 386 running qnx6.
279 gdb_target_obs="solib-svr4.o \
280 i386-nto-tdep.o nto-tdep.o"
283 i[34567]86-*-solaris2* | x86_64-*-solaris2*)
284 # Target: Solaris x86_64
285 gdb_target_obs="${i386_tobjs} ${amd64_tobjs} \
286 amd64-sol2-tdep.o i386-sol2-tdep.o sol2-tdep.o \
290 # Target: Intel 386 running GNU/Linux
291 gdb_target_obs="i386-linux-tdep.o \
293 solib-svr4.o symfile-mem.o \
294 linux-tdep.o linux-record.o"
295 if test "x$enable_64_bit_bfd" = "xyes"; then
296 # Target: GNU/Linux x86-64
297 gdb_target_obs="amd64-linux-tdep.o ${gdb_target_obs}"
302 # Target: Intel 386 running the GNU Hurd
303 gdb_target_obs="i386-gnu-tdep.o solib-svr4.o"
305 i[34567]86-*-cygwin*)
306 # Target: Intel 386 running win32
307 gdb_target_obs="i386-cygwin-tdep.o windows-tdep.o"
310 i[34567]86-*-mingw32*)
311 # Target: Intel 386 running win32
312 gdb_target_obs="i386-cygwin-tdep.o windows-tdep.o"
315 i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*)
316 # Target: i386 running DJGPP/go32.
317 gdb_target_obs="i386-go32-tdep.o"
321 # Target: Intel IA-64 running GNU/Linux
322 gdb_target_obs="ia64-linux-tdep.o linux-tdep.o \
323 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"
333 gdb_sim=../sim/iq2000/libsim.a
337 gdb_target_obs="lm32-tdep.o"
338 gdb_sim=../sim/lm32/libsim.a
342 # Target: Renesas M32C family
343 gdb_target_obs="m32c-tdep.o"
344 # There may also be a SID / CGEN simulator for this,
345 # but we do have DJ Delorie's mini-sim.
346 gdb_sim=../sim/m32c/libsim.a
350 # Target: Renesas M32R running GNU/Linux
351 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
352 glibc-tdep.o solib-svr4.o symfile-mem.o \
354 gdb_sim=../sim/m32r/libsim.a
358 # Target: Renesas m32r processor
359 gdb_target_obs="m32r-tdep.o"
360 gdb_sim=../sim/m32r/libsim.a
363 m68hc11*-*-*|m6811*-*-*)
364 # Target: Motorola 68HC11 processor
365 gdb_target_obs="m68hc11-tdep.o"
366 gdb_sim=../sim/m68hc11/libsim.a
369 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
371 # Target: Motorola m68k embedded
372 gdb_target_obs="m68k-tdep.o"
375 # Target: Motorola m68k with a.out and ELF
376 gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
377 linux-tdep.o glibc-tdep.o symfile-mem.o"
380 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
381 # Target: NetBSD/m68k
382 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
385 # Target: OpenBSD/m68k
386 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
390 # Target: Toshiba Media Processor (MEP)
391 gdb_target_obs="mep-tdep.o"
392 # No sim needed. Target uses SID.
395 microblaze*-linux-*|microblaze*-*-linux*)
396 # Target: Xilinx MicroBlaze running Linux
397 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
398 symfile-mem.o linux-tdep.o"
399 gdb_sim=../sim/microblaze/libsim.a
402 # Target: Xilinx MicroBlaze running standalone
403 gdb_target_obs="microblaze-tdep.o"
404 gdb_sim=../sim/microblaze/libsim.a
409 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
410 solib-svr4.o symfile-mem.o linux-tdep.o"
411 gdb_sim=../sim/mips/libsim.a
414 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
415 # Target: MIPS running NetBSD
416 gdb_target_obs="mips-tdep.o mips-nbsd-tdep.o"
417 gdb_sim=../sim/mips/libsim.a
420 # Target: MIPS running FreeBSD
421 gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o"
422 gdb_sim=../sim/mips/libsim.a
425 # Target: OpenBSD/mips64
426 gdb_target_obs="mips-tdep.o mips64-obsd-tdep.o"
430 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
431 gdb_sim=../sim/mips/libsim.a
435 gdb_target_obs="mips-tdep.o"
436 gdb_sim=../sim/mips/libsim.a
440 gdb_target_obs="mips-tdep.o"
441 gdb_sim=../sim/mips/libsim.a
445 # Target: Matsushita mn10300
446 gdb_target_obs="mn10300-tdep.o"
447 gdb_sim=../sim/mn10300/libsim.a
451 gdb_target_obs="msp430-tdep.o"
452 gdb_sim=../sim/msp430/libsim.a
456 # Target: AndesTech NDS32 core
457 gdb_target_obs="nds32-tdep.o"
461 # Target: Altera Nios II running Linux
462 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
463 symfile-mem.o glibc-tdep.o linux-tdep.o"
467 # Target: Altera Nios II bare-metal
468 gdb_target_obs="nios2-tdep.o"
471 or1k-*-* | or1knd-*-*)
472 # Target: OpenCores OpenRISC 1000 32-bit implementation bare metal
473 gdb_target_obs="or1k-tdep.o"
474 gdb_sim=../sim/or1k/libsim.a
478 # Target: FreeBSD/powerpc
479 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
481 ravenscar-thread.o ppc-ravenscar-thread.o"
484 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
485 # Target: NetBSD/powerpc
486 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-nbsd-tdep.o \
487 ravenscar-thread.o ppc-ravenscar-thread.o"
488 gdb_sim=../sim/ppc/libsim.a
491 # Target: OpenBSD/powerpc
492 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-obsd-tdep.o \
493 ravenscar-thread.o ppc-ravenscar-thread.o"
495 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
496 # Target: PowerPC running AIX
497 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
498 ppc-sysv-tdep.o solib-aix.o \
499 ravenscar-thread.o ppc-ravenscar-thread.o"
502 # Target: PowerPC running Linux
503 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
504 ppc64-tdep.o solib-svr4.o solib-spu.o \
506 glibc-tdep.o symfile-mem.o linux-tdep.o \
507 ravenscar-thread.o ppc-ravenscar-thread.o \
509 arch/ppc-linux-common.o"
510 gdb_sim=../sim/ppc/libsim.a
514 # Target: PowerPC running Lynx178.
515 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
516 xcoffread.o ppc-sysv-tdep.o \
517 ravenscar-thread.o ppc-ravenscar-thread.o"
520 # Target: PowerPC running eabi
521 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
522 ravenscar-thread.o ppc-ravenscar-thread.o"
523 gdb_sim=../sim/ppc/libsim.a
527 # Target: S390 running Linux
528 gdb_target_obs="s390-linux-tdep.o s390-tdep.o solib-svr4.o \
529 linux-tdep.o linux-record.o symfile-mem.o"
534 # Target: FreeBSD/riscv
535 gdb_target_obs="riscv-fbsd-tdep.o riscv-tdep.o"
539 # Target: Linux/RISC-V
540 gdb_target_obs="riscv-linux-tdep.o riscv-tdep.o glibc-tdep.o \
541 linux-tdep.o solib-svr4.o symfile-mem.o linux-record.o"
545 # Target: RISC-V architecture
546 gdb_target_obs="riscv-tdep.o"
550 # Target: Renesas rl78
551 gdb_target_obs="rl78-tdep.o"
552 gdb_sim=../sim/rl78/libsim.a
557 gdb_target_obs="rx-tdep.o"
558 gdb_sim=../sim/rx/libsim.a
562 # Target: S+core embedded system
563 gdb_target_obs="score-tdep.o"
568 # Target: GNU/Linux Super-H
569 gdb_target_obs="sh-tdep.o sh-linux-tdep.o \
570 solib-svr4.o symfile-mem.o \
571 glibc-tdep.o linux-tdep.o"
572 gdb_sim=../sim/sh/libsim.a
575 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
577 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
578 gdb_sim=../sim/sh/libsim.a
582 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
585 # Target: Embedded Renesas Super-H processor
586 gdb_target_obs="sh-tdep.o"
587 gdb_sim=../sim/sh/libsim.a
591 # Target: GNU/Linux SPARC
592 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
593 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
595 ravenscar-thread.o sparc-ravenscar-thread.o"
596 if test "x$enable_64_bit_bfd" = "xyes"; then
597 # Target: GNU/Linux UltraSPARC
598 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
599 sparc64-linux-tdep.o ${gdb_target_obs}"
604 # Target: GNU/Linux UltraSPARC
605 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
606 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
607 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
608 ravenscar-thread.o sparc-ravenscar-thread.o"
611 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
612 # Target: FreeBSD/sparc64
613 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64-fbsd-tdep.o \
614 ravenscar-thread.o sparc-ravenscar-thread.o"
616 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
617 # Target: NetBSD/sparc
618 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o \
619 ravenscar-thread.o sparc-ravenscar-thread.o"
621 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
622 # Target: NetBSD/sparc64
623 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc-tdep.o \
625 ravenscar-thread.o sparc-ravenscar-thread.o"
628 # Target: OpenBSD/sparc
629 gdb_target_obs="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"
634 # Target: OpenBSD/sparc64
635 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc64-obsd-tdep.o \
636 sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
637 nbsd-tdep.o bsd-uthread.o \
638 ravenscar-thread.o sparc-ravenscar-thread.o"
640 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
641 # Target: Solaris UltraSPARC
642 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
643 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
644 ravenscar-thread.o sparc-ravenscar-thread.o"
648 gdb_target_obs="sparc-tdep.o \
649 ravenscar-thread.o sparc-ravenscar-thread.o"
650 gdb_sim=../sim/erc32/libsim.a
654 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
655 ravenscar-thread.o sparc-ravenscar-thread.o"
659 # Target: Cell BE SPU
660 gdb_target_obs="spu-tdep.o"
665 # Target: Freescale S12z
666 gdb_target_obs="s12z-tdep.o"
670 # Target: GNU/Linux TI C6x
671 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
672 glibc-tdep.o linux-tdep.o"
677 gdb_target_obs="tic6x-tdep.o"
682 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
683 symfile-mem.o glibc-tdep.o linux-tdep.o"
688 # Target: Sanyo Xstormy16a processor
689 gdb_target_obs="xstormy16-tdep.o"
690 # No simulator libraries are needed -- target uses SID.
694 gdb_target_obs="ft32-tdep.o"
695 gdb_sim=../sim/ft32/libsim.a
698 v850*-*-elf | v850*-*-rtems*)
699 # Target: NEC V850 processor
700 gdb_target_obs="v850-tdep.o"
701 gdb_sim=../sim/v850/libsim.a
704 vax-*-netbsd* | vax-*-knetbsd*-gnu)
706 gdb_target_obs="vax-tdep.o solib-svr4.o"
709 # Target: OpenBSD/vax
710 gdb_target_obs="vax-tdep.o"
714 gdb_target_obs="vax-tdep.o"
718 # Target: Darwin/x86-64
719 gdb_target_obs="${i386_tobjs} \
720 i386-darwin-tdep.o amd64-darwin-tdep.o \
725 # Target: DICOS/x86-64
726 gdb_target_obs="${i386_tobjs} \
727 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
730 gdb_target_obs="${i386_tobjs}"
733 # Target: GNU/Linux x86-64
734 gdb_target_obs="amd64-linux-tdep.o ${i386_tobjs} \
735 i386-linux-tdep.o glibc-tdep.o \
736 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
739 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
740 # Target: FreeBSD/amd64
741 gdb_target_obs="amd64-fbsd-tdep.o ${i386_tobjs} \
742 i386-bsd-tdep.o i386-fbsd-tdep.o"
744 x86_64-*-mingw* | x86_64-*-cygwin*)
745 # Target: MingW/amd64
746 gdb_target_obs="amd64-windows-tdep.o \
747 ${i386_tobjs} i386-cygwin-tdep.o \
751 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
752 # Target: NetBSD/amd64
753 gdb_target_obs="amd64-nbsd-tdep.o ${i386_tobjs}"
756 # Target: OpenBSD/amd64
757 gdb_target_obs="amd64-obsd-tdep.o ${i386_tobjs} \
758 i386-bsd-tdep.o i386-obsd-tdep.o \
762 gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
765 # Target: GNU/Linux Xtensa
766 gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"
774 gdb_target_obs="${cpu_obs} ${os_obs} ${gdb_target_obs}"
776 # map target onto default OS ABI
779 *-*-freebsd* | *-*-kfreebsd*-gnu)
780 gdb_osabi=GDB_OSABI_FREEBSD ;;
781 *-*-linux* | *-*-uclinux*)
782 gdb_osabi=GDB_OSABI_LINUX ;;
783 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
784 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
785 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD ;;
786 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
787 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
788 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
789 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
790 *-*-mingw* | *-*-cygwin*)
791 gdb_osabi=GDB_OSABI_CYGWIN ;;
792 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
794 gdb_osabi=GDB_OSABI_SYMBIAN ;;
795 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
796 gdb_osabi=GDB_OSABI_AIX ;;
799 # Check whether this target supports gcore.
800 # Such target has to call set_gdbarch_find_memory_regions.
802 for t in x ${gdb_target_obs}; do
803 if test "$t" = linux-tdep.o; then