15796c8dcSSimon Schubert# Mappings from configurations to GDB target definitions. This is 25796c8dcSSimon Schubert# invoked from the autoconf generated configure script. 35796c8dcSSimon Schubert 45796c8dcSSimon Schubert# This file sets the following shell variables: 55796c8dcSSimon Schubert# gdb_target_obs target-specific object files to use 65796c8dcSSimon Schubert# gdb_sim simulator library for target 75796c8dcSSimon Schubert# gdb_osabi default OS ABI to use with target 85796c8dcSSimon Schubert# build_gdbserver set to "yes" if gdbserver supports target 95796c8dcSSimon Schubert 105796c8dcSSimon Schubert# NOTE: Every file added to a gdb_target_obs variable for any target here 115796c8dcSSimon Schubert# must also be added to either ALL_TARGET_OBS or ALL_64_TARGET_OBS 125796c8dcSSimon Schubert# in Makefile.in! 135796c8dcSSimon Schubert 145796c8dcSSimon Schubertcase $targ in 155796c8dcSSimon Schubert d10v-*-* | \ 165796c8dcSSimon Schubert hppa*-*-hiux* | \ 175796c8dcSSimon Schubert i[34567]86-ncr-* | \ 185796c8dcSSimon Schubert m68*-cisco*-* | \ 195796c8dcSSimon Schubert m68*-tandem-* | \ 205796c8dcSSimon Schubert m68*-*-os68k* | \ 215796c8dcSSimon Schubert mips*-*-pe | \ 225796c8dcSSimon Schubert rs6000-*-lynxos* | \ 235796c8dcSSimon Schubert sh*-*-pe | \ 245796c8dcSSimon Schubert null) 255796c8dcSSimon Schubert echo "*** Configuration $targ is obsolete." >&2 265796c8dcSSimon Schubert echo "*** Support has been REMOVED." >&2 275796c8dcSSimon Schubert exit 1 285796c8dcSSimon Schubert ;; 295796c8dcSSimon Schubertesac 305796c8dcSSimon Schubert 315796c8dcSSimon Schubert# map target info into gdb names. 325796c8dcSSimon Schubert 335796c8dcSSimon Schubertcase "${targ}" in 34*ef5ccd6cSJohn Marinoaarch64*-*-elf) 35*ef5ccd6cSJohn Marino # Target: AArch64 embedded system 36*ef5ccd6cSJohn Marino gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o" 37*ef5ccd6cSJohn Marino ;; 38*ef5ccd6cSJohn Marino 39*ef5ccd6cSJohn Marinoaarch64*-*-linux*) 40*ef5ccd6cSJohn Marino # Target: AArch64 linux 41*ef5ccd6cSJohn Marino gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o \ 42*ef5ccd6cSJohn Marino glibc-tdep.o linux-tdep.o solib-svr4.o \ 43*ef5ccd6cSJohn Marino symfile-mem.o" 44*ef5ccd6cSJohn Marino build_gdbserver=yes 45*ef5ccd6cSJohn Marino ;; 465796c8dcSSimon Schubert 475796c8dcSSimon Schubertalpha*-*-osf*) 485796c8dcSSimon Schubert # Target: Little-endian Alpha running OSF/1 495796c8dcSSimon Schubert gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o" 505796c8dcSSimon Schubert ;; 515796c8dcSSimon Schubertalpha*-*-linux*) 525796c8dcSSimon Schubert # Target: Little-endian Alpha running Linux 535796c8dcSSimon Schubert gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \ 54*ef5ccd6cSJohn Marino linux-tdep.o solib-svr4.o" 555796c8dcSSimon Schubert ;; 565796c8dcSSimon Schubertalpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) 575796c8dcSSimon Schubert # Target: FreeBSD/alpha 585796c8dcSSimon Schubert gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \ 59*ef5ccd6cSJohn Marino alphafbsd-tdep.o solib-svr4.o" 605796c8dcSSimon Schubert ;; 615796c8dcSSimon Schubertalpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) 625796c8dcSSimon Schubert # Target: NetBSD/alpha 635796c8dcSSimon Schubert gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \ 64*ef5ccd6cSJohn Marino alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o" 655796c8dcSSimon Schubert ;; 665796c8dcSSimon Schubertalpha*-*-openbsd*) 675796c8dcSSimon Schubert # Target: OpenBSD/alpha 685796c8dcSSimon Schubert gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \ 695796c8dcSSimon Schubert alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \ 70*ef5ccd6cSJohn Marino obsd-tdep.o solib-svr4.o" 715796c8dcSSimon Schubert ;; 725796c8dcSSimon Schubertalpha*-*-*) 735796c8dcSSimon Schubert # Target: Alpha 745796c8dcSSimon Schubert gdb_target_obs="alpha-tdep.o" 755796c8dcSSimon Schubert ;; 765796c8dcSSimon Schubert 775796c8dcSSimon Schubertam33_2.0*-*-linux*) 785796c8dcSSimon Schubert # Target: Matsushita mn10300 (AM33) running Linux 79c50c785cSJohn Marino gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \ 80*ef5ccd6cSJohn Marino solib-svr4.o" 815796c8dcSSimon Schubert ;; 825796c8dcSSimon Schubert 835796c8dcSSimon Schubertarm*-wince-pe | arm*-*-mingw32ce*) 845796c8dcSSimon Schubert # Target: ARM based machine running Windows CE (win32) 85*ef5ccd6cSJohn Marino gdb_target_obs="arm-tdep.o arm-wince-tdep.o" 865796c8dcSSimon Schubert build_gdbserver=yes 875796c8dcSSimon Schubert ;; 885796c8dcSSimon Schubertarm*-*-linux*) 895796c8dcSSimon Schubert # Target: ARM based machine running GNU/Linux 905796c8dcSSimon Schubert gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \ 91*ef5ccd6cSJohn Marino solib-svr4.o symfile-mem.o linux-tdep.o" 925796c8dcSSimon Schubert build_gdbserver=yes 935796c8dcSSimon Schubert ;; 945796c8dcSSimon Schubertarm*-*-netbsd* | arm*-*-knetbsd*-gnu) 955796c8dcSSimon Schubert # Target: NetBSD/arm 96*ef5ccd6cSJohn Marino gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib-svr4.o" 975796c8dcSSimon Schubert ;; 985796c8dcSSimon Schubertarm*-*-openbsd*) 995796c8dcSSimon Schubert # Target: OpenBSD/arm 1005796c8dcSSimon Schubert gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \ 101*ef5ccd6cSJohn Marino solib-svr4.o" 1025796c8dcSSimon Schubert ;; 103cf7f2e2dSJohn Marinoarm*-*-symbianelf*) 104cf7f2e2dSJohn Marino # Target: SymbianOS/arm 105*ef5ccd6cSJohn Marino gdb_target_obs="arm-tdep.o arm-symbian-tdep.o" 106cf7f2e2dSJohn Marino ;; 107a45ae5f8SJohn Marinoarm*-*-*) 1085796c8dcSSimon Schubert # Target: ARM embedded system 1095796c8dcSSimon Schubert gdb_target_obs="arm-tdep.o" 1105796c8dcSSimon Schubert gdb_sim=../sim/arm/libsim.a 1115796c8dcSSimon Schubert ;; 1125796c8dcSSimon Schubert 1135796c8dcSSimon Schubertavr-*-*) 1145796c8dcSSimon Schubert # Target: AVR 1155796c8dcSSimon Schubert gdb_target_obs="avr-tdep.o" 1165796c8dcSSimon Schubert gdb_sim=../sim/avr/libsim.a 1175796c8dcSSimon Schubert ;; 1185796c8dcSSimon Schubert 119c50c785cSJohn Marinobfin-*-*linux*) 120c50c785cSJohn Marino # Target: Blackfin Linux 121c50c785cSJohn Marino gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o" 122c50c785cSJohn Marino gdb_sim=../sim/bfin/libsim.a 123c50c785cSJohn Marino build_gdbserver=yes 124c50c785cSJohn Marino ;; 125c50c785cSJohn Marinobfin-*-*) 126c50c785cSJohn Marino # Target: Blackfin processor 127c50c785cSJohn Marino gdb_target_obs="bfin-tdep.o" 128c50c785cSJohn Marino gdb_sim=../sim/bfin/libsim.a 129c50c785cSJohn Marino ;; 130c50c785cSJohn Marino 1315796c8dcSSimon Schubertcris*) 1325796c8dcSSimon Schubert # Target: CRIS 133*ef5ccd6cSJohn Marino gdb_target_obs="cris-tdep.o solib-svr4.o" 1345796c8dcSSimon Schubert ;; 1355796c8dcSSimon Schubert 1365796c8dcSSimon Schubertfrv-*-*) 1375796c8dcSSimon Schubert # Target: Fujitsu FRV processor 138*ef5ccd6cSJohn Marino gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o" 1395796c8dcSSimon Schubert gdb_sim=../sim/frv/libsim.a 1405796c8dcSSimon Schubert ;; 1415796c8dcSSimon Schubert 142*ef5ccd6cSJohn Marinomoxie-*-elf | moxie-*-rtems*) 1435796c8dcSSimon Schubert gdb_target_obs="moxie-tdep.o" 1445796c8dcSSimon Schubert gdb_sim=../sim/moxie/libsim.a 1455796c8dcSSimon Schubert ;; 1465796c8dcSSimon Schubert 1475796c8dcSSimon Schuberth8300-*-*) 1485796c8dcSSimon Schubert # Target: H8300 with HMS monitor and H8 simulator 1495796c8dcSSimon Schubert gdb_target_obs="h8300-tdep.o monitor.o dsrec.o" 1505796c8dcSSimon Schubert gdb_sim=../sim/h8300/libsim.a 1515796c8dcSSimon Schubert ;; 1525796c8dcSSimon Schubert 1535796c8dcSSimon Schuberthppa*-*-hpux*) 1545796c8dcSSimon Schubert # Target: HP PA-RISC running hpux 155*ef5ccd6cSJohn Marino gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o solib-som.o solib-pa64.o" 1565796c8dcSSimon Schubert ;; 1575796c8dcSSimon Schuberthppa*-*-linux*) 1585796c8dcSSimon Schubert # Target: HP PA-RISC running Linux 1595796c8dcSSimon Schubert gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \ 160*ef5ccd6cSJohn Marino linux-tdep.o solib-svr4.o symfile-mem.o" 1615796c8dcSSimon Schubert ;; 1625796c8dcSSimon Schuberthppa*-*-netbsd*) 1635796c8dcSSimon Schubert # Target: NetBSD/hppa 164*ef5ccd6cSJohn Marino gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o solib-svr4.o" 1655796c8dcSSimon Schubert ;; 1665796c8dcSSimon Schuberthppa*-*-openbsd*) 1675796c8dcSSimon Schubert # Target: OpenBSD/hppa 168*ef5ccd6cSJohn Marino gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o solib-svr4.o" 1695796c8dcSSimon Schubert ;; 1705796c8dcSSimon Schuberthppa*-*-*) 1715796c8dcSSimon Schubert # Target: HP PA-RISC 1725796c8dcSSimon Schubert gdb_target_obs="hppa-tdep.o" 1735796c8dcSSimon Schubert ;; 1745796c8dcSSimon Schubert 1755796c8dcSSimon Schuberti[34567]86-*-darwin*) 1765796c8dcSSimon Schubert # Target: Darwin/i386 1775796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o \ 178*ef5ccd6cSJohn Marino i386-darwin-tdep.o solib-darwin.o" 1795796c8dcSSimon Schubert if test "x$enable_64_bit_bfd" = "xyes"; then 1805796c8dcSSimon Schubert # Target: GNU/Linux x86-64 1815796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}" 1825796c8dcSSimon Schubert fi 1835796c8dcSSimon Schubert ;; 1845796c8dcSSimon Schuberti[34567]86-*-dicos*) 1855796c8dcSSimon Schubert # Target: DICOS/i386 186*ef5ccd6cSJohn Marino gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o" 1875796c8dcSSimon Schubert ;; 1885796c8dcSSimon Schuberti[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu) 1895796c8dcSSimon Schubert # Target: FreeBSD/i386 1905796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \ 191*ef5ccd6cSJohn Marino bsd-uthread.o solib-svr4.o" 1925796c8dcSSimon Schubert ;; 1935796c8dcSSimon Schuberti[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu) 1945796c8dcSSimon Schubert # Target: NetBSD/i386 1955796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \ 196*ef5ccd6cSJohn Marino nbsd-tdep.o solib-svr4.o" 1975796c8dcSSimon Schubert ;; 1985796c8dcSSimon Schuberti[34567]86-*-openbsd*) 1995796c8dcSSimon Schubert # Target: OpenBSD/i386 2005796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ 201*ef5ccd6cSJohn Marino bsd-uthread.o solib-svr4.o" 2025796c8dcSSimon Schubert ;; 2035796c8dcSSimon Schuberti[34567]86-*-dragonfly*) 2045796c8dcSSimon Schubert # Target: DragonFly/i386 205*ef5ccd6cSJohn Marino gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \ 2065796c8dcSSimon Schubert i386dfly-tdep.o bsd-uthread.o corelow.o solib.o solib-svr4.o" 2075796c8dcSSimon Schubert ;; 2085796c8dcSSimon Schuberti[34567]86-*-nto*) 209cf7f2e2dSJohn Marino # Target: Intel 386 running qnx6. 2105796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \ 2115796c8dcSSimon Schubert i386-nto-tdep.o nto-tdep.o" 212*ef5ccd6cSJohn Marino build_gdbserver=yes 2135796c8dcSSimon Schubert ;; 2145796c8dcSSimon Schuberti[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*) 2155796c8dcSSimon Schubert # Target: Solaris x86_64 2165796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \ 217*ef5ccd6cSJohn Marino i386-sol2-tdep.o sol2-tdep.o solib-svr4.o" 2185796c8dcSSimon Schubert ;; 2195796c8dcSSimon Schuberti[34567]86-*-solaris*) 2205796c8dcSSimon Schubert # Target: Solaris x86 2215796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \ 222*ef5ccd6cSJohn Marino solib-svr4.o" 2235796c8dcSSimon Schubert ;; 2245796c8dcSSimon Schuberti[34567]86-*-linux*) 2255796c8dcSSimon Schubert # Target: Intel 386 running GNU/Linux 2265796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \ 2275796c8dcSSimon Schubert solib-svr4.o symfile-mem.o \ 2285796c8dcSSimon Schubert linux-tdep.o linux-record.o" 2295796c8dcSSimon Schubert if test "x$enable_64_bit_bfd" = "xyes"; then 2305796c8dcSSimon Schubert # Target: GNU/Linux x86-64 2315796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}" 232*ef5ccd6cSJohn Marino fi 2335796c8dcSSimon Schubert build_gdbserver=yes 2345796c8dcSSimon Schubert ;; 2355796c8dcSSimon Schuberti[34567]86-*-gnu*) 2365796c8dcSSimon Schubert # Target: Intel 386 running the GNU Hurd 237*ef5ccd6cSJohn Marino gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o" 2385796c8dcSSimon Schubert ;; 2395796c8dcSSimon Schuberti[34567]86-*-cygwin*) 2405796c8dcSSimon Schubert # Target: Intel 386 running win32 2415796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \ 2425796c8dcSSimon Schubert windows-tdep.o" 243*ef5ccd6cSJohn Marino build_gdbserver=yes 2445796c8dcSSimon Schubert ;; 2455796c8dcSSimon Schuberti[34567]86-*-mingw32*) 2465796c8dcSSimon Schubert # Target: Intel 386 running win32 2475796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \ 2485796c8dcSSimon Schubert windows-tdep.o" 2495796c8dcSSimon Schubert build_gdbserver=yes 2505796c8dcSSimon Schubert ;; 251c50c785cSJohn Marinoi[34567]86-*-*) 252c50c785cSJohn Marino # Target: i386 253c50c785cSJohn Marino gdb_target_obs="i386-tdep.o i387-tdep.o" 254c50c785cSJohn Marino ;; 2555796c8dcSSimon Schubert 2565796c8dcSSimon Schubertia64-*-hpux*) 257c50c785cSJohn Marino # Target: Intel IA-64 running HP-UX 258*ef5ccd6cSJohn Marino gdb_target_obs="ia64-tdep.o ia64-hpux-tdep.o" 2595796c8dcSSimon Schubert ;; 2605796c8dcSSimon Schubertia64-*-linux*) 261*ef5ccd6cSJohn Marino # Target: Intel IA-64 running GNU/Linux 262*ef5ccd6cSJohn Marino gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \ 263*ef5ccd6cSJohn Marino solib-svr4.o symfile-mem.o" 264*ef5ccd6cSJohn Marino build_gdbserver=yes 2655796c8dcSSimon Schubert ;; 2665796c8dcSSimon Schubertia64-*-*vms*) 2675796c8dcSSimon Schubert # Target: Intel IA-64 running OpenVMS 2685796c8dcSSimon Schubert gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o" 2695796c8dcSSimon Schubert ;; 2705796c8dcSSimon Schubertia64*-*-*) 2715796c8dcSSimon Schubert # Target: Intel IA-64 2725796c8dcSSimon Schubert gdb_target_obs="ia64-tdep.o" 2735796c8dcSSimon Schubert ;; 2745796c8dcSSimon Schubert 2755796c8dcSSimon Schubertiq2000-*-*) 2765796c8dcSSimon Schubert gdb_target_obs="iq2000-tdep.o" 2775796c8dcSSimon Schubert gdb_sim=../sim/iq2000/libsim.a 2785796c8dcSSimon Schubert ;; 2795796c8dcSSimon Schubert 2805796c8dcSSimon Schubertlm32-*-*) 2815796c8dcSSimon Schubert gdb_target_obs="lm32-tdep.o" 282*ef5ccd6cSJohn Marino gdb_sim=../sim/lm32/libsim.a 2835796c8dcSSimon Schubert ;; 2845796c8dcSSimon Schubert 2855796c8dcSSimon Schubertm32c-*-*) 2865796c8dcSSimon Schubert # Target: Renesas M32C family 2875796c8dcSSimon Schubert gdb_target_obs="m32c-tdep.o" 2885796c8dcSSimon Schubert # There may also be a SID / CGEN simulator for this, 2895796c8dcSSimon Schubert # but we do have DJ Delorie's mini-sim. 2905796c8dcSSimon Schubert gdb_sim=../sim/m32c/libsim.a 291*ef5ccd6cSJohn Marino ;; 292c50c785cSJohn Marino 2935796c8dcSSimon Schubertm32r*-*-linux*) 2945796c8dcSSimon Schubert # Target: Renesas M32R running GNU/Linux 2955796c8dcSSimon Schubert gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \ 2965796c8dcSSimon Schubert glibc-tdep.o solib-svr4.o symfile-mem.o \ 2975796c8dcSSimon Schubert linux-tdep.o" 2985796c8dcSSimon Schubert gdb_sim=../sim/m32r/libsim.a 2995796c8dcSSimon Schubert build_gdbserver=yes 3005796c8dcSSimon Schubert ;; 3015796c8dcSSimon Schubertm32r*-*-*) 3025796c8dcSSimon Schubert # Target: Renesas m32r processor 3035796c8dcSSimon Schubert gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \ 3045796c8dcSSimon Schubert remote-m32r-sdi.o" 3055796c8dcSSimon Schubert gdb_sim=../sim/m32r/libsim.a 3065796c8dcSSimon Schubert ;; 3075796c8dcSSimon Schubert 3085796c8dcSSimon Schubertm68hc11*-*-*|m6811*-*-*) 3095796c8dcSSimon Schubert # Target: Motorola 68HC11 processor 3105796c8dcSSimon Schubert gdb_target_obs="m68hc11-tdep.o" 3115796c8dcSSimon Schubert gdb_sim=../sim/m68hc11/libsim.a 3125796c8dcSSimon Schubert ;; 3135796c8dcSSimon Schubert 3145796c8dcSSimon Schubertm68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \ 3155796c8dcSSimon Schubertfido-*-elf*) 316*ef5ccd6cSJohn Marino # Target: Motorola m68k embedded (e.g. bug monitors) 317c50c785cSJohn Marino gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o" 3185796c8dcSSimon Schubert ;; 3195796c8dcSSimon Schubertm68*-*-linux*) 3205796c8dcSSimon Schubert # Target: Motorola m68k with a.out and ELF 3215796c8dcSSimon Schubert gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \ 322*ef5ccd6cSJohn Marino linux-tdep.o glibc-tdep.o symfile-mem.o" 3235796c8dcSSimon Schubert build_gdbserver=yes 3245796c8dcSSimon Schubert ;; 3255796c8dcSSimon Schubertm68*-*-netbsd* | m68*-*-knetbsd*-gnu) 326*ef5ccd6cSJohn Marino # Target: NetBSD/m68k 3275796c8dcSSimon Schubert gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o" 3285796c8dcSSimon Schubert ;; 3295796c8dcSSimon Schubertm68*-*-openbsd*) 3305796c8dcSSimon Schubert # Target: OpenBSD/m68k 331*ef5ccd6cSJohn Marino gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o" 3325796c8dcSSimon Schubert ;; 3335796c8dcSSimon Schubert 3345796c8dcSSimon Schubertm88*-*-openbsd*) 3355796c8dcSSimon Schubert # Target: OpenBSD/m88k 336*ef5ccd6cSJohn Marino gdb_target_obs="m88k-tdep.o" 3375796c8dcSSimon Schubert ;; 3385796c8dcSSimon Schubert 3395796c8dcSSimon Schubertmep-*-*) 340c50c785cSJohn Marino # Target: Toshiba Media Processor (MEP) 341cf7f2e2dSJohn Marino gdb_target_obs="mep-tdep.o" 342cf7f2e2dSJohn Marino # No sim needed. Target uses SID. 343*ef5ccd6cSJohn Marino ;; 344cf7f2e2dSJohn Marino 345cf7f2e2dSJohn Marinomicroblaze*-linux-*|microblaze*-*-linux*) 346c50c785cSJohn Marino # Target: Xilinx MicroBlaze running Linux 347cf7f2e2dSJohn Marino gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \ 348cf7f2e2dSJohn Marino monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o" 349cf7f2e2dSJohn Marino gdb_sim=../sim/microblaze/libsim.a 350cf7f2e2dSJohn Marino ;; 351cf7f2e2dSJohn Marinomicroblaze*-*-*) 3525796c8dcSSimon Schubert # Target: Xilinx MicroBlaze running standalone 3535796c8dcSSimon Schubert gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o" 354*ef5ccd6cSJohn Marino gdb_sim=../sim/microblaze/libsim.a 3555796c8dcSSimon Schubert ;; 3565796c8dcSSimon Schubert 3575796c8dcSSimon Schubertmips*-sgi-irix5*) 358*ef5ccd6cSJohn Marino # Target: MIPS SGI running Irix 5 3595796c8dcSSimon Schubert gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib-irix.o" 3605796c8dcSSimon Schubert ;; 3615796c8dcSSimon Schubertmips*-sgi-irix6*) 3625796c8dcSSimon Schubert # Target: MIPS SGI running Irix 6.x 363*ef5ccd6cSJohn Marino gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib-irix.o" 3645796c8dcSSimon Schubert ;; 3655796c8dcSSimon Schubertmips*-*-linux*) 3665796c8dcSSimon Schubert # Target: Linux/MIPS 3675796c8dcSSimon Schubert gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \ 3685796c8dcSSimon Schubert solib-svr4.o symfile-mem.o linux-tdep.o" 369*ef5ccd6cSJohn Marino gdb_sim=../sim/mips/libsim.a 3705796c8dcSSimon Schubert build_gdbserver=yes 3715796c8dcSSimon Schubert ;; 3725796c8dcSSimon Schubertmips*-*-netbsd* | mips*-*-knetbsd*-gnu) 3735796c8dcSSimon Schubert # Target: MIPS running NetBSD 374*ef5ccd6cSJohn Marino gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o" 3755796c8dcSSimon Schubert gdb_sim=../sim/mips/libsim.a 376c50c785cSJohn Marino ;; 377c50c785cSJohn Marinomips64*-*-openbsd*) 378c50c785cSJohn Marino # Target: OpenBSD/mips64 379c50c785cSJohn Marino gdb_target_obs="mips-tdep.o mips64obsd-tdep.o solib-svr4.o" 380c50c785cSJohn Marino ;; 3815796c8dcSSimon Schubertmips*-*-elf) 3825796c8dcSSimon Schubert # Target: MIPS ELF 3835796c8dcSSimon Schubert gdb_target_obs="mips-tdep.o remote-mips.o" 3845796c8dcSSimon Schubert gdb_sim=../sim/mips/libsim.a 3855796c8dcSSimon Schubert ;; 3865796c8dcSSimon Schubertmips*-*-*) 3875796c8dcSSimon Schubert # Target: MIPS 3885796c8dcSSimon Schubert gdb_target_obs="mips-tdep.o" 3895796c8dcSSimon Schubert gdb_sim=../sim/mips/libsim.a 3905796c8dcSSimon Schubert ;; 3915796c8dcSSimon Schubert 3925796c8dcSSimon Schubertmn10300-*-*) 3935796c8dcSSimon Schubert # Target: Matsushita mn10300 3945796c8dcSSimon Schubert gdb_target_obs="mn10300-tdep.o" 3955796c8dcSSimon Schubert gdb_sim=../sim/mn10300/libsim.a 3965796c8dcSSimon Schubert ;; 3975796c8dcSSimon Schubert 398*ef5ccd6cSJohn Marinomt-*-*) 399*ef5ccd6cSJohn Marino # Target: Morpho Technologies ms1 processor 400*ef5ccd6cSJohn Marino gdb_target_obs="mt-tdep.o" 401*ef5ccd6cSJohn Marino ;; 402*ef5ccd6cSJohn Marino 403*ef5ccd6cSJohn Marinopowerpc*-*-freebsd*) 404*ef5ccd6cSJohn Marino # Target: FreeBSD/powerpc 4055796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \ 4065796c8dcSSimon Schubert ppcfbsd-tdep.o solib-svr4.o \ 4075796c8dcSSimon Schubert ravenscar-thread.o ppc-ravenscar-thread.o" 408*ef5ccd6cSJohn Marino ;; 409*ef5ccd6cSJohn Marino 4105796c8dcSSimon Schubertpowerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) 4115796c8dcSSimon Schubert # Target: NetBSD/powerpc 4125796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \ 4135796c8dcSSimon Schubert solib-svr4.o \ 4145796c8dcSSimon Schubert ravenscar-thread.o ppc-ravenscar-thread.o" 415*ef5ccd6cSJohn Marino gdb_sim=../sim/ppc/libsim.a 416*ef5ccd6cSJohn Marino ;; 4175796c8dcSSimon Schubertpowerpc-*-openbsd*) 4185796c8dcSSimon Schubert # Target: OpenBSD/powerpc 4195796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \ 4205796c8dcSSimon Schubert solib-svr4.o \ 421*ef5ccd6cSJohn Marino ravenscar-thread.o ppc-ravenscar-thread.o" 422*ef5ccd6cSJohn Marino ;; 4235796c8dcSSimon Schubertpowerpc-*-aix* | rs6000-*-*) 4245796c8dcSSimon Schubert # Target: PowerPC running AIX 4255796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \ 4265796c8dcSSimon Schubert ppc-sysv-tdep.o solib-svr4.o \ 427*ef5ccd6cSJohn Marino ravenscar-thread.o ppc-ravenscar-thread.o" 428*ef5ccd6cSJohn Marino ;; 429*ef5ccd6cSJohn Marinopowerpc-*-linux* | powerpc64-*-linux*) 430*ef5ccd6cSJohn Marino # Target: PowerPC running Linux 4315796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \ 4325796c8dcSSimon Schubert ppc64-tdep.o solib-svr4.o solib-spu.o \ 4335796c8dcSSimon Schubert spu-multiarch.o \ 434*ef5ccd6cSJohn Marino glibc-tdep.o symfile-mem.o linux-tdep.o \ 435*ef5ccd6cSJohn Marino ravenscar-thread.o ppc-ravenscar-thread.o" 436*ef5ccd6cSJohn Marino gdb_sim=../sim/ppc/libsim.a 437*ef5ccd6cSJohn Marino build_gdbserver=yes 438*ef5ccd6cSJohn Marino ;; 439*ef5ccd6cSJohn Marinopowerpc-*-lynx*178) 4405796c8dcSSimon Schubert # Target: PowerPC running Lynx178. 4415796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \ 4425796c8dcSSimon Schubert xcoffread.o monitor.o dsrec.o ppc-sysv-tdep.o \ 443*ef5ccd6cSJohn Marino ravenscar-thread.o ppc-ravenscar-thread.o" 444*ef5ccd6cSJohn Marino ;; 4455796c8dcSSimon Schubertpowerpc*-*-*) 4465796c8dcSSimon Schubert # Target: PowerPC running eabi 4475796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \ 4485796c8dcSSimon Schubert dink32-rom.o ppc-sysv-tdep.o solib-svr4.o \ 4495796c8dcSSimon Schubert ravenscar-thread.o ppc-ravenscar-thread.o" 4505796c8dcSSimon Schubert if test -f ../sim/ppc/Makefile; then 4515796c8dcSSimon Schubert gdb_sim=../sim/ppc/libsim.a 452*ef5ccd6cSJohn Marino fi 4535796c8dcSSimon Schubert ;; 4545796c8dcSSimon Schubert 4555796c8dcSSimon Schuberts390*-*-*) 456*ef5ccd6cSJohn Marino # Target: S390 running Linux 457*ef5ccd6cSJohn Marino gdb_target_obs="s390-tdep.o solib-svr4.o linux-tdep.o" 458*ef5ccd6cSJohn Marino build_gdbserver=yes 459*ef5ccd6cSJohn Marino ;; 460*ef5ccd6cSJohn Marino 461*ef5ccd6cSJohn Marinorl78-*-elf) 462cf7f2e2dSJohn Marino # Target: Renesas rl78 463cf7f2e2dSJohn Marino gdb_target_obs="rl78-tdep.o" 464cf7f2e2dSJohn Marino gdb_sim=../sim/rl78/libsim.a 465cf7f2e2dSJohn Marino ;; 466cf7f2e2dSJohn Marino 467cf7f2e2dSJohn Marinorx-*-elf) 4685796c8dcSSimon Schubert # Target: Renesas RX 4695796c8dcSSimon Schubert gdb_target_obs="rx-tdep.o" 470*ef5ccd6cSJohn Marino gdb_sim=../sim/rx/libsim.a 4715796c8dcSSimon Schubert ;; 4725796c8dcSSimon Schubert 4735796c8dcSSimon Schubertscore-*-*) 4745796c8dcSSimon Schubert # Target: S+core embedded system 4755796c8dcSSimon Schubert gdb_target_obs="score-tdep.o" 4765796c8dcSSimon Schubert if test -f ../sim/score/Makefile; then 4775796c8dcSSimon Schubert gdb_sim=../sim/score/libsim.a 4785796c8dcSSimon Schubert fi 4795796c8dcSSimon Schubert build_gdbserver=yes 480*ef5ccd6cSJohn Marino ;; 481*ef5ccd6cSJohn Marino 4825796c8dcSSimon Schubertsh*-*-linux*) 4835796c8dcSSimon Schubert # Target: GNU/Linux Super-H 4845796c8dcSSimon Schubert gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \ 4855796c8dcSSimon Schubert dsrec.o solib-svr4.o symfile-mem.o \ 4865796c8dcSSimon Schubert glibc-tdep.o linux-tdep.o" 487*ef5ccd6cSJohn Marino gdb_sim=../sim/sh/libsim.a 4885796c8dcSSimon Schubert build_gdbserver=yes 4895796c8dcSSimon Schubert ;; 4905796c8dcSSimon Schubertsh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) 4915796c8dcSSimon Schubert # Target: NetBSD/sh 492*ef5ccd6cSJohn Marino gdb_target_obs="sh-tdep.o shnbsd-tdep.o solib-svr4.o" 4935796c8dcSSimon Schubert gdb_sim=../sim/sh/libsim.a 4945796c8dcSSimon Schubert ;; 4955796c8dcSSimon Schubertsh*-*-openbsd*) 4965796c8dcSSimon Schubert # Target: OpenBSD/sh 4975796c8dcSSimon Schubert gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o solib-svr4.o" 4985796c8dcSSimon Schubert ;; 4995796c8dcSSimon Schubertsh64-*-elf*) 5005796c8dcSSimon Schubert # Target: Renesas/Super-H 64 bit with simulator 5015796c8dcSSimon Schubert gdb_target_obs="sh-tdep.o sh64-tdep.o" 5025796c8dcSSimon Schubert gdb_sim=../sim/sh64/libsim.a 5035796c8dcSSimon Schubert ;; 5045796c8dcSSimon Schubertsh*) 5055796c8dcSSimon Schubert # Target: Embedded Renesas Super-H with ICE and simulator 5065796c8dcSSimon Schubert gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o" 5075796c8dcSSimon Schubert gdb_sim=../sim/sh/libsim.a 508*ef5ccd6cSJohn Marino ;; 509*ef5ccd6cSJohn Marino 510*ef5ccd6cSJohn Marinosparc-*-linux*) 5115796c8dcSSimon Schubert # Target: GNU/Linux SPARC 5125796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \ 5135796c8dcSSimon Schubert sparc-linux-tdep.o solib-svr4.o symfile-mem.o \ 5145796c8dcSSimon Schubert linux-tdep.o \ 5155796c8dcSSimon Schubert ravenscar-thread.o sparc-ravenscar-thread.o" 516*ef5ccd6cSJohn Marino if test "x$enable_64_bit_bfd" = "xyes"; then 5175796c8dcSSimon Schubert # Target: GNU/Linux UltraSPARC 5185796c8dcSSimon Schubert gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \ 5195796c8dcSSimon Schubert sparc64-linux-tdep.o ${gdb_target_obs}" 5205796c8dcSSimon Schubert fi 5215796c8dcSSimon Schubert build_gdbserver=yes 522*ef5ccd6cSJohn Marino ;; 523*ef5ccd6cSJohn Marinosparc64-*-linux*) 5245796c8dcSSimon Schubert # Target: GNU/Linux UltraSPARC 5255796c8dcSSimon Schubert gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \ 5265796c8dcSSimon Schubert sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \ 5275796c8dcSSimon Schubert sparc-linux-tdep.o solib-svr4.o linux-tdep.o \ 5285796c8dcSSimon Schubert ravenscar-thread.o sparc-ravenscar-thread.o" 529*ef5ccd6cSJohn Marino build_gdbserver=yes 530*ef5ccd6cSJohn Marino ;; 5315796c8dcSSimon Schubertsparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu) 5325796c8dcSSimon Schubert # Target: FreeBSD/sparc64 5335796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \ 5345796c8dcSSimon Schubert solib-svr4.o \ 535*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 536*ef5ccd6cSJohn Marino ;; 5375796c8dcSSimon Schubertsparc-*-netbsd* | sparc-*-knetbsd*-gnu) 5385796c8dcSSimon Schubert # Target: NetBSD/sparc 5395796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \ 5405796c8dcSSimon Schubert solib-svr4.o \ 541*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 542*ef5ccd6cSJohn Marino ;; 5435796c8dcSSimon Schubertsparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) 5445796c8dcSSimon Schubert # Target: NetBSD/sparc64 5455796c8dcSSimon Schubert gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \ 5465796c8dcSSimon Schubert sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \ 547*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 548*ef5ccd6cSJohn Marino ;; 5495796c8dcSSimon Schubertsparc-*-openbsd*) 5505796c8dcSSimon Schubert # Target: OpenBSD/sparc 5515796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \ 5525796c8dcSSimon Schubert nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \ 5535796c8dcSSimon Schubert ravenscar-thread.o sparc-ravenscar-thread.o" 554*ef5ccd6cSJohn Marino ;; 555*ef5ccd6cSJohn Marinosparc64-*-openbsd*) 5565796c8dcSSimon Schubert # Target: OpenBSD/sparc64 5575796c8dcSSimon Schubert gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \ 5585796c8dcSSimon Schubert sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \ 5595796c8dcSSimon Schubert nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \ 560*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 561*ef5ccd6cSJohn Marino ;; 5625796c8dcSSimon Schubertsparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) 5635796c8dcSSimon Schubert # Target: Solaris SPARC 5645796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \ 5655796c8dcSSimon Schubert solib-svr4.o \ 566*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 567*ef5ccd6cSJohn Marino ;; 5685796c8dcSSimon Schubertsparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) 5695796c8dcSSimon Schubert # Target: Solaris UltraSPARC 5705796c8dcSSimon Schubert gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \ 571*ef5ccd6cSJohn Marino sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \ 572*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 573c50c785cSJohn Marino ;; 5745796c8dcSSimon Schubertsparc-*-*) 5755796c8dcSSimon Schubert # Target: SPARC 5765796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o \ 577*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 578*ef5ccd6cSJohn Marino gdb_sim=../sim/erc32/libsim.a 5795796c8dcSSimon Schubert ;; 5805796c8dcSSimon Schubertsparc64-*-*) 5815796c8dcSSimon Schubert # Target: UltraSPARC 5825796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o sparc64-tdep.o \ 5835796c8dcSSimon Schubert ravenscar-thread.o sparc-ravenscar-thread.o" 5845796c8dcSSimon Schubert ;; 5855796c8dcSSimon Schubert 5865796c8dcSSimon Schubertspu*-*-*) 587a45ae5f8SJohn Marino # Target: Cell BE SPU 588a45ae5f8SJohn Marino gdb_target_obs="spu-tdep.o" 589a45ae5f8SJohn Marino build_gdbserver=yes 590*ef5ccd6cSJohn Marino ;; 591a45ae5f8SJohn Marino 592a45ae5f8SJohn Marinotic6x-*-*linux) 593a45ae5f8SJohn Marino # Target: GNU/Linux TI C6x 594a45ae5f8SJohn Marino gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \ 595a45ae5f8SJohn Marino glibc-tdep.o linux-tdep.o" 596a45ae5f8SJohn Marino ;; 597a45ae5f8SJohn Marino 598*ef5ccd6cSJohn Marinotic6x-*-*) 599*ef5ccd6cSJohn Marino # Target: TI C6X 600*ef5ccd6cSJohn Marino gdb_target_obs="tic6x-tdep.o" 601*ef5ccd6cSJohn Marino ;; 602*ef5ccd6cSJohn Marino 603*ef5ccd6cSJohn Marinotilegx-*-linux*) 604*ef5ccd6cSJohn Marino # Target: TILE-Gx 6055796c8dcSSimon Schubert gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \ 6065796c8dcSSimon Schubert symfile-mem.o glibc-tdep.o linux-tdep.o" 6075796c8dcSSimon Schubert build_gdbserver=yes 6085796c8dcSSimon Schubert ;; 6095796c8dcSSimon Schubert 6105796c8dcSSimon Schubertxstormy16-*-*) 611*ef5ccd6cSJohn Marino # Target: Sanyo Xstormy16a processor 6125796c8dcSSimon Schubert gdb_target_obs="xstormy16-tdep.o" 6135796c8dcSSimon Schubert # No simulator libraries are needed -- target uses SID. 6145796c8dcSSimon Schubert ;; 6155796c8dcSSimon Schubert 6165796c8dcSSimon Schubertv850*-*-elf | v850*-*-rtems*) 6175796c8dcSSimon Schubert # Target: NEC V850 processor 6185796c8dcSSimon Schubert gdb_target_obs="v850-tdep.o" 619*ef5ccd6cSJohn Marino gdb_sim=../sim/v850/libsim.a 6205796c8dcSSimon Schubert ;; 6215796c8dcSSimon Schubert 6225796c8dcSSimon Schubertvax-*-netbsd* | vax-*-knetbsd*-gnu) 623*ef5ccd6cSJohn Marino # Target: NetBSD/vax 6245796c8dcSSimon Schubert gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o" 6255796c8dcSSimon Schubert ;; 6265796c8dcSSimon Schubertvax-*-openbsd*) 6275796c8dcSSimon Schubert # Target: OpenBSD/vax 6285796c8dcSSimon Schubert gdb_target_obs="vax-tdep.o vaxobsd-tdep.o" 6295796c8dcSSimon Schubert ;; 6305796c8dcSSimon Schubertvax-*-*) 6315796c8dcSSimon Schubert # Target: VAX running 4.2BSD or Ultrix 6325796c8dcSSimon Schubert gdb_target_obs="vax-tdep.o" 6335796c8dcSSimon Schubert ;; 634*ef5ccd6cSJohn Marino 6355796c8dcSSimon Schubertx86_64-*-darwin*) 6365796c8dcSSimon Schubert # Target: Darwin/x86-64 6375796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \ 6385796c8dcSSimon Schubert i386-darwin-tdep.o amd64-darwin-tdep.o \ 6395796c8dcSSimon Schubert solib-darwin.o" 640*ef5ccd6cSJohn Marino ;; 6415796c8dcSSimon Schubert 6425796c8dcSSimon Schubertx86_64-*-dicos*) 6435796c8dcSSimon Schubert # Target: DICOS/x86-64 6445796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \ 6455796c8dcSSimon Schubert dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o" 646*ef5ccd6cSJohn Marino ;; 6475796c8dcSSimon Schubertx86_64-*-linux*) 6485796c8dcSSimon Schubert # Target: GNU/Linux x86-64 6495796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \ 6505796c8dcSSimon Schubert i387-tdep.o i386-linux-tdep.o glibc-tdep.o \ 6515796c8dcSSimon Schubert solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o" 6525796c8dcSSimon Schubert build_gdbserver=yes 653*ef5ccd6cSJohn Marino ;; 6545796c8dcSSimon Schubertx86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) 655*ef5ccd6cSJohn Marino # Target: FreeBSD/amd64 6565796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \ 6575796c8dcSSimon Schubert i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \ 6585796c8dcSSimon Schubert bsd-uthread.o solib-svr4.o" 659*ef5ccd6cSJohn Marino ;; 660cf7f2e2dSJohn Marinox86_64-*-mingw* | x86_64-*-cygwin*) 6615796c8dcSSimon Schubert # Target: MingW/amd64 6625796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \ 6635796c8dcSSimon Schubert i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \ 6645796c8dcSSimon Schubert windows-tdep.o" 665*ef5ccd6cSJohn Marino build_gdbserver=yes 6665796c8dcSSimon Schubert ;; 6675796c8dcSSimon Schubertx86_64-*-netbsd* | x86_64-*-knetbsd*-gnu) 6685796c8dcSSimon Schubert # Target: NetBSD/amd64 6695796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \ 6705796c8dcSSimon Schubert nbsd-tdep.o solib-svr4.o" 671*ef5ccd6cSJohn Marino ;; 6725796c8dcSSimon Schubertx86_64-*-openbsd*) 6735796c8dcSSimon Schubert # Target: OpenBSD/amd64 6745796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \ 6755796c8dcSSimon Schubert i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ 676*ef5ccd6cSJohn Marino bsd-uthread.o solib-svr4.o" 6775796c8dcSSimon Schubert ;; 6785796c8dcSSimon Schubertx86_64-*-dragonfly*) 6795796c8dcSSimon Schubert # Target: DragonFly/amd64 6805796c8dcSSimon Schubert gdb_target_obs="amd64-tdep.o amd64dfly-tdep.o i386-tdep.o \ 681*ef5ccd6cSJohn Marino i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o i386dfly-tdep.o \ 6825796c8dcSSimon Schubert i386dfly-tdep.o bsd-uthread.o corelow.o solib.o solib-svr4.o" 6835796c8dcSSimon Schubert ;; 6845796c8dcSSimon Schubertxtensa*-*-linux*) gdb_target=linux 6855796c8dcSSimon Schubert # Target: GNU/Linux Xtensa 6865796c8dcSSimon Schubert gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \ 6875796c8dcSSimon Schubert solib-svr4.o symfile-mem.o linux-tdep.o" 6885796c8dcSSimon Schubert build_gdbserver=yes 689c50c785cSJohn Marino ;; 690c50c785cSJohn Marinoxtensa*) 691c50c785cSJohn Marino # Target: Tensilica Xtensa processors 692c50c785cSJohn Marino gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o" 6935796c8dcSSimon Schubert ;; 6945796c8dcSSimon Schubert 6955796c8dcSSimon Schubertesac 6965796c8dcSSimon Schubert 6975796c8dcSSimon Schubert# map target onto default OS ABI 6985796c8dcSSimon Schubert 6995796c8dcSSimon Schubertcase "${targ}" in 7005796c8dcSSimon Schubert*-*-freebsd* | *-*-kfreebsd*-gnu) 7015796c8dcSSimon Schubert gdb_osabi=GDB_OSABI_FREEBSD_ELF ;; 7025796c8dcSSimon Schubert*-*-linux* | *-*-uclinux*) 703cf7f2e2dSJohn Marino gdb_osabi=GDB_OSABI_LINUX ;; 704cf7f2e2dSJohn Marino*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;; 7055796c8dcSSimon Schubertm68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;; 706*-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;; 707*-*-dragonfly*) gdb_osabi=GDB_OSABI_DRAGONFLY ;; 708*-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;; 709*-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below 710*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;; 711*-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;; 712*-*-mingw* | *-*-cygwin*) 713 gdb_osabi=GDB_OSABI_CYGWIN ;; 714*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;; 715*-*-symbianelf*) 716 gdb_osabi=GDB_OSABI_SYMBIAN ;; 717esac 718