From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25035 invoked by alias); 24 May 2005 06:58:19 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 25006 invoked by uid 22791); 24 May 2005 06:58:16 -0000 Received: from [203.197.93.231] (HELO sohm.kpit.com) (203.197.93.231) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 24 May 2005 06:58:16 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Simulator Porting Date: Tue, 24 May 2005 06:58:00 -0000 Message-ID: <4A1BE23A7B777442B60F4B4916AE0F1305AD34ED@sohm.kpit.com> From: "Shilin Shakti" To: X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 X-SW-Source: 2005-q2/txt/msg00040.txt.bz2 Hi all, I am having some trouble trying to port a simulator for a new target. Actually i have modelled the required simulator files like mloop.in, sim-if= .c, etc, for my port to be as close to the existing m32r base port. However when i try to execute a program using my simulator, it gives the fo= llowing message: "2 byte write to unmapped address 0xfffffffe at 0x404",=20 while the similar m32r program runs fine. At 0x404 is a move immediate data= instruction in my case (but how this 0xfffffffe address i'm confused!!). I do not know why this is coming. Currently i have changed a few constants = of m32r base port like the M32R_DEVICE_ADDR,M32R_DEVICE_LEN and M32R_DEFAUL= T_MEM_SIZE to match those of my processor. Still why this error=20 for 0xfffffffe,etc is coming into picture i am not sure. Please could anyone provide any help in this regard. Currently i have two terminals open, one where i'm debugging my ported simu= lator on native gdb, and other debugging the existing m32r base simulator, = for the sake of reference of execution flow, etc :-)) (to see where i'm goi= ng wrong!)..But still no luck.. Kindly advice anyone, Thanking you in advance, Best Regards, Shilin --------------------------------- This message contains the information that may be privileged and is the pr= operty of the KPIT Cummins Infosystems LTD.It is intended only for the pers= on to whom it is addressed. If you are not intended recipient, you are not = authorized to read, print , retain copy, disseminate, distribute, or use th= is message or any part thereof. If you receive this message in error, pleas= e notify the sender immediately and delete all copies of this message. KPIT= Cummins does not accept any liability for virus infected mails.