Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* small configuration patch to add xscale-linux support
@ 2003-07-23 18:19 Brendan Conoboy
  2003-07-23 21:06 ` Kevin Buettner
  2003-09-05 10:17 ` Richard Earnshaw
  0 siblings, 2 replies; 5+ messages in thread
From: Brendan Conoboy @ 2003-07-23 18:19 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

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)

[-- Attachment #2: xscale-linux-config.patch --]
[-- Type: text/plain, Size: 1484 bytes --]

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.

Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.55
diff -c -r1.55 configure.host
*** configure.host	13 Jul 2003 16:15:59 -0000	1.55
--- configure.host	23 Jul 2003 17:46:21 -0000
***************
*** 21,26 ****
--- 21,27 ----
  s390*)			gdb_host_cpu=s390 ;;
  sh*)			gdb_host_cpu=sh ;;
  x86_64*)		gdb_host_cpu=i386 ;;
+ xscale*)		gdb_host_cpu=arm ;;
  *)			gdb_host_cpu=$host_cpu ;;
  
  esac
Index: gdbserver/configure.srv
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/configure.srv,v
retrieving revision 1.6
diff -c -r1.6 configure.srv
*** gdbserver/configure.srv	13 Jun 2003 17:49:52 -0000	1.6
--- gdbserver/configure.srv	23 Jul 2003 17:46:21 -0000
***************
*** 64,69 ****
--- 64,74 ----
  			srv_tgtobj="linux-low.o linux-x86-64-low.o i387-fp.o"
  			srv_linux_regsets=yes
  			;;
+   xscale*-*-linux*)	srv_regobj=reg-arm.o
+ 			srv_tgtobj="linux-low.o linux-arm-low.o"
+ 			srv_linux_usrregs=yes
+ 			srv_linux_thread_db=yes
+ 			;;
    *)			echo "Error: target not supported by gdbserver."
  			exit 1
  			;;

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-05 10:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 18:19 small configuration patch to add xscale-linux support Brendan Conoboy
2003-07-23 21:06 ` Kevin Buettner
2003-07-23 21:46   ` Andrew Cagney
2003-08-08  0:48   ` Brendan Conoboy
2003-09-05 10:17 ` Richard Earnshaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox