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

Mike Frysinger vapier@gentoo.org
Thu Feb 16 10:38:00 GMT 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120216/ba37ffff/attachment.sig>


More information about the Gdb-patches mailing list