This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SH5 simulator contribution


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]