From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24715 invoked by alias); 24 May 2005 07:31:04 -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 24639 invoked by uid 22791); 24 May 2005 07:30:57 -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 07:30:57 +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 07:31:00 -0000 Message-ID: <4A1BE23A7B777442B60F4B4916AE0F1305AD3599@sohm.kpit.com> From: "Shilin Shakti" To: X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 X-SW-Source: 2005-q2/txt/msg00041.txt.bz2 In my previous mail (with Subject: Simulator Porting)i forgot to mention a = few things about the version. Obviously i am using CGEN for porting my simulator, which is version 1.0. Also i am using GDB version 6.3. One other thing is that my assembler port using CGEN for the target is work= ing ok. Also CGEN has autogenerated the decode.c/.h, cpu.c/.h, etc files fo= r me in the gdb-6.3/sim folder for my target, which are involved in the sim= ulator executable. Requesting any help and thanking you once again, Best Regards, Shilin -----Original Message----- From: cgen-owner@sources.redhat.com [mailto:cgen-owner@sources.redhat.com]On Behalf Of Shilin Shakti Sent: Tuesday, May 24, 2005 12:27 PM To: cgen@sources.redhat.com Subject: Simulator Porting 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. --------------------------------- 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.