From: Andrew Cagney <ac131313@cygnus.com>
To: Ben Elliston <bje@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: SH5 simulator contribution
Date: Tue, 05 Feb 2002 08:31:00 -0000 [thread overview]
Message-ID: <3C6008DF.5020702@cygnus.com> (raw)
In-Reply-To: <15455.31263.847272.160235@scooby.brisbane.redhat.com>
> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
>
>
> Andrew> The mn10300 simulator binary, contains a simulator for both
>
> Andrew> :model:::mn10300:mn10300:
> Andrew> :model:::am33:am33:
>
> Andrew> Which simulator to use being selected at run time. The other two are
> Andrew> v850 and MIPS (not d10v). This jells well with GDB which also supports
> Andrew> those same architecture variants.
>
> This could certainly be done. There is only one cpu variant right now
> ("sh5").
That would be very useful. This means that when you say it supports the
sh2..sh4 it is through the backward compatibility of the instruction set
architecture. This explains why the config tweeks only enable the
simulator when sh64-elf.
If I understand the sim/sh simulator correctly, it currently generates
an sh-dsp sim which is backward compatible with sh2-4 (sh1?) but not
with sh5. This means that the new sh5 simulator is not a drop in
replacement for the existing simulator (it lacks sh-dsp).
Unless the new simulator gains sh-dsp support, the sim directory will
need to be configurable so that the user can select either the DSP xor
the SH5 simulator. That, I suspect, is going to get messy. I think GDB
should be able to assume a single SH remote-sim interface but here, I
suspect, it is currently contending with two different interfaces :-(
Andrew
next prev parent reply other threads:[~2002-02-05 16:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-02 2:06 Ben Elliston
2002-02-04 19:48 ` Andrew Cagney
2002-02-04 20:28 ` Ben Elliston
2002-02-04 20:59 ` Andrew Cagney
2002-02-04 22:29 ` Ben Elliston
2002-02-05 8:31 ` Andrew Cagney [this message]
2002-02-05 12:21 ` Ben Elliston
2002-02-05 17:36 ` Andrew Cagney
2002-04-12 2:46 ` Joern Rennecke
2002-04-12 9:30 ` Andrew Cagney
2002-04-12 9:45 ` Andrew Cagney
2002-04-15 1:48 ` Joern Rennecke
2002-04-18 18:32 ` Andrew Cagney
2002-04-29 10:23 ` Joern Rennecke
2002-04-29 10:47 ` Andrew Cagney
2002-04-29 11:30 ` Joern Rennecke
2002-04-12 2:48 ` Joern Rennecke
2002-04-12 2:57 ` Joern Rennecke
2002-04-12 2:57 ` Joern Rennecke
2002-04-12 2:57 ` Joern Rennecke
2002-04-12 2:58 ` Joern Rennecke
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=3C6008DF.5020702@cygnus.com \
--to=ac131313@cygnus.com \
--cc=bje@redhat.com \
--cc=gdb-patches@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