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 ;; 20369e0f06dSSimon Schuberti[34567]86-*-dragonfly*) 20469e0f06dSSimon Schubert # Target: DragonFly/i386 20569e0f06dSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \ 20669e0f06dSSimon Schubert i386dfly-tdep.o bsd-uthread.o corelow.o solib.o solib-svr4.o" 20769e0f06dSSimon Schubert ;; 2085796c8dcSSimon Schuberti[34567]86-*-nto*) 2095796c8dcSSimon Schubert # Target: Intel 386 running qnx6. 210*ef5ccd6cSJohn Marino gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \ 2115796c8dcSSimon Schubert i386-nto-tdep.o nto-tdep.o" 2125796c8dcSSimon Schubert build_gdbserver=yes 2135796c8dcSSimon Schubert ;; 214cf7f2e2dSJohn Marinoi[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 \ 227*ef5ccd6cSJohn Marino 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}" 2325796c8dcSSimon Schubert 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 \ 242*ef5ccd6cSJohn Marino windows-tdep.o" 2435796c8dcSSimon Schubert 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 \ 248*ef5ccd6cSJohn Marino windows-tdep.o" 2495796c8dcSSimon Schubert build_gdbserver=yes 2505796c8dcSSimon Schubert ;; 2515796c8dcSSimon Schuberti[34567]86-*-*) 2525796c8dcSSimon Schubert # Target: i386 2535796c8dcSSimon Schubert gdb_target_obs="i386-tdep.o i387-tdep.o" 2545796c8dcSSimon Schubert ;; 2555796c8dcSSimon Schubert 256c50c785cSJohn Marinoia64-*-hpux*) 257c50c785cSJohn Marino # Target: Intel IA-64 running HP-UX 258c50c785cSJohn Marino gdb_target_obs="ia64-tdep.o ia64-hpux-tdep.o" 259c50c785cSJohn Marino ;; 2605796c8dcSSimon Schubertia64-*-linux*) 2615796c8dcSSimon Schubert # Target: Intel IA-64 running GNU/Linux 262c50c785cSJohn Marino gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \ 263*ef5ccd6cSJohn Marino solib-svr4.o symfile-mem.o" 2645796c8dcSSimon Schubert build_gdbserver=yes 2655796c8dcSSimon Schubert ;; 266*ef5ccd6cSJohn Marinoia64-*-*vms*) 267*ef5ccd6cSJohn Marino # Target: Intel IA-64 running OpenVMS 268*ef5ccd6cSJohn Marino gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o" 269*ef5ccd6cSJohn Marino ;; 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" 2825796c8dcSSimon Schubert gdb_sim=../sim/lm32/libsim.a 2835796c8dcSSimon Schubert ;; 2845796c8dcSSimon Schubert 2855796c8dcSSimon Schubertm32c-*-*) 2865796c8dcSSimon Schubert # Target: Renesas M32C family 287*ef5ccd6cSJohn Marino 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 2915796c8dcSSimon Schubert ;; 2925796c8dcSSimon Schubert 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 \ 296*ef5ccd6cSJohn Marino glibc-tdep.o solib-svr4.o symfile-mem.o \ 297c50c785cSJohn Marino 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*) 3165796c8dcSSimon Schubert # Target: Motorola m68k embedded (e.g. bug monitors) 3175796c8dcSSimon Schubert 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 321*ef5ccd6cSJohn Marino gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \ 322c50c785cSJohn Marino linux-tdep.o glibc-tdep.o symfile-mem.o" 3235796c8dcSSimon Schubert build_gdbserver=yes 3245796c8dcSSimon Schubert ;; 3255796c8dcSSimon Schubertm68*-*-netbsd* | m68*-*-knetbsd*-gnu) 3265796c8dcSSimon Schubert # Target: NetBSD/m68k 327*ef5ccd6cSJohn Marino 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-*-*) 3405796c8dcSSimon Schubert # Target: Toshiba Media Processor (MEP) 341*ef5ccd6cSJohn Marino gdb_target_obs="mep-tdep.o" 3425796c8dcSSimon Schubert # No sim needed. Target uses SID. 3435796c8dcSSimon Schubert ;; 3445796c8dcSSimon Schubert 345c50c785cSJohn Marinomicroblaze*-linux-*|microblaze*-*-linux*) 346cf7f2e2dSJohn Marino # Target: Xilinx MicroBlaze running Linux 347cf7f2e2dSJohn Marino gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \ 348*ef5ccd6cSJohn Marino monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o" 349cf7f2e2dSJohn Marino gdb_sim=../sim/microblaze/libsim.a 350cf7f2e2dSJohn Marino ;; 351c50c785cSJohn Marinomicroblaze*-*-*) 352cf7f2e2dSJohn Marino # Target: Xilinx MicroBlaze running standalone 353cf7f2e2dSJohn Marino gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o" 354cf7f2e2dSJohn Marino gdb_sim=../sim/microblaze/libsim.a 355cf7f2e2dSJohn Marino ;; 356cf7f2e2dSJohn Marino 3575796c8dcSSimon Schubertmips*-sgi-irix5*) 3585796c8dcSSimon Schubert # Target: MIPS SGI running Irix 5 359*ef5ccd6cSJohn Marino 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 \ 368*ef5ccd6cSJohn Marino solib-svr4.o symfile-mem.o linux-tdep.o" 3695796c8dcSSimon Schubert 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 3765796c8dcSSimon Schubert ;; 3775796c8dcSSimon Schubertmips64*-*-openbsd*) 3785796c8dcSSimon Schubert # Target: OpenBSD/mips64 379*ef5ccd6cSJohn Marino gdb_target_obs="mips-tdep.o mips64obsd-tdep.o solib-svr4.o" 3805796c8dcSSimon Schubert ;; 381c50c785cSJohn Marinomips*-*-elf) 382c50c785cSJohn Marino # Target: MIPS ELF 383c50c785cSJohn Marino gdb_target_obs="mips-tdep.o remote-mips.o" 384c50c785cSJohn Marino gdb_sim=../sim/mips/libsim.a 385c50c785cSJohn Marino ;; 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 3985796c8dcSSimon Schubertmt-*-*) 3995796c8dcSSimon Schubert # Target: Morpho Technologies ms1 processor 4005796c8dcSSimon Schubert gdb_target_obs="mt-tdep.o" 4015796c8dcSSimon Schubert ;; 4025796c8dcSSimon Schubert 403*ef5ccd6cSJohn Marinopowerpc*-*-freebsd*) 404*ef5ccd6cSJohn Marino # Target: FreeBSD/powerpc 405*ef5ccd6cSJohn Marino gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \ 406*ef5ccd6cSJohn Marino ppcfbsd-tdep.o solib-svr4.o \ 407*ef5ccd6cSJohn Marino 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 \ 413*ef5ccd6cSJohn Marino solib-svr4.o \ 414*ef5ccd6cSJohn Marino ravenscar-thread.o ppc-ravenscar-thread.o" 4155796c8dcSSimon Schubert gdb_sim=../sim/ppc/libsim.a 4165796c8dcSSimon Schubert ;; 4175796c8dcSSimon Schubertpowerpc-*-openbsd*) 4185796c8dcSSimon Schubert # Target: OpenBSD/powerpc 4195796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \ 420*ef5ccd6cSJohn Marino solib-svr4.o \ 421*ef5ccd6cSJohn Marino ravenscar-thread.o ppc-ravenscar-thread.o" 4225796c8dcSSimon Schubert ;; 4235796c8dcSSimon Schubertpowerpc-*-aix* | rs6000-*-*) 4245796c8dcSSimon Schubert # Target: PowerPC running AIX 4255796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \ 426*ef5ccd6cSJohn Marino ppc-sysv-tdep.o solib-svr4.o \ 427*ef5ccd6cSJohn Marino ravenscar-thread.o ppc-ravenscar-thread.o" 4285796c8dcSSimon Schubert ;; 4295796c8dcSSimon Schubertpowerpc-*-linux* | powerpc64-*-linux*) 4305796c8dcSSimon Schubert # Target: PowerPC running Linux 4315796c8dcSSimon Schubert gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \ 432*ef5ccd6cSJohn Marino ppc64-tdep.o solib-svr4.o solib-spu.o \ 433*ef5ccd6cSJohn Marino 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" 4365796c8dcSSimon Schubert gdb_sim=../sim/ppc/libsim.a 4375796c8dcSSimon Schubert build_gdbserver=yes 4385796c8dcSSimon Schubert ;; 439*ef5ccd6cSJohn Marinopowerpc-*-lynx*178) 440*ef5ccd6cSJohn Marino # Target: PowerPC running Lynx178. 441*ef5ccd6cSJohn Marino gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \ 442*ef5ccd6cSJohn Marino 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 \ 448*ef5ccd6cSJohn Marino dink32-rom.o ppc-sysv-tdep.o solib-svr4.o \ 449*ef5ccd6cSJohn Marino ravenscar-thread.o ppc-ravenscar-thread.o" 4505796c8dcSSimon Schubert if test -f ../sim/ppc/Makefile; then 4515796c8dcSSimon Schubert gdb_sim=../sim/ppc/libsim.a 4525796c8dcSSimon Schubert fi 4535796c8dcSSimon Schubert ;; 4545796c8dcSSimon Schubert 4555796c8dcSSimon Schuberts390*-*-*) 4565796c8dcSSimon Schubert # Target: S390 running Linux 457*ef5ccd6cSJohn Marino gdb_target_obs="s390-tdep.o solib-svr4.o linux-tdep.o" 4585796c8dcSSimon Schubert build_gdbserver=yes 4595796c8dcSSimon Schubert ;; 4605796c8dcSSimon Schubert 461*ef5ccd6cSJohn Marinorl78-*-elf) 462*ef5ccd6cSJohn Marino # Target: Renesas rl78 463*ef5ccd6cSJohn Marino gdb_target_obs="rl78-tdep.o" 464*ef5ccd6cSJohn Marino gdb_sim=../sim/rl78/libsim.a 465*ef5ccd6cSJohn Marino ;; 466*ef5ccd6cSJohn Marino 467cf7f2e2dSJohn Marinorx-*-elf) 468cf7f2e2dSJohn Marino # Target: Renesas RX 469cf7f2e2dSJohn Marino gdb_target_obs="rx-tdep.o" 470cf7f2e2dSJohn Marino gdb_sim=../sim/rx/libsim.a 471cf7f2e2dSJohn Marino ;; 472cf7f2e2dSJohn Marino 4735796c8dcSSimon Schubertscore-*-*) 4745796c8dcSSimon Schubert # Target: S+core embedded system 475*ef5ccd6cSJohn Marino 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 4805796c8dcSSimon Schubert ;; 4815796c8dcSSimon Schubert 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 \ 485*ef5ccd6cSJohn Marino dsrec.o solib-svr4.o symfile-mem.o \ 486*ef5ccd6cSJohn Marino glibc-tdep.o linux-tdep.o" 4875796c8dcSSimon Schubert 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 497*ef5ccd6cSJohn Marino 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 5085796c8dcSSimon Schubert ;; 5095796c8dcSSimon Schubert 5105796c8dcSSimon Schubertsparc-*-linux*) 5115796c8dcSSimon Schubert # Target: GNU/Linux SPARC 5125796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \ 513*ef5ccd6cSJohn Marino sparc-linux-tdep.o solib-svr4.o symfile-mem.o \ 514*ef5ccd6cSJohn Marino linux-tdep.o \ 515*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5165796c8dcSSimon Schubert 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 521*ef5ccd6cSJohn Marino build_gdbserver=yes 5225796c8dcSSimon Schubert ;; 5235796c8dcSSimon Schubertsparc64-*-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 \ 527*ef5ccd6cSJohn Marino sparc-linux-tdep.o solib-svr4.o linux-tdep.o \ 528*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5295796c8dcSSimon Schubert build_gdbserver=yes 5305796c8dcSSimon Schubert ;; 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 \ 534*ef5ccd6cSJohn Marino solib-svr4.o \ 535*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5365796c8dcSSimon Schubert ;; 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 \ 540*ef5ccd6cSJohn Marino solib-svr4.o \ 541*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5425796c8dcSSimon Schubert ;; 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 \ 546*ef5ccd6cSJohn Marino sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \ 547*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5485796c8dcSSimon Schubert ;; 5495796c8dcSSimon Schubertsparc-*-openbsd*) 5505796c8dcSSimon Schubert # Target: OpenBSD/sparc 5515796c8dcSSimon Schubert gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \ 552*ef5ccd6cSJohn Marino nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \ 553*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5545796c8dcSSimon Schubert ;; 5555796c8dcSSimon Schubertsparc64-*-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 \ 559*ef5ccd6cSJohn Marino nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \ 560*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5615796c8dcSSimon Schubert ;; 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 \ 565*ef5ccd6cSJohn Marino solib-svr4.o \ 566*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5675796c8dcSSimon Schubert ;; 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" 5735796c8dcSSimon Schubert ;; 5745796c8dcSSimon Schubertsparc-*-*) 5755796c8dcSSimon Schubert # Target: SPARC 576*ef5ccd6cSJohn Marino gdb_target_obs="sparc-tdep.o \ 577*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 578c50c785cSJohn Marino gdb_sim=../sim/erc32/libsim.a 5795796c8dcSSimon Schubert ;; 5805796c8dcSSimon Schubertsparc64-*-*) 5815796c8dcSSimon Schubert # Target: UltraSPARC 582*ef5ccd6cSJohn Marino gdb_target_obs="sparc-tdep.o sparc64-tdep.o \ 583*ef5ccd6cSJohn Marino ravenscar-thread.o sparc-ravenscar-thread.o" 5845796c8dcSSimon Schubert ;; 5855796c8dcSSimon Schubert 5865796c8dcSSimon Schubertspu*-*-*) 5875796c8dcSSimon Schubert # Target: Cell BE SPU 5885796c8dcSSimon Schubert gdb_target_obs="spu-tdep.o" 5895796c8dcSSimon Schubert build_gdbserver=yes 5905796c8dcSSimon Schubert ;; 5915796c8dcSSimon Schubert 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 \ 595*ef5ccd6cSJohn Marino glibc-tdep.o linux-tdep.o" 596a45ae5f8SJohn Marino ;; 597a45ae5f8SJohn Marino 598a45ae5f8SJohn Marinotic6x-*-*) 599a45ae5f8SJohn Marino # Target: TI C6X 600a45ae5f8SJohn Marino gdb_target_obs="tic6x-tdep.o" 601a45ae5f8SJohn Marino ;; 602a45ae5f8SJohn Marino 603*ef5ccd6cSJohn Marinotilegx-*-linux*) 604*ef5ccd6cSJohn Marino # Target: TILE-Gx 605*ef5ccd6cSJohn Marino gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \ 606*ef5ccd6cSJohn Marino symfile-mem.o glibc-tdep.o linux-tdep.o" 607*ef5ccd6cSJohn Marino build_gdbserver=yes 608*ef5ccd6cSJohn Marino ;; 609*ef5ccd6cSJohn Marino 6105796c8dcSSimon Schubertxstormy16-*-*) 6115796c8dcSSimon Schubert # 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 616*ef5ccd6cSJohn Marinov850*-*-elf | v850*-*-rtems*) 6175796c8dcSSimon Schubert # Target: NEC V850 processor 6185796c8dcSSimon Schubert gdb_target_obs="v850-tdep.o" 6195796c8dcSSimon Schubert gdb_sim=../sim/v850/libsim.a 6205796c8dcSSimon Schubert ;; 6215796c8dcSSimon Schubert 6225796c8dcSSimon Schubertvax-*-netbsd* | vax-*-knetbsd*-gnu) 6235796c8dcSSimon Schubert # Target: NetBSD/vax 624*ef5ccd6cSJohn Marino gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o" 6255796c8dcSSimon Schubert ;; 6265796c8dcSSimon Schubertvax-*-openbsd*) 6275796c8dcSSimon Schubert # Target: OpenBSD/vax 628*ef5ccd6cSJohn Marino 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 ;; 6345796c8dcSSimon Schubert 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 \ 639*ef5ccd6cSJohn Marino solib-darwin.o" 6405796c8dcSSimon Schubert ;; 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 \ 645*ef5ccd6cSJohn Marino dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o" 6465796c8dcSSimon Schubert ;; 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 \ 651*ef5ccd6cSJohn Marino solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o" 6525796c8dcSSimon Schubert build_gdbserver=yes 6535796c8dcSSimon Schubert ;; 6545796c8dcSSimon Schubertx86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) 6555796c8dcSSimon Schubert # 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 \ 658*ef5ccd6cSJohn Marino bsd-uthread.o solib-svr4.o" 6595796c8dcSSimon Schubert ;; 660*ef5ccd6cSJohn 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 \ 664*ef5ccd6cSJohn Marino windows-tdep.o" 665cf7f2e2dSJohn 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 \ 670*ef5ccd6cSJohn Marino nbsd-tdep.o solib-svr4.o" 6715796c8dcSSimon Schubert ;; 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 ;; 67869e0f06dSSimon Schubertx86_64-*-dragonfly*) 67969e0f06dSSimon Schubert # Target: DragonFly/amd64 68069e0f06dSSimon Schubert gdb_target_obs="amd64-tdep.o amd64dfly-tdep.o i386-tdep.o \ 68169e0f06dSSimon Schubert i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o i386dfly-tdep.o \ 68269e0f06dSSimon Schubert i386dfly-tdep.o bsd-uthread.o corelow.o solib.o solib-svr4.o" 68369e0f06dSSimon 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 \ 687*ef5ccd6cSJohn Marino solib-svr4.o symfile-mem.o linux-tdep.o" 6885796c8dcSSimon Schubert build_gdbserver=yes 6895796c8dcSSimon Schubert ;; 6905796c8dcSSimon Schubertxtensa*) 6915796c8dcSSimon Schubert # Target: Tensilica Xtensa processors 692*ef5ccd6cSJohn 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 700c50c785cSJohn Marino*-*-freebsd* | *-*-kfreebsd*-gnu) 701c50c785cSJohn Marino gdb_osabi=GDB_OSABI_FREEBSD_ELF ;; 702c50c785cSJohn Marino*-*-linux* | *-*-uclinux*) 703c50c785cSJohn Marino gdb_osabi=GDB_OSABI_LINUX ;; 7045796c8dcSSimon Schubert*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;; 7055796c8dcSSimon Schubertm68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;; 7065796c8dcSSimon Schubert*-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;; 70769e0f06dSSimon Schubert*-*-dragonfly*) gdb_osabi=GDB_OSABI_DRAGONFLY ;; 7085796c8dcSSimon Schubert*-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;; 7095796c8dcSSimon Schubert*-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below 7105796c8dcSSimon Schubert*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;; 7115796c8dcSSimon Schubert*-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;; 7125796c8dcSSimon Schubert*-*-mingw* | *-*-cygwin*) 7135796c8dcSSimon Schubert gdb_osabi=GDB_OSABI_CYGWIN ;; 7145796c8dcSSimon Schubert*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;; 715cf7f2e2dSJohn Marino*-*-symbianelf*) 716cf7f2e2dSJohn Marino gdb_osabi=GDB_OSABI_SYMBIAN ;; 7175796c8dcSSimon Schubertesac 718