This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: SH5 simulator contribution
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: joern dot rennecke at st dot com
- Cc: Ben Elliston <bje at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Fri, 12 Apr 2002 12:30:57 -0400
- Subject: Re: SH5 simulator contribution
- References: <15451.47633.743434.331956@scooby.brisbane.redhat.com> <3C5F55F3.2030807@cygnus.com> <15455.24394.87381.934711@scooby.brisbane.redhat.com> <3C5F66BB.50001@cygnus.com> <15455.31263.847272.160235@scooby.brisbane.redhat.com> <3C6008DF.5020702@cygnus.com> <15456.16085.191791.112025@scooby.brisbane.redhat.com> <3C6088B3.7080702@cygnus.com> <3CB6AD19.CCDD835A@st.com>
> The MIPS (unintentionally) went down this path and ever since the MIPS
>> has been trying to claw its way out of the resultant mess :-( Given
>
>
> Could you be more specific what you are trying to avoid?
The SIM's register number and map change dependant on the configuration.
As a consequence GDB needs to exactly match its self with the
simulator's internal register schema instead of a standard well-defined
register map. I don't think this exactly lends its self to a
maintainable situtation.
Instead there should be a standard map (as with the d10v) and both sides
use that.
Andrew