[RFA 2/5] New port: CR16: Handle cr16*-*-*linux and cr16*-*-* in configure.tgt

Kaushik Phatak Kaushik.Phatak@kpitcummins.com
Thu Oct 4 10:19:00 GMT 2012


Hi,
This patch is to handle two cr16 related triplets in configure.tgt.

Regards,
Kaushik

2012-10-04  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>

        gdb/Changelog
        * configure.tgt: Handle cr16*-*-*linux and cr16*-*-*.

--- ./gdb_src.orig/gdb/configure.tgt	2012-08-02 01:18:44.000000000 +0530
+++ ./gdb_src/gdb/configure.tgt	2012-09-11 14:48:26.000000000 +0530
@@ -116,6 +116,20 @@ bfin-*-*)
 	gdb_sim=../sim/bfin/libsim.a
 	;;
 
+cr16*-*-*linux)
+	# Target: CR16 processor
+	gdb_target_obs="cr16-tdep.o cr16-linux-tdep.o linux-tdep.o"
+	gdb_sim=../sim/cr16/libsim.a
+	build_gdbserver=yes
+	;;
+
+cr16*-*-*)
+	# Target: CR16 processor
+	gdb_target_obs="cr16-tdep.o"
+	gdb_sim=../sim/cr16/libsim.a
+	build_gdbserver=yes
+	;;
+
 cris*)
 	# Target: CRIS
 	gdb_target_obs="cris-tdep.o solib-svr4.o"




More information about the Gdb-patches mailing list