2003-10-31 Dave Brolley <brolley@redhat.com>
authorDave Brolley <brolley@redhat.com>
Fri, 31 Oct 2003 18:23:47 +0000 (18:23 +0000)
committerDave Brolley <brolley@redhat.com>
Fri, 31 Oct 2003 18:23:47 +0000 (18:23 +0000)
commit9a29f3cae56f0b97155c400dcf6bc865882fbc79
tree03376148e0ccc30bbb1429e998fb84bc2d731517
parent6066c3de513998f9c90c14385bf5e1b9ab626cc0
2003-10-31  Dave Brolley  <brolley@redhat.com>

        * frv-sim.h (REGNUM_LR): Removed.
        (REGNUM_SPR_MIN,REGNUM_SPR_MAX): New macros.
        * frv.c (frvbf_fetch_register): Fetch SPR registers based on
        REGNUM_SPR_MIN and REGNUM_SPR_MAX. Check whether SPRs are implemented.
        Return 0 for an unimplemented register. Return the length of the data
        for an implemented register.
        (frvbf_store_register): Ditto.
sim/frv/ChangeLog
sim/frv/frv-sim.h
sim/frv/frv.c