This is the patch to which Kevin refers below. I've committed it. Dave Kevin Buettner wrote: >The patch below depends on some work that Dave Brolley has done on the >simulator. I'll commit the change below after Dave commits his patch. > >I'll eventually provide a pseudo-register for obtaining access iacc0 >as a unit (instead of separate upper and lower halves). But, before >that happens, I have some more de-deprecation to do first. > >Of all the SPRs the FR-V has, the simulator had only implemented >support for fetching / setting the link register. Dave's patch will >provide GDB with the ability to access all of them, making it very >easy to add support for other SPRs from GDB. The patch below (in >conjunction with Dave's patch) will enable support for all of the >SPRs presently known to GDB (including iacc0). > >I had considered (attempting) to provide support for all known FR-V >SPRs from GDB, but there were a number of drawbacks with doing this: >1) The g/G packet would get very large. 2) There are a lot of "holes" >in the register set do to reserved registers, unimplemented registers, >and the like. 3) I don't think it makes sense for all of the remaining >registers to be fetched/set via g/G packets. > >Kevin > > >