diff options
author | Andrew Burgess <aburgess@broadcom.com> | 2011-01-11 14:19:34 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@broadcom.com> | 2011-01-11 14:19:34 +0000 |
commit | dae477fed8cdd8063a79042f2781a983be1c728d (patch) | |
tree | d14a1dc5e9e404f027a4a5008f5d2fc8e8704a16 /sim/v850 | |
parent | 7a88bc9c3dd8284dcd8f4222ec3524d146810884 (diff) | |
download | binutils-gdb-dae477fed8cdd8063a79042f2781a983be1c728d.tar.gz |
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.
Diffstat (limited to 'sim/v850')
-rw-r--r-- | sim/v850/ChangeLog | 5 | ||||
-rw-r--r-- | sim/v850/interp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 4d43d3e6492..5ca0e57bba7 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,8 @@ +2011-01-11 Andrew Burgess <aburgess@broadcom.com> + + * interp.c (sim_store_register): Update return value to + match new API. + 2010-03-30 Mike Frysinger <vapier@gentoo.org> * interp.c (interrupt_names): Add const to pointer type. 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 |