This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: small configuration patch to add xscale-linux support
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Brendan Conoboy <blc at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Fri, 05 Sep 2003 11:17:43 +0100
- Subject: Re: small configuration patch to add xscale-linux support
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> This patch allows one to configure an xscale-linux-gnu gdb (which is
> essentially the same thing as arm-linux-gnu for gdb, but not for other
> tools). Works for me.
>
> -Brendan (blc@redhat.com)
>
> ChangeLog:
> Mon Jul 21 20:10:16 UTC 2003 Brendan Conoboy <blc@redhat.com>
>
> configure.host: Set gdb_host_cpu=arm when host_cpu=xscale
>
> gdbserver/ChangeLog:
> Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy <blc@redhat.com>
>
> configure.srv: Add xscale*linux copy of arm*linux entry.
Rather than copy the entry, I think you should just add an extra
alternative to the existing entry:
- arm*-*-linux*) srv_regobj=reg-arm.o
+ arm*-*-linux* | xscale*-*-linux*) srv_regobj=reg-arm.o
That keeps things more maintainable if the list of files ever change.
R.