From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19921 invoked by alias); 30 Aug 2012 04:49:29 -0000 Received: (qmail 19906 invoked by uid 22791); 30 Aug 2012 04:49:27 -0000 X-SWARE-Spam-Status: No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from db3ehsobe002.messaging.microsoft.com (HELO db3outboundpool.messaging.microsoft.com) (213.199.154.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Aug 2012 04:49:13 +0000 Received: from mail35-db3-R.bigfish.com (10.3.81.227) by DB3EHSOBE001.bigfish.com (10.3.84.21) with Microsoft SMTP Server id 14.1.225.23; Thu, 30 Aug 2012 04:49:11 +0000 Received: from mail35-db3 (localhost [127.0.0.1]) by mail35-db3-R.bigfish.com (Postfix) with ESMTP id 422E72E00A9; Thu, 30 Aug 2012 04:49:11 +0000 (UTC) X-Forefront-Antispam-Report: CIP:59.163.77.177;KIP:(null);UIP:(null);IPV:NLI;H:KCHJEXHC02.kpit.com;RD:59.163.77.177.static.vsnl.net.in;EFVD:NLI X-SpamScore: -9 X-BigFish: VPS-9(zzbb2dI98dI9371I148cI542Mzz1202hzz8275bh8275dhz2dh2a8h668h839h944hd25hf0ah107ah1220h1155h) Received: from mail35-db3 (localhost.localdomain [127.0.0.1]) by mail35-db3 (MessageSwitch) id 1346302149779491_32541; Thu, 30 Aug 2012 04:49:09 +0000 (UTC) Received: from DB3EHSMHS010.bigfish.com (unknown [10.3.81.248]) by mail35-db3.bigfish.com (Postfix) with ESMTP id BCDBE220044; Thu, 30 Aug 2012 04:49:09 +0000 (UTC) Received: from KCHJEXHC02.kpit.com (59.163.77.177) by DB3EHSMHS010.bigfish.com (10.3.87.110) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 30 Aug 2012 04:49:06 +0000 Received: from KCHJEXMB03.kpit.com ([169.254.4.166]) by KCHJEXHC02.kpit.com ([172.10.15.74]) with mapi id 14.01.0289.001; Thu, 30 Aug 2012 10:19:06 +0530 From: Kaushik Phatak To: Pedro Alves CC: "gdb-patches@sourceware.org" Subject: RE: [RFC] New GDB Port CR16 Date: Thu, 30 Aug 2012 04:49:00 -0000 Message-ID: References: <503CE3BA.2090602@redhat.com> In-Reply-To: <503CE3BA.2090602@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: kpitcummins.com Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00860.txt.bz2 Hi, Thanks for looking at the patch. > I didn't see a gdbserver port in the patch. Yes, that is correct. We do have a gdbserver port ready in the pipeline.=20 I plan to post that later along with a tdep file customized for uclinux platform. The current cr16-tdep.c works well with the existing simulator. I have another cr16-tdep.c file (might call it cr16-linux-tdep.c) that woul= d=20 work with the kernel port. They have slightly different register set and us= e=20 different breakpoint instruction. I am still not sure how to go about that = part. Right now, as per Mike's suggestion I will get the sim related changes appr= oved and checked in, then go step by step from there. Best Regards, Kaushik KPIT Cummins Infosystems Ltd www.kpitcummins.com -----Original Message----- From: Pedro Alves [mailto:palves@redhat.com]=20 Sent: 28 August 2012 20:59 To: Kaushik Phatak Cc: gdb-patches@sourceware.org Subject: Re: [RFC] New GDB Port CR16 On 08/27/2012 07:36 AM, Kaushik Phatak wrote: > +cr16*-*-*) > + # Target: CR16 processor > + gdb_target_obs=3D"cr16-tdep.o" > + gdb_sim=3D../sim/cr16/libsim.a > + build_gdbserver=3Dyes I didn't see a gdbserver port in the patch. In any case, setting "build_gd= bserver" means that on a native cr16 gdb build, the build system will descend into gdbserv= er, and build it as well, automatically. I don't think you'll be able to gdb build nativ= ely on cr16 (at least with this patch set). > + ;; > + > cris*) --=20 Pedro Alves