only configure gdbserver for native environments
authorDavid D. Zuhn <zoo@cygnus>
Wed, 13 Oct 1993 01:08:40 +0000 (01:08 +0000)
committerDavid D. Zuhn <zoo@cygnus>
Wed, 13 Oct 1993 01:08:40 +0000 (01:08 +0000)
gdb/ChangeLog
gdb/configure.in

index fff55be8f9e231cab584eaa7d0e113f0db9068bd..f9db6dd743b04f89a1438f6c32d53127ed9a8211 100644 (file)
@@ -1,3 +1,7 @@
+Tue Oct 12 12:01:29 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
+
+       * configure.in: only configure gdbserver for native environments
+
 Tue Oct 12 08:59:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * stabsread.c (read_type): Treat a negative type number at the start
index f2d0241cdb98850c49f007dd78378816cf4fcfa9..d9dc3be5128cea658d9b77f97984c03bf22ca9bf 100644 (file)
@@ -189,7 +189,7 @@ i[34]86-*-bsd*)             gdb_target=i386bsd ;;
 i[34]86-*-netbsd*)     gdb_target=i386bsd ;;
 i[34]86-*-go32)                gdb_target=i386aout ;;
 i[34]86-*-lynx*)       gdb_target=i386lynx
-                       configdirs="${configdirs} gdbserver"
+                       configdirs="${configdirs} gdbserver" 
                        ;;
 i[34]86-*-solaris*)    gdb_target=i386sol2 ;;
 i[34]86-*-sunos*)      gdb_target=sun386 ;;
@@ -294,8 +294,16 @@ fi
 #  We really shouldn't depend on there being a space after TM_FILE= ...
 targetfile=`awk '$1 == "TM_FILE=" { print $2 }' <${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt`
 
+
+# these really aren't orthogonal true/false values of the same condition,
+# but shells are slow enough that I like to reuse the test conditions
+# whenever possible
+#
 if [ "${target}" = "${host}" ] ; then
        nativefile=`awk '$1 == "NAT_FILE=" { print $2 }' <${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh`
+else
+       # GDBserver is only useful in a "native" enviroment
+       configdirs=`echo $configdirs | sed 's/gdbserver//'`
 fi
 
 host_makefile_frag=config/${gdb_host_cpu}/${gdb_host}.mh