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]

RFA: Add support for xscale target


Hi Guys,

  May I apply the patch below ?  It allows the xscale-elf and
  xscale-coff targets to be configured in gdb.

Cheers
	Nick

2000-11-24  Nick Clifton  <nickc@redhat.com>

	* configure.tgt (xscale-*): Add.
	* configure.host (xscale-*): Add.

Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.9
diff -p -r1.9 configure.host
*** configure.host	2000/06/13 15:21:27	1.9
--- configure.host	2000/11/25 00:47:19
*************** sparc-*-*)		gdb_host=sun4os4 ;;
*** 162,167 ****
--- 162,168 ----
  sparc64-*-*)		gdb_host=sun4sol2 ;;
  
  strongarm-*-*)		gdb_host=arm ;;
+ xscale-*-*)		gdb_host=arm ;;
  
  # OBSOLETE tahoe-*-*)		gdb_host=tahoe ;;
  
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.13
diff -p -r1.13 configure.tgt
*** configure.tgt	2000/07/27 07:18:31	1.13
--- configure.tgt	2000/11/25 00:47:19
*************** powerpc*)		gdb_target_cpu=powerpc ;;
*** 26,31 ****
--- 26,32 ----
  sparc*)			gdb_target_cpu=sparc ;;
  thumb*)			gdb_target_cpu=arm ;;
  strongarm*)		gdb_target_cpu=arm ;;
+ xscale*)		gdb_target_cpu=arm ;;
  v850*)			gdb_target_cpu=v850 ;;
  *)			gdb_target_cpu=$target_cpu ;;
  
*************** arm*-*-linux*)		gdb_target=linux 
*** 57,62 ****
--- 58,66 ----
  			;;
  arm*-*-* | thumb*-*-* | strongarm*-*-*)
  			gdb_target=embed
+                         configdirs="$configdirs rdi-share"
+                         ;;
+ xscale-*-*)		gdb_target=embed
                          configdirs="$configdirs rdi-share"
                          ;;
  # OBSOLETE c1-*-*)		gdb_target=convex ;;

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