diff options
Diffstat (limited to 'sim/ppc/gdb-sim.c')
-rw-r--r-- | sim/ppc/gdb-sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |