This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: disable gdbserver for cross builds
- To: Philip Blundell <philb at gnu dot org>
- Subject: Re: disable gdbserver for cross builds
- From: Michael Snyder <msnyder at redhat dot com>
- Date: Wed, 27 Sep 2000 13:30:49 -0700
- CC: gdb-patches at sources dot redhat dot com
- Organization: Red Hat, Inc.
- References: <E13bpBo-0004H7-00@kings-cross.london.uk.eu.org>
Philip Blundell wrote:
>
> 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.
I don't understand the motivation for the patch.
Gdbserver is currently built only when needed
(ie. not for cross-debuggers).
>
> 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([,])
>