Re: [RFC] sim: Update sim_{fetch,store}_register for sh and mn10300

Mike Frysinger
2012-02-16T04:54:34Z

[-- Attachment #1: Type: Text/Plain, Size: 617 bytes --]

On Wednesday 15 February 2012 19:13:19 Kevin Buettner wrote:
> The patch below updates sim_fetch_register for both mn10300 and sh
> to return the length of the value being fetched instead of -1. For
> sh, sim_store_register() is changed in a like fashion.
>
> This change is necessary due to past changes to remote-sim.c which do
> more stringent checks of the return value.
>
> Comments?

i assume `make sim-check` passes for the sh target, so OK

> sim/ChangeLog:
>
> * sh/interp.c (sim_store_register, sim_fetch_register): Return
> length, not -1.

note: there is a sim/sh/ChangeLog
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]