This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
disable gdbserver for cross builds
- To: gdb-patches at sources dot redhat dot com
- Subject: disable gdbserver for cross builds
- From: Philip Blundell <philb at gnu dot org>
- Date: Wed, 20 Sep 2000 20:05:51 +0100
I didn't get any response to my mail of Sep 9 (to the gdb list) on this topic,
so I'd like to propose the following patch.
Thanks
p.
2000-09-20 Philip Blundell <philb@gnu.org>
* configure.in: Only allow gdbserver for native builds.
* configure: Regenerate.
Index: gdb/configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.44
diff -u -p -u -r1.44 configure.in
--- configure.in 2000/09/11 17:57:07 1.44
+++ configure.in 2000/09/20 19:01:10
@@ -1024,9 +1024,9 @@ if test "${target}" = "${host}"; then
nativefile=`sed -n '
s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
' ${host_makefile_frag}`
-# else
+else
# GDBserver is only useful in a "native" enviroment
-# configdirs=`echo $configdirs | sed 's/gdbserver//'`
+configdirs=`echo $configdirs | sed 's/gdbserver//'`
fi
changequote([,])