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


ac131313@cygnus.com wrote:
> Um, these sim register numbers are separate to GDB's internal ``raw''
> registers (and don't have anything to do with pseudo-registers).  GDB
> will need to map any internal register number onto the published sim
> register number before fetching a sim register.

Yes, I understand that.  For the SH, sets of two single-precision
registers can be referred to as a double precision register, and sets
of four can be referred to as a vector. 

> If GDB and SIM think differently (one is sh64 and the other is SH) then,
> I think, the only immediate objective is to not dump core.

That'd be all right then.  sh gdb & sh64 sim: compatible for user mode programs.
sh64 gdb & sh sim: registers will be detected as out of range.
	
-- 
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330


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