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 | \
33 echo "*** Configuration $targ is obsolete." >&2
34 echo "*** Support has been REMOVED." >&2
39 # map target info into gdb names.
42 aarch64*-*-elf | aarch64*-*-rtems*)
43 # Target: AArch64 embedded system
44 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o aarch64-insn.o"
48 # Target: FreeBSD/aarch64
49 gdb_target_obs="aarch64-tdep.o aarch64-fbsd-tdep.o aarch64-insn.o \
50 fbsd-tdep.o solib-svr4.o"
54 # Target: AArch64 linux
55 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o aarch64-insn.o \
56 arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
58 glibc-tdep.o linux-tdep.o solib-svr4.o \
59 symfile-mem.o linux-record.o"
64 # Target: Little-endian Alpha running Linux
65 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
66 linux-tdep.o solib-svr4.o"
68 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
69 # Target: NetBSD/alpha
70 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o \
71 alpha-nbsd-tdep.o nbsd-tdep.o solib-svr4.o"
74 # Target: OpenBSD/alpha
75 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o \
76 alpha-nbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o \
77 obsd-tdep.o solib-svr4.o"
81 gdb_target_obs="alpha-tdep.o"
85 # Target: Matsushita mn10300 (AM33) running Linux
86 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
91 # Target: baremetal ARC elf32 (newlib) target
92 gdb_target_obs="arc-newlib-tdep.o arc-tdep.o"
96 # Target: Unidentified ARC target
97 gdb_target_obs="arc-tdep.o"
100 arm*-wince-pe | arm*-*-mingw32ce*)
101 # Target: ARM based machine running Windows CE (win32)
102 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o \
103 arm-wince-tdep.o windows-tdep.o"
107 # Target: ARM based machine running GNU/Linux
108 gdb_target_obs="arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
109 arm-linux-tdep.o glibc-tdep.o \
110 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
113 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
115 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-nbsd-tdep.o \
119 # Target: OpenBSD/arm
120 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-bsd-tdep.o \
121 arm-obsd-tdep.o obsd-tdep.o solib-svr4.o"
124 # Target: SymbianOS/arm
125 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-symbian-tdep.o"
128 # Target: ARM embedded system
129 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o"
130 gdb_sim=../sim/arm/libsim.a
135 gdb_target_obs="avr-tdep.o"
136 gdb_sim=../sim/avr/libsim.a
140 # Target: Blackfin Linux
141 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
142 gdb_sim=../sim/bfin/libsim.a
146 # Target: Blackfin processor
147 gdb_target_obs="bfin-tdep.o"
148 gdb_sim=../sim/bfin/libsim.a
153 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
157 # Target: Fujitsu FRV processor
158 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
159 gdb_sim=../sim/frv/libsim.a
162 moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
163 gdb_target_obs="moxie-tdep.o"
164 gdb_sim=../sim/moxie/libsim.a
168 # Target: H8300 processor
169 gdb_target_obs="h8300-tdep.o"
170 gdb_sim=../sim/h8300/libsim.a
174 # Target: HP PA-RISC running Linux
175 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
176 linux-tdep.o solib-svr4.o symfile-mem.o"
179 # Target: NetBSD/hppa
180 gdb_target_obs="hppa-tdep.o hppa-bsd-tdep.o hppa-nbsd-tdep.o solib-svr4.o"
183 # Target: OpenBSD/hppa
184 gdb_target_obs="hppa-tdep.o hppa-bsd-tdep.o hppa-obsd-tdep.o solib-svr4.o"
188 gdb_target_obs="hppa-tdep.o"
191 i[34567]86-*-darwin*)
192 # Target: Darwin/i386
193 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o \
194 i386-darwin-tdep.o solib-darwin.o"
195 if test "x$enable_64_bit_bfd" = "xyes"; then
196 # Target: GNU/Linux x86-64
197 gdb_target_obs="amd64-tdep.o amd64.o amd64-darwin-tdep.o ${gdb_target_obs}"
202 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
204 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
205 # Target: FreeBSD/i386
206 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-bsd-tdep.o \
207 i386-fbsd-tdep.o fbsd-tdep.o solib-svr4.o"
209 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
210 # Target: NetBSD/i386
211 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-bsd-tdep.o \
212 i386-nbsd-tdep.o nbsd-tdep.o solib-svr4.o"
214 i[34567]86-*-openbsd*)
215 # Target: OpenBSD/i386
216 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-bsd-tdep.o \
217 i386-obsd-tdep.o obsd-tdep.o bsd-uthread.o \
221 # Target: Intel 386 running qnx6.
222 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o solib-svr4.o \
223 i386-nto-tdep.o nto-tdep.o"
226 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
227 # Target: Solaris x86_64
228 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o amd64-tdep.o amd64.o \
229 amd64-sol2-tdep.o i386-sol2-tdep.o sol2-tdep.o \
232 i[34567]86-*-solaris*)
233 # Target: Solaris x86
234 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
238 # Target: Intel 386 running GNU/Linux
239 gdb_target_obs="i386-tdep.o i386.o i386-linux-tdep.o \
240 glibc-tdep.o i387-tdep.o \
241 solib-svr4.o symfile-mem.o \
242 linux-tdep.o linux-record.o"
243 if test "x$enable_64_bit_bfd" = "xyes"; then
244 # Target: GNU/Linux x86-64
245 gdb_target_obs="amd64-tdep.o amd64.o amd64-linux-tdep.o ${gdb_target_obs}"
250 # Target: Intel 386 running the GNU Hurd
251 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-gnu-tdep.o solib-svr4.o"
253 i[34567]86-*-cygwin*)
254 # Target: Intel 386 running win32
255 gdb_target_obs="i386-tdep.o i386.o i386-cygwin-tdep.o i387-tdep.o \
259 i[34567]86-*-mingw32*)
260 # Target: Intel 386 running win32
261 gdb_target_obs="i386-tdep.o i386.o i386-cygwin-tdep.o i387-tdep.o \
265 i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*)
266 # Target: i386 running DJGPP/go32.
267 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-go32-tdep.o"
271 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o"
275 # Target: Intel IA-64 running GNU/Linux
276 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
277 solib-svr4.o symfile-mem.o"
281 # Target: Intel IA-64 running OpenVMS
282 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
285 # Target: Intel IA-64
286 gdb_target_obs="ia64-tdep.o"
290 gdb_target_obs="iq2000-tdep.o"
291 gdb_sim=../sim/iq2000/libsim.a
295 gdb_target_obs="lm32-tdep.o"
296 gdb_sim=../sim/lm32/libsim.a
300 # Target: Renesas M32C family
301 gdb_target_obs="m32c-tdep.o"
302 # There may also be a SID / CGEN simulator for this,
303 # but we do have DJ Delorie's mini-sim.
304 gdb_sim=../sim/m32c/libsim.a
308 # Target: Renesas M32R running GNU/Linux
309 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
310 glibc-tdep.o solib-svr4.o symfile-mem.o \
312 gdb_sim=../sim/m32r/libsim.a
316 # Target: Renesas m32r processor
317 gdb_target_obs="m32r-tdep.o"
318 gdb_sim=../sim/m32r/libsim.a
321 m68hc11*-*-*|m6811*-*-*)
322 # Target: Motorola 68HC11 processor
323 gdb_target_obs="m68hc11-tdep.o"
324 gdb_sim=../sim/m68hc11/libsim.a
327 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
329 # Target: Motorola m68k embedded
330 gdb_target_obs="m68k-tdep.o"
333 # Target: Motorola m68k with a.out and ELF
334 gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
335 linux-tdep.o glibc-tdep.o symfile-mem.o"
338 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
339 # Target: NetBSD/m68k
340 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o solib-svr4.o"
343 # Target: OpenBSD/m68k
344 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o solib-svr4.o"
348 # Target: OpenBSD/m88k
349 gdb_target_obs="m88k-tdep.o"
353 # Target: Toshiba Media Processor (MEP)
354 gdb_target_obs="mep-tdep.o"
355 # No sim needed. Target uses SID.
358 microblaze*-linux-*|microblaze*-*-linux*)
359 # Target: Xilinx MicroBlaze running Linux
360 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
361 symfile-mem.o linux-tdep.o"
362 gdb_sim=../sim/microblaze/libsim.a
365 # Target: Xilinx MicroBlaze running standalone
366 gdb_target_obs="microblaze-tdep.o"
367 gdb_sim=../sim/microblaze/libsim.a
372 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
373 solib-svr4.o symfile-mem.o linux-tdep.o"
374 gdb_sim=../sim/mips/libsim.a
377 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
378 # Target: MIPS running NetBSD
379 gdb_target_obs="mips-tdep.o mips-nbsd-tdep.o solib-svr4.o nbsd-tdep.o"
380 gdb_sim=../sim/mips/libsim.a
383 # Target: MIPS running FreeBSD
384 gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o solib-svr4.o fbsd-tdep.o"
385 gdb_sim=../sim/mips/libsim.a
388 # Target: OpenBSD/mips64
389 gdb_target_obs="mips-tdep.o mips64-obsd-tdep.o obsd-tdep.o solib-svr4.o"
393 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
394 gdb_sim=../sim/mips/libsim.a
398 gdb_target_obs="mips-tdep.o"
399 gdb_sim=../sim/mips/libsim.a
403 gdb_target_obs="mips-tdep.o"
404 gdb_sim=../sim/mips/libsim.a
408 # Target: Matsushita mn10300
409 gdb_target_obs="mn10300-tdep.o"
410 gdb_sim=../sim/mn10300/libsim.a
414 gdb_target_obs="msp430-tdep.o"
415 gdb_sim=../sim/msp430/libsim.a
419 # Target: Morpho Technologies ms1 processor
420 gdb_target_obs="mt-tdep.o"
424 # Target: AndesTech NDS32 core
425 gdb_target_obs="nds32-tdep.o"
429 # Target: Altera Nios II running Linux
430 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
431 symfile-mem.o glibc-tdep.o linux-tdep.o"
435 # Target: Altera Nios II bare-metal
436 gdb_target_obs="nios2-tdep.o"
440 # Target: FreeBSD/powerpc
441 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
442 ppc-fbsd-tdep.o fbsd-tdep.o solib-svr4.o \
443 ravenscar-thread.o ppc-ravenscar-thread.o"
446 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
447 # Target: NetBSD/powerpc
448 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-nbsd-tdep.o \
450 ravenscar-thread.o ppc-ravenscar-thread.o"
451 gdb_sim=../sim/ppc/libsim.a
454 # Target: OpenBSD/powerpc
455 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-obsd-tdep.o \
457 ravenscar-thread.o ppc-ravenscar-thread.o"
459 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
460 # Target: PowerPC running AIX
461 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
462 ppc-sysv-tdep.o solib-aix.o \
463 ravenscar-thread.o ppc-ravenscar-thread.o"
466 # Target: PowerPC running Linux
467 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
468 ppc64-tdep.o solib-svr4.o solib-spu.o \
470 glibc-tdep.o symfile-mem.o linux-tdep.o \
471 ravenscar-thread.o ppc-ravenscar-thread.o \
473 gdb_sim=../sim/ppc/libsim.a
477 # Target: PowerPC running Lynx178.
478 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
479 xcoffread.o ppc-sysv-tdep.o \
480 ravenscar-thread.o ppc-ravenscar-thread.o"
483 # Target: PowerPC running eabi
484 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
485 ravenscar-thread.o ppc-ravenscar-thread.o"
486 gdb_sim=../sim/ppc/libsim.a
490 # Target: S390 running Linux
491 gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o \
497 # Target: Renesas rl78
498 gdb_target_obs="rl78-tdep.o"
499 gdb_sim=../sim/rl78/libsim.a
504 gdb_target_obs="rx-tdep.o"
505 gdb_sim=../sim/rx/libsim.a
509 # Target: S+core embedded system
510 gdb_target_obs="score-tdep.o"
515 # Target: GNU/Linux Super-H
516 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o \
517 solib-svr4.o symfile-mem.o \
518 glibc-tdep.o linux-tdep.o"
519 gdb_sim=../sim/sh/libsim.a
522 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
524 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o solib-svr4.o"
525 gdb_sim=../sim/sh/libsim.a
529 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-nbsd-tdep.o solib-svr4.o"
532 # Target: Renesas/Super-H 64 bit with simulator
533 gdb_target_obs="sh-tdep.o sh64-tdep.o"
534 gdb_sim=../sim/sh64/libsim.a
537 # Target: Embedded Renesas Super-H processor
538 gdb_target_obs="sh-tdep.o sh64-tdep.o"
539 gdb_sim=../sim/sh/libsim.a
543 # Target: GNU/Linux SPARC
544 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
545 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
547 ravenscar-thread.o sparc-ravenscar-thread.o"
548 if test "x$enable_64_bit_bfd" = "xyes"; then
549 # Target: GNU/Linux UltraSPARC
550 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
551 sparc64-linux-tdep.o ${gdb_target_obs}"
556 # Target: GNU/Linux UltraSPARC
557 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
558 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
559 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
560 ravenscar-thread.o sparc-ravenscar-thread.o"
563 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
564 # Target: FreeBSD/sparc64
565 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64-fbsd-tdep.o \
566 fbsd-tdep.o solib-svr4.o \
567 ravenscar-thread.o sparc-ravenscar-thread.o"
569 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
570 # Target: NetBSD/sparc
571 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o nbsd-tdep.o \
573 ravenscar-thread.o sparc-ravenscar-thread.o"
575 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
576 # Target: NetBSD/sparc64
577 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc-tdep.o \
578 sparc-nbsd-tdep.o nbsd-tdep.o solib-svr4.o \
579 ravenscar-thread.o sparc-ravenscar-thread.o"
582 # Target: OpenBSD/sparc
583 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
584 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
585 ravenscar-thread.o sparc-ravenscar-thread.o"
588 # Target: OpenBSD/sparc64
589 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc64-obsd-tdep.o \
590 sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
591 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
592 ravenscar-thread.o sparc-ravenscar-thread.o"
594 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
595 # Target: Solaris SPARC
596 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
598 ravenscar-thread.o sparc-ravenscar-thread.o"
600 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
601 # Target: Solaris UltraSPARC
602 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
603 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
604 ravenscar-thread.o sparc-ravenscar-thread.o"
608 gdb_target_obs="sparc-tdep.o \
609 ravenscar-thread.o sparc-ravenscar-thread.o"
610 gdb_sim=../sim/erc32/libsim.a
614 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
615 ravenscar-thread.o sparc-ravenscar-thread.o"
619 # Target: Cell BE SPU
620 gdb_target_obs="spu-tdep.o"
625 # Target: GNU/Linux TI C6x
626 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
627 glibc-tdep.o linux-tdep.o"
632 gdb_target_obs="tic6x-tdep.o"
637 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
638 symfile-mem.o glibc-tdep.o linux-tdep.o"
643 # Target: Sanyo Xstormy16a processor
644 gdb_target_obs="xstormy16-tdep.o"
645 # No simulator libraries are needed -- target uses SID.
649 gdb_target_obs="ft32-tdep.o"
650 gdb_sim=../sim/ft32/libsim.a
653 v850*-*-elf | v850*-*-rtems*)
654 # Target: NEC V850 processor
655 gdb_target_obs="v850-tdep.o"
656 gdb_sim=../sim/v850/libsim.a
659 vax-*-netbsd* | vax-*-knetbsd*-gnu)
661 gdb_target_obs="vax-tdep.o solib-svr4.o"
664 # Target: OpenBSD/vax
665 gdb_target_obs="vax-tdep.o"
669 gdb_target_obs="vax-tdep.o"
673 # Target: Darwin/x86-64
674 gdb_target_obs="amd64-tdep.o amd64.o i386-tdep.o i386.o i387-tdep.o \
675 i386-darwin-tdep.o amd64-darwin-tdep.o \
680 # Target: DICOS/x86-64
681 gdb_target_obs="amd64-tdep.o amd64.o i386-tdep.o i386.o i387-tdep.o \
682 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
685 gdb_target_obs="amd64-tdep.o amd64.o i386-tdep.o i386.o i387-tdep.o"
688 # Target: GNU/Linux x86-64
689 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o amd64.o i386-tdep.o \
690 i387-tdep.o i386.o i386-linux-tdep.o glibc-tdep.o \
691 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
694 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
695 # Target: FreeBSD/amd64
696 gdb_target_obs="amd64-tdep.o amd64.o amd64-fbsd-tdep.o i386-tdep.o \
697 i386.o i387-tdep.o i386-bsd-tdep.o i386-fbsd-tdep.o \
698 fbsd-tdep.o solib-svr4.o"
700 x86_64-*-mingw* | x86_64-*-cygwin*)
701 # Target: MingW/amd64
702 gdb_target_obs="amd64-tdep.o amd64.o amd64-windows-tdep.o \
703 i386-tdep.o i386.o i386-cygwin-tdep.o i387-tdep.o \
707 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
708 # Target: NetBSD/amd64
709 gdb_target_obs="amd64-tdep.o amd64.o amd64-nbsd-tdep.o i386-tdep.o \
710 i386.o i387-tdep.o nbsd-tdep.o solib-svr4.o"
713 # Target: OpenBSD/amd64
714 gdb_target_obs="amd64-tdep.o amd64.o amd64-obsd-tdep.o i386-tdep.o \
715 i387-tdep.o i386-bsd-tdep.o i386-obsd-tdep.o \
716 i386.o obsd-tdep.o bsd-uthread.o solib-svr4.o"
719 gdb_target_obs="amd64-tdep.o amd64.o i386-tdep.o i386.o i387-tdep.o \
722 xtensa*-*-linux*) gdb_target=linux
723 # Target: GNU/Linux Xtensa
724 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
725 solib-svr4.o symfile-mem.o linux-tdep.o"
729 # Target: Tensilica Xtensa processors
730 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
735 # map target onto default OS ABI
738 *-*-freebsd* | *-*-kfreebsd*-gnu)
739 gdb_osabi=GDB_OSABI_FREEBSD ;;
740 *-*-linux* | *-*-uclinux*)
741 gdb_osabi=GDB_OSABI_LINUX ;;
742 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
743 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
744 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD ;;
745 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
746 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
747 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
748 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
749 *-*-mingw* | *-*-cygwin*)
750 gdb_osabi=GDB_OSABI_CYGWIN ;;
751 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
753 gdb_osabi=GDB_OSABI_SYMBIAN ;;
754 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
755 gdb_osabi=GDB_OSABI_AIX ;;
758 # Check whether this target supports gcore.
759 # Such target has to call set_gdbarch_find_memory_regions.
761 for t in x ${gdb_target_obs}; do
762 if test "$t" = linux-tdep.o; then