merge from gcc
[deliverable/binutils-gdb.git] / gdb / configure.tgt
index 69e0b0ebf70008214162f2db7439f4b757993e1f..3b965fc79d49bcb2d3e0eff3f4b3e68c6c9d4ef2 100644 (file)
@@ -7,7 +7,7 @@
 #  gdb_osabi           default OS ABI to use with target
 #  build_gdbserver     set to "yes" if gdbserver supports target
 
-case $target in
+case $targ in
  d10v-*-* | \
  hppa*-*-hiux* | \
  i[34567]86-ncr-* | \
@@ -19,7 +19,7 @@ case $target in
  rs6000-*-lynxos* | \
  sh*-*-pe | \
  null)
-    echo "*** Configuration $target is obsolete." >&2
+    echo "*** Configuration $targ is obsolete." >&2
     echo "*** Support has been REMOVED." >&2
     exit 1
     ;;
@@ -27,7 +27,7 @@ esac
 
 # map target info into gdb names.
 
-case "${target}" in
+case "${targ}" in
 
 alpha*-*-osf*)
        # Target: Little-endian Alpha running OSF/1
@@ -130,9 +130,14 @@ hppa*-*-linux*)
        gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
                        solib.o solib-svr4.o symfile-mem.o"
        ;;
+hppa*-*-netbsd*)
+       # Target: NetBSD/hppa
+       gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o \
+                       corelow.o solib.o solib-svr4.o"
+       ;;
 hppa*-*-openbsd*)
        # Target: OpenBSD/hppa
-       gdb_target_obs="hppa-tdep.o hppabsd-tdep.o \
+       gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o \
                        corelow.o solib.o solib-svr4.o"
        ;;
 hppa*-*-*)
@@ -140,6 +145,12 @@ hppa*-*-*)
        gdb_target_obs="hppa-tdep.o"
        ;;
 
+i[34567]86-*-dicos*)
+       # Target: DICOS/i386
+       gdb_target_obs="i386-tdep.o i387-tdep.o \
+                       i386-dicos-tdep.o \
+                       corelow.o solib.o solib-target.o"
+       ;;
 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
        # Target: FreeBSD/i386
        gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
@@ -362,11 +373,10 @@ score-*-*)
        gdb_target_obs="score-tdep.o"
        ;;
 
-# FIXME should that be sh*-*-linux*, perhaps?
-sh-*-linux*)
+sh*-*-linux*)
        # Target: GNU/Linux Super-H
        gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
-                       dsrec.o solib.o solib-svr4.o symfile-mem.o"
+                       dsrec.o solib.o solib-svr4.o symfile-mem.o glibc-tdep.o"
        gdb_sim=../sim/sh/libsim.a
        build_gdbserver=yes
        ;;
@@ -487,6 +497,12 @@ vax-*-*)
        gdb_target_obs="vax-tdep.o"
        ;;
 
+x86_64-*-dicos*)
+       # Target: DICOS/x86-64
+       gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
+                       i386-dicos-tdep.o \
+                       corelow.o solib.o solib-target.o"
+       ;;
 x86_64-*-linux*)
        # Target: GNU/Linux x86-64
        gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
@@ -511,17 +527,22 @@ x86_64-*-openbsd*)
                        i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
                        bsd-uthread.o corelow.o solib.o solib-svr4.o"
        ;;
-
+xtensa*-*-linux*)      gdb_target=linux
+       # Target: GNU/Linux Xtensa
+       gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
+                       solib.o solib-svr4.o corelow.o symfile-mem.o"
+       build_gdbserver=yes
+       ;;
 xtensa*)
        # Target: Tensilica Xtensa processors
-       gdb_target_obs="xtensa-tdep.o xtensa-config.o"
+       gdb_target_obs="xtensa-tdep.o xtensa-config.o solib.o solib-svr4.o"
        ;;
 
 esac
 
 # map target onto default OS ABI
 
-case "${target}" in
+case "${targ}" in
 *-*-freebsd*)  gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
 *-*-linux*)    gdb_osabi=GDB_OSABI_LINUX ;;
 *-*-nto*)      gdb_osabi=GDB_OSABI_QNXNTO ;;
@@ -530,4 +551,8 @@ m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
 *-*-solaris*)  gdb_osabi=GDB_OSABI_SOLARIS ;;
 *-*-*-gnu*)    ;; # prevent non-GNU kernels to match the Hurd rule below
 *-*-gnu*)      gdb_osabi=GDB_OSABI_HURD ;;
+*-*-mingw32ce*)        gdb_osabi=GDB_OSABI_WINCE ;;
+*-*-mingw* | *-*-cygwin*)
+               gdb_osabi=GDB_OSABI_CYGWIN ;;
+*-*-dicos*)    gdb_osabi=GDB_OSABI_DICOS ;;
 esac
This page took 0.02487 seconds and 4 git commands to generate.