From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12521 invoked by alias); 10 May 2012 14:24:27 -0000 Received: (qmail 12497 invoked by uid 22791); 10 May 2012 14:24:24 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from tx2ehsobe003.messaging.microsoft.com (HELO tx2outboundpool.messaging.microsoft.com) (65.55.88.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 May 2012 14:24:11 +0000 Received: from mail129-tx2-R.bigfish.com (10.9.14.236) by TX2EHSOBE010.bigfish.com (10.9.40.30) with Microsoft SMTP Server id 14.1.225.23; Thu, 10 May 2012 14:24:10 +0000 Received: from mail129-tx2 (localhost [127.0.0.1]) by mail129-tx2-R.bigfish.com (Postfix) with ESMTP id B610C441CC3 for ; Thu, 10 May 2012 14:24:10 +0000 (UTC) X-SpamScore: 0 X-BigFish: VPS0(zzc85fhzz1202hzz8275dhz2dh2a8h668h839hd25h34h) X-Forefront-Antispam-Report: CIP:220.225.38.51;KIP:(null);UIP:(null);IPV:NLI;H:KCHJEXHC02.kpit.com;RD:none;EFVD:NLI Received: from mail129-tx2 (localhost.localdomain [127.0.0.1]) by mail129-tx2 (MessageSwitch) id 1336659843895462_5025; Thu, 10 May 2012 14:24:03 +0000 (UTC) Received: from TX2EHSMHS046.bigfish.com (unknown [10.9.14.249]) by mail129-tx2.bigfish.com (Postfix) with ESMTP id D2ACAC00AB for ; Thu, 10 May 2012 14:24:03 +0000 (UTC) Received: from KCHJEXHC02.kpit.com (220.225.38.51) by TX2EHSMHS046.bigfish.com (10.9.99.146) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 10 May 2012 14:24:02 +0000 Received: from KCHJEXMB01.kpit.com ([169.254.1.164]) by KCHJEXHC02.kpit.com ([172.10.15.74]) with mapi id 14.01.0289.001; Thu, 10 May 2012 19:53:14 +0530 From: Kaushik Phatak To: "gdb-patches@sourceware.org" CC: "Jayant R. Sonar" , Prafulla Thakare Subject: [Patch] CR16 Simulator fix for gdb 7.4 Date: Thu, 10 May 2012 14:24:00 -0000 Message-ID: Content-Type: multipart/mixed; boundary="_002_C6CA53A2A46BA7469348BDBD663AB65834AB01D8KCHJEXMB01kpitc_" 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-05/txt/msg00342.txt.bz2 --_002_C6CA53A2A46BA7469348BDBD663AB65834AB01D8KCHJEXMB01kpitc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-length: 738 Hi, The latest version of gdb seems to break the CR16 simulator which had been= =20 working till version 7.2. I am not able to figure out the reason why the attached hunk (nltvals.def) = has been removed from the sources, maybe regenerate missed it out. The original patch was posted in 2008 and this hunk was part of 7.2 sources. http://sourceware.org/ml/gdb-patches/2008-02/msg00385.html I have attached a patch that places the original code. Please let me know if this is OK. We are also working on adding gdb and gdbserver support to this target and= =20 plan to post the patches soon. Parts of the simulator have been modified to= =20 add breakpoint support. These will be posted separately. Thanks & Best Regards, Kaushik Phatak --_002_C6CA53A2A46BA7469348BDBD663AB65834AB01D8KCHJEXMB01kpitc_ Content-Type: application/octet-stream; name="cr16sim.diff" Content-Description: cr16sim.diff Content-Disposition: attachment; filename="cr16sim.diff"; size=1695; creation-date="Thu, 10 May 2012 12:56:29 GMT"; modification-date="Thu, 10 May 2012 13:00:40 GMT" Content-Transfer-Encoding: base64 Content-length: 2298 LS0tIC4vZ2RiLTcuNC4xX29yaWcvc2ltL2NvbW1vbi9ubHR2YWxzLmRlZgky MDEyLTA1LTEwIDE4OjI4OjI5LjAw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