From 5a26f459fc426a89e68d9e14d3672c2a8c67b15a Mon Sep 17 00:00:00 2001 From: aburgess Date: Tue, 11 Jan 2011 14:19:27 +0000 Subject: http://sourceware.org/ml/gdb-patches/2010-11/msg00112.html gdb/ChangeLog * remote-sim.c (gdbsim_store_register): Update API to sim_store_register to check more error conditions. include/gdb/ChangeLog * remote-sim.h (sim_store_register): Update the API documentation for this function. sim/erc32/ChangeLog sim/h8300/ChangeLog sim/m32c/ChangeLog sim/mn10300/ChangeLog sim/ppc/ChangeLog sim/rx/ChangeLog sim/v850/ChangeLog * ???.c (sim_store_register): Update return value to match new API. --- sim/v850/interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/v850/interp.c') diff --git a/sim/v850/interp.c b/sim/v850/interp.c index e8bea5f6752..21b587eeedf 100644 --- a/sim/v850/interp.c +++ b/sim/v850/interp.c @@ -327,7 +327,7 @@ sim_store_register (sd, rn, memory, length) int length; { State.regs[rn] = T2H_4 (*(unsigned32*)memory); - return -1; + return length; } void -- cgit v1.2.1