Unreviewed patch: add include/gdb/sim-sh.h (Was: Re: SH simulator register numbers: include/gdb/sim-sh.h)
Andrew Cagney
ac131313@cygnus.com
Wed Jun 12 14:34:00 GMT 2002
> Elena Zannoni wrote:
>
>>
>> Sorry.
>> Can you format the file with one register per line?
>> Take a look at sim-d10v.h, now that Andrew cleaned it up.
>
Just FYI, there are now two examples - sim-d10v.h and sim-arm.h. In
both cases the GDB<->sim interface is defined by a simple pure enum -
there are no assignments or gaps.
If a mapping is needed then REGISTER_SIM_REGNO handles it.
enjoy,
Andrew
More information about the Binutils
mailing list