This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: small configuration patch to add xscale-linux support


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]