From dae477fed8cdd8063a79042f2781a983be1c728d Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 11 Jan 2011 14:19:34 +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/ppc/ChangeLog | 5 +++++ sim/ppc/gdb-sim.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'sim/ppc') diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 3a2f8ce..faeec4f 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,8 @@ +2011-01-11 Andrew Burgess + + * gdb-sim.c (sim_store_register): Update return value to + match new API. + 2011-01-05 Joel Brobecker * psim.texinfo: Copyright year update. diff --git a/sim/ppc/gdb-sim.c b/sim/ppc/gdb-sim.c index 97567ec..9041f70 100644 --- a/sim/ppc/gdb-sim.c +++ b/sim/ppc/gdb-sim.c @@ -1290,7 +1290,7 @@ sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length) const char *regname = regnum2name (regno); if (simulator == NULL || regname == NULL) - return -1; + return 0; TRACE(trace_gdb, ("sim_store_register(regno=%d(%s), buf=0x%lx)\n", regno, regname, (long)buf)); -- cgit v1.1