This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 2/5] New port: CR16: Handle cr16*-*-*linux and cr16*-*-* in configure.tgt
- From: Kaushik Phatak <Kaushik dot Phatak at kpitcummins dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 4 Oct 2012 10:19:07 +0000
- Subject: [RFA 2/5] New port: CR16: Handle cr16*-*-*linux and cr16*-*-* in configure.tgt
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"