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
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
25 echo "*** Configuration $targ is obsolete." >&2
26 echo "*** Support has been REMOVED." >&2
31 # map target info into gdb names.
35 # Target: AArch64 embedded system
36 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o"
40 # Target: AArch64 linux
41 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o \
42 glibc-tdep.o linux-tdep.o solib-svr4.o \
48 # Target: Little-endian Alpha running OSF/1
49 gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o"
52 # Target: Little-endian Alpha running Linux
53 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
54 linux-tdep.o solib-svr4.o"
56 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
57 # Target: FreeBSD/alpha
58 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
59 alphafbsd-tdep.o solib-svr4.o"
61 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
62 # Target: NetBSD/alpha
63 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
64 alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o"
67 # Target: OpenBSD/alpha
68 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
69 alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
70 obsd-tdep.o solib-svr4.o"
74 gdb_target_obs="alpha-tdep.o"
78 # Target: Matsushita mn10300 (AM33) running Linux
79 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
83 arm*-wince-pe | arm*-*-mingw32ce*)
84 # Target: ARM based machine running Windows CE (win32)
85 gdb_target_obs="arm-tdep.o arm-wince-tdep.o"
89 # Target: ARM based machine running GNU/Linux
90 gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
91 solib-svr4.o symfile-mem.o linux-tdep.o"
94 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
96 gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib-svr4.o"
100 gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
104 # Target: SymbianOS/arm
105 gdb_target_obs="arm-tdep.o arm-symbian-tdep.o"
108 # Target: ARM embedded system
109 gdb_target_obs="arm-tdep.o"
110 gdb_sim=../sim/arm/libsim.a
115 gdb_target_obs="avr-tdep.o"
116 gdb_sim=../sim/avr/libsim.a
120 # Target: Blackfin Linux
121 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
122 gdb_sim=../sim/bfin/libsim.a
126 # Target: Blackfin processor
127 gdb_target_obs="bfin-tdep.o"
128 gdb_sim=../sim/bfin/libsim.a
133 gdb_target_obs="cris-tdep.o solib-svr4.o"
137 # Target: Fujitsu FRV processor
138 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
139 gdb_sim=../sim/frv/libsim.a
142 moxie-*-elf | moxie-*-rtems*)
143 gdb_target_obs="moxie-tdep.o"
144 gdb_sim=../sim/moxie/libsim.a
148 # Target: H8300 with HMS monitor and H8 simulator
149 gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
150 gdb_sim=../sim/h8300/libsim.a
154 # Target: HP PA-RISC running hpux
155 gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o solib-som.o solib-pa64.o"
158 # Target: HP PA-RISC running Linux
159 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
160 linux-tdep.o solib-svr4.o symfile-mem.o"
163 # Target: NetBSD/hppa
164 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o solib-svr4.o"
167 # Target: OpenBSD/hppa
168 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o solib-svr4.o"
172 gdb_target_obs="hppa-tdep.o"
175 i[34567]86-*-darwin*)
176 # Target: Darwin/i386
177 gdb_target_obs="i386-tdep.o i387-tdep.o \
178 i386-darwin-tdep.o solib-darwin.o"
179 if test "x$enable_64_bit_bfd" = "xyes"; then
180 # Target: GNU/Linux x86-64
181 gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
186 gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
188 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
189 # Target: FreeBSD/i386
190 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
191 bsd-uthread.o solib-svr4.o"
193 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
194 # Target: NetBSD/i386
195 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
196 nbsd-tdep.o solib-svr4.o"
198 i[34567]86-*-openbsd*)
199 # Target: OpenBSD/i386
200 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
201 bsd-uthread.o solib-svr4.o"
204 # Target: Intel 386 running qnx6.
205 gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \
206 i386-nto-tdep.o nto-tdep.o"
209 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
210 # Target: Solaris x86_64
211 gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
212 i386-sol2-tdep.o sol2-tdep.o solib-svr4.o"
214 i[34567]86-*-solaris*)
215 # Target: Solaris x86
216 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
220 # Target: Intel 386 running GNU/Linux
221 gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
222 solib-svr4.o symfile-mem.o \
223 linux-tdep.o linux-record.o"
224 if test "x$enable_64_bit_bfd" = "xyes"; then
225 # Target: GNU/Linux x86-64
226 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
231 # Target: Intel 386 running the GNU Hurd
232 gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o"
234 i[34567]86-*-cygwin*)
235 # Target: Intel 386 running win32
236 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
240 i[34567]86-*-mingw32*)
241 # Target: Intel 386 running win32
242 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
248 gdb_target_obs="i386-tdep.o i387-tdep.o"
252 # Target: Intel IA-64 running HP-UX
253 gdb_target_obs="ia64-tdep.o ia64-hpux-tdep.o"
256 # Target: Intel IA-64 running GNU/Linux
257 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
258 solib-svr4.o symfile-mem.o"
262 # Target: Intel IA-64 running OpenVMS
263 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
266 # Target: Intel IA-64
267 gdb_target_obs="ia64-tdep.o"
271 gdb_target_obs="iq2000-tdep.o"
272 gdb_sim=../sim/iq2000/libsim.a
276 gdb_target_obs="lm32-tdep.o"
277 gdb_sim=../sim/lm32/libsim.a
281 # Target: Renesas M32C family
282 gdb_target_obs="m32c-tdep.o"
283 # There may also be a SID / CGEN simulator for this,
284 # but we do have DJ Delorie's mini-sim.
285 gdb_sim=../sim/m32c/libsim.a
289 # Target: Renesas M32R running GNU/Linux
290 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
291 glibc-tdep.o solib-svr4.o symfile-mem.o \
293 gdb_sim=../sim/m32r/libsim.a
297 # Target: Renesas m32r processor
298 gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
300 gdb_sim=../sim/m32r/libsim.a
303 m68hc11*-*-*|m6811*-*-*)
304 # Target: Motorola 68HC11 processor
305 gdb_target_obs="m68hc11-tdep.o"
306 gdb_sim=../sim/m68hc11/libsim.a
309 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
311 # Target: Motorola m68k embedded (e.g. bug monitors)
312 gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
315 # Target: Motorola m68k with a.out and ELF
316 gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \
317 linux-tdep.o glibc-tdep.o symfile-mem.o"
320 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
321 # Target: NetBSD/m68k
322 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
325 # Target: OpenBSD/m68k
326 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
330 # Target: OpenBSD/m88k
331 gdb_target_obs="m88k-tdep.o"
335 # Target: Toshiba Media Processor (MEP)
336 gdb_target_obs="mep-tdep.o"
337 # No sim needed. Target uses SID.
340 microblaze*-linux-*|microblaze*-*-linux*)
341 # Target: Xilinx MicroBlaze running Linux
342 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \
343 monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o"
344 gdb_sim=../sim/microblaze/libsim.a
347 # Target: Xilinx MicroBlaze running standalone
348 gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
349 gdb_sim=../sim/microblaze/libsim.a
353 # Target: MIPS SGI running Irix 5
354 gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib-irix.o"
357 # Target: MIPS SGI running Irix 6.x
358 gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib-irix.o"
362 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
363 solib-svr4.o symfile-mem.o linux-tdep.o"
364 gdb_sim=../sim/mips/libsim.a
367 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
368 # Target: MIPS running NetBSD
369 gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o"
370 gdb_sim=../sim/mips/libsim.a
373 # Target: OpenBSD/mips64
374 gdb_target_obs="mips-tdep.o mips64obsd-tdep.o solib-svr4.o"
378 gdb_target_obs="mips-tdep.o remote-mips.o"
379 gdb_sim=../sim/mips/libsim.a
383 gdb_target_obs="mips-tdep.o"
384 gdb_sim=../sim/mips/libsim.a
388 # Target: Matsushita mn10300
389 gdb_target_obs="mn10300-tdep.o"
390 gdb_sim=../sim/mn10300/libsim.a
394 # Target: Morpho Technologies ms1 processor
395 gdb_target_obs="mt-tdep.o"
399 # Target: FreeBSD/powerpc
400 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
401 ppcfbsd-tdep.o solib-svr4.o \
402 ravenscar-thread.o ppc-ravenscar-thread.o"
405 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
406 # Target: NetBSD/powerpc
407 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
409 ravenscar-thread.o ppc-ravenscar-thread.o"
410 gdb_sim=../sim/ppc/libsim.a
413 # Target: OpenBSD/powerpc
414 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
416 ravenscar-thread.o ppc-ravenscar-thread.o"
418 powerpc-*-aix* | rs6000-*-*)
419 # Target: PowerPC running AIX
420 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
421 ppc-sysv-tdep.o solib-svr4.o \
422 ravenscar-thread.o ppc-ravenscar-thread.o"
424 powerpc-*-linux* | powerpc64-*-linux*)
425 # Target: PowerPC running Linux
426 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
427 ppc64-tdep.o solib-svr4.o solib-spu.o \
429 glibc-tdep.o symfile-mem.o linux-tdep.o \
430 ravenscar-thread.o ppc-ravenscar-thread.o"
431 gdb_sim=../sim/ppc/libsim.a
435 # Target: PowerPC running Lynx178.
436 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
437 xcoffread.o monitor.o dsrec.o ppc-sysv-tdep.o \
438 ravenscar-thread.o ppc-ravenscar-thread.o"
441 # Target: PowerPC running eabi
442 gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
443 dink32-rom.o ppc-sysv-tdep.o solib-svr4.o \
444 ravenscar-thread.o ppc-ravenscar-thread.o"
445 if test -f ../sim/ppc/Makefile; then
446 gdb_sim=../sim/ppc/libsim.a
451 # Target: S390 running Linux
452 gdb_target_obs="s390-tdep.o solib-svr4.o linux-tdep.o"
457 # Target: Renesas rl78
458 gdb_target_obs="rl78-tdep.o"
459 gdb_sim=../sim/rl78/libsim.a
464 gdb_target_obs="rx-tdep.o"
465 gdb_sim=../sim/rx/libsim.a
469 # Target: S+core embedded system
470 gdb_target_obs="score-tdep.o"
471 if test -f ../sim/score/Makefile; then
472 gdb_sim=../sim/score/libsim.a
478 # Target: GNU/Linux Super-H
479 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
480 dsrec.o solib-svr4.o symfile-mem.o \
481 glibc-tdep.o linux-tdep.o"
482 gdb_sim=../sim/sh/libsim.a
485 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
487 gdb_target_obs="sh-tdep.o shnbsd-tdep.o solib-svr4.o"
488 gdb_sim=../sim/sh/libsim.a
492 gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o solib-svr4.o"
495 # Target: Renesas/Super-H 64 bit with simulator
496 gdb_target_obs="sh-tdep.o sh64-tdep.o"
497 gdb_sim=../sim/sh64/libsim.a
500 # Target: Embedded Renesas Super-H with ICE and simulator
501 gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
502 gdb_sim=../sim/sh/libsim.a
506 # Target: GNU/Linux SPARC
507 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
508 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
510 ravenscar-thread.o sparc-ravenscar-thread.o"
511 if test "x$enable_64_bit_bfd" = "xyes"; then
512 # Target: GNU/Linux UltraSPARC
513 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
514 sparc64-linux-tdep.o ${gdb_target_obs}"
519 # Target: GNU/Linux UltraSPARC
520 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
521 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
522 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
523 ravenscar-thread.o sparc-ravenscar-thread.o"
526 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
527 # Target: FreeBSD/sparc64
528 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
530 ravenscar-thread.o sparc-ravenscar-thread.o"
532 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
533 # Target: NetBSD/sparc
534 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
536 ravenscar-thread.o sparc-ravenscar-thread.o"
538 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
539 # Target: NetBSD/sparc64
540 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
541 sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \
542 ravenscar-thread.o sparc-ravenscar-thread.o"
545 # Target: OpenBSD/sparc
546 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
547 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
548 ravenscar-thread.o sparc-ravenscar-thread.o"
551 # Target: OpenBSD/sparc64
552 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
553 sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
554 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
555 ravenscar-thread.o sparc-ravenscar-thread.o"
557 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
558 # Target: Solaris SPARC
559 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
561 ravenscar-thread.o sparc-ravenscar-thread.o"
563 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
564 # Target: Solaris UltraSPARC
565 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
566 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
567 ravenscar-thread.o sparc-ravenscar-thread.o"
571 gdb_target_obs="sparc-tdep.o \
572 ravenscar-thread.o sparc-ravenscar-thread.o"
573 gdb_sim=../sim/erc32/libsim.a
577 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
578 ravenscar-thread.o sparc-ravenscar-thread.o"
582 # Target: Cell BE SPU
583 gdb_target_obs="spu-tdep.o"
588 # Target: GNU/Linux TI C6x
589 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
590 glibc-tdep.o linux-tdep.o"
595 gdb_target_obs="tic6x-tdep.o"
600 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
601 symfile-mem.o glibc-tdep.o linux-tdep.o"
605 # Target: Sanyo Xstormy16a processor
606 gdb_target_obs="xstormy16-tdep.o"
607 # No simulator libraries are needed -- target uses SID.
610 v850*-*-elf | v850*-*-rtems*)
611 # Target: NEC V850 processor
612 gdb_target_obs="v850-tdep.o"
613 gdb_sim=../sim/v850/libsim.a
616 vax-*-netbsd* | vax-*-knetbsd*-gnu)
618 gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o"
621 # Target: OpenBSD/vax
622 gdb_target_obs="vax-tdep.o vaxobsd-tdep.o"
625 # Target: VAX running 4.2BSD or Ultrix
626 gdb_target_obs="vax-tdep.o"
630 # Target: Darwin/x86-64
631 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
632 i386-darwin-tdep.o amd64-darwin-tdep.o \
637 # Target: DICOS/x86-64
638 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
639 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
642 # Target: GNU/Linux x86-64
643 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
644 i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
645 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
648 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
649 # Target: FreeBSD/amd64
650 gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
651 i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
652 bsd-uthread.o solib-svr4.o"
655 # Target: MingW/amd64
656 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
657 i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
661 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
662 # Target: NetBSD/amd64
663 gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
664 nbsd-tdep.o solib-svr4.o"
667 # Target: OpenBSD/amd64
668 gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
669 i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
670 bsd-uthread.o solib-svr4.o"
672 xtensa*-*-linux*) gdb_target=linux
673 # Target: GNU/Linux Xtensa
674 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
675 solib-svr4.o symfile-mem.o linux-tdep.o"
679 # Target: Tensilica Xtensa processors
680 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
685 # map target onto default OS ABI
688 *-*-freebsd* | *-*-kfreebsd*-gnu)
689 gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
690 *-*-linux* | *-*-uclinux*)
691 gdb_osabi=GDB_OSABI_LINUX ;;
692 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
693 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
694 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
695 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
696 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
697 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
698 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
699 *-*-mingw* | *-*-cygwin*)
700 gdb_osabi=GDB_OSABI_CYGWIN ;;
701 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
703 gdb_osabi=GDB_OSABI_SYMBIAN ;;