public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: "Shilin Shakti" <shilins@KPITCummins.com>
To: <cgen@sources.redhat.com>
Subject: Simulator Porting
Date: Tue, 24 May 2005 06:58:00 -0000	[thread overview]
Message-ID: <4A1BE23A7B777442B60F4B4916AE0F1305AD34ED@sohm.kpit.com> (raw)

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 following message:
"2 byte write to unmapped address 0xfffffffe at 0x404", 
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_DEFAULT_MEM_SIZE to match those of my processor. Still why this error 
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 simulator 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 going 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 property of the KPIT Cummins Infosystems LTD.It is intended only for the person to whom it is addressed. If you are not intended recipient, you are not authorized to read, print , retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Cummins does not accept any liability for virus infected mails.

             reply	other threads:[~2005-05-24  6:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24  6:58 Shilin Shakti [this message]
2005-05-24 12:59 ` Frank Ch. Eigler
2005-05-24  7:31 Shilin Shakti
2005-05-25 10:43 Shilin Shakti
2005-05-25 14:20 ` Frank Ch. Eigler
2005-05-26 13:18 Shilin Shakti
2005-05-27 19:04 ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1BE23A7B777442B60F4B4916AE0F1305AD34ED@sohm.kpit.com \
    --to=shilins@kpitcummins.com \
    --cc=cgen@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).